Re: installing lyx on windows

2006-08-03 Thread Stephen Harris

Eric Inazaki wrote:

Bo Peng <[EMAIL PROTECTED]> writes:


On 8/2/06, Eric Inazaki <[EMAIL PROTECTED]> wrote:

Does lyx choke (i.e. fail to start) when it's installed in
"C:\Program Files" directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.  This happened to me on my first
installation attempt.  I tried reinstalling to "C:\" and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
"Program Files". If that's true, then what gives?

Due to the anti-space nature of latex, it is safer to install lyx
under a path without space. However, the developers have tried their
best to let lyx works as *usual* (?) under windows. As a result, lyx
1.4.2 should work under c:\program files. If lyx can not start under
your machines, it should be investigated.

So, what exactly happened when you start lyx when it is installed
under c:\program files?

Bo




I launch lyx from the Start/Program menu, a command window appears then
disappears a split second later and that's it.  No alert dialog, no
nothing.  


As far a I'm concerned, lyx doesn't _have to_ be installed in "program files".
Installing it in "c:\" is okay.  Would've been nice to have had a heads-up is
all.

It's starting to sound like I might have done something screwy.  Bet if I
tried again from scratch I won't see this problem.

eric




Eric: A suggestion, if lyx really does have a problem being installed in
> > "Program Files" then it'd be nice if that fact were well publicized
> > (I found no mention of it on the lyx homepage, nor on the wiki).
> > Also, when I did it, the default installation directory was
> > "C:\Program Files", this should probably be changed.


SH: Installation and the path with spaces problem is mentioned on
the Wiki, but you have to know where to look, but just searching
for installation is going to produce over 60 hits and the new
user isn't likely to know the "paths with spaces" keyword phrase.

http://wiki.lyx.org/LyX/NewInLyX14?n=LyX.NewInLyX14&action=search&q=installation#toc5http:

lists the 2/60+ articles which mention installation and paths with 
spaces but how is the new user to know to choose them? The answer is

an index with: Installation, see Paths with spaces;
Paths with spaces, see Installation
and a pointer in the FAQ to look at the Index. Methods like
establishing layout files for LyX after adding .cls files would
be in cross-referenced in the index and make new users aware of it.

A search engine doesn't take the place of a well-designed index
because the search engine doesn't inform one of the keyword used
to describe the concept or provide a hint for related issues
without reading a lot of documentation.

I think a lot of stuff is present in the Wiki, just hard to find.

Hooray for a source condensed information (milk of wisdom),

Stephen

-

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

Ekkehart Schlicht: "Although LyX swallows path and folder names with
blanks (such as C:\Program Files\...) this is not necessarily true
for the other programs, and it is recommended to install them in the
default locations suggested by the programs, or in paths without
blanks (such as C:\Programs\...), just to be on the safe side."

---

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

"It is good practice for LyX and its associated programs to be included
in the Windows Path statement, whichever Latex distribution you are 
using. Choosing directories without spaces in them like


C:\LyX

rather than the default,

C:\Program files\LyX

is likely still the safer practice, unless the installer balks at 
changing the default and the install fails."


--



Re: installing lyx on windows

2006-08-02 Thread Bo Peng

> Right after I installed lyx, it spent a lot of time downloading stuff.


Lyx is checking for some classes, miktex does not have them so it
installs them automatically. 1.4.3 will give you more prompt
information, but this process will take the same long time.



Windows being Windows, the most I'm willing to say is that LyX typically
installs properly in C:\Program Files (but your actual mileage, if you
get any, may vary).


:-)


If you clean out an detritus and try another install under C:\Program
Files, it might fly this time.  If not, try opening a command prompt in
the LyX bin directory and run lyx.bat from there.  That way, if it spits
up an error message, you'll have a chance to see it without the window
closing on you.


This is what I would suggest.

Bo


Re: installing lyx on windows

2006-08-02 Thread Paul A. Rubin

Eric Inazaki wrote:
Did it give you a message about not finding class files?  There have 
been instances where LyX installed properly but the configuration script 
failed, and subsequently LyX would not start because it could not find 
the requisite configuration information.  (But it would at least display 
the GUI and cough up a message to that effect.)


Right after I installed lyx, it spent a lot of time downloading stuff.
They looked like template files, might have class files, I wasn't paying
that close attention.  And it may or may not have been lyx that was doing
the downloading, could've been MikTeX which I installed at about the
same time.  (The dialog boxes didn't say what program they were affiliated
with).


After LyX installs, it automatically runs a configuration script that, 
among other things, snoops around your LaTeX installation looking to see 
which among a roster of "common" classes are installed.  That 
information is written to some configuration files.  MikTeX treats this 
the same way it treats a document trying to load a class, and so 
(depending on how you have MikTeX configured) it will either do nothing, 
automatically install the classes, or bug you whether or not to install 
each one.  (I'm category three, so every time I install a new LyX 
version I get multiple nags from MikTeX.)  If you're on the auto-install 
plan, probably that was the downloading you observed.


After all that was done (as near as I could tell), I would go to Start->
Programs and click on "lyx" then a command window would pop up for about
a half-second, disappear and that's all she wrote.


Well, I'm pretty sure that's not the "configuration burped" error.


So you're saying that you could install and run lyx at the "Program Files"
directory, out of the box, with no problems and without having to futz
around with anything?


Windows being Windows, the most I'm willing to say is that LyX typically 
installs properly in C:\Program Files (but your actual mileage, if you 
get any, may vary).


