Re: Support for python 2 and 3 in lyx2lyx for 2.3

2017-03-29 Thread José Abílio Matos
On Wednesday, 29 March 2017 15.25.12 WEST Kornel Benko wrote: > > > There is one task remaining. Creation of lyxrc.defaults uses string > > > 'python' as executable even if lyx is configured for use with python3. > > > I agree that this could change. Actually here I meant to say not just that it

Re: LyX master still not ready for Python 3

2017-03-29 Thread José Abílio Matos
On Wednesday, 29 March 2017 01.12.06 WEST Uwe Stöhr wrote: > As requested by José, I installed Python 3.6.1 and tested today's master > with it. As result LyX cannot be started because the reconfiguration fails: > > 02:05:53.187: Checking whether TeX allows spaces in file names... yes >

Re: Support for python 2 and 3 in lyx2lyx for 2.3

2017-03-29 Thread José Abílio Matos
On Wednesday, 29 March 2017 13.19.23 WEST Kornel Benko wrote: > So, should we make python3 be the default for lyx2.3? We want it to work as well as it works python 2. If it is the default or not I have no strong opinion. > There is one task remaining. Creation of lyxrc.defaults uses string

Re: Support for python 2 and 3 in lyx2lyx for 2.3

2017-03-29 Thread Kornel Benko
Am Mittwoch, 29. März 2017 um 14:50:46, schrieb José Abílio Matos > On Wednesday, 29 March 2017 13.19.23 WEST Kornel Benko wrote: > > So, should we make python3 be the default for lyx2.3? > > We want it to work as well as it works python 2. If it is the default or not > I >

Re: Support for python 2 and 3 in lyx2lyx for 2.3

2017-03-29 Thread Kornel Benko
Am Mittwoch, 29. März 2017 um 15:52:22, schrieb José Abílio Matos > On Wednesday, 29 March 2017 15.25.12 WEST Kornel Benko wrote: > > > > There is one task remaining. Creation of lyxrc.defaults uses string > > > > 'python' as executable even if lyx is configured for use with

Re: LyX master still not ready for Python 3

2017-03-29 Thread Enrico Forestieri
On Wed, Mar 29, 2017 at 02:41:23PM +0100, José Abílio Matos wrote: > > OK, I committed a change that should fix this problem. I hope so ;) C:\python>python Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for

Re: LyX master still not ready for Python 3

2017-03-29 Thread Uwe Stöhr
Am 29.03.2017 um 23:05 schrieb Uwe Stöhr: ('de_DE', 'cp1252') OK, using inpname = shortPath(str(tmpfname).encode(encoding)).replace('\\', '/') or inpname = shortPath(str(tmpfname).encode('cp1252')).replace('\\', '/') gives this error: TypeError: a bytes-like object is required, not 'str'

Re: Formal tables

2017-03-29 Thread Richard Heck
On 03/29/2017 04:22 AM, Andrew Parsloe wrote: > > > On 29/03/2017 1:04 p.m., Joel Kulesza wrote: >> >> On Tue, Mar 28, 2017 at 3:28 PM, Andrew Parsloe > > wrote: >> >> The booktabs package produces much cleaner tables than "native" >>

Re: LyX master still not ready for Python 3

2017-03-29 Thread Uwe Stöhr
Am 29.03.2017 um 15:41 schrieb José Abílio Matos: OK, I committed a change that should fix this problem. Thanks José, this does not fix the bug. I get still the same error message: 22:59:50.996: File "D:/LyXGit/Master/lib/configure.py", line 1811, in 22:59:50.999:

Re: LyX master still not ready for Python 3

2017-03-29 Thread José Abílio Matos
On Wednesday, 29 March 2017 18.24.26 WEST Enrico Forestieri wrote: > On Wed, Mar 29, 2017 at 02:41:23PM +0100, José Abílio Matos wrote: > > OK, I committed a change that should fix this problem. > > I hope so ;) When dealing with windows I always hope, after all hope is the last to die. :-) >

Re: Formal tables

2017-03-29 Thread Andrew Parsloe
On 30/03/2017 11:11 a.m., Richard Heck wrote: On 03/29/2017 04:22 AM, Andrew Parsloe wrote: On 29/03/2017 1:04 p.m., Joel Kulesza wrote: On Tue, Mar 28, 2017 at 3:28 PM, Andrew Parsloe > wrote: The booktabs package produces much

Re: Formal tables

2017-03-29 Thread Andrew Parsloe
On 29/03/2017 1:04 p.m., Joel Kulesza wrote: On Tue, Mar 28, 2017 at 3:28 PM, Andrew Parsloe > wrote: The booktabs package produces much cleaner tables than "native" LaTeX ones, but I wonder why LyX only "half converts" a LaTeX

Re: LyX 2.2.3, Finally?

2017-03-29 Thread Guenter Milde
On 2017-03-28, Richard Heck wrote: > On 03/28/2017 04:55 PM, Guenter Milde wrote: >> On 2017-03-28, Richard Heck wrote: >>> It looks as if we're now ready for 2.2.3, after some of the recent work. >>> Any reason not to freeze strings now? >> Yes, ... > Sorry, think there is some confusion. I

Re: Support for python 2 and 3 in lyx2lyx for 2.3

2017-03-29 Thread Kornel Benko
Am Mittwoch, 29. März 2017 um 12:41:37, schrieb José Abílio Matos > On Wednesday, 29 March 2017 12.14.29 WEST Kornel Benko wrote: > > Export tests to previous lyx-versions using python3 are failing. > > It should be working now. Yes, all 990 tests succeeded. (e.g. 'ctest -R

Re: Support for python 2 and 3 in lyx2lyx for 2.3

2017-03-29 Thread Kornel Benko
Am Mittwoch, 29. März 2017 um 01:32:05, schrieb Scott Kostyshak > On Tue, Mar 28, 2017 at 11:43:10AM +0100, José Abílio Matos wrote: > > > At the same time and do not expect pressure from the users who want to > > convert > > lyx-0.10 documents so I do no expect that Scott

Re: Support for python 2 and 3 in lyx2lyx for 2.3

2017-03-29 Thread José Abílio Matos
On Wednesday, 29 March 2017 12.14.29 WEST Kornel Benko wrote: > Export tests to previous lyx-versions using python3 are failing. It should be working now. Using iteritems() returns an iterator while items() returns a list in python 2. For python 3 items() returns and iterator and iteritems()

Re: LyX master still not ready for Python 3

2017-03-29 Thread José Abílio Matos
On Wednesday, 29 March 2017 01.12.06 WEST Uwe Stöhr wrote: > As requested by José, I installed Python 3.6.1 and tested today's master > with it. As result LyX cannot be started because the reconfiguration fails: > > 02:05:53.187: Checking whether TeX allows spaces in file names... yes >