monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Commit error (Possible LUA problem)


From: Philipp Gröschler
Subject: Re: [Monotone-devel] Commit error (Possible LUA problem)
Date: Mon, 15 Feb 2010 13:19:58 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20091002)

Philipp Gröschler schrieb:
> Too bad the 0.44 ebuild has fallen out of Portage a while ago, otherwise
> I could just re-emerge Monotone and the error would most probably go
> away.

A short update on that story:

On my laptop I manually created a 0.44 ebuild and reinstalled that
version, no effect, the error is still there.

On my workstation I updated to 0.45 (because of 0.46 not yet being in
Portage tree and me being detered by the amount of severe bug reports
from the last two weeks) and, damn it, that exact same error is now
appearing here on a completely different branch.

Here's the message again:
> mtn: beginning commit on branch '#######'
> mtn: warning: [string "<std hooks>"]:33: bad argument #1 to 'unpack' (table 
> expected, got nil)
> mtn: misuse: edit of log message failed

In the meantime I reinstalled all dependencies, tried with a freshly
pulled database, no change. I traced all files opened by mtn during the
commit process, and the only existing LUA script which gets opened is
"/etc/monotone/hooks.lua" whose sole contents are:
> include(get_confdir() .. "/passphrase.lua")

When I delete this file, no change.

The trace before the error occurs is:
> mtn: beginning commit on branch '######'
> stat("_MTN/log", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> stat("_MTN/log", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> open("_MTN/log", O_RDONLY)              = 4
> open("/tmp/mtn.VGM90G", O_RDWR|O_CREAT|O_EXCL, 0600) = 4
> open("/tmp/mtn.VGM90G", O_RDWR)         = 4
> --- SIGCHLD (Child exited) @ 0 (0) ---
> mtn: warning: [string "<std hooks>"]:33: bad argument #1 to 'unpack' (table 
> expected, got nil)
> mtn: misuse: edit of log message failed

Same situation as on the laptop, it crashes after opening the temporary
file which should be passed to vi for editing the commit message.

These are the versions of the installed dependencies:
dev-libs/libpcre-7.9-r1
dev-libs/botan-1.8.8
dev-db/sqlite-3.6.20-r1
dev-lang/lua-5.1.4-r4
net-dns/libidn-1.15
dev-libs/boost-1.35.0-r5

No more ideas here. And my workstation is also broken now, which is ...
not good.

Greetings,

Philipp





reply via email to

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