question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Potential trollius issue

See original GitHub issue

System Info

  • Operating System: Docker container running on: Linux 2b5aca1a9b8b 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • Python Version: python --version Python 2.7.12 python3 --version Python 3.5.2
  • Version of catkin_tools:
catkin --version
catkin_tools 0.4.4 (C) 2014-2018 Open Source Robotics Foundation
catkin_tools is released under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
---
Using Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
  • ROS Distro: kinetic

Build / Run Issue

  • I did not read this

Expected Behavior

Output build status correctly to the terminal and cleanly exit

Actual Behavior

root@dadc0fe3d78b:/home/ws# catkin build
-------------------------------------------------------
Profile:                     default
Extending:        [explicit] /opt/ros/kinetic
Workspace:                   /home/ws
-------------------------------------------------------
Source Space:       [exists] /home/ws/src
Log Space:         [missing] /home/ws/logs
Build Space:        [exists] /home/ws/build
Devel Space:        [exists] /home/ws/devel
Install Space:     [missing] /home/ws/install
DESTDIR:            [unused] None
-------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        merged
-------------------------------------------------------
Additional CMake Args:       -DCMAKE_BUILD_TYPE=Release
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
-------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
-------------------------------------------------------
Workspace configuration appears valid.

NOTE: Forcing CMake to run for each package.
-------------------------------------------------------
[build] Found '1' packages in 0.0 seconds.                                                                                                                                                                                                    
Starting  >>> catkin_tools_prebuild                                                                                                                                                                                                           
Finished  <<< catkin_tools_prebuild                [ 2.2 seconds ]                                                                                                                                                                            
Starting  >>> <Project_Name>                                                                                                                                                                                                                       
Finished  <<< <Project_Name>                        [ 3.3 seconds ]                                                                                                                                                                            
[build] Summary: All 2 packages succeeded!                                                                                                                                                                                                    
[build]   Ignored:   None.                                                                                                                                                                                                                    
[build]   Warnings:  None.                                                                                                                                                                                                                    
[build]   Abandoned: None.                                                                                                                                                                                                                    
[build]   Failed:    None.                                                                                                                                                                                                                    
[build] Runtime: 5.4 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/local/lib/python3.5/dist-packages/trollius/base_events.py", line 395, in __del__
  File "/usr/local/lib/python3.5/dist-packages/trollius/unix_events.py", line 65, in close
  File "/usr/local/lib/python3.5/dist-packages/trollius/unix_events.py", line 166, 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

This error output shows up after catkin build, catkin run_tests, and catkin test. It does NOT show up after catkin_make or catkin_test_results build.

Steps to Reproduce the Issue

We are using a modified kinetic ros docker - added pip/catkin etc. Single simple package, few system deps, build, run tests.

Any idea if this is a trollius issue directly or a python2/3 issue?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:17
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
cardboardcodecommented, Nov 24, 2019

Hi guys, just wanted to elaborate on what @dimon777 said about

"when i switch my python to use python2.7 problem doesn't show up".

To switch back to use python2.7, ensure that your python3 does not have catkin-tools installed.

  1. Check if said package is installed in python3, run the command below in terminal. $ pip3 freeze | grep catkin-tools

If there is no output, then it is confirmed that there is no conflicting catkin-tools packages installed on python3 side.

  1. Ensure that your default python is python2.7 by running the command below. $ python -V

If not, you can follow this suggested link to change it to python2.7.

  1. Install the python2.7 catkin-tools package, follow the commands below: sudo pip install -U catkin_tools This command is based on the official catkin documentation.

Hope this helps.

4reactions
bangyanzcommented, Dec 3, 2018

I experienced this in Ubuntu 18.04. Couldn’t find a solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trollius chinensis ( Globeflower ) - Backyard Gardener
Plants which do not receive sufficient light may become pale in color, have fewer leaves and a "leggy" stretched-out appearance. Also expect ...
Read more >
Globeflower (Trollius europaeus) Flower, Leaf, Care, Uses
The globeflower (Trollius europaeus) grows in damp shady environments in Europe and western ... Common issues for Globeflower based on 10 million real...
Read more >
Asymmetrical nature of the Trollius–Chiastocheta interaction
Here, we focus on the interaction between Trollius europaeus and Chiastocheta flies, considered as a specialized and obligate nursery ...
Read more >
Trollius laxus Salisb. Spreading Globeflower - Native Plant Trust
Grazing in these areas would cause similar problems. These attractive plants are also subject to collection from the wild. Possible natural threats to...
Read more >
Managing Marginal Populations of the Rare Wetland ... - BioOne
We studied marginal populations of Trollius laxus Salisbury (Spreading Globeflower), a rare herbaceous plant of calcareous wetlands, making ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found