[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] fatal: std::logic_error: paths.cc:728: invariant 'I
From: |
Vaclav Haisman |
Subject: |
Re: [Monotone-devel] fatal: std::logic_error: paths.cc:728: invariant 'I(!empty())' violated |
Date: |
Mon, 01 Dec 2008 00:09:42 +0100 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081126) |
Timothy Brownawell wrote:
>
> You will have to run "mtn genkey", to give you a key for monotone to use
> to commit with. You'll have to either do this outside of the workspace
> (/usr/local/etc) or provide the --confdir or --keydir option.
>
> After this, you should be able to fix it by giving
> --confdir=/root/.monotone or --keydir=/root/.monotone/keys when you
> commit (unless you gave these to genkey, then you shouldn't need them).
> After doing this, there should be a line
> keydir "/root/.monotone/keys"
> in _MTN/options . Adding that line manually is another way to fix it.
> (Or you could use different values if you don't like the defaults.)
>
>
>
> What appears to be happening is that monotone doesn't realize that there
> isn't a keydir line in _MTN/options, and is trying to use this (missing)
> value instead of the default (this is the bug). The value never got
> written because that directory doesn't exist (don't want to save
> possibly invalid option values). It's created when a key is first saved,
> which can happen by means of "mtn genkey" or "mtn read < $privkey_file".
>
>
Thanks. That fixed it for me. I actually have a key but I forgot to
import it into the root account.
--
VH