ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Temporary "fix"

Backup the original file:

sudo cp /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py_bak

Edit the file:

sudo nano /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py

Modify the line producing the error from:

from python_qt_binding.QtCore import Qt, qInfo, qWarning, Signal

To

from python_qt_binding.QtCore import Qt, qWarning, Signal

This WILL most probably produce other bugs but it at least lets you start the application.

Temporary "fix"

Backup the original file:

 sudo cp /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py_bak

Edit the file:

 sudo nano /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py

Modify the line producing the error from:

 from python_qt_binding.QtCore import Qt, qInfo, qWarning, Signal

To

 from python_qt_binding.QtCore import Qt, qWarning, Signal

Then comment every call to qInfo in the code, you can find them with:

grep -rn "qInfo" /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/

Use nano or any other editor to comment the calls inside this python code.

This WILL most probably produce other bugs but it at least lets you start the application.You can then use rqt_bag again!

Temporary Temporary "fix"

Backup the original file:

sudo cp /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py_bak

Edit the file:

sudo nano /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py

Modify the line producing the error from:

from python_qt_binding.QtCore import Qt, qInfo, qWarning, Signal

To

from python_qt_binding.QtCore import Qt, qWarning, Signal

Then comment every call to qInfo in the code, you can find them with:

grep -rn "qInfo" /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/

Use nano or any other editor to comment the calls inside this python code.

You can then use rqt_bag again!

Temporary "fix"Please read the comments for more information about the resolution of this bug


Temporary fix

Edit the file:

sudo nano /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_widget.py

Modify the line producing the error from:

from python_qt_binding.QtCore import Qt, qInfo, qWarning, Signal

To

from python_qt_binding.QtCore import Qt, qWarning, Signal

Then comment every call to qInfo in the code, you can find them with:

grep -rn "qInfo" /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/

Use nano or any other editor to comment the calls inside this python code.

You can then use rqt_bag again!