On Sat, Mar 25, 2023 at 10:50:00PM -0700, Madame Michu wrote:
> Hello there,
> 
> I???m facing an issue with git and LyX for version control.
> 
> 
> I followed the guidelines in section 7.2.6 in the "Additional Features" LyX
> manual, but once the git repo is created for the document, and I???try to
> `register` my document with LyX GUI I???get the following error:
> 
> ```
> 
> Some problem occurred while running the command:
> 'ci -q -u -i -t-"First draft " "grand_écrit.lyx"'.
> ```

Indeed I see your problem and we need to either update the code or guidelines.
Essentially the problem is that "git init" is not enough for LyX to recognize
that the directory is under git control.
Once the first file is added via "git add" the recognition (of not just the file
but the whole dir) works and register command will proceed.
I'll try to look on that once I have some free time.
At the moment your workaround is to start new git repo via init + add file
on the commandline (or via some git frontend).

> And then a `Lyx crashed error message` saying:
> ```
> SIGSEGV signal caught!
> Sorry, you have found a bug in LyX, hope you have not lost any data.
> Please read the bug-reporting instructions in 'Help->Introduction' and send
> us a bug report, if necessary. Thanks!
> Bye

The crash should not happen in any circumstance. Alas, I am not able to 
reproduce the crash here.
If you can reproduce the crash please post exact steps how to reproduce, I will 
have a look.

Thanks,
Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to