Hello Richard, there is a bug in yout lyx2lyx routine you commited with r20544:
- create a document, - write something in there and save it - menu Export -> LyX 1.4.x -> Python hangs in an endless loop complaining about a missing \end tag. regards Uwe