Re: Debugging python scripts called by LyX

2006-09-26 Thread Paul A. Rubin

Giovanni,

One of the developers starting experiencing similar symptoms.  His post 
([EMAIL PROTECTED]) to the developer list 
suggests that it might be tied to an upgrade from MikTeX 2.4 to 2.5.  He 
thinks it only occurs when trying to update a DVI that yap currently has 
open.  I can't recall the original symptoms you reported, so I'm not 
sure if this is consistent with your experiments.


/Paul



Re: Debugging python scripts called by LyX

2006-09-26 Thread Paul A. Rubin

Giovanni,

One of the developers starting experiencing similar symptoms.  His post 
([EMAIL PROTECTED]) to the developer list 
suggests that it might be tied to an upgrade from MikTeX 2.4 to 2.5.  He 
thinks it only occurs when trying to update a DVI that yap currently has 
open.  I can't recall the original symptoms you reported, so I'm not 
sure if this is consistent with your experiments.


/Paul



Re: Debugging python scripts called by LyX

2006-09-26 Thread Paul A. Rubin

Giovanni,

One of the developers starting experiencing similar symptoms.  His post 
(<[EMAIL PROTECTED]>) to the developer list 
suggests that it might be tied to an upgrade from MikTeX 2.4 to 2.5.  He 
thinks it only occurs when trying to update a DVI that yap currently has 
open.  I can't recall the original symptoms you reported, so I'm not 
sure if this is consistent with your experiments.


/Paul



Re: Debugging python scripts called by LyX

2006-08-14 Thread Giovanni Luca Ciampaglia
Paul A. Rubin ha scritto:
 Giovanni Luca Ciampaglia wrote:


 

 insetgraphics::latex: Filename = C:/Documents and
 Settings/Administrator/My Documents/Tesi/usi_terreno.eps
 Message = 
 Opts = scale=0.75
 Before = \includegraphics[scale=0.75]
 after =
 Recognised Fileformat: eps
 Recognised Fileformat: eps
 findTargetFormat: PostScript mode
  we have: from eps to eps
 the orig file is: C:/Documents and Settings/Administrator/My
 Documents/Tesi/usi_terreno.eps
 InsetGraphics::latex outputting:
 \includegraphics[scale=0.75]{0C__Documents_and_Settings_Administrator_My_Documents_Tesi_usi_terreno}

 pplatex: Process input file tesi.dvi
 pplatex: tesi.dvi: Permission denied
 Error: Non riesco a convertire il file
 
 Si Ί verificato un errore mentre python C:/Program Files
 (x86)/LyX14/Resources/scr era in esecuzione

 The error seems to be occurring before the clean_dvi.py script
 executes.  What happens if you View-DraftDVI (which skips the
 clean_dvi.py script)? Does the LaTeX log file (Document-LaTeX
 Logfile) indicate that LaTeX ran successfully (Output written on
 tesi.dvi ... at or near the bottom of the log)?

 /Paul

Hello Paul,
In the haste yesterday I forgot to translate the last line from Italian.
It says:
An error did happen while python C:/Program Files
(x86)/LyX14/Resources/scr was executing
By the way this is the same text LyX prints on the error dialogue. I've
reproduced the bug right now and
the latex log and there's no error there (it says it wrote the output to
tesi.dvi).
Anyway after you pointed it out, I noticed that sometimes LyX doesn't
produce any output - a behaviour I got used to - and that
the reason for this behaviour is nearly the same. In fact in the latex
log it says:

! I can't write on file `tesi.dvi'.
Please type another file name for output
! Emergency stop.

Note that this is a different kind of error (e.g. LyX prompts me with
the error and stops without executing clean_dvi), but maybe the two
share the same cause.

Should I move everything (tesi.lyx, tesi.dvi and so on) to a directory
whose path doesn't contain any space or blank character?

Thanks for support
--
Giovanni


Re: Debugging python scripts called by LyX

2006-08-14 Thread Giovanni Luca Ciampaglia
Paul A. Rubin ha scritto:
 Giovanni Luca Ciampaglia wrote:


 

 insetgraphics::latex: Filename = C:/Documents and
 Settings/Administrator/My Documents/Tesi/usi_terreno.eps
 Message = 
 Opts = scale=0.75
 Before = \includegraphics[scale=0.75]
 after =
 Recognised Fileformat: eps
 Recognised Fileformat: eps
 findTargetFormat: PostScript mode
  we have: from eps to eps
 the orig file is: C:/Documents and Settings/Administrator/My
 Documents/Tesi/usi_terreno.eps
 InsetGraphics::latex outputting:
 \includegraphics[scale=0.75]{0C__Documents_and_Settings_Administrator_My_Documents_Tesi_usi_terreno}

 pplatex: Process input file tesi.dvi
 pplatex: tesi.dvi: Permission denied
 Error: Non riesco a convertire il file
 
 Si Ί verificato un errore mentre python C:/Program Files
 (x86)/LyX14/Resources/scr era in esecuzione

 The error seems to be occurring before the clean_dvi.py script
 executes.  What happens if you View-DraftDVI (which skips the
 clean_dvi.py script)? Does the LaTeX log file (Document-LaTeX
 Logfile) indicate that LaTeX ran successfully (Output written on
 tesi.dvi ... at or near the bottom of the log)?

 /Paul

Hello Paul,
In the haste yesterday I forgot to translate the last line from Italian.
It says:
An error did happen while python C:/Program Files
(x86)/LyX14/Resources/scr was executing
By the way this is the same text LyX prints on the error dialogue. I've
reproduced the bug right now and
the latex log and there's no error there (it says it wrote the output to
tesi.dvi).
Anyway after you pointed it out, I noticed that sometimes LyX doesn't
produce any output - a behaviour I got used to - and that
the reason for this behaviour is nearly the same. In fact in the latex
log it says:

! I can't write on file `tesi.dvi'.
Please type another file name for output
! Emergency stop.

Note that this is a different kind of error (e.g. LyX prompts me with
the error and stops without executing clean_dvi), but maybe the two
share the same cause.

Should I move everything (tesi.lyx, tesi.dvi and so on) to a directory
whose path doesn't contain any space or blank character?

Thanks for support
--
Giovanni


Re: Debugging python scripts called by LyX

2006-08-14 Thread Giovanni Luca Ciampaglia
Paul A. Rubin ha scritto:
> Giovanni Luca Ciampaglia wrote:
>
>>
>> 
>>
>> insetgraphics::latex: Filename = C:/Documents and
>> Settings/Administrator/My Documents/Tesi/usi_terreno.eps
>> Message = ""
>> Opts = scale=0.75
>> Before = \includegraphics[scale=0.75]
>> after =
>> Recognised Fileformat: eps
>> Recognised Fileformat: eps
>> findTargetFormat: PostScript mode
>>  we have: from eps to eps
>> the orig file is: C:/Documents and Settings/Administrator/My
>> Documents/Tesi/usi_terreno.eps
>> InsetGraphics::latex outputting:
>> \includegraphics[scale=0.75]{0C__Documents_and_Settings_Administrator_My_Documents_Tesi_usi_terreno}
>>
>> pplatex: Process input file tesi.dvi
>> pplatex: tesi.dvi: Permission denied
>> Error: Non riesco a convertire il file
>> 
>> Si Ί verificato un errore mentre python "C:/Program Files
>> (x86)/LyX14/Resources/scr era in esecuzione
>
> The error seems to be occurring before the clean_dvi.py script
> executes.  What happens if you View->DraftDVI (which skips the
> clean_dvi.py script)? Does the LaTeX log file (Document->LaTeX
> Logfile) indicate that LaTeX ran successfully ("Output written on
> tesi.dvi ..." at or near the bottom of the log)?
>
> /Paul
>
Hello Paul,
In the haste yesterday I forgot to translate the last line from Italian.
It says:
An error did happen while python "C:/Program Files
(x86)/LyX14/Resources/scr was executing
By the way this is the same text LyX prints on the error dialogue. I've
reproduced the bug right now and
the latex log and there's no error there (it says it wrote the output to
tesi.dvi).
Anyway after you pointed it out, I noticed that sometimes LyX doesn't
produce any output - a behaviour I got used to - and that
the reason for this behaviour is nearly the same. In fact in the latex
log it says:

