Custom Query (2551 matches)
Results (1 - 3 of 2551)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#2388 | fixed | "AssertionError: paths must be Unicode strings" when starting a node | daira | daira |
Description |
[reported by ekodo] 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 And here are my version: /usr/local/bin/tahoe --version-and-path allmydata-tahoe: 1.10.0.post272 [master: e9e63c5e72619f4e5811cd1eed31e344db6236c8] (/usr/local/lib/python2.7/dist-packages) foolscap: 0.6.4 (/usr/lib/python2.7/dist-packages) pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958 (/usr/lib/python2.7/dist-packages) zfec: 1.4.5 (/usr/lib/python2.7/dist-packages) Twisted: 13.2.0 (/usr/lib/python2.7/dist-packages) Nevow: 0.11.1 (/usr/local/lib/python2.7/dist-packages) zope.interface: unknown (/usr/lib/python2.7/dist-packages/zope) python: 2.7.6 (/usr/bin/python) platform: Linux-Ubuntu_14.04-x86_64-64bit_ELF (None) pyOpenSSL: 0.13 (/usr/lib/python2.7/dist-packages) simplejson: 3.3.1 (/usr/lib/python2.7/dist-packages) pycrypto: 2.6.1 (/usr/lib/python2.7/dist-packages) pyasn1: 0.1.7 (/usr/lib/python2.7/dist-packages) mock: 1.0.1 (/usr/lib/python2.7) setuptools: 3.3 (/usr/lib/python2.7/dist-packages) service-identity: 14.0.0 (/usr/local/lib/python2.7/dist-packages) characteristic: 14.3.0 (/usr/local/lib/python2.7) pyasn1-modules: 0.0.5 (/usr/local/lib/python2.7/dist-packages) |
|||
#2550 | wontfix | "ImportError: cannot import name flat" when checking import of Nevow 0.11.1 on OpenSUSE 13.2 | daira | daira |
Description |
renat wrote on tahoe-dev:
tahoe@linux:~/allmydata-tahoe-1.10.2/bin> python --version Python 2.7.8 tahoe@linux:~/allmydata-tahoe-1.10.2/bin> ./tahoe Traceback (most recent call last): File "/home/tahoe/allmydata-tahoe-1.10.2/support/bin/tahoe", line 9, in <module> load_entry_point('allmydata-tahoe==1.10.2', 'console_scripts', 'tahoe')() File "/home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/setuptools-0.6c16dev6.egg/pkg_resources.py", line 320, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/setuptools-0.6c16dev6.egg/pkg_resources.py", line 2265, in load_entry_point return ep.load() File "/home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/setuptools-0.6c16dev6.egg/pkg_resources.py", line 1998, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/home/tahoe/allmydata-tahoe-1.10.2/src/allmydata/__init__.py", line 431, in <module> check_all_requirements() File "/home/tahoe/allmydata-tahoe-1.10.2/src/allmydata/__init__.py", line 429, in check_all_requirements raise PackagingError(get_error_string(fatal_errors + _cross_check_errors, debug=True)) allmydata.PackagingError: ImportError: for requirement 'Nevow >= 0.11.1': (<type 'exceptions.ImportError'>, 'cannot import name flat', ('/home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/Nevow-0.11.1-py2.7.egg/nevow/__init__.py', 17, '<module>', 'from nevow import flat')) Warning: dependency 'nevow' could not be imported. pkg_resources thought it should be possible to import version '0.11.1' from '/home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/Nevow-0.11.1-py2.7.egg'. The exception trace was (<type 'exceptions.ImportError'>, 'cannot import name flat', ('/home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/Nevow-0.11.1-py2.7.egg/nevow/__init__.py', 17, '<module>', 'from nevow import flat')). For debugging purposes, the PYTHONPATH was '/home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages' install_requires was ['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4', 'zope.interface >= 3.6.0, != 3.6.3, != 3.6.4', 'foolscap >= 0.8.0', 'pycrypto >= 2.1.0, != 2.2, != 2.4', 'pycryptopp >= 0.6.0', 'service-identity', 'characteristic >= 14.0.0', 'pyasn1 >= 0.1.8', 'pyasn1-modules >= 0.0.5', 'Twisted >= 13.0.0', 'Nevow >= 0.11.1', 'pyOpenSSL >= 0.13, <= 0.13.1'] sys.path after importing pkg_resources was /home/tahoe/allmydata-tahoe-1.10.2/support/bin: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/setuptools-0.6c16dev6.egg: /home/tahoe/allmydata-tahoe-1.10.2/src: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/pyOpenSSL-0.13.1-py2.7-linux-x86_64.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/Nevow-0.11.1-py2.7.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/pyasn1_modules-0.0.8-py2.7.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/pyasn1-0.1.9-py2.7.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/characteristic-14.3.0-py2.7.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/service_identity-14.0.0-py2.7.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/pycrypto-2.6.1-py2.7-linux-x86_64.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/foolscap-0.9.1-py2.7.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/zope.interface-4.1.3-py2.7-linux-x86_64.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/simplejson-3.8.0-py2.7-linux-x86_64.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/zfec-1.4.24-py2.7-linux-x86_64.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/pyutil-2.0.0-py2.7.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages/zbase32-1.1.5-py2.7.egg: /home/tahoe/allmydata-tahoe-1.10.2/support/lib/python2.7/site-packages: /usr/lib/python27.zip: /usr/lib64/python2.7: /usr/lib64/python2.7/plat-linux2: /usr/lib64/python2.7/lib-tk: /usr/lib64/python2.7/lib-old: /usr/lib64/python2.7/lib-dynload: /usr/lib64/python2.7/site-packages: /usr/local/lib64/python2.7/site-packages: /usr/local/lib/python2.7/site-packages: /usr/lib/python2.7/site-packages |
|||
#553 | fixed | "More Info" link should point to a file/dir, not a dir+childname | zooko | warner |
Description |
Zooko correctly points out that between the time you use the webapi to list a directory, and the time you click the "More Info" link on one of its children, that somebody could change what that name points to. We should change the "More Info" link to point to an absolute /uri/CHILDCAP?t=info , rather than the relative /uri/THISDIRCAP/CHILDNAME?t=info . This would match the way we create the download links (although those use the /file URI space, to make them more useful for downloading). |