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
I have started the ROS tutorials and when I try to run rqt_graph it gives me a basestring error.
I am using Ubuntu 16.04, and Kinetic distro. I am using python 3.5.2 using Anaconda.
Traceback (most recent call last): File "/opt/ros/kinetic/lib/rqt_graph/rqt_graph", line 8, in <module> sys.exit(main.main(sys.argv, standalone='rqt_graph.ros_graph.RosGraph')) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_gui/main.py", line 59, in main return super(Main, self).main(argv, standalone=standalone, plugin_argument_provider=plugin_argument_provider, plugin_manager_settings_prefix=str(hash(os.environ['ROS_PACKAGE_PATH']))) File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/main.py", line 349, in main from .perspective_manager import PerspectiveManager File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/perspective_manager.py", line 44, in <module> class PerspectiveManager(QObject): File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/perspective_manager.py", line 48, in PerspectiveManager perspective_changed_signal = Signal(basestring) NameError: name 'basestring' is not defined
I thought of proceeding for the time being, but I get same error on running rqt_console rqt_console; also in rqt_plot rqt_plot.
The text was updated successfully, but these errors were encountered:
ROS officially only supports Python 2. So I would suggest you use that instead. Pull requests to make the code work with both Python versions are always welcome 😉
dirk-thomas
changed the title
rosrun rqt_graph rqt_graph shows error NameError: name 'basestring' is not defined [bug]
rosrun rqt_graph rqt_graph shows error NameError: name 'basestring' is not defined
Jan 23, 2017
I have started the ROS tutorials and when I try to run rqt_graph it gives me a basestring error.
I am using Ubuntu 16.04, and Kinetic distro. I am using python 3.5.2 using Anaconda.
Traceback (most recent call last): File "/opt/ros/kinetic/lib/rqt_graph/rqt_graph", line 8, in <module> sys.exit(main.main(sys.argv, standalone='rqt_graph.ros_graph.RosGraph')) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_gui/main.py", line 59, in main return super(Main, self).main(argv, standalone=standalone, plugin_argument_provider=plugin_argument_provider, plugin_manager_settings_prefix=str(hash(os.environ['ROS_PACKAGE_PATH']))) File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/main.py", line 349, in main from .perspective_manager import PerspectiveManager File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/perspective_manager.py", line 44, in <module> class PerspectiveManager(QObject): File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/perspective_manager.py", line 48, in PerspectiveManager perspective_changed_signal = Signal(basestring) NameError: name 'basestring' is not defined
I thought of proceeding for the time being, but I get same error on running rqt_console rqt_console; also in rqt_plot rqt_plot.
The text was updated successfully, but these errors were encountered: