mardi 2 décembre 2014

LyX and Github - Committed Document Throws "Document Format Failure"


I discovered LyX late in the game, but I am a big fan of the product. I have been happily working on my dissertation and committing to Github for version control and universal access. However, when I tried to pull a version off of Github to work on, I get the following "Document Format Failure" exception:



Document.lyx is not a readable LyX document.


I initially thought this was a compatibility issue across Windows and Linux versions of LyX. My test was to commit from my Linux machine and immediately try to open the committed document using the same LyX environment in which I created the file. No dice, I get the same error.


With respect to the commit protocol, I am not doing anything that hasn't worked 1000 times before with other files:



sudo git add .
sudo git commit -m 'LyX document compatibility test'
sudo git push origin master


Any advice would be greatly appreciated.


I did see a similar exception here, but my situation is a bit different. In fact, getting the interaction with Github to work would help mitigate the data loss bug mentioned there.





Aucun commentaire:

Enregistrer un commentaire