mholt / timeliner

All your digital life on a single timeline, stored locally -- DEPRECATED, SEE TIMELINIZE (link below)

Home Page:https://timelinize.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

rpajarola opened this issue · comments

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=)

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.