[tahoe-lafs-trac-stream] [tahoe-lafs] #1643: presence of MDMF in aliases break the CLI < v1.9.0
tahoe-lafs
trac at tahoe-lafs.org
Sun Dec 18 12:59:44 UTC 2011
#1643: presence of MDMF in aliases break the CLI < v1.9.0
-------------------------------------------------+-------------------------
Reporter: zooko | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: code-mutable | undecided
Keywords: versioning forward-compatibility | Version: 1.9.0
backward-compatibility mutable mdmf aliases | Launchpad Bug:
-------------------------------------------------+-------------------------
I created some MDMF dirs and put them into {{{~/.tahoe/private/aliases}}}
with a recent trunk snapshot (very likely it behaves the same as 1.9.0
does in this respect). Later I switched to Tahoe-LAFS v.1.8.3, and the CLI
stopped working. Moving the {{{aliases}}} file aside fixes it, and putting
the {{{aliases}}} file back breaks it again
{{{
$ tahoe mkdir
Traceback (most recent call last):
File "/home/zooko/playground/tahoe-lafs/1.8.3/support/bin/tahoe", line
9, in <module>
load_entry_point('allmydata-tahoe==1.8.3', 'console_scripts',
'tahoe')()
File "/home/zooko/playground/tahoe-
lafs/1.8.3/src/allmydata/scripts/runner.py", line 113, in run
rc = runner(sys.argv[1:], install_node_control=install_node_control)
File "/home/zooko/playground/tahoe-
lafs/1.8.3/src/allmydata/scripts/runner.py", line 67, in runner
config.parseOptions(argv)
File "/usr/local/lib/python2.7/dist-packages/Twisted-11.0.0-py2.7-linux-
x86_64.egg/twisted/python/usage.py", line 231, in parseOptions
self.subOptions.parseOptions(rest)
File "/usr/local/lib/python2.7/dist-packages/Twisted-11.0.0-py2.7-linux-
x86_64.egg/twisted/python/usage.py", line 241, in parseOptions
self.postOptions()
File "/home/zooko/playground/tahoe-
lafs/1.8.3/src/allmydata/scripts/cli.py", line 46, in postOptions
aliases = get_aliases(self['node-directory'])
File "/home/zooko/playground/tahoe-
lafs/1.8.3/src/allmydata/scripts/common.py", line 105, in get_aliases
aliases[name] = uri.from_string_dirnode(cap).to_string()
File "/home/zooko/playground/tahoe-lafs/1.8.3/src/allmydata/uri.py",
line 692, in from_string_dirnode
assert IDirnodeURI.providedBy(u)
AssertionError
$ mv ~/.tahoe/private/aliases ~/.tahoe/private/1.9-aliases
$ tahoe mkdir
URI:DIR2:CENSORED
$ tahoe --version
allmydata-tahoe: 1.8.3,
foolscap: 0.6.1,
pycryptopp: 0.5.29-r774,
zfec: 1.4.5,
Twisted: 11.0.0,
Nevow: 0.10.0,
zope.interface: unknown,
python: 2.7.1+,
platform: Linux-Ubuntu_11.04-x86_64-64bit_ELF,
pyOpenSSL: 0.10,
simplejson: 2.1.2,
pycrypto: 2.4.1,
pyasn1: unknown,
mock: 0.8.0beta3,
sqlite3: 2.6.0 [sqlite 3.7.4],
setuptools: 0.6c16dev3
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1643>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list