Bug 192253 - lyx: set default lyxpipe
Summary: lyx: set default lyxpipe
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lyx
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-18 16:28 UTC by Edward Grace
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-05-24 13:55:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Edward Grace 2006-05-18 16:28:30 UTC
Description of problem:

Using pybibliographer I am unable to add a citation to a running instance of
LyX.  It appears that the pipes that should be present are not present.

Version-Release number of selected component (if applicable):


How reproducible:

Always.

See bug 192252

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Zoltan Kota 2006-05-18 22:51:03 UTC
Newer versions of lyx don't seem to create lyxpipe automatically.
You can set it under the menu Tools->Preferences->Paths.
Type /home/yourhome/.lyx/lyxpipe at LyXServer pipe:.
(Maybe it is a feature not a bug?) 


Comment 2 Edward Grace 2006-05-19 08:03:35 UTC
Bingo!  Now works.  I tried playing with that before, but couldn't make it work.
 The secret is entering ~/.lyx/lyxpipe  I was entering ~/.lyx/lyxpipe.in

This is something that I feel needs to be tweaked a little as it should work
"Out of the box".


> (Maybe it is a feature not a bug?) 


I am somewhat sceptical that it's a feature ;-)  

To reiterate in case anyone else has this issue.  Starting from a fresh LyX
configuration (i.e. removing ~/.lyx) the following works for me:

1) Start LyX
2) Under Tools -> Preferences -> Paths enter:
   ~/.lyx/lyxpipe 
   For the option named "LyXServer pipe"
3) Exit LyX
4) Start LyX
5) You should now see two sockets created under ~/.lyx/  They are
~/.lyx/lyxpipe.in and ~/.lyx/lyxpipe.out

6) Start pybibliographer.  It should now work as advertised.


Could someone ensure that the default is set correctly in future versions?  It
really wasn't clear what magic incantations needed to be entered.

Thanks for your prompt response!

Comment 3 Rex Dieter 2006-05-23 19:26:53 UTC
Thanks for the report.

Upon closer inspection, it turns out there's a few other handy defaults that
should (I think anyway) get set.  I'll include these defaults in the next build:
  screen_font_roman "Serif"
  screen_font_sans "Sans"
  screen_font_typewriter "Monospace"
  screen_zoom 100
  serverpipe "~/.lyx/pipe"


Comment 4 Zoltan Kota 2006-05-24 06:26:47 UTC
For serverpipe ~/.lyx/lyxpipe would be better (instead of ~/.lyx/pipe)! 
As I remember that was the default in older versions, and it is the default in
pybliographer.


Comment 5 Rex Dieter 2006-05-24 11:57:20 UTC
OK, will do.

Comment 6 Rex Dieter 2006-05-24 13:55:36 UTC
lyx-1.4.1-7 build queued, should appear soon in a repo near you.

* Wed May 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-7
- use serverpipe "~/.lyx/lyxpipe" instead, that was the old default
  and what pybibliographer expects.

* Tue May 23 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-6
- set defaults for (see %{_datadir}/lyx/lyxrc.defaults.custom)
  screen_font_roman "Serif"
  screen_font_sans "Sans"
  screen_font_typewriter "Monospace"
  screen_zoom 100
  serverpipe "~/.lyx/pipe"


Note You need to log in before you can comment on or make changes to this bug.