[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] ikiwiki monotone support
From: |
Brian May |
Subject: |
Re: [Monotone-devel] ikiwiki monotone support |
Date: |
Sun, 20 Jan 2008 16:03:32 +1100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
>>>>> "Brian" == Brian May <address@hidden> writes:
>>>>> "Brian" == Brian May <address@hidden> writes:
Brian> Any ideas where this path /var/lib/monotone is coming from?
Brian> Found it!
Brian> louie:/home/microcomaustralia.com.au/wiki# strings wiki2.cgi | grep
HOME
Brian> HOME=/var/lib/monotone
Brian> It appears the value of $HOME is hard coded in the wiki.cgi script
Brian> when the wiki is rebuilt, and all other values are ignored. At least
Brian> with monotone 0.31 - will have to try a later version...
Hmmm. It seems to be working now. Next step will be to look at that patch in
more detail.
I did find one very confusing monotone error: it turns out I had the
wrong key name in ikiwiki setup; the error could be improved though,
so I will copy the details here.
This is after I upgraded monotone:
monotone 0.38 (base revision: c1757f6cde49bddd77c82580059105bc470145b2)
[Sun Jan 20 15:43:46 2008] [error] [client 192.168.87.66] mtn: fatal:
std::logic_error: key_store.cc:168: invariant 'I(i != keys.end())' violated,
referer:
http://wiki.microcomaustralia.com.au/wiki.cgi?page=Melbourne%20Trains&do=edit
[Sun Jan 20 15:43:46 2008] [error] [client 192.168.87.66] mtn: this is almost
certainly a bug in monotone., referer:
http://wiki.microcomaustralia.com.au/wiki.cgi?page=Melbourne%20Trains&do=edit
[Sun Jan 20 15:43:46 2008] [error] [client 192.168.87.66] mtn: please send this
error message, the output of 'mtn version --full',, referer:
http://wiki.microcomaustralia.com.au/wiki.cgi?page=Melbourne%20Trains&do=edit
[Sun Jan 20 15:43:46 2008] [error] [client 192.168.87.66] mtn: and a
description of what you were doing to address@hidden, referer:
http://wiki.microcomaustralia.com.au/wiki.cgi?page=Melbourne%20Trains&do=edit
[Sun Jan 20 15:43:46 2008] [error] [client 192.168.87.66] mtn: wrote debugging
log to /home/microcomaustralia.com.au/wiki.src/_MTN/debug, referer:
http://wiki.microcomaustralia.com.au/wiki.cgi?page=Melbourne%20Trains&do=edit
[Sun Jan 20 15:43:46 2008] [error] [client 192.168.87.66] mtn: if reporting a
bug, please include this file, referer:
http://wiki.microcomaustralia.com.au/wiki.cgi?page=Melbourne%20Trains&do=edit
address@hidden:~$ cat /home/microcomaustralia.com.au/wiki.src/_MTN/debug
started up on Linux 2.6.18-5-xen-686 #1 SMP Wed Oct 3 04:02:16 UTC 2007 i686
command line: 'mtn', '--root=/home/microcomaustralia.com.au/wiki.src',
'commit', '--quiet', '--author', 'Web user: brian', '--key', 'address@hidden',
'-m', 'added excuse', 'Melbourne_Trains.mdwn'
set locale: LC_ALL=C
initial abs path is: /home/microcomaustralia.com.au/wiki.src
ssh_agent: connect: ssh-agent socket not found
converting 5 bytes from UTF-8 to IDNA ACE
converting 17 bytes from UTF-8 to IDNA ACE
converting 3 bytes from UTF-8 to IDNA ACE
converting 2 bytes from UTF-8 to IDNA ACE
limiting search for workspace to /home/microcomaustralia.com.au/wiki.src
searching for '_MTN' directory with root
'/home/microcomaustralia.com.au/wiki.src'
working root is '/home/microcomaustralia.com.au/wiki.src'
initial relative path is ''
local dump path is _MTN/debug
setting dump path to /home/microcomaustralia.com.au/wiki.src/_MTN/debug
skipping nonexistent rcfile '/home/content/.monotone/monotonerc'
skipping nonexistent rcfile '_MTN/monotonerc'
converting 5 bytes from UTF-8 to IDNA ACE
converting 17 bytes from UTF-8 to IDNA ACE
converting 3 bytes from UTF-8 to IDNA ACE
converting 2 bytes from UTF-8 to IDNA ACE
loading lua hook note_mtn_startup
executing command 'commit'
options path is _MTN/options
converting 5 bytes from UTF-8 to IDNA ACE
converting 17 bytes from UTF-8 to IDNA ACE
converting 3 bytes from UTF-8 to IDNA ACE
converting 2 bytes from UTF-8 to IDNA ACE
branch name is 'au.com.microcomaustralia.wiki'
options path is _MTN/options
converting 5 bytes from UTF-8 to IDNA ACE
converting 17 bytes from UTF-8 to IDNA ACE
converting 3 bytes from UTF-8 to IDNA ACE
converting 2 bytes from UTF-8 to IDNA ACE
converting 5 bytes from IDNA ACE to UTF-8
converting 17 bytes from IDNA ACE to UTF-8
converting 3 bytes from IDNA ACE to UTF-8
converting 2 bytes from IDNA ACE to UTF-8
options path is _MTN/options
writing _MTN/options via temp _MTN/mtqbmyr0.tmp
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'
success
executing SQL 'PRAGMA user_version'
success
prepared statement SELECT 1 FROM manifests LIMIT 1
prepared statement SELECT 1 FROM revisions LIMIT 1
prepared statement SELECT 1 FROM rosters LIMIT 1
prepared statement SELECT 1 FROM heights LIMIT 1
prepared statement SELECT id FROM public_keys WHERE id = ?
prepared statement SELECT keydata FROM public_keys WHERE id = ?
reading key dir '/home/content/.monotone/keys'
reading keys from file 'address@hidden'
read keypair packet
reading key pair 'address@hidden' from key store
putting key pair 'address@hidden'
successfully read key pair 'address@hidden' from key store
key_store.cc:168: invariant 'I(i != keys.end())' violated
saving current work set: 4 items
finished saving work set
statement cache statistics
prepared 6 statements
1 executions of SELECT 1 FROM heights LIMIT 1
1 executions of SELECT 1 FROM manifests LIMIT 1
1 executions of SELECT 1 FROM revisions LIMIT 1
1 executions of SELECT 1 FROM rosters LIMIT 1
1 executions of SELECT id FROM public_keys WHERE id = ?
1 executions of SELECT keydata FROM public_keys WHERE id = ?
Current work set: 4 items
----- begin 'system_flavour' (in virtual void sanity::initialize(int, char**,
const char*), at sanity.cc:75)
Linux 2.6.18-5-xen-686 #1 SMP Wed Oct 3 04:02:16 UTC 2007 i686
----- end 'system_flavour' (in virtual void sanity::initialize(int, char**,
const char*), at sanity.cc:75)
----- begin 'cmdline_string' (in virtual void sanity::initialize(int, char**,
const char*), at sanity.cc:89)
'mtn', '--root=/home/microcomaustralia.com.au/wiki.src', 'commit', '--quiet',
'--author', 'Web user: brian', '--key', 'address@hidden', '-m', 'added excuse',
'Melbourne_Trains.mdwn'
----- end 'cmdline_string' (in virtual void sanity::initialize(int, char**,
const char*), at sanity.cc:89)
----- begin 'string(lc_all)' (in virtual void sanity::initialize(int, char**,
const char*), at sanity.cc:94)
C
----- end 'string(lc_all)' (in virtual void sanity::initialize(int, char**,
const char*), at sanity.cc:94)
----- begin 'full_version_string' (in virtual void mtn_sanity::initialize(int,
char**, const char*), at mtn-sanity.cc:23)
monotone 0.38 (base revision: c1757f6cde49bddd77c82580059105bc470145b2)
Running on : Linux 2.6.18-5-xen-686 #1 SMP Wed Oct 3 04:02:16 UTC 2007
i686
C++ compiler : GNU C++ version 4.1.2 20061115 (prerelease) (Debian
4.1.1-21)
C++ standard library: GNU libstdc++ version 20061115
Boost version : 1_33_1
Changes since base revision:
format_version "1"
new_manifest [085f4d04a0bbbc06b44cf6194ca9c2079f924cdd]
old_revision [c1757f6cde49bddd77c82580059105bc470145b2]
Generated from data cached in the distribution;
further changes may have been made.
----- end 'full_version_string' (in virtual void mtn_sanity::initialize(int,
char**, const char*), at mtn-sanity.cc:23)
--
Brian May <address@hidden>
Re: [Monotone-devel] ikiwiki monotone support, William Uther, 2008/01/13
Re: [Monotone-devel] ikiwiki monotone support, Brian May, 2008/01/19
Re: [Monotone-devel] ikiwiki monotone support, Brian May, 2008/01/23