AssertionError: paths must be Unicode strings
ekodo at posteo.eu
ekodo at posteo.eu
Wed Feb 25 17:35:38 UTC 2015
Hello,
thank you for the quick reply!
Yes, my .tahoe folder was not empty! This was the failure. :)
Am 25.02.2015 18:28 schrieb Roland Haeder:
> On Wed, 25 Feb 2015 18:00:35 +0100
> 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:
>>
>> STARTING '/home/tahoe_user/.tahoe'
>> starting node in '/home/tahoe_user/.tahoe'
>> Traceback (most recent call last):
>> File
>> "/usr/local/lib/python2.7/dist-packages/allmydata/scripts/runner.py",
>> line 156, in run
>> rc = runner(sys.argv[1:],
>> install_node_control=install_node_control) File
>> "/usr/local/lib/python2.7/dist-packages/allmydata/scripts/runner.py",
>> line 135, in runner
>> rc = startstop_node.dispatch[command](so, stdout, stderr)
>> File
>> "/usr/local/lib/python2.7/dist-packages/allmydata/scripts/startstop_node.py",
>> line 159, in start
>> twistd.runApp(twistd_config)
>> File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py",
>> line 23, in runApp
>> _SomeApplicationRunner(config).run()
>> File
>> "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line
>> 376, in run self.application = self.createOrGetApplication()
>> File
>> "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line
>> 436, in createOrGetApplication ser =
>> plg.makeService(self.config.subOptions) File
>> "/usr/local/lib/python2.7/dist-packages/allmydata/scripts/startstop_node.py",
>> line 68, in makeService
>> return Client(self.basedir)
>> File "/usr/local/lib/python2.7/dist-packages/allmydata/client.py",
>> line 151, in __init__
>> self.init_sftp_server()
>> File "/usr/local/lib/python2.7/dist-packages/allmydata/client.py",
>> line 479, in init_sftp_server
>> sftp_portstr, pubkey_file, privkey_file)
>> 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
>
> Hi,
>
> just curious, have you tried with a clean ~/.tahoe/ path? If not, you
> should better create a new one:
>
> $ tahoe create-node my_custom_path
>
> And try it again:
>
> $ tahoe start my_custom_path
>
> If the error persists, then it may indicate a bug, if not try to check
> your ~/.tahoe/tahoe.cfg (and remove "my_custom_path").
>
> Best regards,
> Roland
More information about the tahoe-dev
mailing list