On 09/15/2011 06:45 PM, Tommaso Cucinotta wrote:
> Hi,
>
> what is the exporting to a LyX archive supposed to produce ?
>
> I get this error (trunk):
>
> tommaso@mobiletom:~/lyx-trunk-ws/lyx-trunk$ ./src/lyx
> lib/doc/EmbeddedObjects.lyx
> Menus.cpp(693): Menu warning: menu entries "Interruzione di pagina|I"
> and "Visible Space|i" share the same shortcut.
> Traceback (most recent call last):
>   File "/home/tommaso/lyx-trunk-ws/lyx-trunk/lib/scripts/lyxpak.py",
> line 313, in <module>
>     main(sys.argv)
>   File "/home/tommaso/lyx-trunk-ws/lyx-trunk/lib/scripts/lyxpak.py",
> line 272, in main
>     gather_files(lyxfile, incfiles, lyx2lyx)
>   File "/home/tommaso/lyx-trunk-ws/lyx-trunk/lib/scripts/lyxpak.py",
> line 126, in gather_files
>     gather_files(file, incfiles, lyx2lyx)
>   File "/home/tommaso/lyx-trunk-ws/lyx-trunk/lib/scripts/lyxpak.py",
> line 91, in gather_files
>     input = open(curfile, 'rU')
> IOError: [Errno 21] Is a directory:
> '/home/tommaso/lyx-trunk-ws/lyx-trunk/lib/doc/.'
> Systemcall.cpp(259): Systemcall: 'python -tt
> "/home/tommaso/lyx-trunk-ws/lyx-trunk/lib/scripts/lyxpak.py"
> "/home/tommaso/lyx-trunk-ws/lyx-trunk/lib/doc/"/"EmbeddedObjects.lyx"'
> finished with exit code 1
> Error: Non riesco a convertire il file
> ----------------------------------------
> Si รจ verificato un errore eseguendo:
> python -tt "/home/tommaso/lyx-trunk-ws/lyx-trunk/lib/scripts/lyxpak.py"
> "/home/tommaso/lyx-trunk-ws/lyx-trunk/lib/doc/"/"EmbeddedObjects.lyx"
>
> What is the intended invocation of the lyxpak.py script ?
>
It's supposed to produce a tar.gz or zip file that contains both the LyX
file and all associated files, too, e.g., images, and even some LaTeX
files, if I remember correctly.

I see some extra quote marks in the Systemcall. These may be the issue?

Richard

Reply via email to