monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Monotone bombs on privkey?


From: Richard Levitte
Subject: Re: [Monotone-devel] Monotone bombs on privkey?
Date: Mon, 22 Nov 2010 17:46:43 +0100 (CET)

If you do the following, you'll get a list of available keys:

  mtn ls keys

However, what you have hit upon is a bug in the key identifier
reader, which seems to be triggered by one-character arguments.
Also, when I'm trying, it's also telling me that keys that are there
can't be found:

  mtn privkey address@hidden
  mtn: misuse: there is no key named 'address@hidden'

(that's the key I use for commits, so I know for a fact it exists ;-))

Cheers,
Richard

In message <address@hidden> on Mon, 22 Nov 2010 10:51:12 -0500, "Aaron W. Hsu" 
<address@hidden> said:

arcfide> I was attempting to use privkey, but apparently it isn't working the
arcfide> way I thought it was:
arcfide> 
arcfide> 
arcfide> 782 arcfide$ mtn privkey address@hidden
arcfide> mtn: misuse: there is no key named 'address@hidden'
arcfide> 783 arcfide$ mtn privkey 0
arcfide> mtn: fatal: error: project.cc:599: I(!info.id.inner()().empty())
arcfide> mtn: this is almost certainly a bug in monotone.
arcfide> mtn: please send this error message, the output of 'mtn version
arcfide> --full',
arcfide> mtn: and a description of what you were doing to
arcfide> address@hidden
arcfide> mtn: wrote debugging log to /home/arcfide/.monotone/dump
arcfide> mtn: if reporting a bug, please include this file
arcfide> 784 arcfide$
arcfide> 
arcfide> The output of mtn version --full follows:
arcfide> 
arcfide> monotone 0.99.1 (base revision:
arcfide> 8973482283db7c36780dce2b54721ccc0f5b7388)
arcfide> Running on : Linux 2.6.33.4 #2 SMP Tue Sep 21 17:28:38 CDT 2010 x86_64
arcfide> C++ compiler        : GNU C++ version 4.4.4
arcfide> C++ standard library: GNU libstdc++ version 20100429
arcfide> Boost version       : 1_42
arcfide> SQLite version      : 3.6.23.1 (compiled against 3.6.23.1)
arcfide> Lua version         : Lua 5.1
arcfide> PCRE version        : 8.02 2010-03-19 (compiled against 8.2)
arcfide> Botan version       : 1.8.10 (compiled against 1.8.10)
arcfide> Changes since base revision:
arcfide> format_version "1"
arcfide> 
arcfide> new_manifest [c1270158b7fa91abf8235ad129b0476943bde1ed]
arcfide> 
arcfide> old_revision [8973482283db7c36780dce2b54721ccc0f5b7388]
arcfide> 
arcfide>   Generated from data cached in the distribution;
arcfide>   further changes may have been made.
arcfide> 
arcfide> And a dump that was in .monotone/dump:
arcfide> 
arcfide> Encountered an error while musing upon the following:
arcfide> project.cc:599: detected internal error,
arcfide> 'I(!info.id.inner()().empty())' violated
arcfide> Current work set: 7 items
arcfide> ----- begin 'system_flavour' (in virtual void sanity::initialize(int,
arcfide> ----- char**, const char*), at sanity.cc:117)
arcfide> Linux 2.6.33.4 #2 SMP Tue Sep 21 17:28:38 CDT 2010 x86_64
arcfide> -----   end 'system_flavour' (in virtual void sanity::initialize(int, 
char**,
arcfide> -----   const char*), at sanity.cc:117)
arcfide> ----- begin 'cmdline_string' (in virtual void sanity::initialize(int,
arcfide> ----- char**, const char*), at sanity.cc:131)
arcfide> 'mtn', 'privkey', '0'
arcfide> -----   end 'cmdline_string' (in virtual void sanity::initialize(int, 
char**,
arcfide> -----   const char*), at sanity.cc:131)
arcfide> ----- begin 'string(lc_all)' (in virtual void sanity::initialize(int,
arcfide> ----- char**, const char*), at sanity.cc:136)
arcfide> 
LC_CTYPE=en_US;LC_NUMERIC=en_US;LC_TIME=en_US;LC_COLLATE=C;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=en_US;LC_ADDRESS=en_US;LC_TELEPHONE=en_US;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=en_US
arcfide> -----   end 'string(lc_all)' (in virtual void sanity::initialize(int, 
char**,
arcfide> -----   const char*), at sanity.cc:136)
arcfide> ----- begin 'full_version_string' (in virtual void
arcfide> ----- mtn_sanity::initialize(int, char**, const char*), at 
mtn-sanity.cc:32)
arcfide> monotone 0.99.1 (base revision:
arcfide> 8973482283db7c36780dce2b54721ccc0f5b7388)
arcfide> Running on : Linux 2.6.33.4 #2 SMP Tue Sep 21 17:28:38 CDT 2010 x86_64
arcfide> C++ compiler        : GNU C++ version 4.4.4
arcfide> C++ standard library: GNU libstdc++ version 20100429
arcfide> Boost version       : 1_42
arcfide> SQLite version      : 3.6.23.1 (compiled against 3.6.23.1)
arcfide> Lua version         : Lua 5.1
arcfide> PCRE version        : 8.02 2010-03-19 (compiled against 8.2)
arcfide> Botan version       : 1.8.10 (compiled against 1.8.10)
arcfide> Changes since base revision:
arcfide> format_version "1"
arcfide> 
arcfide> new_manifest [c1270158b7fa91abf8235ad129b0476943bde1ed]
arcfide> 
arcfide> old_revision [8973482283db7c36780dce2b54721ccc0f5b7388]
arcfide> 
arcfide>   Generated from data cached in the distribution;
arcfide>   further changes may have been made.
arcfide> -----   end 'full_version_string' (in virtual void 
mtn_sanity::initialize(int,
arcfide> -----   char**, const char*), at mtn-sanity.cc:32)
arcfide> ----- begin 'info.id' (in void
arcfide> ----- project_t::complete_key_identity_from_id(key_store*, lua_hooks&,
arcfide> ----- key_identity_info&) const, at project.cc:596)
arcfide> 
arcfide> -----   end 'info.id' (in void
arcfide> -----   project_t::complete_key_identity_from_id(key_store*, 
lua_hooks&,
arcfide> -----   key_identity_info&) const, at project.cc:596)
arcfide> ----- begin 'info.official_name' (in void
arcfide> ----- project_t::complete_key_identity_from_id(key_store*, lua_hooks&,
arcfide> ----- key_identity_info&) const, at project.cc:597)
arcfide> 
arcfide> -----   end 'info.official_name' (in void
arcfide> -----   project_t::complete_key_identity_from_id(key_store*, 
lua_hooks&,
arcfide> -----   key_identity_info&) const, at project.cc:597)
arcfide> ----- begin 'info.given_name' (in void
arcfide> ----- project_t::complete_key_identity_from_id(key_store*, lua_hooks&,
arcfide> ----- key_identity_info&) const, at project.cc:598)
arcfide> 
arcfide> -----   end 'info.given_name' (in void
arcfide> -----   project_t::complete_key_identity_from_id(key_store*, 
lua_hooks&,
arcfide> -----   key_identity_info&) const, at project.cc:598)
arcfide> 
arcfide> 
arcfide> If I may ask, what's going on? How is privkey supposed to work?
arcfide> 
arcfide>        Aaron W. Hsu
arcfide> 
arcfide> -- 
arcfide> Programming is just another word for the lost art of thinking.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"Life is a tremendous celebration - and I'm invited!"
-- from a friend's blog, translated from Swedish



reply via email to

[Prev in Thread] Current Thread [Next in Thread]