thombashi / sqlitebiter

A CLI tool to convert CSV / Excel / HTML / JSON / Jupyter Notebook / LDJSON / LTSV / Markdown / SQLite / SSV / TSV / Google-Sheets to a SQLite database file.
https://sqlitebiter.rtfd.io/
MIT License
850 stars 50 forks source link

Error: no such option: --multiprocessing-fork #52

Closed chaffinched closed 6 years ago

chaffinched commented 6 years ago

Hi, on Windows 10 x64 using the binary I get the following:

sqlitebiter.exe file test.csv Error: no such option: --multiprocessing-fork Error: no such option: --multiprocessing-fork Error: no such option: --multiprocessing-fork Error: no such option: --multiprocessing-fork Error: no such option: --multiprocessing-fork Error: no such option: --multiprocessing-fork Error: no such option: --multiprocessing-fork Error: no such option: --multiprocessing-fork Traceback (most recent call last): File "cli.py", line 12, in File "site-packages\click\core.py", line 722, in call File "site-packages\click\core.py", line 697, in main File "site-packages\click\core.py", line 1066, in invoke File "site-packages\click\core.py", line 895, in invoke File "site-packages\click\core.py", line 535, in invoke File "site-packages\click\decorators.py", line 17, in new_func File "sqlitebiter\sqlitebiter.py", line 280, in file File "site-packages\pytablereader\csv\formatter.py", line 43, in to_table_data File "site-packages\tabledata_core.py", line 123, in init File "site-packages\dataproperty_extractor.py", line 358, in to_dp_matrix File "site-packages\dataproperty_extractor.py", line 455, in to_dp_matrix_mt File "concurrent\futures_base.py", line 425, in result File "concurrent\futures_base.py", line 384, in get_result concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending. [9248] Failed to execute script cli Exception ignored in: <bound method SimpleSQLite.del of <simplesqlite.core.SimpleSQLite object at 0x0000021B20EAE2E8>> Traceback (most recent call last): File "site-packages\simplesqlite\core.py", line 109, in del File "site-packages\simplesqlite\core.py", line 1375, in close File "site-packages\simplesqlite\core.py", line 169, in check_connection File "site-packages\typepy_function.py", line 24, in is_null_string ImportError: sys.meta_path is None, Python is likely shutting down

What am I doing wrong?

thombashi commented 6 years ago

@chaffinched

Thank you for your report. I had fixed the Windows execution binary at the latest release (Previous versions are wrong the packaging process). Please try this binary.

chaffinched commented 6 years ago

Thanks, @thombashi that resolves the problem!