Latex Logfile in Lyx win 32

2006-07-17 Thread Jean-Claude Garreau
Hi,

I recently intalled the win32 version of Lyx 1.4.2, and I can't
view the Latex logfile. It says No LaTeX log file found. Is there a
way to circunvent the problem?

Thanks of any information,

-
Jean-Claude Garreau
Laboratoire de Physique des Lasers, Atomes et Molécules
Villeneuve d'Ascq - France
Tel  +(33) [0]3 20 33 64 49
FAX  +(33) [0]3 20 43 40 84
(calling from abroad, do not dial the [0])
http://www.phlam.univ-lille1.fr/atfr/cq
http://www.phlam.univ-lille1.fr/perso/garreau



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Paul A. Rubin

Jean-Claude Garreau wrote:

Hi,

I recently intalled the win32 version of Lyx 1.4.2, and I can't
view the Latex logfile. It says No LaTeX log file found. Is there a
way to circunvent the problem?

Thanks of any information,


The same thing happens to me (in both 1.4.2 and 1.4.1, although I don't 
know if the latter is the result of 1.4.2 munging a preference setting 
or if it was broken in 1.4.1 as well).


/Paul



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Paul A. Rubin wrote:

 Jean-Claude Garreau wrote:
 Hi,
 
 I recently intalled the win32 version of Lyx 1.4.2, and I can't
 view the Latex logfile. It says No LaTeX log file found. Is there a
 way to circunvent the problem?
 
 Thanks of any information,
 

 The same thing happens to me (in both 1.4.2 and 1.4.1, although I don't
 know if the latter is the result of 1.4.2 munging a preference setting
 or if it was broken in 1.4.1 as well).

Please start LyX with the -dbg files switch from a command window. You
will see something like

Log name calculated as: xxx.log

in the command window, where xxx.log is the name of the logfile that LyX
tries to read. Does that file exist?


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Bo Peng

Please start LyX with the -dbg files switch from a command window. You
will see something like

Log name calculated as: xxx.log

in the command window, where xxx.log is the name of the logfile that LyX
tries to read. Does that file exist?


This is the output when I start lyx, open faq and close.

Bo

C:\Program Files\LyX14\bin.\lyx -dbg files
Setting debug level to files
Debugging `files' (Files used by LyX)
IsDirWriteable: C:/Documents and Settings/BPeng1/Local Settings/Temp/
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyxwritetes
t2876a02948' created.
createTmpDir: tempdir=`C:/Documents and Settings/BPeng1/Local Settings/Temp/'
createTmpDir:mask=`lyx_tmpdir'
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyx_tmpdir2
876a02948' created.
lyx: Disabling LyX socket.
Converting from  latex to dvi2
Running pplatex
pplatex: Process input file FAQ.dvi
pplatex: Copy data to FAQ.dvi
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
pplatex: Process input file FAQ.dvi
pplatex: Copy data to FAQ.dvi
lyx::sum() using istreambuf_iterator (fast)
pplatex: Process input file FAQ.dvi
pplatex: Copy data to FAQ.dvi
lyx::sum() using istreambuf_iterator (fast)
Converting from  dvi2 to dvi
Calling python C:/Program Files/LyX14/Resources/scripts/clean_dvi.py FAQ.dvi
tmpfile.out
renaming file C:/Documents and Settings/BPeng1/Local Settings/Temp/lyx_tmpdir287
6a02948/lyx_tmpbuf0/tmpfile.out to C:/Documents and Settings/BPeng1/Local Settin
gs/Temp/lyx_tmpdir2876a02948/lyx_tmpbuf0/FAQ.dvi


Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Am Montag, 17. Juli 2006 19:46 schrieb Bo Peng:
  Please start LyX with the -dbg files switch from a command window. 
You
  will see something like
 
  Log name calculated as: xxx.log
 
  in the command window, where xxx.log is the name of the logfile that 
LyX
  tries to read. Does that file exist?
 
 This is the output when I start lyx, open faq and close.

The instersiting part would be from somebody with a not working Rescan 
button, and of course you need to press this button in order to get the 
output mentioned above.


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Bo Peng



 This is the output when I start lyx, open faq and close.

The instersiting part would be from somebody with a not working Rescan
button, and of course you need to press this button in order to get the
output mentioned above.


Come on. This is the no log file thread. I start lyx, compile faq,
view the dvi  output, but document-latex log has nothing.

Anyway, here is what I get when I press rescan:

C:\Program Files\LyX14\bin.\lyx  -dbg files
Setting debug level to files
Debugging `files' (Files used by LyX)
IsDirWriteable: C:/Documents and Settings/BPeng1/Local Settings/Temp/
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyxwritetes
t2952a02028' created.
createTmpDir: tempdir=`C:/Documents and Settings/BPeng1/Local Settings/Temp/'
createTmpDir:mask=`lyx_tmpdir'
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyx_tmpdir2
952a02028' created.
lyx: Disabling LyX socket.
 File C:/Program Files/LyX14/Resources/scripts/TeXFiles.py, line 2
