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: Thomas Keller
Subject: Re: [Monotone-devel] Commit error (Possible LUA problem)
Date: Mon, 15 Feb 2010 13:51:35 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-66.3 Lightning/1.0b2pre Thunderbird/3.0

Hi Philipp!

Am 15.02.2010 13:19, schrieb Philipp Gröschler:
> 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.

I can only guess here, but I'd propose you load a custom rc file which
contains the current std_hooks.lua contents and debug your way through
until you see the problem. F.e. you could try to io.stderr:write()
whatever the temp_file() call returns as tmp and tname in edit_comment,
but other than that I'm clueless, sorry.

Thomas.

-- 
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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