csv2lyx.py throwing an error
John White
john at whitelawchartered.com
Thu Mar 23 23:27:44 UTC 2023
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 <module>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230323/b1538613/attachment-0001.html>
More information about the lyx-users
mailing list