Ask Your Question

Could not find class in rqt plugin

asked 2017-11-17 05:26:28 -0500

Ravi Joshi gravatar image

I am developing rqt plugin. For this purpose, I initially created a python script called and wrote rqt code into it. It was working fine.

Later on, I renamed the script file and provided a better name. I also renamed the class name inside it. However, now rqt is not able to load it. I even tried catkin_make and sudo python install commands on it. Below is the error:

RosPluginProvider.load(rqt_robot/robot Plugin): could not find class "robotPlugin" in module "<module 'rqt_robot.my_module' from '/usr/local/lib/python2.7/dist-packages/rqt_robot/my_module.pyc'>"

Any workaround, please? As always, thank you very much. Please note that I am using Python 2.7 in ROS Indigo on Ubuntu 14.04 LTS PC.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-18 06:10:22 -0500

Ravi Joshi gravatar image

I removed the old files and installed it again. More preciously, I did following steps:

  1. Find out the path where this package is installed and go there cd /usr/local/lib/python2.7/dist-packages/
  2. remove the complete package by rm -rf command
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-11-17 05:26:28 -0500

Seen: 154 times

Last updated: Nov 18 '17