Ask Your Question

rqt_publisher broken ('rospack' is not defined)

asked 2013-10-13 10:21:04 -0500

Arn-O gravatar image

updated 2013-10-14 11:31:22 -0500

Dirk Thomas gravatar image


I cannot use rqt_gui since the last update. The topic drill down is updating without any results:

image description

And when I click on refresh, I have this message:

Traceback (most recent call last):
  File "/opt/ros/hydro/lib/python2.7/dist-packages/rqt_publisher/", line 103, in _update_thread_run
    for base_type_str in rosmsg.list_msgs(package, rospack=rospack):
NameError: global name 'rospack' is not defined

I have just re-installed everything this weekend so my settings are clean (I already had this message before the update).

Thx for the support.

PS: rospack is installed.

EDIT1: as requested in the comments.

arnaud@hercules:~$ dpkg -p ros-hydro-rqt-publisher
Package: ros-hydro-rqt-publisher
Priority: extra
Section: misc
Installed-Size: 145
Maintainer: Dorian Scholz <<a href=""></a>>
Architecture: amd64
Version: 0.3.1-0raring-20131010-0322-+0000
Depends: python-rospkg, ros-hydro-qt-gui-py-common, ros-hydro-roslib, ros-hydro-rosmsg (>= 1.9.49), ros-hydro-rqt-gui, ros-hydro-rqt-gui-py, ros-hydro-rqt-py-common
Size: 21496
Description: rqt_publisher provides a GUI plugin for publishing arbitrary messages with fixed or computed field values.
Homepage: <a href=""></a>
edit retag flag offensive close merge delete


Can you tell us the version you're using by like running `$ dpkg -p ros-hydro-rqt-publisher`?

130s gravatar image 130s  ( 2013-10-13 11:08:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-14 07:14:17 -0500

Dirk Thomas gravatar image

This is a bug in version 0.3.1 of rqt_publisher. It will be fixed in the upcoming patch release. 0.3.2.

edit flag offensive delete link more


Any idea when this patch will be delivered?

Arn-O gravatar image Arn-O  ( 2013-10-15 01:42:47 -0500 )edit

The release has already been made and is available in shadow-fixed ( Next time the repo will be synced it will be available in public. I can't give a good estimate when that will be since we wait for some other packages to clear - may be today.

Dirk Thomas gravatar image Dirk Thomas  ( 2013-10-15 07:01:37 -0500 )edit

Updated this evening and the bug is fixed.

Arn-O gravatar image Arn-O  ( 2013-10-22 09:57:45 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2013-10-13 10:21:04 -0500

Seen: 418 times

Last updated: Oct 14 '13