AssertionError: paths must be Unicode strings

ekodo at posteo.eu ekodo at posteo.eu
Thu Feb 26 10:00:48 UTC 2015


Hello again,

the error i reported is still there.
After i insert this in my tahoe.cfg:

[sftpd]
enabled = true
port = tcp:8022:interface=127.0.0.1
host_pubkey_file = private/ssh_host_rsa_key.pub
host_privkey_file = private/ssh_host_rsa_key
accounts.file = private/accounts


i get:

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 229, in restart
     return start(config, 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/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 
23, in runApp
     _SomeApplicationRunner(config).run()
   File 
"/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", 
line 379, in run
     self.application = self.createOrGetApplication()
   File 
"/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", 
line 439, 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")


All files exists.

What I`am doing wrong?





Am 25.02.2015 19:08 schrieb ekodo at posteo.eu:
> Hehe, no it`s just a test setup ... :)
> 
> Am 25.02.2015 18:54 schrieb Roland Haeder:
>> On Wed, 25 Feb 2015 18:35:38 +0100
>> ekodo at posteo.eu wrote:
>> 
>>> Hello,
>>> 
>>> thank you for the quick reply!
>>> 
>>> Yes, my .tahoe folder was not empty! This was the failure. :)
>>> 
>> 
>> Hi,
>> 
>> good to hear that you were able solve your problem. :-)
>> 
>> I hope you haven't deleted anything you still need,
>> e.g. .tahoe/storage/ ?
>> 
>> Roland
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at tahoe-lafs.org
> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev



More information about the tahoe-dev mailing list