Scott Kostyshak
2012-08-31 18:51:29 UTC
On Ubuntu 12.04 using current trunk I get an error [1] from
1. Start a new document
2. File > Export > Export to LyX Archive
The converter for me is:
python -tt $$s/scripts/lyxpak.py $$r/$$f
Does a new flag need to be created? For example, "promptsave", which
if specified in a converter would prompt the user to save the file
(and $$f would be set to the new filename).
Or is a better approach to save the .lyx file in the temp folder and
pass that filename to lyxpak.py?
Also, is "$$f" missing from the Customization documentation (3.3 Converters)?
Thanks,
Scott
[1]
Running: python -tt "/home/scott/lyx-trunk/lyx/lib/scripts/lyxpak.py"
"/home/scott/"/"newfile4.lyx"
File "/home/scott//newfile4.lyx" not found.
Systemcall.cpp (277): Systemcall: 'python -tt
"/home/scott/lyx-trunk/lyx/lib/scripts/lyxpak.py"
"/home/scott/"/"newfile4.lyx"' finished with exit code 1
Error: Cannot convert file
----------------------------------------
An error occurred while running:
python -tt "/home/scott/lyx-trunk/lyx/lib/scripts/lyxpak.py"
"/home/scott/"/"newfile4.lyx"
1. Start a new document
2. File > Export > Export to LyX Archive
The converter for me is:
python -tt $$s/scripts/lyxpak.py $$r/$$f
Does a new flag need to be created? For example, "promptsave", which
if specified in a converter would prompt the user to save the file
(and $$f would be set to the new filename).
Or is a better approach to save the .lyx file in the temp folder and
pass that filename to lyxpak.py?
Also, is "$$f" missing from the Customization documentation (3.3 Converters)?
Thanks,
Scott
[1]
Running: python -tt "/home/scott/lyx-trunk/lyx/lib/scripts/lyxpak.py"
"/home/scott/"/"newfile4.lyx"
File "/home/scott//newfile4.lyx" not found.
Systemcall.cpp (277): Systemcall: 'python -tt
"/home/scott/lyx-trunk/lyx/lib/scripts/lyxpak.py"
"/home/scott/"/"newfile4.lyx"' finished with exit code 1
Error: Cannot convert file
----------------------------------------
An error occurred while running:
python -tt "/home/scott/lyx-trunk/lyx/lib/scripts/lyxpak.py"
"/home/scott/"/"newfile4.lyx"