Thanks to Angus Leeming and Ronald Florence for answering.

To Ronald:

Looks like the LyXServer pipe is properly configured by the LyX/Mac
install.  Did you not trash an old version of Start-LyX from a
previous installation of LyX on Aqua before installing LyX/Mac?

As a workaround for that possibility, try saving your Preferences in
LyX.  (Older versions of Start-LyX only read your own Preferences;
newer versions read system-wide Preferences as well.)

I had no previous installation of LyX on Aqua before installing LyX/Mac.


I remember also that the first time I installed "LyX/Mac", I quit my session and opened it, but I did not reboot my PowerBook. I did reboot for the next re-installations of "LyX/Mac".

Also, I had a "lyx" package installed from the "Fink Commander" interface. I deleted it using the "Fink Commander" interface, but I am pretty sure that I did delete it after having installed "LyX/Mac" for the first time. Then, after deleting "lyx", I trashed "LyX" and "Start-LyX" before reinstalling both of them, and I got the same misbehaviour.

To Angus:
Le jeudi, 18 sep 2003, � 19:28 Europe/Paris, Angus Leeming a �crit :

Jean Gosset wrote:

Hello,

I just installed the LyX/Mac binary package on my PowerBook, from the
"http://www.18james.com/lyx_on_aqua.html"; web page. Almost everything
works properly, except the following.

When I try to open a LyX file by double clicking on its icon in the
Finder or through a "Drag and drop" of its icon onto the "Start-LyX"
application, I get the AppleScript error: "You need to setup the
LyXServer pipe in LyX > Preferences > Paths.". In this menu I see as
path "/Users/gosset/.lyx/.lyxpipe". This file does not exist. The "ls
-la /Users/gosset/.lyx/.lyx*" command gives me the following answer,
with two empty files but none with the right name:

prw-------   1 gosset  staff     0 Sep 18 17:30 .lyxpipe.in
prw-------   1 gosset  staff     0 Sep 18 17:30 .lyxpipe.out

These _are_ the correct names of the input and output pipes. At least, they
correspond to the entry in the Preferences dialog.


What should I do?

See if lyx responds to input through them. Type the stuff below at the command line to open up a file within lyx.

$ FILE="path/to/you/file.lyx"
$ lyx -dbg lyxserver&
$ echo "LYXSRV:jean:hello" > ~/.lyx/lyxpipe.in
$ echo "LYXCMD:jean:file-open $FILE > ~/.lyx/lyxpipe.in

-- Angus




I tried the following:


[dphmcl:~] gosset% setenv FICHIERLYX /Users/gosset/LinuxHomeGosset/gosset/DOCUMENTS/Kalman.PhenixNote/ Kalman.PhenixNote.lyx
[dphmcl:~] gosset% /Applications/LyX.app/Contents/MacOS/LyX -dbg lyxserver & [2] 454
[dphmcl:~] gosset% Niveau de d�bogage lyxserver
D�bogage de 'lyxserver' (Interface de contr�le externe)
LyXComm: Opening connection
LyXComm: Connection established
echo "LYXSRV:jean:hello" > ~/.lyx/lyxpipe.in (NOTHING HAPPENED for LyX)
[dphmcl:~] gosset% echo "LYXSRV:jean:hello" > ~/.lyx/lyxpipe.in (NOTHING HAPPENED for LyX)
[dphmcl:~] gosset%
[dphmcl:~] gosset% echo "LYXCMD:jean:file-open $FICHIERLYX" > ~/.lyx/lyxpipe.in (NOTHING HAPPENED for LyX)
[dphmcl:~] gosset%



+------------------------------+---------------------------+ | Jean Gosset | T�l. (33/0) 1 69 08 73 05 | | DAPNIA/SPhN, B703, P40 | Fax 75 84 | | CE de Saclay | M�l: [EMAIL PROTECTED] | | F 91191 Gif-sur-Yvette cedex | | +------------------------------+---------------------------+



Reply via email to