MStadlmeier / drivesync

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

Error when trying to run it for the first time #41

Open cesarhndz opened 4 years ago

cesarhndz commented 4 years ago

Hello, does anyone know how to fix this issue?, thanks in advance

cesar@cesar-HP-Compaq-Pro-6300-SFF:~/drivesync$ ruby drivesync.rb Local folder is 168 files behind and 73 files ahead of remote Traceback (most recent call last): 5: from drivesync.rb:64:in <main>' 4: from drivesync.rb:23:insync' 3: from /home/cesar/drivesync/src/synchronizer.rb:68:in run' 2: from /home/cesar/drivesync/src/synchronizer.rb:224:inload_manifest' 1: from /usr/lib/ruby/2.5.0/json/common.rb:156:in parse' /usr/lib/ruby/2.5.0/json/common.rb:156:inparse': 765: unexpected token at '' (JSON::ParserError)

MStadlmeier commented 4 years ago

Hi, @cesarhndz , sorry for the late reply. Looks like there may be something wrong with your manifest file. Have you tried resetting drivesync with rb drivesync.rb reset ? This will delete the manifest and should resolve any errors related to it. Make sure to backup your local drive folder first if you have any pending changes there.