[tahoe-dev] How to use non-default NODEDIR with Tahoe CLI?

Andrej Falout andrej at falout.org
Mon Feb 2 18:44:12 PST 2009


Thanks Brian,

does not seem to work here:

andrej at polar:~> tahoe ls --node-directory ~/.tahoe-allmydata.com
Traceback (most recent call last):
  File "/usr/local/bin/tahoe", line 8, in <module>
    load_entry_point('allmydata-tahoe==1.2.0-r3465', 'console_scripts',
'tahoe')()
  File
"/usr/local/lib64/python2.6/site-packages/allmydata_tahoe-1.2.0_r3465-py2.6.egg/allmydata/scripts/runner.py",
line 91, in run
    rc = runner(sys.argv[1:])
  File
"/usr/local/lib64/python2.6/site-packages/allmydata_tahoe-1.2.0_r3465-py2.6.egg/allmydata/scripts/runner.py",
line 78, in runner
    rc = cli.dispatch[command](so)
  File
"/usr/local/lib64/python2.6/site-packages/allmydata_tahoe-1.2.0_r3465-py2.6.egg/allmydata/scripts/cli.py",
line 294, in list
    rc = tahoe_ls.list(options)
  File
"/usr/local/lib64/python2.6/site-packages/allmydata_tahoe-1.2.0_r3465-py2.6.egg/allmydata/scripts/tahoe_ls.py",
line 18, in list
    rootcap, path = get_alias(aliases, where, DEFAULT_ALIAS)
  File
"/usr/local/lib64/python2.6/site-packages/allmydata_tahoe-1.2.0_r3465-py2.6.egg/allmydata/scripts/common.py",
line 137, in get_alias
    return aliases[default], path
KeyError: 'tahoe'
andrej at polar:~>

Thank you for your help.
Andrej


On Tue, Feb 3, 2009 at 1:16 PM, Brian Warner <warner-tahoe at allmydata.com>wrote:

> On Tue, 3 Feb 2009 12:55:23 +1100
> Andrej Falout <andrej at falout.org> wrote:
>
> > tahoe ls /home/andrej/.tahoe-allmydata.com
>
> For vdrive-manipulating commands (ls, get, put, cp, mv, rm), the syntax is:
>
>  tahoe ls --node-directory ~/.tahoe-allmydata.com
>
> To list some specific virtual directory, it would be:
>
>  tahoe ls --node-directory ~/.tahoe-allmydata.com SUBDIR
>
> Try "tahoe ls --help" for details. I'd be glad to accept a patch to CLI.txt
> that adds a brief section on using alternate node directories.
>
> cheers,
>  -Brian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://allmydata.org/pipermail/tahoe-dev/attachments/20090203/1fd2caba/attachment.htm 


More information about the tahoe-dev mailing list