Re: cannot add any module

2019-05-19 Thread Kornel Benko
Am Dienstag, 14. Mai 2019, 15:02:58 CEST schrieb Guenter Milde: > On 2019-05-13, Jürgen Spitzmüller wrote: > > >> Maybe, cannot verify though. OTOH, Günter has problems too, so > >> it i s worth to investigate. Somehow. > > > Günter's problems look unrelated to yours. > > While the symptoms are

Re: cannot add any module

2019-05-14 Thread Guenter Milde
On 2019-05-13, Jürgen Spitzmüller wrote: >> Maybe, cannot verify though. OTOH, Günter has problems too, so >> it i s worth to investigate. Somehow. > Günter's problems look unrelated to yours. While the symptoms are different (no crash but "nameless" modules), commit fcc4548469d solved the issue

Re: cannot add any module

2019-05-14 Thread Jürgen Spitzmüller
Am Di., 14. Mai 2019 um 13:58 Uhr schrieb jungok : > > I am back at my computer in 7 days, so no, I cannot commit. > Scott, Jean-Marc, Günter: please step in (the first one winns :)) > Never mind, I can do it here from the office machine. Jürgen > > Kornel > >

Re: cannot add any module

2019-05-14 Thread jungok
Am Dienstag, 14. Mai 2019, 13:44:16 CEST schrieb Jürgen Spitzmüller: > Am Di., 14. Mai 2019 um 12:22 Uhr schrieb jungok > > Works here with qt5.5, and with qt4.8.7 too. Thanks. > > Could you commit? I am off my box for the next two days. > > Thanks, > Jürgen > > > > Jürgen > > > I am back at

Re: cannot add any module

2019-05-14 Thread Jürgen Spitzmüller
Am Di., 14. Mai 2019 um 12:22 Uhr schrieb jungok : > Works here with qt5.5, and with qt4.8.7 too. Thanks. > Could you commit? I am off my box for the next two days. Thanks, Jürgen > > > Jürgen > > Kornel > >

Re: cannot add any module

