AssertionError: paths must be Unicode strings

Daira Hopwood daira at jacaranda.org
Sat Feb 28 22:27:31 UTC 2015


On 25/02/15 17:00, ekodo at posteo.eu wrote:
> Hello to everyone!
> 
> I have tried to install tahoe-lafs on ubuntu 14.04.1 from github source.
> 
> All tests are passed, like in travis.
> But when i try to run the binary: tahoe start
> 
> i got the following error:
[...]
>   File "/usr/local/lib/python2.7/dist-packages/allmydata/frontends/sftpd.py", line 1988,
> in __init__
>     c = AccountFileChecker(self, accountfile)
>   File "/usr/local/lib/python2.7/dist-packages/allmydata/frontends/auth.py", line 34, in
> __init__
>     for line in open(abspath_expanduser_unicode(accountfile), "r"):
>   File "/usr/local/lib/python2.7/dist-packages/allmydata/util/fileutil.py", line 314, in
> abspath_expanduser_unicode
>     raise AssertionError("paths must be Unicode strings")
> AssertionError: paths must be Unicode strings

Thanks for the clear bug report, I've filed it as
<https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2388>.

I suspect that this may be a recent regression due to
<https://github.com/tahoe-lafs/tahoe-lafs/pull/138>.

Does your home directory path have any non-ASCII characters in it, by the way?

-- 
Daira Hopwood ⚥

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20150228/84952d5a/attachment.asc>


More information about the tahoe-dev mailing list