Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Bad IDs #125

Closed
wills721 opened this issue Sep 9, 2019 · 22 comments
Closed

Bad IDs #125

wills721 opened this issue Sep 9, 2019 · 22 comments

Comments

@wills721
Copy link

wills721 commented Sep 9, 2019

I have a total of 76 'Bad Ids' issues. I read in comments this is a Google issue. Any workaround?

09-09 15:41:02 WARNING: skipped 76 files listed in /mnt/Photos/gphotos.bad_ids.yaml

@gilesknap
Copy link
Owner

gilesknap commented Sep 10, 2019 via email

@wills721
Copy link
Author

All Videos yes. Either .MOV or .VOB extension but mostly .MOV

@gilesknap
Copy link
Owner

gilesknap commented Sep 10, 2019 via email

@wills721
Copy link
Author

wills721 commented Sep 10, 2019

I did that. It is strange. The first time I re-ran the badid yaml file re-appeared. Same exact number of files. However the next few times the bad id yaml file did not re-appear (after removing it) however the files in the bad id file (original and next one) did not download. Its as if the bad id MOV & VOB files are now seen as already downloaded?

09-10 09:03:53 gphotos.Main INFO version: 2.9.2, database schema version 5.6
09-10 09:03:53 gphotos.BadIds DEBUG no bad_ids file, bad ids list is empty
09-10 09:03:53 gphotos.GooglePhotosIndex WARNING Indexing Google Photos Files ...
09-10 09:03:53 gphotos.GooglePhotosIndex INFO searching for media start=2019-09-10 09:45:21, end=None, videos=True
09-10 09:03:53 gphotos.GooglePhotosIndex DEBUG mediaItems.search with body:
{'pageToken': None, 'pageSize': 100, 'filters': {'dateFilter': {'ranges': [{'startDate': {'year': 2019, 'month': 9, 'day': 10}, 'endDate': {'year': 3000, 'month': 1, 'day': 1}}]}, 'mediaTypeFilter': {'mediaTypes': ['ALL_MEDIA']}, 'featureFilter': {'includedFeatures': ['NONE']}}}
09-10 09:03:54 gphotos.GooglePhotosIndex DEBUG Skipped Index (already indexed) 1 photos/2019/09/IMG_2168.JPG
09-10 09:03:54 gphotos.LocalData INFO Saving Database ...
09-10 09:03:54 gphotos.LocalData INFO Database Saved.
09-10 09:03:54 gphotos.Main WARNING Done.
09-10 09:03:54 gphotos.Main INFO Elapsed time = 0:00:01.213283

@gilesknap
Copy link
Owner

gilesknap commented Sep 10, 2019 via email

@wills721
Copy link
Author

Email sent to your gmail

@gilesknap
Copy link
Owner

Thanks for the extra info. It does look like you are getting HTTP 500 errors downloading those video files. So this does look like the Google issue that I thought was fixed.

One more question. How long ago did you first run gphotos-sync? If it indexed the items before the fix (a few weeks ago) then they will need to be re-indexed. I think the bug used to deliver bad remote IDs and the DB saves these and tries to use them to get the download URL.

If you do a gphotos-sync with option --flush-index this will rescan everything and re-index the offending files. If this does not fix it then we need to compile a report to Google.

@wills721
Copy link
Author

wills721 commented Sep 10, 2019 via email

@wills721
Copy link
Author

So, sadly, the --flush-index run ended the same. Same 76 files failed. Same yaml results I sent you :(

@gilesknap
Copy link
Owner

OK, we have confirmed that the Google API bug still exists even though it is fixed for all of my videos.

Please, could you place a few of the videos that you are willing to share into a publicly shared album and update the bug https://issuetracker.google.com/issues/116842164 with a link to the album?

Many thanks - sorry we did not resolve this but Google was responsive on this bug before so you may be lucky.

@gilesknap
Copy link
Owner

closing as a duplicate of #119 (updated with a link here)

@wills721
Copy link
Author

So I made a comment up on the google site but did not yet upload any sample. I'm not crazy about uploading my videos -- they are home movies of my kids mostly. However, if you read to the end of the google issue thread seems I am not alone.

@gilesknap
Copy link
Owner

gilesknap commented Sep 11, 2019 via email

@wills721
Copy link
Author

I'm good with that. I just left that comment up there.

@gilesknap
Copy link
Owner

This got a response from google on buganizer - result.

@wills721
Copy link
Author

Thanks -- just saw. Hopefully they fix the fix and its then is fully fixed and there is no more fixes.

@gilesknap
Copy link
Owner

It looks like https://issuetracker.google.com/issues/116842164 has been fixed by Google.

@compman723
Copy link

I can't seem to locate the Bad ids file while on windows. Can someone point me to the location of this file? Thanks!

@gilesknap
Copy link
Owner

Hi, If you are running a recent version of gphotos-sync then there is no badids file any more, this is because the bug in google api is fixed.

If gphotos sync gets an error it always reports it now, rather than collecting a list of bad files that will never work.

@compman723
Copy link

compman723 commented Feb 10, 2020 via email

@wills721
Copy link
Author

Also, just so I'm sure I have it, what version of gphotos-sync stopped writing a badids file and what is the most recent version?

@gilesknap
Copy link
Owner

The current version is 2.12.4 (but ironically the version number reporting is broken in this release).
2.10.4 Was the first release without bad ids.
The bad ids file would always have appeared in the root of your target folder.

To retrigger scan and downloads use the --rescan option.

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

No branches or pull requests

3 participants