Skip to content
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

Action failed #75

Closed
sauravhathi opened this issue Jul 15, 2023 · 34 comments
Closed

Action failed #75

sauravhathi opened this issue Jul 15, 2023 · 34 comments

Comments

@sauravhathi
Copy link

Generate Action failed with "Cannot read properties of undefined (reading 'split')"
#74

@getlost01
Copy link

Ya, this is also showing on my repo action logs.

I think there may be new changes in the GitHub API response regarding to the contribution data.

@bossm0n5t3r
Copy link

Same here, Is there any update?

@milaabl
Copy link

milaabl commented Jul 15, 2023

Same error! Worked fine yesterday.

@qinchonghanzuibang
Copy link

Exactly!, there is no snake now

@milaabl
Copy link

milaabl commented Jul 15, 2023

@Platane , please check the the return of the fetch() function. The error is coming from this block:

It looks like GitHub updated the page https://github.com/users/user-name/contributions and I checked that now there's no js-element with "calendar-graph-svg" class.

Please see!

@ithirteeng
Copy link

Same error, can't wait the update :3

@AzeemIdrisi
Copy link

Same error.

@kaisunoo
Copy link

Encountering the same error, waiting for the update. Thank you!

@lainbo
Copy link

lainbo commented Jul 15, 2023

Same error, looking forward to an update to fix it, thanks

@garyellow
Copy link

Same error, waiting for the update, thx (~ ̄▽ ̄)~

@BojidarDermendjiev
Copy link

And here 😅

@xiaotianxt
Copy link

Same error here

@xueweiwujxw
Copy link

Same error here 😖

@mwt
Copy link

mwt commented Jul 15, 2023

You shouldn't make a second issue when you know that #74 already exists.

@gregWDumont
Copy link

Same here!

@Isabe1le
Copy link

This issue appears to be a duplicate of #74

@aelassas
Copy link

Issue fixed. Check out my pull request: #77

@CarlosUlisesOchoa
Copy link

Same here. I miss my graph ☹️

@jjsair0412
Copy link

Now it working. ! !
My action history is here : https://github.com/jjsair0412/jjsair0412/actions/runs/5566243036

@sauravhathi
Copy link
Author

sauravhathi commented Jul 16, 2023

Ya, this is also showing on my repo action logs.

I think there may be new changes in the GitHub API response regarding to the contribution data.

temporary replace

Steps uses: aelassas/snk/svg-only@main

image

@milaabl
Copy link

milaabl commented Jul 16, 2023

@sauravhathi , a PR with a fix doesn't mean that the issue is fixed because it has not been yet merged. This is just a temporary replacement in the workflow file.

@sauravhathi sauravhathi reopened this Jul 16, 2023
@Zaid-maker
Copy link

Same issue here the actions keeps failing

@sangshuduo
Copy link

same here. waiting for an official solution.

@Zxilly
Copy link

Zxilly commented Jul 16, 2023

Update crawler again and again seems not a good idea. Looks like GitHub provide a stable API to fetch contribution calendar in their GraphQL API. Why not just use it?

@Platane
Copy link
Owner

Platane commented Jul 16, 2023

Hello, thanks for the quick report. I don't have my laptop at the moment. I will take a look at the proposed fixes tomorrow.

@Zxilly oh it must be new, or I missed it. I will definitely look into that thanks

@xwlops
Copy link

xwlops commented Jul 17, 2023

Same error here 😖

@Zxilly
Copy link

Zxilly commented Jul 17, 2023

@Platane You can find documentation at https://docs.github.com/en/graphql/reference/objects#contributioncalendar.

https://github.com/Zxilly/animated-timeline/blob/master/src/github/calendar.ts can also
be a reference.

@theejkb
Copy link

theejkb commented Jul 17, 2023

Ya, this is also showing on my repo action logs.

I think there may be new changes in the GitHub API response regarding to the contribution data.

temporary replace

Steps uses: aelassas/snk/svg-only@main

image

This workaround is working for me. Thanks 🔥

i'll stay updated here

@SummerSec
Copy link

Issue fixed. Check out my pull request: #77问题已解决。查看我的拉取请求:#77
some errors
https://github.com/SummerSec/SummerSec/actions/runs/5573630774/jobs/10181168577

Canato added a commit to Canato/Canato that referenced this issue Jul 17, 2023
@aelassas
Copy link

@SummerSec You are generating gif with svg-only action. That's why it's failing. Try removing gif from your workflow.

@Zaid-maker
Copy link

I am using a temporary workflow and its works just fine

Yamiqu added a commit to Yamiqu/Yamiqu that referenced this issue Jul 17, 2023
@ramazansancar
Copy link

Same here!

@Canato
Copy link

Canato commented Jul 17, 2023

People don't need to add that it is happening to you too. It was already agreed as an issue by the repo owner.
Could you just take a minute and wait for the PR to be merged?

If you want, you can react with an emoji to the first message of this issue to increase the counting.
And click to subscribe to new notifications for this issue

Spamming doesn't really help =D.
Have a great day ^^

@Platane
Copy link
Owner

Platane commented Jul 17, 2023

some update:

I made the change suggested by @Zxilly to use the github API https://github.com/Platane/snk/pull/78/files

Unfortunately, it requires a breaking change: the action needs a github token.

I published a v3 version, which requires a token (it's a one line patch).
I also published a patched v2.3 version, for the users that don't have the bandwidth to patch to v3 now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests