[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2518: ascii decode error with Twisted 15.0.0
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Oct 6 14:39:40 UTC 2015
#2518: ascii decode error with Twisted 15.0.0
---------------------+---------------------------
Reporter: zooko | Owner: daira
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.10.1
Keywords: | Launchpad Bug:
---------------------+---------------------------
{{{
Magic Folder 'client-0' uploader: stop
'magic_folder.uploader.dirs_monitored' += -1
Traceback (most recent call last):
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/test/test_magic_folder.py", line 55, in
_wait_until_started
return self.magicfolder.ready()
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/frontends/magic_folder.py", line 80, in ready
d = self.uploader.start_scanning()
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/frontends/magic_folder.py", line 226, in start_scanning
d = self._scan(u"")
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/frontends/magic_folder.py", line 238, in _scan
fp = self._get_filepath(reldir_u)
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/frontends/magic_folder.py", line 123, in _get_filepath
return extend_filepath(self._local_filepath, relpath_u.split(u"/"))
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/util/encodingutil.py", line 265, in extend_filepath
fp = fp.child(segment)
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-
x86_64.egg/twisted/python/filepath.py", line 696, in child
newpath = abspath(joinpath(self.path, norm))
File "/usr/lib/python2.7/posixpath.py", line 80, in join
path += '/' + b
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in
position 127: ordinal not in range(128)
}}}
{{{
<daira> zooko: force Twisted to be >= 15.2.0
<daira> that'll work around the problem
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2518>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list