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
$ jotta-share lol.json
Traceback (most recent call last):
File "/usr/local/bin/jotta-share", line 9, in <module>
load_entry_point('jottalib==0.4.2-1', 'console_scripts', 'jotta-share')()
File "/usr/local/lib/python2.7/dist-packages/jottalib/cli.py", line 165, in share
jottadev = get_jotta_device(jfs)
File "/usr/local/lib/python2.7/dist-packages/jottalib/cli.py", line 62, in get_jotta_device
for j in jfs.devices: # find Jotta/Shared folder
File "/usr/local/lib/python2.7/dist-packages/jottalib/JFS.py", line 984, in devices
return self.fs is not None and [JFSDevice(d, self, parentpath=self.rootpath) for d in self.fs.devices.iterchildren()] or [x for x in []]
File "/usr/local/lib/python2.7/dist-packages/jottalib/JFS.py", line 661, in __init__
self.mountPoints = {unicode(mp.name):mp for mp in self.mountpointobjects()}
File "/usr/local/lib/python2.7/dist-packages/jottalib/JFS.py", line 675, in mountpointobjects
return [ JFSMountPoint(obj, self._jfs, self.path) for obj in self.contents().mountPoints.iterchildren() ]
File "/usr/local/lib/python2.7/dist-packages/jottalib/JFS.py", line 670, in contents
c = self._jfs.get('%s%s' % (self.path, path or '/'))
File "/usr/local/lib/python2.7/dist-packages/jottalib/JFS.py", line 838, in get
url = self.escapeUrl(url)
File "/usr/local/lib/python2.7/dist-packages/jottalib/JFS.py", line 807, in escapeUrl
url = quote(urlparts[0], safe=self.rootpath)
File "/usr/lib/python2.7/urllib.py", line 1288, in quote
return ''.join(map(quoter, s))
KeyError: u'\u2019'
The text was updated successfully, but these errors were encountered:
The current code does not properly handle unicode/bytestrings, and I highly suspect that is the cause here. Are you trying to share a file from a path that has non-ascii characters?
jottalib (0.4.2-1)
The text was updated successfully, but these errors were encountered: