[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2454: Magic Folder: add create commandline tool
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Jun 18 22:09:41 UTC 2015
#2454: Magic Folder: add create commandline tool
-------------------------+-------------------------------------------------
Reporter: dawuud | Owner: dawuud
Type: task | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.10.0
Resolution: | Keywords: magic folder magic-folder otf-
Launchpad Bug: | magic-folder-objective6
-------------------------+-------------------------------------------------
Comment (by dawuud):
but why still fail!?
```
[user at tahoe-dev1 tahoe-lafs]$ ./bin/tahoe debug trial
allmydata.test.test_cli_magic_folder
allmydata.test.test_cli_magic_folder
CreateMagicFolder
test_create ...
[ERROR]
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/twisted/python/threadpool.py",
line 196, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/twisted/python/context.py",
line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib64/python2.7/site-packages/twisted/python/context.py",
line 81, in callWithContext
return func(*args,**kw)
File "/home/user/tahoe-lafs/src/allmydata/scripts/runner.py", line 148,
in runner
rc = magic_folder_cli.dispatch[command](so)
File "/home/user/tahoe-lafs/src/allmydata/scripts/magic_folder_cli.py",
line 66, in do_magic_folder
return f(so)
File "/home/user/tahoe-lafs/src/allmydata/scripts/magic_folder_cli.py",
line 20, in create
rc = tahoe_add_alias.create_alias(options)
File "/home/user/tahoe-lafs/src/allmydata/scripts/tahoe_add_alias.py",
line 57, in create_alias
nodedir = options['node-directory']
exceptions.KeyError: 'node-directory'
allmydata.test.test_cli_magic_folder.CreateMagicFolder.test_create
-------------------------------------------------------------------------------
Ran 1 tests in 0.368s
FAILED (errors=1)
[user at tahoe-dev1 tahoe-lafs]$
```
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2454#comment:6>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list