MStadlmeier / drivesync

Google Drive synchronization for Linux
MIT License
197 stars 26 forks source link

Error uploading files #53

Open jaliprandi opened 1 year ago

jaliprandi commented 1 year ago

This has been working flawlessly for months (thank you). Did Google change their API or something?

Uploading file Classroom/Physical Science 10 Spring 2023/notes/7D Periodic Trends.pdf ...
/home/xxx/software/drivesync/src/drive_manager.rb:158:in `block in folder_with_name': undefined method `first' for nil:NilClass (NoMethodError)
        from /home/xxx/software/drivesync/src/drive_manager.rb:158:in `select'
        from /home/xxx/software/drivesync/src/drive_manager.rb:158:in `folder_with_name'
        from /home/xxx/software/drivesync/src/drive_manager.rb:180:in `block in traverse_and_create'
        from /home/xxx/software/drivesync/src/drive_manager.rb:178:in `each'
        from /home/xxx/software/drivesync/src/drive_manager.rb:178:in `traverse_and_create'
        from /home/xxx/software/drivesync/src/drive_manager.rb:108:in `upload'
        from /home/xxx/software/drivesync/src/synchronizer.rb:166:in `upload_file'
        from /home/xxx/software/drivesync/src/synchronizer.rb:282:in `block in sync'
        from /home/xxx/software/drivesync/src/synchronizer.rb:279:in `each'
        from /home/xxx/software/drivesync/src/synchronizer.rb:279:in `sync'
        from /home/xxx/software/drivesync/src/synchronizer.rb:71:in `run'
        from drivesync.rb:23:in `sync'
        from drivesync.rb:64:in `<main>'
jaliprandi commented 1 year ago

Is it possible spaces aren't playing well in file/folder names? They had been working, but I manually synced some files, and then the rest were able to be automatically synced. There's two things that might differentiate the errors from the successes.