If you clean out an detritus and try another install under C:\Program 
Files, it might fly this time.  If not, try opening a command prompt in 
the LyX bin directory and run lyx.bat from there.  That way, if it spits 
up an error message, you'll have a chance to see it without the window 
closing on you.


/Paul




Re: installing lyx on windows

2006-08-02 Thread Eric Inazaki
Bo Peng <[EMAIL PROTECTED]> writes:

> 
> On 8/2/06, Eric Inazaki <[EMAIL PROTECTED]> wrote:
> > Does lyx choke (i.e. fail to start) when it's installed in
> > "C:\Program Files" directory?  This is with lyx 1.4.2 and
> > Windows 2000, by the way.  This happened to me on my first
> > installation attempt.  I tried reinstalling to "C:\" and that
> > works okay.  Looking through some of these older messages, it
> > seems that some folks don't have a problem installing to
> > "Program Files". If that's true, then what gives?
> 
> Due to the anti-space nature of latex, it is safer to install lyx
> under a path without space. However, the developers have tried their
> best to let lyx works as *usual* (?) under windows. As a result, lyx
> 1.4.2 should work under c:\program files. If lyx can not start under
> your machines, it should be investigated.
> 
> So, what exactly happened when you start lyx when it is installed
> under c:\program files?
> 
> Bo
> 
> 

I launch lyx from the Start/Program menu, a command window appears then
disappears a split second later and that's it.  No alert dialog, no
nothing.  

As far a I'm concerned, lyx doesn't _have to_ be installed in "program files".
Installing it in "c:\" is okay.  Would've been nice to have had a heads-up is
all.

It's starting to sound like I might have done something screwy.  Bet if I
tried again from scratch I won't see this problem.

eric



Re: installing lyx on windows

2006-08-02 Thread Eric Inazaki
Paul A. Rubin <[EMAIL PROTECTED]> writes:

> 
> Eric Inazaki wrote:
> 
> Did it give you a message about not finding class files?  There have 
> been instances where LyX installed properly but the configuration script 
> failed, and subsequently LyX would not start because it could not find 
> the requisite configuration information.  (But it would at least display 
> the GUI and cough up a message to that effect.)
> >

Right after I installed lyx, it spent a lot of time downloading stuff.
They looked like template files, might have class files, I wasn't paying
that close attention.  And it may or may not have been lyx that was doing
the downloading, could've been MikTeX which I installed at about the
same time.  (The dialog boxes didn't say what program they were affiliated
with).

After all that was done (as near as I could tell), I would go to Start->
Programs and click on "lyx" then a command window would pop up for about
a half-second, disappear and that's all she wrote.
 
> > A suggestion, if lyx really does have a problem being installed in
> > "Program Files" then it'd be nice if that fact were well publicized
> > (I found no mention of it on the lyx homepage, nor on the wiki).
> > Also, when I did it, the default installation directory was
> > "C:\Program Files", this should probably be changed.   
> 
> Really?  On my systems, I think it defaulted to C:\Program Files\lyx14
>   (not positive, since I changed from the default).
> 
> By the way, were you logged in with administrator permissions when you 
> attempted the installation?
> 

Well, yeah okay "C:\Program Files\lyx".  And yes,
I did this as the admin.  

So you're saying that you could install and run lyx at the "Program Files"
directory, out of the box, with no problems and without having to futz
around with anything?

eric




Re: installing lyx on windows

2006-08-02 Thread Bo Peng

On 8/2/06, Eric Inazaki <[EMAIL PROTECTED]> wrote:

Does lyx choke (i.e. fail to start) when it's installed in
"C:\Program Files" directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.  This happened to me on my first
installation attempt.  I tried reinstalling to "C:\" and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
"Program Files". If that's true, then what gives?


Due to the anti-space nature of latex, it is safer to install lyx
under a path without space. However, the developers have tried their
best to let lyx works as *usual* (?) under windows. As a result, lyx
1.4.2 should work under c:\program files. If lyx can not start under
your machines, it should be investigated.

So, what exactly happened when you start lyx when it is installed
under c:\program files?

Bo


Re: installing lyx on windows

2006-08-02 Thread Paul A. Rubin

Eric Inazaki wrote:

Does lyx choke (i.e. fail to start) when it's installed in
"C:\Program Files" directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.


No, it works fine from C:\Program Files\...


This happened to me on my first
installation attempt.  I tried reinstalling to "C:\" and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
"Program Files". If that's true, then what gives?


Did it give you a message about not finding class files?  There have 
been instances where LyX installed properly but the configuration script 
failed, and subsequently LyX would not start because it could not find 
the requisite configuration information.  (But it would at least display 
the GUI and cough up a message to that effect.)


A suggestion, if lyx really does have a problem being installed in
"Program Files" then it'd be nice if that fact were well publicized
(I found no mention of it on the lyx homepage, nor on the wiki).
Also, when I did it, the default installation directory was
"C:\Program Files", this should probably be changed.   


Really?  On my systems, I think it defaulted to C:\Program Files\lyx14
 (not positive, since I changed from the default).

By the way, were you logged in with administrator permissions when you 
attempted the installation?


/Paul



Re: Installing Lyx on Windows: pb with Python (or msys?)

2005-11-16 Thread Jose' Matos
On Tuesday 15 November 2005 22:44, mel b wrote:
> and the message is an ImportError for the os module.

  This is an indication that something is wrong with your python installation.

  I am not saying that this is the only problem or the cause of the others, 
but this should not happen in a normal setup.

-- 
José Abílio