-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
bugSomething isn't workingSomething isn't workingnot qualifiedThe issue is not checked yet by the ownersThe issue is not checked yet by the owners
Description
Describe the bug
On Windows 10, with Python 3.8, rethinkdb-import simply refuses to function due to obscure python multiprocessing
errors.
To Reproduce
Steps to reproduce the behavior:
pip install rethinkdb
from python 3.8 (on windows)rethinkdb import [options]
Expected behavior
Normal operation, the starting of importing data
System info
- OS: Windows 10 (build 19041.329)
- RethinkDB Version:
2.4.0~0buster
(docker container) - RethinkDB Python adapter Version:
2.4.7
Additional context
PS D:\k8smig\docker\mongodb\_local> rethinkdb-import --file .\tumblr.posts.json --table tumblr.posts -c vanguard --force
Traceback (most recent call last):
File "c:\python\3.8\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\python\3.8\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Python\3.8\Scripts\rethinkdb-import.exe\__main__.py", line 7, in <module>
File "c:\python\3.8\lib\site-packages\rethinkdb\_import.py", line 1716, in main
import_tables(options, sources)
File "c:\python\3.8\lib\site-packages\rethinkdb\_import.py", line 1359, in import_tables
progress_bar.start()
File "c:\python\3.8\lib\multiprocessing\process.py", line 121, in start
self._popen = self._Popen(self)
File "c:\python\3.8\lib\multiprocessing\context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "c:\python\3.8\lib\multiprocessing\context.py", line 326, in _Popen
return Popen(process_obj)
File "c:\python\3.8\lib\multiprocessing\popen_spawn_win32.py", line 93, in __init__
reduction.dump(process_obj, to_child)
File "c:\python\3.8\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_thread._local' object
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\python\3.8\lib\multiprocessing\spawn.py", line 107, in spawn_main
new_handle = reduction.duplicate(pipe_handle,
File "c:\python\3.8\lib\multiprocessing\reduction.py", line 79, in duplicate
return _winapi.DuplicateHandle(
PermissionError: [WinError 5] Access is denied
jtwebb
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingnot qualifiedThe issue is not checked yet by the ownersThe issue is not checked yet by the owners