2019-05-14 Thread jungok
Am Dienstag, 14. Mai 2019, 06:50:36 CEST schrieb Jürgen Spitzmüller: > Am Montag, den 13.05.2019, 20:08 +0200 schrieb Jürgen Spitzmüller: > > I can reproduce the assert with Qt 4.8.7 as well. Interestingly, the > > bad role here is 31. There is no such role in the enum, but 31 is > > UserRole (32 i

Re: cannot add any module

2019-05-13 Thread Jürgen Spitzmüller
Am Montag, den 13.05.2019, 20:08 +0200 schrieb Jürgen Spitzmüller: > I can reproduce the assert with Qt 4.8.7 as well. Interestingly, the > bad role here is 31. There is no such role in the enum, but 31 is > UserRole (32 in Qt4) minus one, whereas the bad role in Qt5 for you > is > also UserRole mi

Re: cannot add any module

2019-05-13 Thread Jürgen Spitzmüller
Am Montag, den 13.05.2019, 18:03 +0200 schrieb jungok: > Sorry, it was QT 4.8.7 ... I can reproduce the assert with Qt 4.8.7 as well. Interestingly, the bad role here is 31. There is no such role in the enum, but 31 is UserRole (32 in Qt4) minus one, whereas the bad role in Qt5 for you is also Use

Re: cannot add any module

2019-05-13 Thread jungok
Am Montag, 13. Mai 2019, 17:39:40 CEST schrieb jungok: > Am Montag, 13. Mai 2019, 17:13:27 CEST schrieb jungok: > > Am Montag, 13. Mai 2019, 16:43:50 CEST schrieb Jürgen Spitzmüller: > > > Am Mo., 13. Mai 2019 um 16:39 Uhr schrieb jungok > > > > > > > > > Yes, the result is > > > > frontends/qt4/

Re: cannot add any module

2019-05-13 Thread jungok
Am Montag, 13. Mai 2019, 17:13:27 CEST schrieb jungok: > Am Montag, 13. Mai 2019, 16:43:50 CEST schrieb Jürgen Spitzmüller: > > Am Mo., 13. Mai 2019 um 16:39 Uhr schrieb jungok > > > > > > Yes, the result is > > > frontends/qt4/GuiIdListModel.cpp (72): Unrecognized role: 255 > > > support/lassert

Re: cannot add any module

2019-05-13 Thread Jürgen Spitzmüller
> > Maybe, cannot verify though. OTOH, Günter has problems too, so > it i s worth to investigate. Somehow. > Günter's problems look unrelated to yours. > But I can try to compile with Qt4 ... > Yes, please. Jürgen > Kornel >

Re: cannot add any module

2019-05-13 Thread jungok
Am Montag, 13. Mai 2019, 16:43:50 CEST schrieb Jürgen Spitzmüller: > Am Mo., 13. Mai 2019 um 16:39 Uhr schrieb jungok > > Yes, the result is > > frontends/qt4/GuiIdListModel.cpp (72): Unrecognized role: 255 > > support/lassert.cpp (51): ASSERTION false VIOLATED IN > > /usr/src/lyx/lyx-git/ > > sr

Re: cannot add any module

2019-05-13 Thread Jürgen Spitzmüller
Am Mo., 13. Mai 2019 um 16:39 Uhr schrieb jungok : > Yes, the result is > frontends/qt4/GuiIdListModel.cpp (72): Unrecognized role: 255 > support/lassert.cpp (51): ASSERTION false VIOLATED IN /usr/src/lyx/lyx-git/ > src/frontends/qt4/GuiIdListModel.cpp:73 > > followed be the stack output and core

Re: cannot add any module

2019-05-13 Thread jungok
Am Montag, 13. Mai 2019, 16:25:45 CEST schrieb Jürgen Spitzmüller: > Am Mo., 13. Mai 2019 um 16:09 Uhr schrieb jungok > > I have no clue, how to debug systems QT. For me it looks like > > 255 = (unsigned char)(-1), e.g. role could not be found. Maybe the > > expected > > role is developped in a l

Re: cannot add any module

2019-05-13 Thread Jürgen Spitzmüller
Am Mo., 13. Mai 2019 um 16:08 Uhr schrieb Jean-Marc Lasgouttes < lasgout...@lyx.org>: > There is also UserRole at 256. But this is not 255. > And we check for that one in the switch. Jürgen > > JMarc >

Re: cannot add any module

2019-05-13 Thread Jürgen Spitzmüller
Am Mo., 13. Mai 2019 um 16:09 Uhr schrieb jungok : > I have no clue, how to debug systems QT. For me it looks like > 255 = (unsigned char)(-1), e.g. role could not be found. Maybe the expected > role is developped in a later QT version? > No, I don't think so. What we do is that we check for the

Re: cannot add any module

2019-05-13 Thread jungok
Am Montag, 13. Mai 2019, 15:54:47 CEST schrieb Jürgen Spitzmüller: > Am Mo., 13. Mai 2019 um 15:26 Uhr schrieb jungok > > Running under gdb, the role value in > > /usr/src/lyx/lyx-git/src/frontends/qt4/GuiIdListModel.cpp:71 > > is 255. > > No wonder it asserts. However, I am puzzled what role 25

Re: cannot add any module

2019-05-13 Thread Jean-Marc Lasgouttes
Le 13/05/2019 à 15:54, Jürgen Spitzmüller a écrit : Am Mo., 13. Mai 2019 um 15:26 Uhr schrieb jungok mailto:jung-ok.benko-m...@gmx.de>>: Running under gdb, the role value in /usr/src/lyx/lyx-git/src/frontends/qt4/GuiIdListModel.cpp:71 is 255. No wonder it asserts. However, I am pu

Re: cannot add any module

2019-05-13 Thread Jürgen Spitzmüller
Am Mo., 13. Mai 2019 um 15:26 Uhr schrieb jungok : > Running under gdb, the role value in > /usr/src/lyx/lyx-git/src/frontends/qt4/GuiIdListModel.cpp:71 > is 255. > No wonder it asserts. However, I am puzzled what role 255 is supposed to be. There is no such role in the ItemDataRole enum. The hig

Re: cannot add any module

2019-05-13 Thread jungok
Am Montag, 13. Mai 2019, 12:30:19 CEST schrieb Jürgen Spitzmüller: > Am Mo., 13. Mai 2019 um 12:23 Uhr schrieb Guenter Milde > > whenever I try to add a module in Document>Settings>Modules, I get an > > error > > > telling: > Master or stable? > > How does lyxmodules.lst in your ~./lyx director

Re: cannot add any module

2019-05-13 Thread jungok
Am Montag, 13. Mai 2019, 12:30:19 CEST schrieb Jürgen Spitzmüller: > Am Mo., 13. Mai 2019 um 12:23 Uhr schrieb Guenter Milde > > whenever I try to add a module in Document>Settings>Modules, I get an > > error > > > telling: > Master or stable? > > How does lyxmodules.lst in your ~./lyx director

Re: cannot add any module

2019-05-13 Thread Jürgen Spitzmüller
Am Mo., 13. Mai 2019 um 12:23 Uhr schrieb Guenter Milde : > whenever I try to add a module in Document>Settings>Modules, I get an error > telling: > Master or stable? How does lyxmodules.lst in your ~./lyx directory look like? Jürgen

cannot add any module

2019-05-13 Thread Guenter Milde
Dear LyX developers, whenever I try to add a module in Document>Settings>Modules, I get an error telling: Warning: Module not available The module has been requested by this document but has not been found in the list of available modules. If yo