[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3603: Port allmydata.scripts to Python 3
Tahoe-LAFS
trac at tahoe-lafs.org
Sat Jan 30 17:09:37 UTC 2021
#3603: Port allmydata.scripts to Python 3
-------------------------+------------------------------
Reporter: jaraco | Owner: jaraco
Type: defect | Status: new
Priority: normal | Milestone: Support Python 3
Component: unknown | Version: n/a
Resolution: | Keywords:
Launchpad Bug: |
-------------------------+------------------------------
Comment (by jaraco):
Attempting to run `create-client` results in an error:
{{{
tahoe-lafs 3603.scripts $ .tox/py36/bin/python -m allmydata.scripts.runner
create-client
/Users/jaraco/code/public/tahoe-lafs/src/allmydata/scripts/runner.py:182:
UserWarning: Support for Python 3 is experimental. Use at your own risk.
warnings.warn("Support for Python 3 is experimental. Use at your own
risk.")
Traceback (most recent call last):
File "/Users/jaraco/code/public/tahoe-lafs/.tox/py36/lib/python3.6/site-
packages/twisted/internet/defer.py", line 151, in maybeDeferred
result = f(*args, **kw)
File "/Users/jaraco/code/public/tahoe-
lafs/src/allmydata/scripts/create_node.py", line 469, in create_client
return create_node(config)
File "/Users/jaraco/code/public/tahoe-lafs/.tox/py36/lib/python3.6/site-
packages/twisted/internet/defer.py", line 1613, in unwindGenerator
return _cancellableInlineCallbacks(gen)
File "/Users/jaraco/code/public/tahoe-lafs/.tox/py36/lib/python3.6/site-
packages/twisted/internet/defer.py", line 1529, in
_cancellableInlineCallbacks
_inlineCallbacks(None, g, status)
--- <exception caught here> ---
File "/Users/jaraco/code/public/tahoe-lafs/.tox/py36/lib/python3.6/site-
packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
result = g.send(result)
File "/Users/jaraco/code/public/tahoe-
lafs/src/allmydata/scripts/create_node.py", line 405, in create_node
precondition(isinstance(basedir, unicode), basedir)
builtins.NameError: name 'unicode' is not defined
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3603#comment:4>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list