You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python2/csvreader-paratext.py < /tmp/hello.csv
Traceback (most recent call last):
File "python2/csvreader-paratext.py", line 4, in <module>
allow_quoted_newlines=True)])
File "/home/ehiggs/.virtualenvs/paratext/lib/python2.7/site-packages/paratext/core.py", line 271, in load_raw_csv
loader = internal_create_csv_loader(filename, *args, **kwargs)
File "/home/ehiggs/.virtualenvs/paratext/lib/python2.7/site-packages/paratext/core.py", line 161, in internal_create_csv_loader
loader.load(_make_posix_filename(filename), params)
File "/home/ehiggs/.virtualenvs/paratext/lib/python2.7/site-packages/paratext_internal.py", line 414, in load
return _paratext_internal.ColBasedLoader_load(self, filename, params)
RuntimeError: The file ends with an open quote (4506147)
This could also be an issue if someone were to read in an actual file by name but pass in /dev/stdin.
The text was updated successfully, but these errors were encountered:
When using multiple threads to read from stdin, paratext fails. It works fine with actual files or with a single thread reading stdin.
The code I use is as follows:
This could also be an issue if someone were to read in an actual file by name but pass in
/dev/stdin
.The text was updated successfully, but these errors were encountered: