Re: monotone: sqlite database is locked... pls help

Banzai <[email protected]> Tue, 19 May 2009 15:36:51 +0800
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
sorry... wrong command...

here's the debug msg

xxx@xxx-desktop:~/Downloads/webdev/monotone$ mtn041 -d modules.db pull 
mt.xaraya.com com.xaraya.modules.* --debug
mtn041: searching for '_MTN' directory with root '/' 

mtn041: '_MTN' not found in '/home/xxx/Downloads/webdev/monotone' with 
'' removed
mtn041: '_MTN' not found in '/home/xxx/Downloads/webdev' with 'monotone' 
removed
mtn041: '_MTN' not found in '/home/xxx/Downloads' with 'webdev/monotone' 
removed
mtn041: '_MTN' not found in '/home/xxx' with 'Downloads/webdev/monotone' 
removed
mtn041: '_MTN' not found in '/home' with 'xxx/Downloads/webdev/monotone' 
removed
mtn041: '_MTN' not found in '/' with 
'home/xxx/Downloads/webdev/monotone' removed 

mtn041: searching for 'MT' directory with root '/' 

mtn041: 'MT' not found in '/home/xxx/Downloads/webdev/monotone' with '' 
removed
mtn041: 'MT' not found in '/home/xxx/Downloads/webdev' with 'monotone' 
removed
mtn041: 'MT' not found in '/home/xxx/Downloads' with 'webdev/monotone' 
removed
mtn041: 'MT' not found in '/home/xxx' with 'Downloads/webdev/monotone' 
removed
mtn041: 'MT' not found in '/home' with 'xxx/Downloads/webdev/monotone' 
removed
mtn041: 'MT' not found in '/' with 'home/xxx/Downloads/webdev/monotone' 
removed
mtn041: skipping nonexistent rcfile '/home/xxx/.monotone/monotonerc' 

mtn041: skipping nonexistent rcfile '_MTN/monotonerc' 

mtn041: searching for '_MTN' directory with root '/' 

mtn041: '_MTN' not found in '/home/xxx/Downloads/webdev/monotone' with 
'' removed
mtn041: '_MTN' not found in '/home/xxx/Downloads/webdev' with 'monotone' 
removed
mtn041: '_MTN' not found in '/home/xxx/Downloads' with 'webdev/monotone' 
removed
mtn041: '_MTN' not found in '/home/xxx' with 'Downloads/webdev/monotone' 
removed
mtn041: '_MTN' not found in '/home' with 'xxx/Downloads/webdev/monotone' 
removed
mtn041: '_MTN' not found in '/' with 
'home/xxx/Downloads/webdev/monotone' removed 

mtn041: searching for 'MT' directory with root '/' 

mtn041: 'MT' not found in '/home/xxx/Downloads/webdev/monotone' with '' 
removed
mtn041: 'MT' not found in '/home/xxx/Downloads/webdev' with 'monotone' 
removed
mtn041: 'MT' not found in '/home/xxx/Downloads' with 'webdev/monotone' 
removed
mtn041: 'MT' not found in '/home/xxx' with 'Downloads/webdev/monotone' 
removed
mtn041: 'MT' not found in '/home' with 'xxx/Downloads/webdev/monotone' 
removed
mtn041: 'MT' not found in '/' with 'home/xxx/Downloads/webdev/monotone' 
removed
mtn041: skipping nonexistent rcfile '/home/xxx/.monotone/monotonerc' 

mtn041: skipping nonexistent rcfile '_MTN/monotonerc' 

mtn041: loading lua hook get_default_command_options 

mtn041: setting dump path to /home/xxx/.monotone/dump 

mtn041: loading lua hook note_mtn_startup 

mtn041: executing command 'pull' 

mtn041: matched URI path: 'mt.xaraya.com'
mtn041: executing SQL 'SELECT sql FROM sqlite_master WHERE (type = 
'table' OR type = 'index') AND sql IS NOT NULL AND name not like 
'sqlite_stat%' ORDER BY name'
mtn041: sqlite error: 5: database is locked
mtn041: schema_migration.cc:101: detected error 'E(false)' violated
mtn041: saving current work set: 4 items
mtn041: finished saving work set
mtn041: contents of work set:
mtn041: Current work set: 4 items
mtn041: ----- begin 'system_flavour' (in virtual void 
sanity::initialize(int, char**, const char*), at sanity.cc:75)
mtn041: Linux 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 
2009 i686
mtn041: -----   end 'system_flavour' (in virtual void 
sanity::initialize(int, char**, const char*), at sanity.cc:75)
mtn041: ----- begin 'cmdline_string' (in virtual void 
sanity::initialize(int, char**, const char*), at sanity.cc:89)
mtn041: 'mtn041', '-d', 'modules.db', 'pull', 'mt.xaraya.com', 
'com.xaraya.modules.*', '--debug'
mtn041: -----   end 'cmdline_string' (in virtual void 
sanity::initialize(int, char**, const char*), at sanity.cc:89)
mtn041: ----- begin 'string(lc_all)' (in virtual void 
sanity::initialize(int, char**, const char*), at sanity.cc:94)
mtn041: en_US.UTF-8
mtn041: -----   end 'string(lc_all)' (in virtual void 
sanity::initialize(int, char**, const char*), at sanity.cc:94)
mtn041: ----- begin 'full_version_string' (in virtual void 
mtn_sanity::initialize(int, char**, const char*), at mtn-sanity.cc:23)
mtn041: monotone 0.41 (base revision: 
9b264ec9247ce99cd1fdc5293e869c1a60b01c4c)
mtn041: Running on          : Linux 2.6.28-11-generic #42-Ubuntu SMP Fri 
Apr 17 01:57:59 UTC 2009 i686
mtn041: C++ compiler        : GNU C++ version 4.3.1
mtn041: C++ standard library: GNU libstdc++ version 20080814
mtn041: Boost version       : 1_34_1
mtn041: Changes since base revision:
mtn041: unknown
mtn041: -----   end 'full_version_string' (in virtual void 
mtn_sanity::initialize(int, char**, const char*), at mtn-sanity.cc:23)
mtn041: statement cache statistics
mtn041: prepared 1 statements
mtn041: 0 executions of SELECT domain, name, value FROM db_vars
mtn041: error: sqlite error: database is locked

Banzai

Banzai wrote:
> xxx@xxx-desktop:~/Downloads/webdev/monotone$ mtn041 --debug
> 
---------- snip 8< --- snip ----- 8< -------------
> 
> Marcel van der Boom wrote:
>> If you run mtn with the --debug switch and save the output somewhere, 
>> perhaps that does give some insight.
>>
>> marcel