Skip to content

Modeslive throws ValueError: ctypes objects containing pointers cannot be pickled #127

Open
@devleaks

Description

@devleaks

Mac OS 12.4
Python 3.10.5
In a conda environment:

pip list   
Package    Version
---------- -------
numpy      1.23.0
pip        22.1.2
pyModeS    2.11
pyrtlsdr   0.2.92
pyzmq      23.2.0
setuptools 63.1.0
wheel      0.37.1

Hello,
When trying to get modeslive running, I get this error:

Traceback (most recent call last):
File "/opt/homebrew/Caskroom/miniforge/base/envs/adsb/bin/modeslive", line 138, in <module>
recv_process.start()
File "/opt/homebrew/Caskroom/miniforge/base/envs/adsb/lib/python3.10/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/opt/homebrew/Caskroom/miniforge/base/envs/adsb/lib/python3.10/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/opt/homebrew/Caskroom/miniforge/base/envs/adsb/lib/python3.10/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/opt/homebrew/Caskroom/miniforge/base/envs/adsb/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 32, in __init__
super().__init__(process_obj)
File "/opt/homebrew/Caskroom/miniforge/base/envs/adsb/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
File "/opt/homebrew/Caskroom/miniforge/base/envs/adsb/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File "/opt/homebrew/Caskroom/miniforge/base/envs/adsb/lib/python3.10/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
ValueError: ctypes objects containing pointers cannot be pickled

How can I further track the issue?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions