[oops, let's see if I can actually type something before hitting Send this time..]
On Tue, 3 Feb 2009 13:44:12 +1100 Andrej Falout <[email protected]> wrote: > Thanks Brian, > > does not seem to work here: > > and...@polar:~> tahoe ls --node-directory ~/.tahoe-allmydata.com > line 137, in get_alias > return aliases[default], path > KeyError: 'tahoe' Ah, we should probably improve that error message. What happened is that you told Tahoe to list your "default alias" (i.e. your "tahoe:" alias), but did first tell it what that alias is supposed to point to. The aliases file lives in the node-directory. So you were probably expecting this command to list the directory that is referenced by e.g.: grep "tahoe:" ~/.tahoe/private/aliases but you don't yet have a ~/.tahoe-allmydata.com/private/aliases file, or that file doesn't have a "tahoe:" line in it. See the "tahoe create-alias" command for a quick way to create a new directory and record it in the private/aliases file, or "tahoe set-alias" and "tahoe list-aliases" to manipulate that file (or simply edit private/aliases directly). If you know the dircap's URI, you can use that explicitly, instead of using an alias: tahoe ls --node-directory ~/.tahoe-allmydata.com URI:DIR2:.... hope that helps, -Brian _______________________________________________ tahoe-dev mailing list [email protected] http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
