[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2444: Magic Folder: tests fail on Travis-CI because filesystem encoding is ASCII
Tahoe-LAFS
trac at tahoe-lafs.org
Mon Jun 8 11:11:20 UTC 2015
#2444: Magic Folder: tests fail on Travis-CI because filesystem encoding is ASCII
-------------------------------------+-------------------------------------
Reporter: daira | Owner: daira
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code-frontend- | Version: 1.10.0
magic-folder | Keywords: otf-magic-folder-
Resolution: | objective4 tests unicode travis
Launchpad Bug: |
-------------------------------------+-------------------------------------
Comment (by daira):
Oh wait, I think this is a different error than I originally thought: it
could be due to the `FilePath`'s `path` attribute holding a Unicode string
rather than a `str`.
This is strictly speaking a Twisted bug: in Twisted 15.2.1 which is the
version used in this test, `FilePath` is supposed to accept Unicode paths
(and so `inotify.py` should be using `path._asBytesPath()` instead of
`path.path`
[https://twistedmatrix.com/trac/browser/tags/releases/twisted-15.2.1/twisted/internet/inotify.py#L190
here]). Nevertheless, constructing it with a `str` path may be the best
workaround.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2444#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list