Traceback (most recent call last):


 "C:\Users\win\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main

return _run_code(code, main_globals, None,


 "C:\Users\win\Anaconda3\lib\runpy.py", line 87, in _run_code

exec(code, run_globals)


 "C:\Users\win\Anaconda3\lib\site-packages\wikiextractor\WikiExtractor.py", line 621, in <module>

main()


 "C:\Users\win\Anaconda3\lib\site-packages\wikiextractor\WikiExtractor.py", line 616, in main

process_dump(input_file, args.templates, output_path, file_size,


 "C:\Users\win\Anaconda3\lib\site-packages\wikiextractor\WikiExtractor.py", line 357, in process_dump

reduce.start()


 "C:\Users\win\Anaconda3\lib\multiprocessing\process.py", line 121, in start

self._popen = self._Popen(self)


 "C:\Users\win\Anaconda3\lib\multiprocessing\context.py", line 224, in _Popen

return _default_context.get_context().Process._Popen(process_obj)


 "C:\Users\win\Anaconda3\lib\multiprocessing\context.py", line 327, in _Popen

return Popen(process_obj)


 "C:\Users\win\Anaconda3\lib\multiprocessing\popen_spawn_win32.py", line 93, in __init__

reduction.dump(process_obj, to_child)


 "C:\Users\win\Anaconda3\lib\multiprocessing\reduction.py", line 60, in dump

ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_io.TextIOWrapper' object

Traceback (most recent call last):


 "/opt/python-3.7.0/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/opt/python-3.7.0/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/classic/dev/sqlalchemy/examples/elementtree/optimized_al.py", line 223, in <module>

print(document)


 "/home/classic/dev/sqlalchemy/examples/elementtree/optimized_al.py", line 87, in __str__

self.element.write(buf)


 "/opt/python-3.7.0/lib/python3.7/xml/etree/ElementTree.py", line 777, in write

short_empty_elements=short_empty_elements)


 "/opt/python-3.7.0/lib/python3.7/contextlib.py", line 119, in __exit__

next(self.gen)


 "/opt/python-3.7.0/lib/python3.7/xml/etree/ElementTree.py", line 836, in _get_writer

yield file.write


 "/opt/python-3.7.0/lib/python3.7/contextlib.py", line 511, in __exit__

raise exc_details[1]


 "/opt/python-3.7.0/lib/python3.7/contextlib.py", line 496, in __exit__

if cb(*exc_details):


 "/opt/python-3.7.0/lib/python3.7/contextlib.py", line 383, in _exit_wrapper

callback(*args, **kwds)
TypeError: string argument expected, got 'bytes'
