Re: Debugging LyX server on Windows
Will S wrote: > I have been helping a user debug a problem with a tool (LyZ, > https://github.com/willsALMANJ/lyz) that I maintain that interfaces with > LyX through the LyX server. The main symptom is that the lyxserver.out file > appears to be empty. Specifically, when LyZ writes a command into > lyxserver.in, LyX performs that command as normal (so the "statistics" > command causes the statistics window to pop up in LyX), but when a command > (like "server-get-filename") is run that requires a response from LyX that > response does not get written to lyxserver.out (lyxserver.out still appears > empty). This problem is seen on some Windows systems but not all. More > details about the specific issue can be found at this page: > https://github.com/willsALMANJ/lyz/issues/14 > > Are there any techniques we could use to debug this issue further? It seems Shot in the dark: buffering output to lyxserver.out? If this was the cause then running "server-get-filename" 100x times will at certain moment output the whole buffer with all answers at once. If -dbg at console does not work the Message pane should be still available, turn on lyxserver, action and perhaps files and check if something interesting appears in the log. Pavel
Re: lyx2lyx error
Am Mittwoch, 1. August 2018 19:26:15 CEST schrieb Enrico Forestieri : > It is not possible loading the attached document with current master > because lyx2lyx fails with the following error: > > Warning: An error ocurred in 482, > Traceback (most recent call last): > File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/lyx2lyx", line 96, in > > main() > File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/lyx2lyx", line 90, in main > doc.convert() > File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/LyX.py", line 692, in convert > conv(self) > File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/lyx_2_2.py", line 759, in > convert_phrases > j = document.body[i].find(phrase) > IndexError: list index out of range > Line lyx_2_2.py:761 'i += 1' is wrong. Should be deleted. Kornel signature.asc Description: This is a digitally signed message part.
Build failed in Jenkins: Build branch "master" » ubuntu-xenial-qt4-autotools-extended #1103
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-xenial-qt4-autotools-extended/1103/-- [...truncated 1119 lines...] CXX insets/InsetScript.o CXX insets/InsetSeparator.o CXX insets/InsetSpace.o CXX insets/InsetSpecialChar.o CXX insets/InsetTabular.o CXX insets/InsetText.o CXX insets/InsetTOC.o CXX insets/InsetVSpace.o CXX insets/InsetWrap.o AR liblyxinsets.a CXX main.o CXX BiblioInfo.o CXX Box.o CXX Compare.o CXX Dimension.o CXX EnchantChecker.o CXX PersonalWordList.o CXX LaTeXFonts.o CXX PrinterParams.o CXX Thesaurus.o CXXLDlyx make[4]: Leaving directory '/build/workspace/src' Making all in client make[4]: Entering directory '/build/workspace/src/client' make all-am make[5]: Entering directory '/build/workspace/src/client' CXX boost.o CXX client.o CXXLDlyxclient make[5]: Leaving directory '/build/workspace/src/client' make[4]: Leaving directory '/build/workspace/src/client' Making all in tex2lyx make[4]: Entering directory '/build/workspace/src/tex2lyx' CXX boost.o CXX Context.o CXX dummy_impl.o CXX math.o CXX Parser.o CXX Preamble.o CXX table.o CXX tex2lyx.o CXX text.o CXXLDtex2lyx make[4]: Leaving directory '/build/workspace/src/tex2lyx' Making all in convert make[4]: Entering directory '/build/workspace/src/convert' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/build/workspace/src/convert' make[3]: Leaving directory '/build/workspace/src' make[2]: Leaving directory '/build/workspace/src' Making all in sourcedoc make[2]: Entering directory '/build/workspace/sourcedoc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/workspace/sourcedoc' Making all in lib make[2]: Entering directory '/build/workspace/lib' Making all in doc make[3]: Entering directory '/build/workspace/lib/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/workspace/lib/doc' Making all in lyx2lyx make[3]: Entering directory '/build/workspace/lib/lyx2lyx' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/workspace/lib/lyx2lyx' make[3]: Entering directory '/build/workspace/lib' GEN lyx.desktop GEN lyx.png GEN lyx.svg make[3]: Leaving directory '/build/workspace/lib' make[2]: Leaving directory '/build/workspace/lib' Making all in src/client make[2]: Entering directory '/build/workspace/src/client' make all-am make[3]: Entering directory '/build/workspace/src/client' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/workspace/src/client' make[2]: Leaving directory '/build/workspace/src/client' Making all in src/tex2lyx make[2]: Entering directory '/build/workspace/src/tex2lyx' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/workspace/src/tex2lyx' Making all in src/convert make[2]: Entering directory '/build/workspace/src/convert' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/workspace/src/convert' make[2]: Entering directory '/build/workspace' make[2]: Leaving directory '/build/workspace' make[1]: Leaving directory '/build/workspace' # Executing: make check Making check in autotests make[1]: Entering directory '/build/workspace/autotests' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/build/workspace/autotests' Making check in config make[1]: Entering directory '/build/workspace/config' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/build/workspace/config' Making check in development make[1]: Entering directory '/build/workspace/development' make[2]: Entering directory '/build/workspace/development' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/build/workspace/development' make[1]: Leaving directory '/build/workspace/development' Making check in po make[1]: Entering directory '/build/workspace/po' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/build/workspace/po' Making check in 3rdparty make[1]: Entering directory '/build/workspace/3rdparty' make[2]: Entering directory '/build/workspace/3rdparty' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/build/workspace/3rdparty' make[1]: Leaving directory '/build/workspace/3rdparty' Making check in src make[1]: Entering directory '/build/workspace/src' CHK lyx_commit_hash.h make check-recursive make[2]: Entering directory '/build/workspace/src' Making check in support make[3]: Entering directory '/build/workspace/src/support' make check-am make[4]: Entering directory '/build/workspace/src/support' make check_convert check_filetools check_lstrings check_trivstring make[5]: Entering directory '/build/workspace/src/support' CXX tests/check_convert.o CXX tests/dummy_functions.o CXX
lyx2lyx error
It is not possible loading the attached document with current master because lyx2lyx fails with the following error: Warning: An error ocurred in 482, Traceback (most recent call last): File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/lyx2lyx", line 96, in main() File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/lyx2lyx", line 90, in main doc.convert() File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/LyX.py", line 692, in convert conv(self) File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/lyx_2_2.py", line 759, in convert_phrases j = document.body[i].find(phrase) IndexError: list index out of range -- Enrico #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard a \the_end
Re: templates/RJournal.lyx not compilable
Am Mittwoch, 1. August 2018 16:53:19 CEST schrieb Jürgen Spitzmüller : > Am Mittwoch, den 01.08.2018, 16:44 +0200 schrieb Kornel Benko: > > Does not help if set in .layout. > > > > Setting Language Package to "Default" in the document works, but > > only without 'Provides babel 1' > > Local Layouts and .layout should be equivalent. Maybe you have a layout > in your local (~./lyx) directory that is used instead of the one you > edited? > > Jürgen No, I don't have. And yes, I know how to use Local Layouts. For tests, I am using the lyx-executable in the build-dir, so that the system-dir is in the lyx-repo. Kornel signature.asc Description: This is a digitally signed message part.
Re: templates/RJournal.lyx not compilable
Am Mittwoch, den 01.08.2018, 16:44 +0200 schrieb Kornel Benko: > Does not help if set in .layout. > > Setting Language Package to "Default" in the document works, but > only without 'Provides babel 1' Local Layouts and .layout should be equivalent. Maybe you have a layout in your local (~./lyx) directory that is used instead of the one you edited? Jürgen signature.asc Description: This is a digitally signed message part
Re: templates/RJournal.lyx not compilable
Am Mittwoch, 1. August 2018 15:48:33 CEST schrieb Jürgen Spitzmüller : > Am Sonntag, den 29.07.2018, 20:48 +0200 schrieb Jürgen Spitzmüller: > > Am Sonntag, den 29.07.2018, 20:11 +0200 schrieb Jürgen Spitzmüller: > > > Hm, not as easy here, since that file has "no language package". > > > Have to think about that. > > > > It's actually the problem you already reported some time ago: we need > > to output global language options even if babel is provided or even > > not > > used (if only for packages that inherit these options). > > This issue is now fixed. In the RJournal.lyx file itself, you now need > to set Language Package to "Default". If the package loads babal itself > (I cannot test that), you need to set > Provides babel 1 > either in the template or the layout. Does not help if set in .layout. Setting Language Package to "Default" in the document works, but only without 'Provides babel 1' > Jürgen I'd like to change the layout only, but didn't figure out what settings to use. Kornel signature.asc Description: This is a digitally signed message part.
Re: Beamer and Notes
Am Dienstag, den 31.07.2018, 08:57 -0700 schrieb Enrico Manlapig: > Hi developers, > > I hope you’re well. First off, I love LyX. Thanks for the work you > do to make it so easy to use and powerful. > > My question/comment is about beamer.layout. I think the field > “NoteItem” is a little problematic. \note[item] should be used in a > list environment (enumerate, itemize etc). If I am already in such > an environment, requesting a NoteItem environment from the dropdown > menu closes the list environment, which means NoteItem is no longer > appropriate. You need to nest it (use to do that). We can automate that now. I'll do that for one of the next versions. > I think the field should be just “Note” and the argument [item] > dropped from the definition. Now the list environment can end > appropriately and \note{content} will move outside of the frame > environment. For this, there is an inset in Insert > Custom Insets > Beamer Note. Not the best UI I confess. But it's hard to support that in a more convenient way. Jürgen > > If there is another use case for NoteItem, I’m happy to be mistaken. > Either way, thanks again for your work, > > Enrico > > signature.asc Description: This is a digitally signed message part
Re: templates/RJournal.lyx not compilable
Am Sonntag, den 29.07.2018, 20:48 +0200 schrieb Jürgen Spitzmüller: > Am Sonntag, den 29.07.2018, 20:11 +0200 schrieb Jürgen Spitzmüller: > > Hm, not as easy here, since that file has "no language package". > > Have to think about that. > > It's actually the problem you already reported some time ago: we need > to output global language options even if babel is provided or even > not > used (if only for packages that inherit these options). This issue is now fixed. In the RJournal.lyx file itself, you now need to set Language Package to "Default". If the package loads babal itself (I cannot test that), you need to set Provides babel 1 either in the template or the layout. Jürgen signature.asc Description: This is a digitally signed message part
Re: templates/RJournal.lyx not compilable
Am Mittwoch, den 01.08.2018, 08:57 +0200 schrieb Kornel Benko: > This was different. No, it's ultimately the same bug (global language list not output if babel is provided by the class). > In case of RJournal, the GUI language was Slovak, and that should > have no impact > on the compilation. Not if you use menu or shortcut info insets (the latter is the case for this file). These use the GUI language (since the need to represent the current GUI), and we must also use this language in the output. Otherwise hyphenation will be wrong for menu entries, and you even get LaTeX errors with non-latin scripts. Jürgen signature.asc Description: This is a digitally signed message part
Re: templates/RJournal.lyx not compilable
Am Mittwoch, 1. August 2018 08:36:41 CEST schrieb Jürgen Spitzmüller : > Am Mittwoch, den 01.08.2018, 08:20 +0200 schrieb Kornel Benko: > > Am Sonntag, 29. Juli 2018 20:48:30 CEST schrieb Jürgen Spitzmüller < > > sp...@lyx.org>: > > > Am Sonntag, den 29.07.2018, 20:11 +0200 schrieb Jürgen Spitzmüller: > > > > Hm, not as easy here, since that file has "no language package". > > > > Have to think about that. > > > > > > It's actually the problem you already reported some time ago: > > > > Can not remember. > > It was in PM, RE: "Babel Frage". This was different. In case of RJournal, the GUI language was Slovak, and that should have no impact on the compilation. In case of sr-vorl it was the document language > > > we need > > > to output global language options even if babel is provided or even > > > not > > > used (if only for packages that inherit these options). > > > > > > Jürgen > > > > > > > Mark, that with lyx2.3 there are no problems. > > Sure, the insetinfo fixes are not yet backported. > > > As it is now, it feels like a regression. > > Please be patient. I'll fix it if I find the time. Thanks. > Jürgen > Kornel signature.asc Description: This is a digitally signed message part.
Re: templates/RJournal.lyx not compilable
Am Mittwoch, den 01.08.2018, 08:20 +0200 schrieb Kornel Benko: > Am Sonntag, 29. Juli 2018 20:48:30 CEST schrieb Jürgen Spitzmüller < > sp...@lyx.org>: > > Am Sonntag, den 29.07.2018, 20:11 +0200 schrieb Jürgen Spitzmüller: > > > Hm, not as easy here, since that file has "no language package". > > > Have to think about that. > > > > It's actually the problem you already reported some time ago: > > Can not remember. It was in PM, RE: "Babel Frage". > > we need > > to output global language options even if babel is provided or even > > not > > used (if only for packages that inherit these options). > > > > Jürgen > > > > Mark, that with lyx2.3 there are no problems. Sure, the insetinfo fixes are not yet backported. > As it is now, it feels like a regression. Please be patient. I'll fix it if I find the time. Jürgen > > Kornel signature.asc Description: This is a digitally signed message part
Re: templates/RJournal.lyx not compilable
Am Sonntag, 29. Juli 2018 20:48:30 CEST schrieb Jürgen Spitzmüller : > Am Sonntag, den 29.07.2018, 20:11 +0200 schrieb Jürgen Spitzmüller: > > Hm, not as easy here, since that file has "no language package". > > Have to think about that. > > It's actually the problem you already reported some time ago: Can not remember. > we need > to output global language options even if babel is provided or even not > used (if only for packages that inherit these options). > > Jürgen > Mark, that with lyx2.3 there are no problems. As it is now, it feels like a regression. Kornel signature.asc Description: This is a digitally signed message part.