! I can't write on file `tesi.dvi'.
Please type another file name for output
! Emergency stop.

Note that this is a different kind of error (e.g. LyX prompts me with
the error and stops without executing clean_dvi), but maybe the two
share the same cause.

Should I move everything (tesi.lyx, tesi.dvi and so on) to a directory
whose path doesn't contain any space or blank character?

Thanks for support
--
Giovanni


Re: Debugging python scripts called by LyX

2006-08-13 Thread Giovanni Luca Ciampaglia
Paul A. Rubin ha scritto:
 Giovanni Luca Ciampaglia wrote:
 Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
 so far, thanks Uwe!), but I'm experiencing an annoying error message
 when I tell LyX to upgrade the DVI view with C-d. The error happens in
 the clean_dvi script and it doesn't tell what kind of problem is there.
 What option should I use from the command line to have LyX report the
 error from the python interpreter?

 Try starting LyX from a command prompt with 'lyx.exe -dbg graphics'
 and see if you get an error message in the command shell window.

 /Paul


Hello,
this is what LyX dumps to screen. It doesn't tell, though, what happens
with python.
--
Giovanni
   
insetgraphics::latex: Filename = C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
Message = 
Opts = scale=0.75
Before = \includegraphics[scale=0.75]
after =
Recognised Fileformat: eps
Recognised Fileformat: eps
findTargetFormat: PostScript mode
 we have: from eps to eps
the orig file is: C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
InsetGraphics::latex outputting:
\includegraphics[scale=0.75]{0C__Documents_and_Settings_Administrator_My_Documents_Tesi_usi_terreno}
pplatex: Process input file tesi.dvi
pplatex: tesi.dvi: Permission denied
Error: Non riesco a convertire il file

Si Φ verificato un errore mentre python C:/Program Files 
(x86)/LyX14/Resources/scr era in esecuzione


Re: Debugging python scripts called by LyX

2006-08-13 Thread Steve Litt
On Sunday 13 August 2006 10:20 am, Giovanni Luca Ciampaglia wrote:
 Paul A. Rubin ha scritto:
  Giovanni Luca Ciampaglia wrote:
  Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
  so far, thanks Uwe!), but I'm experiencing an annoying error message
  when I tell LyX to upgrade the DVI view with C-d. The error happens in
  the clean_dvi script and it doesn't tell what kind of problem is there.
  What option should I use from the command line to have LyX report the
  error from the python interpreter?
 
  Try starting LyX from a command prompt with 'lyx.exe -dbg graphics'
  and see if you get an error message in the command shell window.
 
  /Paul

 Hello,
 this is what LyX dumps to screen. It doesn't tell, though, what happens
 with python.
 --
 Giovanni

Hi Giovanni,

If you know which python file is causing the problem, you could theoretically 
back it up and then put debugging print statements (print or put) to help you 
diagnose the problem. I think those statements should appear on the terminal 
from which you ran LyX. Once you've solved it, copy your backup of the 
original over the one to which you've added diagnostic statements.

Ask others on the list to make sure this is a wise thing to do.

HTH

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Debugging python scripts called by LyX

2006-08-13 Thread Paul A. Rubin

Giovanni Luca Ciampaglia wrote:


Hello,
this is what LyX dumps to screen. It doesn't tell, though, what happens
with python.
--
Giovanni
   





insetgraphics::latex: Filename = C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
Message = 
Opts = scale=0.75
Before = \includegraphics[scale=0.75]
after =
Recognised Fileformat: eps
Recognised Fileformat: eps
findTargetFormat: PostScript mode
 we have: from eps to eps
