Bug 192253

Summary: lyx: set default lyxpipe
Product: [Fedora] Fedora Reporter: Edward Grace <ej.grace>
Component: lyxAssignee: Rex Dieter <rdieter>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa, zoltank
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-24 13:55:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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"