Abdelrazak Younes wrote:

> I got this error when I try to export with pdflatex:
> 
> Traceback (most recent call last):
>    File "C:/devel/lyx/trunk/lib/scripts/fig2pdftex.py", line 81, in
>    <module>
>      tmp = open(epsfile + '.??', 'w')
> IOError: [Errno 2] No such file or directory:
> '0C__perso_these_fig_Avion.pstex.??'
> Error: Cannot convert file
> ----------------------------------------
> An error occurred whilst running python -tt
> "C:/devel/lyx/trunk/lib/scripts/fig2pdf

I guess that your OS does not like the question marks in the file name.
Instead of using this strange name it would be better to use mkstemp() from
lyxpreview_tools.py to create a temporary file that deletes itself after
usage.


Georg

Reply via email to