-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot read properties of undefined (reading 'length') #40
Comments
We are also getting here https://github.com/PythonOT/POT/actions/runs/4661515618 |
Uh oh 😱 I'll try to look soon but if anyone has ideas or wants to try in the meantime feel free... |
From MNE-Python see: https://github.com/mne-tools/mne-python/actions/runs/4670258124/jobs/8269763706
Looks like #38 was "bad request" and this is "Job not found" so... that's something. |
... and looking at https://circleci.com/api/v2/project/gh/mne-tools/mne-python/53826/artifacts myself does not work. This always at least used to work for me in my web browser given my login credentials etc. This seems like a bug at the CircleCI end. I'll see if I can open a support bug report with them. |
... okay no, it is another access problem. I even added a https://circleci.com/api/v2/project/gh/larsoner/circleci-artifacts-redirector-action/202/artifacts So somehow when GitHub tries to load this URL it gets a 404, when I load it in Chrome I get the correct JSON:
So this will require a bit more debugging at our end I think. Next step is probably to look at what headers Chrome is sending vs trying |
Argh, okay the token must be a personal API token, not a project token at the CircleCI end as those aren't supported yet.
I'll close but feel free to comment if this doesn't work and we can investigate further! |
I think this is working again with your recommendations, thanks! |
Great! And norry for the hassle, CircleCI's API just seems to be a bit of moving target :( |
This is following scientific-python/circleci-artifacts-redirector-action#40
This is following scientific-python/circleci-artifacts-redirector-action#40
As per instructions provided by @larsoner at scientific-python/circleci-artifacts-redirector-action#40 (comment)
As per instructions provided by @larsoner at scientific-python/circleci-artifacts-redirector-action#40 (comment)
# Description An upstream bug has caused our docs preview link to stop working (see scientific-python/circleci-artifacts-redirector-action#40 (comment) for context) # References See also #135
Hello @larsoner thanks for the fix, it does work on POT (PythonOT/POT#460) but it still fails in some cases. Since the token is a secret it will not run for PR from oher repos where we need to look at the artifact the most. Are there any ways to make this work? |
The workflow runs on |
Thanks @QuLogic for the explanation, it makes sens. But then I have no idea why a few worked and now everything is failing : |
OK I found my bug sorry for bothering you all and again thank to @larsoner for this extremely usefull action! |
# Description An upstream bug has caused our docs preview link to stop working (see scientific-python/circleci-artifacts-redirector-action#40 (comment) for context) # References See also napari#135
This looks related to #38. About 5 days ago, this error started showing up again:
The text was updated successfully, but these errors were encountered: