Re: Python error with master on windows

2019-06-07 Thread José Abílio Matos
On Friday, 7 June 2019 15.17.53 WEST Jean-Marc Lasgouttes wrote: > Go ahead. > > JMarc Done. -- José Abílio

Re: Python error with master on windows

2019-06-07 Thread Jean-Marc Lasgouttes
Le 07/06/2019 à 14:17, José Abílio Matos a écrit : On Wednesday, 5 June 2019 23.24.29 WEST José Abílio Matos wrote: Thank you. This is only the first step (it controls the build time). Attached is a patch that does the same for run time. I will commit this. Tell me if you have problems with t

Re: Python error with master on windows

2019-06-07 Thread José Abílio Matos
On Wednesday, 5 June 2019 23.24.29 WEST José Abílio Matos wrote: > Thank you. This is only the first step (it controls the build time). > > Attached is a patch that does the same for run time. I will commit this. Tell me if you have problems with this code. -- José Abílio

Re: Python error with master on windows

2019-06-05 Thread José Abílio Matos
On Thursday, 16 May 2019 17.37.06 WEST Jean-Marc Lasgouttes wrote: > Done. > > JMarc Thank you. This is only the first step (it controls the build time). Attached is a patch that does the same for run time. What do you think? It search first for python3 and only later for python 2. PS: There

Re: Python error with master on windows

2019-05-16 Thread Jean-Marc Lasgouttes
Le 15/05/2019 à 21:41, José Abílio Matos a écrit : On Wednesday, 15 May 2019 16.19.49 WEST Jean-Marc Lasgouttes wrote: OK, so I change the list to [python3 python2], right? Done. JMarc

Re: Python error with master on windows

2019-05-15 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes > > The sentence makes sense to me, although not in the intended way. > Couldn't you say the same for any bug? ;) Jürgen > JMarc >

Re: Python error with master on windows

2019-05-15 Thread José Abílio Matos
On Wednesday, 15 May 2019 16.19.49 WEST Jean-Marc Lasgouttes wrote: > OK, so I change the list to [python3 python2], right? > > JMarc Yes. -- José Abílio

Re: Python error with master on windows

2019-05-15 Thread Jean-Marc Lasgouttes
Le 15/05/2019 à 16:27, José Abílio Matos a écrit : Currently, we have a baroque list which is: [python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 dnl python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0]) We should get rid of those and only test pyth

Re: Python error with master on windows

2019-05-15 Thread José Abílio Matos
On Wednesday, 15 May 2019 13.45.55 WEST Jean-Marc Lasgouttes wrote: > Le 15/05/2019 à 14:29, José Abílio Matos a écrit : > > On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote: > >> On my self-build master LyX on windows 10, I get the error below when > >> reconfiguring. Python is 3.6

Re: Python error with master on windows

2019-05-15 Thread José Abílio Matos
On Wednesday, 15 May 2019 14.01.23 WEST jungok wrote: > > 1) The first step is to change both cmake and autotols detection. > > Cmake already searches for python3 first. That is nice. Thank you. :-) -- José Abílio

Re: Python error with master on windows

2019-05-15 Thread jungok
Am Mittwoch, 15. Mai 2019, 13:29:10 CEST schrieb José Abílio Matos: > On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote: > > On my self-build master LyX on windows 10, I get the error below when > > reconfiguring. Python is 3.6. > > > > What is that? > > > > JMarc > > Based on thi

Re: Python error with master on windows

2019-05-15 Thread Jean-Marc Lasgouttes
Le 15/05/2019 à 14:29, José Abílio Matos a écrit : On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote: On my self-build master LyX on windows 10, I get the error below when reconfiguring. Python is 3.6. What is that? JMarc Based on this I would like to suggest before 2.4 to mod

Re: Python error with master on windows

2019-05-15 Thread José Abílio Matos
On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote: > On my self-build master LyX on windows 10, I get the error below when > reconfiguring. Python is 3.6. > > What is that? > > JMarc Based on this I would like to suggest before 2.4 to modify the current python detection logic. I

Re: Python error with master on windows

2019-05-15 Thread José Abílio Matos
On Wednesday, 15 May 2019 07.06.54 WEST Jürgen Spitzmüller wrote: > Then point the finder towards me. > > Thanks for fixing > Jürgen I think that you misunderstood me (my fault). :-) I was anthropomorphising the code because then when we say that the code gives some fight it is easier to relate

Re: Python error with master on windows

2019-05-15 Thread Jean-Marc Lasgouttes
Le 15/05/2019 à 08:11, Jürgen Spitzmüller a écrit : Am Mittwoch, den 15.05.2019, 08:06 +0200 schrieb Jürgen Spitzmüller: Then point the finder towards me. *Sigh* Even my accusatives are buggy these days. The sentence makes sense to me, although not in the intended way. JMarc

Re: Python error with master on windows

2019-05-14 Thread Jürgen Spitzmüller
Am Mittwoch, den 15.05.2019, 08:06 +0200 schrieb Jürgen Spitzmüller: > Then point the finder towards me. *Sigh* Even my accusatives are buggy these days. Jürgen signature.asc Description: This is a digitally signed message part

Re: Python error with master on windows

2019-05-14 Thread Jürgen Spitzmüller
Am Dienstag, den 14.05.2019, 22:15 +0100 schrieb José Abílio Matos: > On a second look this is the culprit. One of those variables is a > string while > it should be bytes. I will try to find who (it should be *what* but > it is > funnier if I make this personal ;-) ) Then point the finder towar

Re: Python error with master on windows

2019-05-14 Thread José Abílio Matos
On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote: > On my self-build master LyX on windows 10, I get the error below when > reconfiguring. Python is 3.6. > > What is that? > > JMarc The culprit was the _local_ variable. The following patch should fix it. diff --git a/lib/config

Re: Python error with master on windows

2019-05-14 Thread José Abílio Matos
On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote: > % (modname, filename, desc, pkgs, req, excl, catgy, local)) On a second look this is the culprit. One of those variables is a string while it should be bytes. I will try to find who (it should be *what* but it is funnier if

Re: Python error with master on windows

2019-05-14 Thread José Abílio Matos
On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote: > On my self-build master LyX on windows 10, I get the error below when > reconfiguring. Python is 3.6. > > What is that? > > JMarc > > +checking list of modules... > Z:/Jean-Marc/lyx/lib\layouts\algorithm2e.module > Traceback (mo

Python error with master on windows

2019-05-14 Thread Jean-Marc Lasgouttes
On my self-build master LyX on windows 10, I get the error below when reconfiguring. Python is 3.6. What is that? JMarc +checking list of modules... Z:/Jean-Marc/lyx/lib\layouts\algorithm2e.module Traceback (most recent call last): File "Z:/Jean-Marc/lyx/lib/configure.py", line 1875, in