You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I attempted to set this up using pcloud and when I ran it this is what the output was. I'm assuming this means it recognizes there are two pdfs to sync, but I'm not familiar with this code enough to trace back what the issue is. Any ideas?
user@ubuntuComputer:~/sync_zotero_remarkable$ sync_zotero_rm
Fetching collection from Zotero... Done.
Fetching item list... Done.
Items to sync: 2
Traceback (most recent call last):
File "/home/aos11409/.local/bin/sync_zotero_rm", line 70, in
rm_items = rmapy.get_meta_items()
File "/home/aos11409/.local/lib/python3.8/site-packages/rmapy/api.py", line 180, in get_meta_items
for item in response.json():
File "/usr/lib/python3/dist-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/init.py", line 518, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
Hi, seems like the problem is not on the side of zotero/your cloud, but from rmapy.
Since rmapy uses the same credentials als storage files rmapi is using, can you please confirm that you can access the device from command line with the rmapi command line interface (rmapi)?
If this works (or once you regenerated your api keys with rmapi), my script should also work.
I havent put a lot of work into the part that generates api keys etc, so this is the fix that usually works for me when rmapy fails to connect to the remarkable cloud. Let me know if this helps
I attempted to set this up using pcloud and when I ran it this is what the output was. I'm assuming this means it recognizes there are two pdfs to sync, but I'm not familiar with this code enough to trace back what the issue is. Any ideas?
user@ubuntuComputer:~/sync_zotero_remarkable$ sync_zotero_rm
Fetching collection from Zotero... Done.
Fetching item list... Done.
Items to sync: 2
Traceback (most recent call last):
File "/home/aos11409/.local/bin/sync_zotero_rm", line 70, in
rm_items = rmapy.get_meta_items()
File "/home/aos11409/.local/lib/python3.8/site-packages/rmapy/api.py", line 180, in get_meta_items
for item in response.json():
File "/usr/lib/python3/dist-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/init.py", line 518, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: