Log name calculated as in that case? That would be strange.
I did not seem to see it, but another email says a different story.
> This encoding problem is interesting: > # -*- coding: iso-8859-15 -*- > > because when I change it to > # -*- coding: iso-8859-1 -*- > > Things work fine. Now, we at least have a solution. Great! Are you going to change that for all affected python files, or should I do it?
The attached patch removes -tt in the python scripts, and changes the encoding. Do you think it is ok to remove -tt? Also, I know JMarc is on vacation, but this 8859-15 change should go to 1.4.x as well. Bo Index: lib/scripts/tex_copy.py =================================================================== --- lib/scripts/tex_copy.py (revision 14473) +++ lib/scripts/tex_copy.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # file tex_copy.py Index: lib/scripts/fig2pstex.py =================================================================== --- lib/scripts/fig2pstex.py (revision 14473) +++ lib/scripts/fig2pstex.py (working copy) @@ -1,5 +1,5 @@ -#!/usr/bin/env python -tt -# -*- coding: iso-8859-15 -*- +#!/usr/bin/env python +# -*- coding: iso-8859-1 -*- # file fig2pstex.py # This file is part of LyX, the document processor. Index: lib/scripts/layout2layout.py =================================================================== --- lib/scripts/layout2layout.py (revision 14473) +++ lib/scripts/layout2layout.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # file layout2layout.py Index: lib/scripts/lyxpreview2bitmap.py =================================================================== --- lib/scripts/lyxpreview2bitmap.py (revision 14473) +++ lib/scripts/lyxpreview2bitmap.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # file lyxpreview2bitmap.py Index: lib/scripts/lyxpreview_tools.py =================================================================== --- lib/scripts/lyxpreview_tools.py (revision 14473) +++ lib/scripts/lyxpreview_tools.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # file lyxpreview_tools.py # This file is part of LyX, the document processor. Index: lib/scripts/fig_copy.py =================================================================== --- lib/scripts/fig_copy.py (revision 14473) +++ lib/scripts/fig_copy.py (working copy) @@ -1,5 +1,5 @@ -#!/usr/bin/env python -tt -# -*- coding: iso-8859-15 -*- +#!/usr/bin/env python +# -*- coding: iso-8859-1 -*- # file fig_copy.py # This file is part of LyX, the document processor. Index: lib/scripts/legacy_lyxpreview2ppm.py =================================================================== --- lib/scripts/legacy_lyxpreview2ppm.py (revision 14473) +++ lib/scripts/legacy_lyxpreview2ppm.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # file legacy_lyxpreview2ppm.py Index: lib/scripts/fig2pdftex.py =================================================================== --- lib/scripts/fig2pdftex.py (revision 14473) +++ lib/scripts/fig2pdftex.py (working copy) @@ -1,5 +1,5 @@ -#!/usr/bin/env python -tt -# -*- coding: iso-8859-15 -*- +#!/usr/bin/env python +# -*- coding: iso-8859-1 -*- # file fig2pdf.py # This file is part of LyX, the document processor. Index: lib/scripts/fen2ascii.py =================================================================== --- lib/scripts/fen2ascii.py (revision 14473) +++ lib/scripts/fen2ascii.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # file fen2ascii.py # This file is part of LyX, the document processor. Index: lib/scripts/TeXFiles.py =================================================================== --- lib/scripts/TeXFiles.py (revision 14473) +++ lib/scripts/TeXFiles.py (working copy) @@ -1,5 +1,5 @@ -#!/usr/bin/env python -tt -# -*- coding: iso-8859-15 -*- +#!/usr/bin/env python +# -*- coding: iso-8859-1 -*- # file TeXFiles.py # This file is part of LyX, the document processor. Index: lib/scripts/clean_dvi.py =================================================================== --- lib/scripts/clean_dvi.py (revision 14473) +++ lib/scripts/clean_dvi.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python ''' file clean_dvi.py Index: lib/scripts/convertDefault.py =================================================================== --- lib/scripts/convertDefault.py (revision 14473) +++ lib/scripts/convertDefault.py (working copy) @@ -1,5 +1,5 @@ -#!/usr/bin/env python -tt -# -*- coding: iso-8859-15 -*- +#!/usr/bin/env python +# -*- coding: iso-8859-1 -*- # file convertDefault.py # This file is part of LyX, the document processor. Index: lib/lyx2lyx/profiling.py =================================================================== --- lib/lyx2lyx/profiling.py (revision 14473) +++ lib/lyx2lyx/profiling.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # Copyright (C) 2004 José Matos <[EMAIL PROTECTED]> # Index: lib/generate_contributions.py =================================================================== --- lib/generate_contributions.py (revision 14473) +++ lib/generate_contributions.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # -*- coding: utf-8 -*- ''' Index: lib/doc/depend.py =================================================================== --- lib/doc/depend.py (revision 14473) +++ lib/doc/depend.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # This file is part of the LyX Documentation # Copyright (C) 2004 José Matos <[EMAIL PROTECTED]> Index: lib/doc/doc_toc.py =================================================================== --- lib/doc/doc_toc.py (revision 14473) +++ lib/doc/doc_toc.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # This file is part of the LyX Documentation # Copyright (C) 2004 José Matos <[EMAIL PROTECTED]> Index: lib/configure.py =================================================================== --- lib/configure.py (revision 14473) +++ lib/configure.py (working copy) @@ -1,4 +1,4 @@ -#! /usr/bin/env python -tt +#! /usr/bin/env python # # file configure.py # This file is part of LyX, the document