uzh-rpg / rpg_esim

ESIM: an Open Event Camera Simulator
MIT License
580 stars 124 forks source link

TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object #107

Open DelinQu opened 2 years ago

DelinQu commented 2 years ago

Hi, I got the following error after typing in:

$ catkin build esim_ros

.................................................................................................................................................................................................................................................................................. Finished <<< assimp_catkin [ 4 minutes and 6.7 seconds ]
[build] Summary: 10 of 37 packages succeeded.
[build] Ignored: 8 packages were skipped or are skiplisted.
[build] Warnings: 4 packages succeeded with warnings.
[build] Abandoned: 26 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 4 minutes and 9.8 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them. Exception ignored in: <bound method BaseEventLoop.del of <_UnixSelectorEventLoop running=False closed=True debug=False>> Traceback (most recent call last): File "/usr/lib/python3.5/asyncio/base_events.py", line 431, in del File "/usr/lib/python3.5/asyncio/unix_events.py", line 58, in close File "/usr/lib/python3.5/asyncio/unix_events.py", line 139, in remove_signal_handler File "/usr/lib/python3.5/signal.py", line 47, in signal TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object (base) PJLAB\sihaozhe@shai14001287l:~/sim_ws/src/ze_oss$

It seems that some Type error in the cod, how can i solve it ? Thank u in advance! :smile:

gwgknudayanga commented 2 years ago

I got many errors when i tried to build the stuff within conda environment. Then i tried to build the everything from the begining deactivating the conda environment, and the the build was successful. I built the code about one week ago, Don't know something has been changed during that period however. Thanks !

Rgds, Udayanga