You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Some of the dependencies are not compatible with python3 #34
Thank you a lot!
I have tried your advice. but it still doesn't work.
Traceback (most recent call last):
File "/opt/ros/noetic/lib/smach_viewer/smach_viewer.py", line 48, in
import wxversion
ModuleNotFoundError: No module named 'wxversion'
But i couldn't find the appropriate version(2.8) for wxversion, then i installed the python-wxgtk3.0.
However, it doesn't work out.
How could i solve this? thank you.
I have the same problem. Although it has been released into the noetic repository, it seems not to be compatible with with Ubuntu 20.04 with ROS noetic and Python 3.
Reacted by UserK, Orhan G. Hafif, tim-fan, Michel Breyer, Filip Zorić, jimas95, Carolin B., Zonghao Dong and Mark (Moonyoung) Lee
changed the title [-]Some of the dependencies are not comaptible with python3[/-][+]Some of the dependencies are not compatible with python3[/+]on Nov 17, 2020
I think updating the code according to the newer versions of the xdot and wxpython won't be possible. I downloaded the code and tried for myself but since the owner of this repository kinda wrote his own version of the dependencies, Making it work with Noetic is looking almost impossible to me. Maybe we should write a new visualization tool.
For reference: I'm using ROS Noetic and SMACH visualization is something I wanted to have to display the current state of my FSM for easy introspection and bling.
I could not update it to work in Noetic for the same reasons @cosmicog mentionned, however I was able to get it working by using ROS Melodic Docker container, even though the rest of the ROS framework was run in Noetic. I don't foresee anybody updating this repo anytime soon, at least this gives a way to use the visualization in the last iteration of ROS1 without too much effort.
Some modifications were needed, this was run in a Ubuntu 20.04 machine:
Activity
k-okada commentedon Sep 23, 2020
Thanks for report, interestingly "StringIO" is not used anyware in this script, so can we remote that line? @jhseeingthings
jhseeingthings commentedon Sep 23, 2020
Thank you a lot!
I have tried your advice. but it still doesn't work.
Traceback (most recent call last):
File "/opt/ros/noetic/lib/smach_viewer/smach_viewer.py", line 48, in
import wxversion
ModuleNotFoundError: No module named 'wxversion'
But i couldn't find the appropriate version(2.8) for wxversion, then i installed the python-wxgtk3.0.
However, it doesn't work out.
How could i solve this? thank you.
hcostelha commentedon Oct 17, 2020
I have the same problem. Although it has been released into the noetic repository, it seems not to be compatible with with Ubuntu 20.04 with ROS noetic and Python 3.
FilipHesse commentedon Oct 22, 2020
Same problem here, porting to python 3 would be appreciated a lot.
[-]Some of the dependencies are not comaptible with python3[/-][+]Some of the dependencies are not compatible with python3[/+]cosmicog commentedon Dec 13, 2020
I think updating the code according to the newer versions of the
xdotandwxpythonwon't be possible. I downloaded the code and tried for myself but since the owner of this repository kinda wrote his own version of the dependencies, Making it work with Noetic is looking almost impossible to me. Maybe we should write a new visualization tool.Or we would just switch to behaviour trees since it's released even for ROS2.
https://index.ros.org/p/behaviortree_cpp_v3/#noetic
Or there's a
py_trees, which is also as awesome as above:https://index.ros.org/p/py_trees_ros/github-splintered-reality-py_trees_ros/#noetic
karl-exwzd commentedon Jun 29, 2021
For reference: I'm using ROS Noetic and SMACH visualization is something I wanted to have to display the current state of my FSM for easy introspection and bling.
I could not update it to work in Noetic for the same reasons @cosmicog mentionned, however I was able to get it working by using ROS Melodic Docker container, even though the rest of the ROS framework was run in Noetic. I don't foresee anybody updating this repo anytime soon, at least this gives a way to use the visualization in the last iteration of ROS1 without too much effort.
Some modifications were needed, this was run in a Ubuntu 20.04 machine:
Edit file
/opt/ros/melodic/lib/python2.7/dist-packages/smach_viewer/xdot/xdot_qt.pyline 44:Change to
Comment out line 185 in
/opt/ros/melodic/lib/smach_viewer/smach_viewer.py:Or the terminal will be full of errors and the viewer will not update the current state (but will display it).