Comments (8)
@yooksi this is normal, and is part of GitHub's API response related to caching. It shouldn't significantly impact the output statistics, nor should it cause any fatal errors in the workflow.
from github-stats.
Hi, unfortunately, I'm not able to replicate this error. Can you provide any additional information about when this took place?
Also, apologies for the late reply. Thanks for using this project!
from github-stats.
Looks like the json decode error has been fixed, now I'm getting endless A path returned 202. Retrying...
in Generating images. Here's my fork: https://github.com/bconnorwhite/github-stats
Looks like the same as #3
from github-stats.
Thanks for mentioning this, those are definitely the same issue.
The problem is probably the GitHub statistics API. For more information see this note in the API docs. To summarize that documentation: the API takes a long time to assemble some repo statistics, and doesn't know how long this operation will take, so it just indefinitely returns 202s unless a repo has cached statistics. If there are lots of repos with complex statistics that aren't cached, it will take a very long time (as you have seen first-hand), even with 10 asynchronous connections. I'm not totally sure why this originally eventually failed with an error, but I don't actually think the error is the heart of the problem – I think working around the limitations of the API with regards to timing will and avoid the complicated issue of replicating the code failure directly.
That being said, I've been meaning to push a workaround to this, but have been way too busy for the last little while. I think adding a timeout would be beneficial, even though it would mean that the resulting traffic statistics would be incomplete.
from github-stats.
Didn't mean to close this. Apparently putting "Fix #2" in the commit message auto-closes an issue.
I just pushed something I hope will fix the issue, but I am not totally sure. To be precise: I changed the infinite loop that generates all of the 202s into a loop with a max number of tries that returns incomplete data as a fallback. Please merge the change into your fork and see if it works better.
from github-stats.
I pushed some fixes that seem to have resolved #3. Please merge the fixes, and if it works for you, I will close this issue.
from github-stats.
Awesome, looks like that worked
from github-stats.
I am also getting this error/warning message:
A path returned 202. Retrying...
However the action does not fail, should I be worried?
from github-stats.
Related Issues (20)
- Considering only commits made by myself HOT 2
- Adding a suggestion to Readme.md HOT 1
- Remove whitespaces in Readme.md HOT 1
- Changed my username and now my stats decreased
- Generate Stats image failing everyday HOT 1
- Repository Exclusion HOT 2
- No name's github stats HOT 4
- EXCLUDE_LANG not excluding Jupyter Notebooks HOT 6
- Clarify needed permissions HOT 5
- Option to disable stats from private repos HOT 3
- Suggestion - Ignore files specified in .gitattributes HOT 1
- Workflow keeps failing (over 1 month straight), may need manual inspection
- Installation section leads to unexpected output HOT 1
- All statistics are 0 HOT 2
- fatal: unable to access 'https://github.com/***/': The requested URL returned error: 403
- Please provide an example of how to exclude languages HOT 2
- GitHub dark-mode URI fragment is deprecated
- Update README.md to reflect changes made by GitHub regarding generating a token
- From last 2-3 days generated github-stats are not visible on the readme file.
- Ignore ipynb files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-stats.