Re: csv2lyx.py throwing an error
Thank you. el On 24/03/2023 12:39, José Matos wrote: > On Thu, 2023-03-23 at 21:44 -0400, Neal Becker wrote: >> Yes I reported same a week or so back. Change "ru" to "r" > > Thanks to Neal's report this is already fixed for 2.4. > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: csv2lyx.py throwing an error
On Thu, 2023-03-23 at 21:44 -0400, Neal Becker wrote: > Yes I reported same a week or so back. Change "ru" to "r" Thanks to Neal's report this is already fixed for 2.4. -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: csv2lyx.py throwing an error
Ah, so it takes longer for the error to show up? :-)-O el On 24/03/2023 00:27, John White wrote: > Go linux > > > On Thursday, March 23, 2023 3:38:24 PM PDT Dr Eberhard W Lisse wrote: [...] >> Traceback (most recent call last): >> File "/Applications/LyX.app/Contents/Resources/scripts/csv2lyx.py", >> line 171, in >> input_file = "".join(open(infile,'rU').readlines()) >> ^ >> ValueError: invalid mode: 'rU' -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: csv2lyx.py throwing an error
Thanks, el On 24/03/2023 02:44, Neal Becker wrote: > Yes I reported same a week or so back. Change "ru" to "r" [...] -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: csv2lyx.py throwing an error
Yes I reported same a week or so back. Change "ru" to "r" On Thu, Mar 23, 2023, 8:03 PM John White wrote: > Go linux > > On Thursday, March 23, 2023 3:38:24 PM PDT Dr Eberhard W Lisse wrote: > > > Hi, > > > > > > I have tried to File -> Import -> Table (CSV) a small CSV file > > > into a LyX document and receive an error, which I can reproduce > > > from the command line for Python 3.9 3.10 and 3.11.2 (my default) > > > like so: > > > > > > python -tt > /Applications/LyX.app/Contents/Resources/scripts/csv2lyx.py > > > i.csv i.lyx > > > > > > always yielding this error: > > > > > > Traceback (most recent call last): > > > File "/Applications/LyX.app/Contents/Resources/scripts/csv2lyx.py", > > > line 171, in > > > input_file = "".join(open(infile,'rU').readlines()) > > > ^ > > > ValueError: invalid mode: 'rU' > > > > > > This is on my spanking new M2 Airbook MacOs 13.2.1 and the MacTeX > > > 2023 as well as on my Intel iMac. > > > > > > Does anyone have an idea what to do about this? > > > > > > greetings, el > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: csv2lyx.py throwing an error
Go linux On Thursday, March 23, 2023 3:38:24 PM PDT Dr Eberhard W Lisse wrote: > Hi, > > I have tried to File -> Import -> Table (CSV) a small CSV file > into a LyX document and receive an error, which I can reproduce > from the command line for Python 3.9 3.10 and 3.11.2 (my default) > like so: > > python -tt /Applications/LyX.app/Contents/Resources/scripts/ csv2lyx.py > i.csv i.lyx > > always yielding this error: > > Traceback (most recent call last): > File "/Applications/LyX.app/Contents/Resources/scripts/csv2lyx.py", > line 171, in > input_file = "".join(open(infile,'rU').readlines()) > ^ > ValueError: invalid mode: 'rU' > > This is on my spanking new M2 Airbook MacOs 13.2.1 and the MacTeX > 2023 as well as on my Intel iMac. > > Does anyone have an idea what to do about this? > > greetings, el -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
csv2lyx.py throwing an error
Hi, I have tried to File -> Import -> Table (CSV) a small CSV file into a LyX document and receive an error, which I can reproduce from the command line for Python 3.9 3.10 and 3.11.2 (my default) like so: python -tt /Applications/LyX.app/Contents/Resources/scripts/csv2lyx.py i.csv i.lyx always yielding this error: Traceback (most recent call last): File "/Applications/LyX.app/Contents/Resources/scripts/csv2lyx.py", line 171, in input_file = "".join(open(infile,'rU').readlines()) ^ ValueError: invalid mode: 'rU' This is on my spanking new M2 Airbook MacOs 13.2.1 and the MacTeX 2023 as well as on my Intel iMac. Does anyone have an idea what to do about this? greetings, el -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users