Re: Lyx-WIndows-Python

2006-01-16 Thread Mohsin Mohd Sies
I didn't deinstall cygwin, but I removed cygwin's paths from Windows
Environment and I also deleted my local Lyx settings under  C:\Document
Settings\luser\Application Data and restarted Lyx and let it rebuild that
directory.

It seems to work fine after that. Afterwards, I put back cygwin's path into
Windows paths and it still works.

It works, but still a mystery.

Thanks

On 1/16/06, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
>
> Mohsin Mohd Sies wrote:
>
> > I wonder if cygwin's latex packages is conflicting with Miktex?
> (Newbie's
> > suspicion)
>
> It seems so. The console messages don't help. Could you deinstall cygwin
> (or if this isn't possible cygwin's LaTeX-packages), restart your system
> and try to install with the Installer from
>
> http://wiki.lyx.org/Windows/LyXWinInstaller
> (download the latest version directly from the project homepage)
>
> regards Uwe
>


Re: Lyx-WIndows-Python

2006-01-16 Thread Uwe Stöhr

Mohsin Mohd Sies wrote:


I wonder if cygwin's latex packages is conflicting with Miktex? (Newbie's
suspicion)


It seems so. The console messages don't help. Could you deinstall cygwin 
(or if this isn't possible cygwin's LaTeX-packages), restart your system 
and try to install with the Installer from


http://wiki.lyx.org/Windows/LyXWinInstaller
(download the latest version directly from the project homepage)

regards Uwe


Re: Lyx-WIndows-Python

2006-01-16 Thread Enrico Forestieri
Mohsin Mohd Sies <[EMAIL PROTECTED]> writes:

> Executing command: python "C:/Program
> Files/LyX/Resources/lyx/scripts/clean_dvi.py" "newfile3.dvi" "tmpfile.out"
> 
> I wonder if cygwin's latex packages is conflicting with Miktex? (Newbie's
> suspicion)

Please, see this post:
http://article.gmane.org/gmane.editors.lyx.general/27299

Essentially, if you use the cygwin python, you have to put in
C:\Program Files\LyX\bin the following script (named python.bat)

8<8<8<8<
@echo off
python2.4 %1 %2 %2 %3 %4 %5 %6 %7 %8 %9
exit
8<8<8<8<

If you have a previous version of cygwin, you may instead have python2.3.
Check that and replace accordingly line 2 above.

--
Enrico




Re: Lyx-WIndows-Python

2006-01-16 Thread Mohsin Mohd Sies
On 1/16/06, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
>
> Mohsin Mohd Sies wrote:
>
> > I have a strange problem. I've just installed Lyx on Windows.
>
> What installer did you use, this one:
>
> http://wiki.lyx.org/Windows/LyXWinInstaller


Sorry about that, I used  lyx-1.3.6_win32_setup_v1.exe. I also have cygwin
previously installed. To satisfy Lyx, I installed MingW alongside. Could
this be the source of the problem?

or this one
>
> http://wiki.lyx.org/Windows/LyX136
> http://wiki.lyx.org/Windows/LyX137pre
>
> > I've also
> > installed Python and all other packages as needed during installation.
> The
> > problem is that when I tried to print, I got an error message "cannot
> > convert file", "error while executing python "c:/Program
> > Files/LyX/Resources/lyx/scripts
>
> Could you please start LyX from then Win console with the command
>
> lyx -dbg 3
>
> and send what error message appear in the console window.

  Does it work when you export the LyX-file to PDF or DVI?

Yes I tried exporting to pdf and ps too, same error.

Following Georg's suggestion, I'm running it from lyx -dbg info,init right
now. Just a simple text, saved, then trying to export to pdf. It's hanging
now.. The console output is;

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Program Files\LyX\bin>lyx -dbg info,init
Setting debug level to info,init
Debugging `info' (General information)
Debugging `init' (Program initialisation)
Checking whether LyX is run in place... no

binary_dir C:/Program Files/LyX/bin/
system_support C:/Program Files/LyX/Resources/lyx/
build_support
user_support C:/Documents and Settings/Mohsin/Application Data/LyX/
locale_dir C:/Program Files/LyX/Resources/locale/
document_dir C:/Documents and Settings/Mohsin/My Documents
temp_dir C:/Documents and Settings/Mohsin/Local Settings/Temp/
home_dir C:/Documents and Settings/Mohsin


Setting locale directory to C:/Program Files/LyX/Resources/locale/
Initializing LyX::init...
About to read lyxrc.defaults...
Found lyxrc.defaults in C:/Documents and Settings/Mohsin/Application
Data/LyX/ly
xrc.defaults
About to read preferences...
Found preferences in C:/Documents and Settings/Mohsin/Application
Data/LyX/prefe
rences
About to read encodings...
Reading encoding iso8859-2
Reading encoding iso8859-3
Reading encoding iso8859-4
Reading encoding iso8859-5
Reading encoding iso8859-6
Reading encoding iso8859-7
Reading encoding iso8859-9
Reading encoding iso8859-13
Reading encoding iso8859-15
Reading encoding cp1255
Reading encoding cp1251
Reading encoding koi8
Reading encoding koi8-u
Reading encoding tis620-0
Reading encoding pt154
About to read languages...
Reading language afrikaans
Reading language american

Reading language welsh
Reading layouts...
About to read default...
Found default in C:/Program Files/LyX/Resources/lyx/ui/default.ui
LyX tmp dir: `C:/Documents and Settings/Mohsin/Local
Settings/Temp/lyx_tmpdir395
6a03312'
Reading lastfiles `C:/Documents and Settings/Mohsin/Application
Data/LyX/lastfil
es'...
Initializing LyX::init...done
Initializing LyXFunc
Initializing key mappings...
Buffer::Buffer()
Assigning to buffer 0
Setting buffer in BufferView (0x1ca1cc8)
Buffer addr: 0x1ca1cc8
resizeCurrentBuffer
lyx header finished
preamble finished, now the body.
Finished making LaTeX file.
Row count was 92.


That's all. Lyx bottom bar shows

Executing command: python "C:/Program
Files/LyX/Resources/lyx/scripts/clean_dvi.py" "newfile3.dvi" "tmpfile.out"

I wonder if cygwin's latex packages is conflicting with Miktex? (Newbie's
suspicion)

Thanks

>
> regards Uwe
>


Re: Lyx-WIndows-Python

2006-01-16 Thread Georg Baum
Uwe Stöhr wrote:

> Could you please start LyX from then Win console with the command
> 
> lyx -dbg 3

better:

lyx -dbg info,init

(the result is the same, but using names for the debug flags is better to
remember)


Georg



Re: Lyx-WIndows-Python

2006-01-16 Thread Uwe Stöhr

Mohsin Mohd Sies wrote:


I have a strange problem. I've just installed Lyx on Windows.


What installer did you use, this one:

http://wiki.lyx.org/Windows/LyXWinInstaller

or this one

http://wiki.lyx.org/Windows/LyX136
http://wiki.lyx.org/Windows/LyX137pre


I've also
installed Python and all other packages as needed during installation. The
problem is that when I tried to print, I got an error message "cannot
convert file", "error while executing python "c:/Program
Files/LyX/Resources/lyx/scripts


Could you please start LyX from then Win console with the command

lyx -dbg 3

and send what error message appear in the console window.

Does it work when you export the LyX-file to PDF or DVI?

regards Uwe


Lyx-WIndows-Python

2006-01-15 Thread Mohsin Mohd Sies
Hi,

I have a strange problem. I've just installed Lyx on Windows. I've also
installed Python and all other packages as needed during installation. The
problem is that when I tried to print, I got an error message "cannot
convert file", "error while executing python "c:/Program
Files/LyX/Resources/lyx/scripts

Any ideas? Thanks