Dear all,
In my Higgs to dimuon (H → μμ) analysis, I am still encountering a ClientResponseError, and so far, I haven’t found a way to resolve it. Has anyone experienced a similar issue or has any suggestions on how to fix it?
You can find the analysis here: [link]
Best regards,
Giannis
Hi Giannis,
thanks for the message! The link doesn’t seem to be working. Could you explain a bit more what you do exactly to produce the error? (Open the analysis on SWAN? Colab? Run up to cell #?)
Best,
Zach
Hi there,
Here is a working [link], this analysis run on colab. The analysis runs up to the 20th cell, there I
get the ClientResponseError while trying to load the data from atlasopenmagic.
Best,
Giannis
Hi Giannis,
Thanks. The error is not super explicative at the moment, would you mind adding a traceback to the notebook and pasting that output here?
You can do like:
for val in samples[s]['list']:
try:
DF = process_file(val, s, 0)
except Exception as e:
import traceback
print(f"Error processing {val}: {type(e).__name__} - {e}")
traceback.print_exc()
(You can also import traceback at the very beginning, with everything else)
Thanks!
Hi Giovanni,
I did update the code, now the first error is ‘ClientResponseError object is not subscriptable’ and the rest of the errors are 429.
Thanks!