GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.56k stars 203 forks source link

Strptime datetime error #456

Open gustavohellwig opened 4 months ago

gustavohellwig commented 4 months ago

Hi, What should I do in this case? I have many cases where, when I'm trying to backup and recover, it's showing this:

Traceback (most recent call last): File "gyb.py", line 2817, in File "gyb.py", line 2254, in main File "gyb.py", line 1990, in convert_timestamp File "_strptime.py", line 555, in _strptime_datetime File "_strptime.py", line 336, in _strptime ValueError: unconverted data remains: .371000

I'm running this: gyb --email $secondaryaccountr --service-account --local-folder "$BackupFolderPath\$secondaryaccount" --search before:2010/12/31 gyb --email $newemailaddress --service-account --action restore --local-folder "$BackupFolderPath\$secondaryaccount" --label-restored "$secondaryaccount" }

Any suggestions? Thank you

Using the Latest version.

ffrants commented 3 months ago

Having the same issue

gustavohellwig commented 1 month ago

FYI. The version 1.74 doesn't have this error.