the orig file is: C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
InsetGraphics::latex outputting:
\includegraphics[scale=0.75]{0C__Documents_and_Settings_Administrator_My_Documents_Tesi_usi_terreno}
pplatex: Process input file tesi.dvi
pplatex: tesi.dvi: Permission denied
Error: Non riesco a convertire il file

Si Ί verificato un errore mentre python C:/Program Files 
(x86)/LyX14/Resources/scr era in esecuzione


The error seems to be occurring before the clean_dvi.py script executes. 
 What happens if you View-DraftDVI (which skips the clean_dvi.py 
script)? Does the LaTeX log file (Document-LaTeX Logfile) indicate that 
LaTeX ran successfully (Output written on tesi.dvi ... at or near the 
bottom of the log)?


/Paul



Re: Debugging python scripts called by LyX

2006-08-13 Thread Giovanni Luca Ciampaglia
Paul A. Rubin ha scritto:
 Giovanni Luca Ciampaglia wrote:
 Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
 so far, thanks Uwe!), but I'm experiencing an annoying error message
 when I tell LyX to upgrade the DVI view with C-d. The error happens in
 the clean_dvi script and it doesn't tell what kind of problem is there.
 What option should I use from the command line to have LyX report the
 error from the python interpreter?

 Try starting LyX from a command prompt with 'lyx.exe -dbg graphics'
 and see if you get an error message in the command shell window.

 /Paul


Hello,
this is what LyX dumps to screen. It doesn't tell, though, what happens
with python.
--
Giovanni
   
insetgraphics::latex: Filename = C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
Message = 
Opts = scale=0.75
Before = \includegraphics[scale=0.75]
after =
Recognised Fileformat: eps
Recognised Fileformat: eps
findTargetFormat: PostScript mode
 we have: from eps to eps
the orig file is: C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
InsetGraphics::latex outputting:
\includegraphics[scale=0.75]{0C__Documents_and_Settings_Administrator_My_Documents_Tesi_usi_terreno}
pplatex: Process input file tesi.dvi
pplatex: tesi.dvi: Permission denied
Error: Non riesco a convertire il file

Si Φ verificato un errore mentre python C:/Program Files 
(x86)/LyX14/Resources/scr era in esecuzione


Re: Debugging python scripts called by LyX

2006-08-13 Thread Steve Litt
On Sunday 13 August 2006 10:20 am, Giovanni Luca Ciampaglia wrote:
 Paul A. Rubin ha scritto:
  Giovanni Luca Ciampaglia wrote:
  Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
  so far, thanks Uwe!), but I'm experiencing an annoying error message
  when I tell LyX to upgrade the DVI view with C-d. The error happens in
  the clean_dvi script and it doesn't tell what kind of problem is there.
  What option should I use from the command line to have LyX report the
  error from the python interpreter?
 
  Try starting LyX from a command prompt with 'lyx.exe -dbg graphics'
  and see if you get an error message in the command shell window.
 
  /Paul

 Hello,
 this is what LyX dumps to screen. It doesn't tell, though, what happens
 with python.
 --
 Giovanni

Hi Giovanni,

If you know which python file is causing the problem, you could theoretically 
back it up and then put debugging print statements (print or put) to help you 
diagnose the problem. I think those statements should appear on the terminal 
from which you ran LyX. Once you've solved it, copy your backup of the 
original over the one to which you've added diagnostic statements.

Ask others on the list to make sure this is a wise thing to do.

HTH

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Debugging python scripts called by LyX

2006-08-13 Thread Paul A. Rubin

Giovanni Luca Ciampaglia wrote:


Hello,
this is what LyX dumps to screen. It doesn't tell, though, what happens
with python.
--
Giovanni
   





insetgraphics::latex: Filename = C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
Message = 
Opts = scale=0.75
Before = \includegraphics[scale=0.75]
after =
Recognised Fileformat: eps
Recognised Fileformat: eps
findTargetFormat: PostScript mode
 we have: from eps to eps
the orig file is: C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
InsetGraphics::latex outputting:
\includegraphics[scale=0.75]{0C__Documents_and_Settings_Administrator_My_Documents_Tesi_usi_terreno}
pplatex: Process input file tesi.dvi
pplatex: tesi.dvi: Permission denied
Error: Non riesco a convertire il file

Si Ί verificato un errore mentre python C:/Program Files 
(x86)/LyX14/Resources/scr era in esecuzione


The error seems to be occurring before the clean_dvi.py script executes. 
 What happens if you View-DraftDVI (which skips the clean_dvi.py 
script)? Does the LaTeX log file (Document-LaTeX Logfile) indicate that 
LaTeX ran successfully (Output written on tesi.dvi ... at or near the 
bottom of the log)?


/Paul



Re: Debugging python scripts called by LyX

2006-08-13 Thread Giovanni Luca Ciampaglia
Paul A. Rubin ha scritto:
> Giovanni Luca Ciampaglia wrote:
>> Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
>> so far, thanks Uwe!), but I'm experiencing an annoying error message
>> when I tell LyX to upgrade the DVI view with C-d. The error happens in
>> the clean_dvi script and it doesn't tell what kind of problem is there.
>> What option should I use from the command line to have LyX report the
>> error from the python interpreter?
>
> Try starting LyX from a command prompt with 'lyx.exe -dbg graphics'
> and see if you get an error message in the command shell window.
>
> /Paul
>
>
Hello,
this is what LyX dumps to screen. It doesn't tell, though, what happens
with python.
--
Giovanni
   
insetgraphics::latex: Filename = C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
Message = ""
Opts = scale=0.75
Before = \includegraphics[scale=0.75]
after =
Recognised Fileformat: eps
Recognised Fileformat: eps
findTargetFormat: PostScript mode
 we have: from eps to eps
the orig file is: C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
InsetGraphics::latex outputting:
\includegraphics[scale=0.75]{0C__Documents_and_Settings_Administrator_My_Documents_Tesi_usi_terreno}
pplatex: Process input file tesi.dvi
pplatex: tesi.dvi: Permission denied
Error: Non riesco a convertire il file

Si Φ verificato un errore mentre python "C:/Program Files 
(x86)/LyX14/Resources/scr era in esecuzione


Re: Debugging python scripts called by LyX

2006-08-13 Thread Steve Litt
On Sunday 13 August 2006 10:20 am, Giovanni Luca Ciampaglia wrote:
> Paul A. Rubin ha scritto:
> > Giovanni Luca Ciampaglia wrote:
> >> Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
> >> so far, thanks Uwe!), but I'm experiencing an annoying error message
> >> when I tell LyX to upgrade the DVI view with C-d. The error happens in
> >> the clean_dvi script and it doesn't tell what kind of problem is there.
> >> What option should I use from the command line to have LyX report the
> >> error from the python interpreter?
> >
> > Try starting LyX from a command prompt with 'lyx.exe -dbg graphics'
> > and see if you get an error message in the command shell window.
> >
> > /Paul
>
> Hello,
> this is what LyX dumps to screen. It doesn't tell, though, what happens
> with python.
> --
> Giovanni

Hi Giovanni,

If you know which python file is causing the problem, you could theoretically 
back it up and then put debugging print statements (print or put) to help you 
diagnose the problem. I think those statements should appear on the terminal 
from which you ran LyX. Once you've solved it, copy your backup of the 
original over the one to which you've added diagnostic statements.

Ask others on the list to make sure this is a wise thing to do.

HTH

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Debugging python scripts called by LyX

2006-08-13 Thread Paul A. Rubin

Giovanni Luca Ciampaglia wrote:


Hello,
this is what LyX dumps to screen. It doesn't tell, though, what happens
with python.
--
Giovanni
   





