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

parsing width as int: strconv.Atoi: parsing "": invalid syntax (width=) #35

Open
rpajarola opened this issue May 29, 2019 · 1 comment

Comments

@rpajarola
Copy link

I get the following error message, and timeliner consistently doesn't download all pictures

2019/05/29 05:02:01 [ERROR][google_photos/xxx@xxx] Processing item graph: processing node of item graph: assembling item for storage: getting item metadata: parsing width as int: strconv.Atoi: parsing "": invalid syntax (width=)

@mholt
Copy link
Owner

mholt commented May 29, 2019

Does it say that for every item? It appears that your media library has no "width" information, which seems like a bug in Google Photos API at a glance.

If you could use the "Try this API" thing on the right side of this page for mediaItems.list, it would be nice to see what the full response is actually like: https://developers.google.com/photos/library/reference/rest/v1/mediaItems/list

Better yet, put a log.Printf into the code to see what the JSON is that we're getting back from the API in your case.

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