SyntaxError: encoding problem: with BOM

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.

Bo


Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Am Montag, 17. Juli 2006 20:20 schrieb Bo Peng:

 Come on. This is the no log file thread. I start lyx, compile faq,
 view the dvi  output, but document-latex log has nothing.

Sorry, I somehow mixed that up. Of course I meant that you also should view 
the latex log. Do you really not get a line starting with

Log name calculated as

in that case? That would be strange.

 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?


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Paul A. Rubin

Georg Baum wrote:

Paul A. Rubin wrote:


Jean-Claude Garreau wrote:

Hi,

I recently intalled the win32 version of Lyx 1.4.2, and I can't
view the Latex logfile. It says No LaTeX log file found. Is there a
way to circunvent the problem?

Thanks of any information,



The same thing happens to me (in both 1.4.2 and 1.4.1, although I don't
know if the latter is the result of 1.4.2 munging a preference setting
or if it was broken in 1.4.1 as well).


Please start LyX with the -dbg files switch from a command window. You
will see something like

Log name calculated as: xxx.log

in the command window, where xxx.log is the name of the logfile that LyX
tries to read. Does that file exist?


Yes, and it contains the correct content.  Picking up from after where I 
load the document but just before where I execute View-DraftDVI:


Temporary file `C:/Documents and Settings/me/Local Settings/Temp/lyx
_tmpdir2000a03080/2000b03080' created.
Converting from  latex to dvi2
Running pplatex
pplatex: Process input file mgt805syllabus.dvi
pplatex: Copy data to mgt805syllabus.dvi
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
[this last line is repeated quite a few times]
[here is where I try to read the log file:]
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log

I'm not sure why the log name calculated message occurs three times, 
but the name/path are correct and log file is as expected.  It just does 
not display.  Clicking the update button in the log viewer window has no 
effect (and does not generate any new messages).


/Paul



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Bo Peng

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: 

Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Am Montag, 17. Juli 2006 20:33 schrieb Paul A. Rubin:
 Yes, and it contains the correct content.  Picking up from after where I 
 load the document but just before where I execute View-DraftDVI:
 
 Temporary file `C:/Documents and Settings/me/Local Settings/Temp/lyx
 _tmpdir2000a03080/2000b03080' created.
 Converting from  latex to dvi2
 Running pplatex
 pplatex: Process input file mgt805syllabus.dvi
 pplatex: Copy data to mgt805syllabus.dvi
 lyx::sum() using istreambuf_iterator (fast)
 lyx::sum() using istreambuf_iterator (fast)
 lyx::sum() using istreambuf_iterator (fast)
 [this last line is repeated quite a few times]

normal.

 [here is where I try to read the log file:]
 Log name calculated as: C:/Documents and Settings/me/Local Settings/
 Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
 Log name calculated as: C:/Documents and Settings/me/Local Settings/
 Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
 Log name calculated as: C:/Documents and Settings/me/Local Settings/
 Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
 
 I'm not sure why the log name calculated message occurs three times,

That is normal, too.
 
 but the name/path are correct and log file is as expected.  It just does 
 not display.  Clicking the update button in the log viewer window has no 
 effect (and does not generate any new messages).

Ahh, I know now the problem: another path with spaces bug. See 
http://bugzilla.lyx.org/show_bug.cgi?id=2687


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Paul A. Rubin

Georg Baum wrote:

Am Montag, 17. Juli 2006 20:33 schrieb Paul A. Rubin:
Yes, and it contains the correct content.  Picking up from after where I 
load the document but just before where I execute View-DraftDVI:


Temporary file `C:/Documents and Settings/me/Local Settings/Temp/lyx
_tmpdir2000a03080/2000b03080' created.
Converting from  latex to dvi2
Running pplatex
pplatex: Process input file mgt805syllabus.dvi
pplatex: Copy data to mgt805syllabus.dvi
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
[this last line is repeated quite a few times]


normal.


[here is where I try to read the log file:]
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log

I'm not sure why the log name calculated message occurs three times,


That is normal, too.
 
but the name/path are correct and log file is as expected.  It just does 
not display.  Clicking the update button in the log viewer window has no 
effect (and does not generate any new messages).


Ahh, I know now the problem: another path with spaces bug. See 
http://bugzilla.lyx.org/show_bug.cgi?id=2687



Georg




Easily fixed while awaiting 1.5, then; I can move the temp directory to 
a space-free path.


Thanks,
/Paul




Latex Logfile in Lyx win 32

2006-07-17 Thread Jean-Claude Garreau
Hi,

I recently intalled the win32 version of Lyx 1.4.2, and I can't
view the Latex logfile. It says No LaTeX log file found. Is there a
way to circunvent the problem?

Thanks of any information,

-
Jean-Claude Garreau
Laboratoire de Physique des Lasers, Atomes et Molécules
Villeneuve d'Ascq - France
Tel  +(33) [0]3 20 33 64 49
FAX  +(33) [0]3 20 43 40 84
(calling from abroad, do not dial the [0])
http://www.phlam.univ-lille1.fr/atfr/cq
http://www.phlam.univ-lille1.fr/perso/garreau



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Paul A. Rubin

Jean-Claude Garreau wrote:

Hi,

I recently intalled the win32 version of Lyx 1.4.2, and I can't
view the Latex logfile. It says No LaTeX log file found. Is there a
way to circunvent the problem?

Thanks of any information,


The same thing happens to me (in both 1.4.2 and 1.4.1, although I don't 
know if the latter is the result of 1.4.2 munging a preference setting 
or if it was broken in 1.4.1 as well).


/Paul



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Paul A. Rubin wrote:

 Jean-Claude Garreau wrote:
 Hi,
 
 I recently intalled the win32 version of Lyx 1.4.2, and I can't
 view the Latex logfile. It says No LaTeX log file found. Is there a
 way to circunvent the problem?
 
 Thanks of any information,
 

 The same thing happens to me (in both 1.4.2 and 1.4.1, although I don't
 know if the latter is the result of 1.4.2 munging a preference setting
 or if it was broken in 1.4.1 as well).

Please start LyX with the -dbg files switch from a command window. You
will see something like

Log name calculated as: xxx.log

in the command window, where xxx.log is the name of the logfile that LyX
tries to read. Does that file exist?


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Bo Peng

Please start LyX with the -dbg files switch from a command window. You
will see something like

Log name calculated as: xxx.log

in the command window, where xxx.log is the name of the logfile that LyX
tries to read. Does that file exist?


This is the output when I start lyx, open faq and close.

Bo

C:\Program Files\LyX14\bin.\lyx -dbg files
Setting debug level to files
Debugging `files' (Files used by LyX)
IsDirWriteable: C:/Documents and Settings/BPeng1/Local Settings/Temp/
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyxwritetes
t2876a02948' created.
createTmpDir: tempdir=`C:/Documents and Settings/BPeng1/Local Settings/Temp/'
createTmpDir:mask=`lyx_tmpdir'
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyx_tmpdir2
876a02948' created.
lyx: Disabling LyX socket.
Converting from  latex to dvi2
Running pplatex
pplatex: Process input file FAQ.dvi
pplatex: Copy data to FAQ.dvi
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
pplatex: Process input file FAQ.dvi
pplatex: Copy data to FAQ.dvi
lyx::sum() using istreambuf_iterator (fast)
pplatex: Process input file FAQ.dvi
pplatex: Copy data to FAQ.dvi
lyx::sum() using istreambuf_iterator (fast)
Converting from  dvi2 to dvi
Calling python C:/Program Files/LyX14/Resources/scripts/clean_dvi.py FAQ.dvi
tmpfile.out
renaming file C:/Documents and Settings/BPeng1/Local Settings/Temp/lyx_tmpdir287
6a02948/lyx_tmpbuf0/tmpfile.out to C:/Documents and Settings/BPeng1/Local Settin
gs/Temp/lyx_tmpdir2876a02948/lyx_tmpbuf0/FAQ.dvi


Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Am Montag, 17. Juli 2006 19:46 schrieb Bo Peng:
  Please start LyX with the -dbg files switch from a command window. 
You
  will see something like
 
  Log name calculated as: xxx.log
 
  in the command window, where xxx.log is the name of the logfile that 
LyX
  tries to read. Does that file exist?
 
 This is the output when I start lyx, open faq and close.

The instersiting part would be from somebody with a not working Rescan 
button, and of course you need to press this button in order to get the 
output mentioned above.


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Bo Peng



 This is the output when I start lyx, open faq and close.

The instersiting part would be from somebody with a not working Rescan
button, and of course you need to press this button in order to get the
output mentioned above.


Come on. This is the no log file thread. I start lyx, compile faq,
view the dvi  output, but document-latex log has nothing.

Anyway, here is what I get when I press rescan:

C:\Program Files\LyX14\bin.\lyx  -dbg files
Setting debug level to files
Debugging `files' (Files used by LyX)
IsDirWriteable: C:/Documents and Settings/BPeng1/Local Settings/Temp/
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyxwritetes
t2952a02028' created.
createTmpDir: tempdir=`C:/Documents and Settings/BPeng1/Local Settings/Temp/'
createTmpDir:mask=`lyx_tmpdir'
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyx_tmpdir2
952a02028' created.
lyx: Disabling LyX socket.
 File C:/Program Files/LyX14/Resources/scripts/TeXFiles.py, line 2
SyntaxError: encoding problem: with BOM

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.

Bo


Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Am Montag, 17. Juli 2006 20:20 schrieb Bo Peng:

 Come on. This is the no log file thread. I start lyx, compile faq,
 view the dvi  output, but document-latex log has nothing.

Sorry, I somehow mixed that up. Of course I meant that you also should view 
the latex log. Do you really not get a line starting with

Log name calculated as

in that case? That would be strange.

 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?


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Paul A. Rubin

Georg Baum wrote:

Paul A. Rubin wrote:


Jean-Claude Garreau wrote:

Hi,

I recently intalled the win32 version of Lyx 1.4.2, and I can't
view the Latex logfile. It says No LaTeX log file found. Is there a
way to circunvent the problem?

Thanks of any information,



The same thing happens to me (in both 1.4.2 and 1.4.1, although I don't
know if the latter is the result of 1.4.2 munging a preference setting
or if it was broken in 1.4.1 as well).


Please start LyX with the -dbg files switch from a command window. You
will see something like

Log name calculated as: xxx.log

in the command window, where xxx.log is the name of the logfile that LyX
tries to read. Does that file exist?


Yes, and it contains the correct content.  Picking up from after where I 
load the document but just before where I execute View-DraftDVI:


Temporary file `C:/Documents and Settings/me/Local Settings/Temp/lyx
_tmpdir2000a03080/2000b03080' created.
Converting from  latex to dvi2
Running pplatex
pplatex: Process input file mgt805syllabus.dvi
pplatex: Copy data to mgt805syllabus.dvi
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
[this last line is repeated quite a few times]
[here is where I try to read the log file:]
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log

I'm not sure why the log name calculated message occurs three times, 
but the name/path are correct and log file is as expected.  It just does 
not display.  Clicking the update button in the log viewer window has no 
effect (and does not generate any new messages).


/Paul



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Bo Peng

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: 

Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Am Montag, 17. Juli 2006 20:33 schrieb Paul A. Rubin:
 Yes, and it contains the correct content.  Picking up from after where I 
 load the document but just before where I execute View-DraftDVI:
 
 Temporary file `C:/Documents and Settings/me/Local Settings/Temp/lyx
 _tmpdir2000a03080/2000b03080' created.
 Converting from  latex to dvi2
 Running pplatex
 pplatex: Process input file mgt805syllabus.dvi
 pplatex: Copy data to mgt805syllabus.dvi
 lyx::sum() using istreambuf_iterator (fast)
 lyx::sum() using istreambuf_iterator (fast)
 lyx::sum() using istreambuf_iterator (fast)
 [this last line is repeated quite a few times]

normal.

 [here is where I try to read the log file:]
 Log name calculated as: C:/Documents and Settings/me/Local Settings/
 Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
 Log name calculated as: C:/Documents and Settings/me/Local Settings/
 Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
 Log name calculated as: C:/Documents and Settings/me/Local Settings/
 Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
 
 I'm not sure why the log name calculated message occurs three times,

That is normal, too.
 
 but the name/path are correct and log file is as expected.  It just does 
 not display.  Clicking the update button in the log viewer window has no 
 effect (and does not generate any new messages).

Ahh, I know now the problem: another path with spaces bug. See 
http://bugzilla.lyx.org/show_bug.cgi?id=2687


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Paul A. Rubin

Georg Baum wrote:

Am Montag, 17. Juli 2006 20:33 schrieb Paul A. Rubin:
Yes, and it contains the correct content.  Picking up from after where I 
load the document but just before where I execute View-DraftDVI:


Temporary file `C:/Documents and Settings/me/Local Settings/Temp/lyx
_tmpdir2000a03080/2000b03080' created.
Converting from  latex to dvi2
Running pplatex
pplatex: Process input file mgt805syllabus.dvi
pplatex: Copy data to mgt805syllabus.dvi
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
[this last line is repeated quite a few times]


normal.


[here is where I try to read the log file:]
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log

I'm not sure why the log name calculated message occurs three times,


That is normal, too.
 
but the name/path are correct and log file is as expected.  It just does 
not display.  Clicking the update button in the log viewer window has no 
effect (and does not generate any new messages).


Ahh, I know now the problem: another path with spaces bug. See 
http://bugzilla.lyx.org/show_bug.cgi?id=2687



Georg




Easily fixed while awaiting 1.5, then; I can move the temp directory to 
a space-free path.


Thanks,
/Paul




Latex Logfile in Lyx win 32

2006-07-17 Thread Jean-Claude Garreau
Hi,

I recently intalled the win32 version of Lyx 1.4.2, and I can't
view the Latex logfile. It says "No LaTeX log file found." Is there a
way to circunvent the problem?

Thanks of any information,

-
Jean-Claude Garreau
Laboratoire de Physique des Lasers, Atomes et Molécules
Villeneuve d'Ascq - France
Tel  +(33) [0]3 20 33 64 49
FAX  +(33) [0]3 20 43 40 84
(calling from abroad, do not dial the [0])
http://www.phlam.univ-lille1.fr/atfr/cq
http://www.phlam.univ-lille1.fr/perso/garreau



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Paul A. Rubin

Jean-Claude Garreau wrote:

Hi,

I recently intalled the win32 version of Lyx 1.4.2, and I can't
view the Latex logfile. It says "No LaTeX log file found." Is there a
way to circunvent the problem?

Thanks of any information,


The same thing happens to me (in both 1.4.2 and 1.4.1, although I don't 
know if the latter is the result of 1.4.2 munging a preference setting 
or if it was broken in 1.4.1 as well).


/Paul



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Paul A. Rubin wrote:

> Jean-Claude Garreau wrote:
>> Hi,
>> 
>> I recently intalled the win32 version of Lyx 1.4.2, and I can't
>> view the Latex logfile. It says "No LaTeX log file found." Is there a
>> way to circunvent the problem?
>> 
>> Thanks of any information,
>> 
>>
> The same thing happens to me (in both 1.4.2 and 1.4.1, although I don't
> know if the latter is the result of 1.4.2 munging a preference setting
> or if it was broken in 1.4.1 as well).

Please start LyX with the "-dbg files" switch from a command window. You
will see something like

Log name calculated as: xxx.log

in the command window, where xxx.log is the name of the logfile that LyX
tries to read. Does that file exist?


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Bo Peng

Please start LyX with the "-dbg files" switch from a command window. You
will see something like

Log name calculated as: xxx.log

in the command window, where xxx.log is the name of the logfile that LyX
tries to read. Does that file exist?


This is the output when I start lyx, open faq and close.

Bo

C:\Program Files\LyX14\bin>.\lyx -dbg files
Setting debug level to files
Debugging `files' (Files used by LyX)
IsDirWriteable: C:/Documents and Settings/BPeng1/Local Settings/Temp/
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyxwritetes
t2876a02948' created.
createTmpDir: tempdir=`C:/Documents and Settings/BPeng1/Local Settings/Temp/'
createTmpDir:mask=`lyx_tmpdir'
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyx_tmpdir2
876a02948' created.
lyx: Disabling LyX socket.
Converting from  latex to dvi2
Running pplatex
pplatex: Process input file FAQ.dvi
pplatex: Copy data to FAQ.dvi
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
pplatex: Process input file FAQ.dvi
pplatex: Copy data to FAQ.dvi
lyx::sum() using istreambuf_iterator (fast)
pplatex: Process input file FAQ.dvi
pplatex: Copy data to FAQ.dvi
lyx::sum() using istreambuf_iterator (fast)
Converting from  dvi2 to dvi
Calling python "C:/Program Files/LyX14/Resources/scripts/clean_dvi.py" "FAQ.dvi"
"tmpfile.out"
renaming file C:/Documents and Settings/BPeng1/Local Settings/Temp/lyx_tmpdir287
6a02948/lyx_tmpbuf0/tmpfile.out to C:/Documents and Settings/BPeng1/Local Settin
gs/Temp/lyx_tmpdir2876a02948/lyx_tmpbuf0/FAQ.dvi


Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Am Montag, 17. Juli 2006 19:46 schrieb Bo Peng:
> > Please start LyX with the "-dbg files" switch from a command window. 
You
> > will see something like
> >
> > Log name calculated as: xxx.log
> >
> > in the command window, where xxx.log is the name of the logfile that 
LyX
> > tries to read. Does that file exist?
> 
> This is the output when I start lyx, open faq and close.

The instersiting part would be from somebody with a not working "Rescan" 
button, and of course you need to press this button in order to get the 
output mentioned above.


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Bo Peng

>

> This is the output when I start lyx, open faq and close.

The instersiting part would be from somebody with a not working "Rescan"
button, and of course you need to press this button in order to get the
output mentioned above.


Come on. This is the no log file thread. I start lyx, compile faq,
view the dvi  output, but document->latex log has nothing.

Anyway, here is what I get when I press rescan:

C:\Program Files\LyX14\bin>.\lyx  -dbg files
Setting debug level to files
Debugging `files' (Files used by LyX)
IsDirWriteable: C:/Documents and Settings/BPeng1/Local Settings/Temp/
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyxwritetes
t2952a02028' created.
createTmpDir: tempdir=`C:/Documents and Settings/BPeng1/Local Settings/Temp/'
createTmpDir:mask=`lyx_tmpdir'
Temporary file `C:/Documents and Settings/BPeng1/Local Settings/Temp/lyx_tmpdir2
952a02028' created.
lyx: Disabling LyX socket.
 File "C:/Program Files/LyX14/Resources/scripts/TeXFiles.py", line 2
SyntaxError: encoding problem: with BOM

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.

Bo


Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Am Montag, 17. Juli 2006 20:20 schrieb Bo Peng:

> Come on. This is the no log file thread. I start lyx, compile faq,
> view the dvi  output, but document->latex log has nothing.

Sorry, I somehow mixed that up. Of course I meant that you also should view 
the latex log. Do you really not get a line starting with

Log name calculated as

in that case? That would be strange.

> 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?


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Paul A. Rubin

Georg Baum wrote:

Paul A. Rubin wrote:


Jean-Claude Garreau wrote:

Hi,

I recently intalled the win32 version of Lyx 1.4.2, and I can't
view the Latex logfile. It says "No LaTeX log file found." Is there a
way to circunvent the problem?

Thanks of any information,



The same thing happens to me (in both 1.4.2 and 1.4.1, although I don't
know if the latter is the result of 1.4.2 munging a preference setting
or if it was broken in 1.4.1 as well).


Please start LyX with the "-dbg files" switch from a command window. You
will see something like

Log name calculated as: xxx.log

in the command window, where xxx.log is the name of the logfile that LyX
tries to read. Does that file exist?


Yes, and it contains the correct content.  Picking up from after where I 
load the document but just before where I execute View->DraftDVI:


Temporary file `C:/Documents and Settings/me/Local Settings/Temp/lyx
_tmpdir2000a03080/2000b03080' created.
Converting from  latex to dvi2
Running pplatex
pplatex: Process input file mgt805syllabus.dvi
pplatex: Copy data to mgt805syllabus.dvi
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
[this last line is repeated quite a few times]
[here is where I try to read the log file:]
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log

I'm not sure why the "log name calculated" message occurs three times, 
but the name/path are correct and log file is as expected.  It just does 
not display.  Clicking the update button in the log viewer window has no 
effect (and does not generate any new messages).


/Paul



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Bo Peng

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: 

Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Georg Baum
Am Montag, 17. Juli 2006 20:33 schrieb Paul A. Rubin:
> Yes, and it contains the correct content.  Picking up from after where I 
> load the document but just before where I execute View->DraftDVI:
> 
> Temporary file `C:/Documents and Settings/me/Local Settings/Temp/lyx
> _tmpdir2000a03080/2000b03080' created.
> Converting from  latex to dvi2
> Running pplatex
> pplatex: Process input file mgt805syllabus.dvi
> pplatex: Copy data to mgt805syllabus.dvi
> lyx::sum() using istreambuf_iterator (fast)
> lyx::sum() using istreambuf_iterator (fast)
> lyx::sum() using istreambuf_iterator (fast)
> [this last line is repeated quite a few times]

normal.

> [here is where I try to read the log file:]
> Log name calculated as: C:/Documents and Settings/me/Local Settings/
> Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
> Log name calculated as: C:/Documents and Settings/me/Local Settings/
> Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
> Log name calculated as: C:/Documents and Settings/me/Local Settings/
> Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
> 
> I'm not sure why the "log name calculated" message occurs three times,

That is normal, too.
 
> but the name/path are correct and log file is as expected.  It just does 
> not display.  Clicking the update button in the log viewer window has no 
> effect (and does not generate any new messages).

Ahh, I know now the problem: another "path with spaces" bug. See 
http://bugzilla.lyx.org/show_bug.cgi?id=2687


Georg



Re: Latex Logfile in Lyx win 32

2006-07-17 Thread Paul A. Rubin

Georg Baum wrote:

Am Montag, 17. Juli 2006 20:33 schrieb Paul A. Rubin:
Yes, and it contains the correct content.  Picking up from after where I 
load the document but just before where I execute View->DraftDVI:


Temporary file `C:/Documents and Settings/me/Local Settings/Temp/lyx
_tmpdir2000a03080/2000b03080' created.
Converting from  latex to dvi2
Running pplatex
pplatex: Process input file mgt805syllabus.dvi
pplatex: Copy data to mgt805syllabus.dvi
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
lyx::sum() using istreambuf_iterator (fast)
[this last line is repeated quite a few times]


normal.


[here is where I try to read the log file:]
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log
Log name calculated as: C:/Documents and Settings/me/Local Settings/
Temp/lyx_tmpdir2000a03080/lyx_tmpbuf1/mgt805syllabus.log

I'm not sure why the "log name calculated" message occurs three times,


That is normal, too.
 
but the name/path are correct and log file is as expected.  It just does 
not display.  Clicking the update button in the log viewer window has no 
effect (and does not generate any new messages).


Ahh, I know now the problem: another "path with spaces" bug. See 
http://bugzilla.lyx.org/show_bug.cgi?id=2687



Georg




Easily fixed while awaiting 1.5, then; I can move the temp directory to 
a space-free path.


Thanks,
/Paul