insetgraphics::latex: Filename = C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
Message = ""
Opts = scale=0.75
Before = \includegraphics[scale=0.75]
after =
Recognised Fileformat: eps
Recognised Fileformat: eps
findTargetFormat: PostScript mode
 we have: from eps to eps
the orig file is: C:/Documents and Settings/Administrator/My 
Documents/Tesi/usi_terreno.eps
InsetGraphics::latex outputting:
\includegraphics[scale=0.75]{0C__Documents_and_Settings_Administrator_My_Documents_Tesi_usi_terreno}
pplatex: Process input file tesi.dvi
pplatex: tesi.dvi: Permission denied
Error: Non riesco a convertire il file

Si Ί verificato un errore mentre python "C:/Program Files 
(x86)/LyX14/Resources/scr era in esecuzione


The error seems to be occurring before the clean_dvi.py script executes. 
 What happens if you View->DraftDVI (which skips the clean_dvi.py 
script)? Does the LaTeX log file (Document->LaTeX Logfile) indicate that 
LaTeX ran successfully ("Output written on tesi.dvi ..." at or near the 
bottom of the log)?


/Paul



Debugging python scripts called by LyX

2006-08-12 Thread Giovanni Luca Ciampaglia
Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
so far, thanks Uwe!), but I'm experiencing an annoying error message
when I tell LyX to upgrade the DVI view with C-d. The error happens in
the clean_dvi script and it doesn't tell what kind of problem is there.
What option should I use from the command line to have LyX report the
error from the python interpreter?
--
Giovanni


Re: Debugging python scripts called by LyX

2006-08-12 Thread Paul A. Rubin

Giovanni Luca Ciampaglia wrote:

Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
so far, thanks Uwe!), but I'm experiencing an annoying error message
when I tell LyX to upgrade the DVI view with C-d. The error happens in
the clean_dvi script and it doesn't tell what kind of problem is there.
What option should I use from the command line to have LyX report the
error from the python interpreter?


Try starting LyX from a command prompt with 'lyx.exe -dbg graphics' and 
see if you get an error message in the command shell window.


/Paul




Debugging python scripts called by LyX

2006-08-12 Thread Giovanni Luca Ciampaglia
Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
so far, thanks Uwe!), but I'm experiencing an annoying error message
when I tell LyX to upgrade the DVI view with C-d. The error happens in
the clean_dvi script and it doesn't tell what kind of problem is there.
What option should I use from the command line to have LyX report the
error from the python interpreter?
--
Giovanni


Re: Debugging python scripts called by LyX

2006-08-12 Thread Paul A. Rubin

Giovanni Luca Ciampaglia wrote:

Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
so far, thanks Uwe!), but I'm experiencing an annoying error message
when I tell LyX to upgrade the DVI view with C-d. The error happens in
the clean_dvi script and it doesn't tell what kind of problem is there.
What option should I use from the command line to have LyX report the
error from the python interpreter?


Try starting LyX from a command prompt with 'lyx.exe -dbg graphics' and 
see if you get an error message in the command shell window.


/Paul




Debugging python scripts called by LyX

2006-08-12 Thread Giovanni Luca Ciampaglia
Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
so far, thanks Uwe!), but I'm experiencing an annoying error message
when I tell LyX to upgrade the DVI view with C-d. The error happens in
the clean_dvi script and it doesn't tell what kind of problem is there.
What option should I use from the command line to have LyX report the
error from the python interpreter?
--
Giovanni


Re: Debugging python scripts called by LyX

2006-08-12 Thread Paul A. Rubin

Giovanni Luca Ciampaglia wrote:

Hello, I've just upgraded LyX using LyXWinInstaller 2.51 (it runs smooth
so far, thanks Uwe!), but I'm experiencing an annoying error message
when I tell LyX to upgrade the DVI view with C-d. The error happens in
the clean_dvi script and it doesn't tell what kind of problem is there.
What option should I use from the command line to have LyX report the
error from the python interpreter?


Try starting LyX from a command prompt with 'lyx.exe -dbg graphics' and 
see if you get an error message in the command shell window.


/Paul