Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added python-pygraphviz run dependency #11

Merged
merged 1 commit into from
Apr 11, 2017

Conversation

jr-bor
Copy link
Contributor

@jr-bor jr-bor commented Apr 11, 2017

When installing the py_trees suite from the ROS repos and trying to run the tutorials I get:

Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/rqt_py_trees/rqt_py_trees", line 10, in <module>
    from rqt_py_trees.behaviour_tree import RosBehaviourTree
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_py_trees/__init__.py", line 16, in <module>
    from . import behaviour_tree
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_py_trees/behaviour_tree.py", line 55, in <module>
    from qt_dotgraph.dot_to_qt import DotToQtGenerator
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_py_trees/qt_dotgraph/__init__.py", line 21, in <module>
    from . import dot_to_qt
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_py_trees/qt_dotgraph/dot_to_qt.py", line 23, in <module>
    import pygraphviz
ImportError: No module named pygraphviz

As pygraphviz is defined in python's rosdistro I just add its name to resolve the dependency.

Tested in Kubuntu 16.04 and ROS kinetic.

@stonier
Copy link
Member

stonier commented Apr 11, 2017

👍

@stonier stonier merged commit 6153ec0 into splintered-reality:devel Apr 11, 2017
@stonier stonier self-assigned this Apr 11, 2017
@stonier stonier added this to the Kinetic milestone Apr 11, 2017
@stonier
Copy link
Member

stonier commented Apr 11, 2017

v0.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants