Ludovic Brenta <[email protected]> writes:
> Hello,
>
> I installed DVC today
I assume you are using the version in the ada-france mtn repository, mtn
rev 7c5ec3047ef4ffd3f8cc019e651cee12307f015f.
> and am trying to use it with monotone 0.48-3 on my Debian Squeeze
> machine. When in a workspace, dvc-log and dvc-diff give the same
> error, backtrace is:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> start-process("xmtn automate session for
> /home/lbrenta/.emacs.d/org.emacs.dvc/" #<buffer *xmtn automate session for
> /home/lbrenta/.emacs.d/org.emacs.dvc/: session*<3>> "mtn" "automate" "stdio"
> "--rcfile" nil)
> ...
> I suspect this has to do with the file xmtn-hooks.lua not being found.
Yes.
> The installation instructions of DVC (INSTALL, dvc-intro.texinfo) do
> not mention this file at all. Where should I put it? Even if I copy
> xmtn-hooks.lua to ~/.monotone I get the same error.
DVC is supposed to find this file in the DVC source directory; see the
default value for xmtn-automate-arguments in xmtn-automate.el. That
assumes xmtn-hooks.lua is on `load-path'.
As a workaround, you can set xmtn-automate-arguments to nil, unless you
are doing xmtn-sync-sync.
I have a newer version of xmtn (just pushed to the ada-france mtn
repository; 97594a784aaa26f834e111f71371245513e9f881) that only loads
that file when doing sync, but it still requires the file to be on
load-path.
I guess I need to check the value returned from locate-library and error
if not found.
Is there some reason xmtn-hooks.lua is not on your load-path?
--
-- Stephe
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev