iitc-project / ingress-intel-total-conversion

ingress.com/intel total conversion user script with some new features. Should allow easier extension of the intel map.
http://iitc.jonatkins.com/
ISC License
991 stars 552 forks source link

Sync doesn't work #420

Closed fkloft closed 11 years ago

fkloft commented 11 years ago

The sync plugin doesn't work for me, i.e. keys added on my desktop are never displayed on my mobile and vice versa. I tried debugging it myself, but didn't understand the architecture of the Google Drive API.

Firefox 22.0 (Ubuntu Linux) Greasemonkey 1.10 IITC: 0.12.2.20130701.174507 Keys: 0.2.0.20130701.174507 Sync: 0.2.1.20130522.175822

Android 4.2.2 (Nexus 4) IITCm: 0.4.9 IITC: 0.12.3.20130712.222002

I'm building IITCm myself, usually with a current update from master.

I'm used to debugging with ADB/Eclipse and/or Firefox/Firebug. Please tell me how to give more relevant information.

jonatkins commented 11 years ago

Have you successfully signed in to sync on both devices?

Are there any success/failure messages in the sync dialog?

Does the browser debug console for Firefox show any relevant status messages/errors for sync?

Do you have a IITC-SYNC-DATA-V2 folder in your Google Drive, and does it contain a keys[keys] file? If you are getting sync errors, you could try deleting this file and emptying your bin in your Google Drive to clear out all content here.

Using a 2nd desktop browser (either a different browser - eg. chrome - or the same browser in a different user account) can be easier than using mobile to test sync issues.

fkloft commented 11 years ago

Ok, this is a bit embarrasing. I just set up another Firefox profile, and deleted some keys in localStorage that may be related to the keys or sync plugins. After that, it worked at least between those profiles. It may be because I had already a lot of keys set up when I first installed sync.

I will try to delete those keys on IITCm as well; I'll let you know whether it worked.

fkloft commented 11 years ago

Please forgive me. I deleted all data on my IITCm, and now it worked. I'm a bit stunned, I'm sure it never worked before...