If anyone has issues with target-parquet today on ...
# troubleshooting
i
If anyone has issues with target-parquet today on Linux - try pinning to v0.2.6
e
Hi Isobel! Would you like to share more details on the issues you encountered with target-parquet?
i
I believe it's this fix: https://github.com/estrategiahq/target-parquet/pull/14 I installed in a fresh project today, and started getting odd errors I hadn't seen in an example yesterday. Stack trace was very similar to those posted by people this fix was made to address:
INFO Sending version information to <http://singer.io|singer.io>. To disable sending anonymous usage data, set the config parameter "disable_collection" to true
Traceback (most recent call last):
File "/workspaces/r-script-scheduler/src/data-sync/mpa-export/.meltano/loaders/target-parquet/venv/bin/target-parquet", line 8, in <module>
sys.exit(main())
File "/workspaces/r-script-scheduler/src/data-sync/mpa-export/.meltano/loaders/target-parquet/venv/lib/python3.10/site-packages/target_parquet/__init__.py", line 289, in main
state = persist_messages(
File "/workspaces/r-script-scheduler/src/data-sync/mpa-export/.meltano/loaders/target-parquet/venv/lib/python3.10/site-packages/target_parquet/__init__.py", line 240, in persist_messages
t2.start()
File "/usr/lib/python3.10/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/usr/lib/python3.10/multiprocessing/context.py", line 288, in _Popen
return Popen(process_obj)
File "/usr/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 32, in __init__
super().__init__(process_obj)
File "/usr/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
File "/usr/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File "/usr/lib/python3.10/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'persist_messages.<locals>.consumer'
e
Thanks for sharing! (So I can confirm it's kind of my fault 😂). I'm gonna have to test on linux.
i
Thanks for looking into it 🙂