Skip to content

Instantly share code, notes, and snippets.

@yucedagonurcan
Created September 24, 2019 19:19
Show Gist options
  • Select an option

  • Save yucedagonurcan/40e299d9f71d69298a5558f6efe4b951 to your computer and use it in GitHub Desktop.

Select an option

Save yucedagonurcan/40e299d9f71d69298a5558f6efe4b951 to your computer and use it in GitHub Desktop.
Autoware CUDA Compilation Error
aw2@aw2:~/autoware.ai$ AUTOWARE_COMPILE_WITH_CUDA=1 colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
[0.195s] ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.package_identification.python': No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 98, in load_entry_points
extension_type = load_entry_point(entry_point)
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 140, in load_entry_point
return entry_point.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/colcon_core/package_identification/python.py", line 12, in <module>
from setuptools.config import read_configuration
ImportError: No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
[0.197s] ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.package_identification.ros': No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 98, in load_entry_points
extension_type = load_entry_point(entry_point)
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 140, in load_entry_point
return entry_point.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/colcon_ros/package_identification/ros.py", line 12, in <module>
from colcon_core.package_identification.python import get_configuration
File "/usr/lib/python3/dist-packages/colcon_core/package_identification/python.py", line 12, in <module>
from setuptools.config import read_configuration
ImportError: No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
[0.198s] ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.package_identification.python_setup_py': No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 98, in load_entry_points
extension_type = load_entry_point(entry_point)
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 140, in load_entry_point
return entry_point.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 20, in <module>
from colcon_core.package_identification.python import \
File "/usr/lib/python3/dist-packages/colcon_core/package_identification/python.py", line 12, in <module>
from setuptools.config import read_configuration
ImportError: No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
[0.376s] ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.package_augmentation.ros': No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 98, in load_entry_points
extension_type = load_entry_point(entry_point)
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 140, in load_entry_point
return entry_point.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/colcon_ros/package_identification/ros.py", line 12, in <module>
from colcon_core.package_identification.python import get_configuration
File "/usr/lib/python3/dist-packages/colcon_core/package_identification/python.py", line 12, in <module>
from setuptools.config import read_configuration
ImportError: No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
Starting >>> autoware_build_flags
Starting >>> autoware_msgs
Starting >>> vector_map_msgs
Starting >>> autoware_config_msgs
Starting >>> tablet_socket_msgs
Starting >>> adi_driver
Starting >>> as
Starting >>> astar_search
Starting >>> autoware_bag_tools
Starting >>> autoware_can_msgs
Starting >>> autoware_driveworks_gmsl_interface
Starting >>> autoware_external_msgs
[1.773s] ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<_wait_and_close_fds() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:253> exception=RuntimeError('cannot reuse already awaited coroutine',)>
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
RuntimeError: cannot reuse already awaited coroutine
--- stderr: as
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by
"autoware_build_flags" with any of the following names:
autoware_build_flagsConfig.cmake
autoware_build_flags-config.cmake
Add the installation prefix of "autoware_build_flags" to CMAKE_PREFIX_PATH
or set "autoware_build_flags_DIR" to a directory containing one of the
above files. If "autoware_build_flags" provides a separate development
package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"autoware_build_flags" with any of the following names:
autoware_build_flagsConfig.cmake
autoware_build_flags-config.cmake
Add the installation prefix of "autoware_build_flags" to CMAKE_PREFIX_PATH
or set "autoware_build_flags_DIR" to a directory containing one of the
above files. If "autoware_build_flags" provides a separate development
package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)
---
Failed <<< as [ Exited with code 1 ]
Aborted <<< autoware_msgs
Aborted <<< vector_map_msgs
[1.794s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
Aborted <<< autoware_config_msgs
Aborted <<< autoware_driveworks_gmsl_interface
Aborted <<< tablet_socket_msgs
Aborted <<< adi_driver
Aborted <<< astar_search
Aborted <<< autoware_bag_tools
Aborted <<< autoware_can_msgs
Aborted <<< autoware_build_flags
Aborted <<< autoware_external_msgs
[1.799s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.799s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.800s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'status': <colcon_core.executor.Job object at 0x7fe8975f4358>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_notification/event_handler/status.py", line 109, in __call__
progress = self._running[job].get('progress', [])
KeyError: <colcon_core.executor.Job object at 0x7fe8975f4358>
[1.800s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.801s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'status': <colcon_core.executor.Job object at 0x7fe8975f4358>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_notification/event_handler/status.py", line 109, in __call__
progress = self._running[job].get('progress', [])
KeyError: <colcon_core.executor.Job object at 0x7fe8975f4358>
[1.802s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.802s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'status': <colcon_core.executor.Job object at 0x7fe8975939b0>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_notification/event_handler/status.py", line 109, in __call__
progress = self._running[job].get('progress', [])
KeyError: <colcon_core.executor.Job object at 0x7fe8975939b0>
[1.802s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.803s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'status': <colcon_core.executor.Job object at 0x7fe8975939b0>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_notification/event_handler/status.py", line 109, in __call__
progress = self._running[job].get('progress', [])
KeyError: <colcon_core.executor.Job object at 0x7fe8975939b0>
[1.803s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.803s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'status': <colcon_core.executor.Job object at 0x7fe8975f4358>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_notification/event_handler/status.py", line 109, in __call__
progress = self._running[job].get('progress', [])
KeyError: <colcon_core.executor.Job object at 0x7fe8975f4358>
[1.804s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.804s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'status': <colcon_core.executor.Job object at 0x7fe8975939b0>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_notification/event_handler/status.py", line 109, in __call__
progress = self._running[job].get('progress', [])
KeyError: <colcon_core.executor.Job object at 0x7fe8975939b0>
[1.804s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.805s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.805s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'status': <colcon_core.executor.Job object at 0x7fe8975f4358>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_notification/event_handler/status.py", line 109, in __call__
progress = self._running[job].get('progress', [])
KeyError: <colcon_core.executor.Job object at 0x7fe8975f4358>
[1.806s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
[1.806s] ERROR:colcon.colcon_core.event_reactor:Exception in event handler extension 'log': write to closed file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/event_reactor.py", line 78, in _notify_observers
retval = observer(event)
File "/usr/lib/python3/dist-packages/colcon_output/event_handler/log.py", line 109, in __call__
h.write(line)
ValueError: write to closed file
Summary: 0 packages finished [1.69s]
1 package failed: as
11 packages aborted: adi_driver astar_search autoware_bag_tools autoware_build_flags autoware_can_msgs autoware_config_msgs autoware_driveworks_gmsl_interface autoware_external_msgs autoware_msgs tablet_socket_msgs vector_map_msgs
1 package had stderr output: as
131 packages not processed
[1.900s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d39e10 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[1.901s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d39fd0 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[1.902s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896acd0b8 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[1.903s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896acd198 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[1.907s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896acd320 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[1.909s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896acd400 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[1.910s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d7cb70 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[1.910s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d46908 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[2.086s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d398d0 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[2.093s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d7ca90 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[2.094s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d33cf8 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[2.095s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d46240 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[7.033s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d469e8 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[7.033s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d46ac8 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[7.942s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d46f98 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[7.942s] ERROR:concurrent.futures:exception calling callback for <Future at 0x7fe896d46eb8 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/usr/lib/python3.5/asyncio/futures.py", line 442, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[7.951s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.951s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.951s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.951s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
[7.952s] ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.5/asyncio/tasks.py:414]>
@yucedagonurcan
Copy link
Author

Error resolved with update in setuptools:
aw2@aw2:~/autoware.ai$ pip3 install -U setuptools Collecting setuptools Downloading https://files.pythonhosted.org/packages/b2/86/095d2f7829badc207c893dd4ac767e871f6cd547145df797ea26baea4e2e/setuptools-41.2.0-py2.py3-none-any.whl (576kB) 100% |████████████████████████████████| 583kB 3.3MB/s Installing collected packages: setuptools Successfully installed setuptools-20.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment