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

Json format err & Wegt(up to date) 404 not found #271

Open
Ellioben opened this issue Mar 31, 2022 · 3 comments
Open

Json format err & Wegt(up to date) 404 not found #271

Ellioben opened this issue Mar 31, 2022 · 3 comments

Comments

@Ellioben
Copy link

Ellioben commented Mar 31, 2022

1. Json format err

raw date: wget https://data.gharchive.org/2021-09-11-9.json.gz

error tip:invalid character 'i' after object key:value pair , when i unmarshal it line by line

incorrect from raw data line:42321 ⬇️

{"id":"17943409164","type":"PushEvent","actor":{"id":78184933,"login":"baogaopro","display_login":"baogaopro","gravatar_id":"","url":"https://api.github.com/users/baogaopro","avatar_url":"https://avatars.githubusercontent.com/u/78184933?"},"repo":{"id":404908431,"name":"baogaopro/images13","url":"https://api.github.com/repos/baogaopro/images13"},"payload":{"push_id":7912426903,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"f5cf22c7fa765a496adfdb3c99bb44a20cbaa182","before":"d7caefec4e2f72c2caa7453cbb15d399a5388991","commits":[{"sha":"f5cf22c7fa765a496adfdb3c99bb44a20cbaa182","author":{"name":"artwlcn","email":"[email protected]"},"message":"add pdf 29565 images from script auto","distinct":true,"url":"https://api.github.com/repos/baogaopro/images13/commits/f5cf22c7{"id":"17943437340","type":"PushEvent","actor":{"id":83385569,"login":"SanjayKarmaDevelopers","display_login":"SanjayKarmaDevelopers","gravatar_id":"","url":"https://api.github.com/users/SanjayKarmaDevelopers","avatar_url":"https://avatars.githubusercontent.com/u/83385569?"},"repo":{"id":390386604,"name":"SanjayKarmaDevelopers/HBD-SWATHI","url":"https://api.github.com/repos/SanjayKarmaDevelopers/HBD-SWATHI"},"payload":{"push_id":7912444439,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"c347be4e986a9c28e5895f90873d795c99997bb0","before":"fc1e32aaf8a4af26c3446be790469280fd4f91b2","commits":[{"sha":"c347be4e986a9c28e5895f90873d795c99997bb0","author":{"name":"SanjayKarmaDevelopers","email":"8cbd5a3eea3c2d5803975b34efdcbfc8ca33188a@users.noreply.github.com"},"message":"Update main.css","distinct":true,"url":"https://api.github.com/repos/SanjayKarmaDevelopers/HBD-SWATHI/commits/c347be4e986a9c28e5895f90873d795c99997bb0"}]},"public":true,"created_at":"2021-09-11T09:34:28Z"}

Comparing another 'PushEvent' event, this json incorrect format...

@lcy020625
Copy link

could you tell me the diffierent type events's mean

@lcy020625
Copy link

if the Administrator add a label to a issue ,which type event would be inform? @Ellioben

@Ellioben
Copy link
Author

if the Administrator add a label to a issue ,which type event would be inform? @Ellioben

i m sorry, i update this question to discript this err.

only Json format bug of history data

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

2 participants