Ask Your Question
0

RQT: setNativeLocks failed

asked 2019-01-31 14:29:15 -0500

siddadd gravatar image

Hi,

I am using ROS Kinetic in Ubuntu 16.04

I find that if I use any of the rqt_* commands such as rqt_graph, the terminal hangs and I get a continuous error as under

setNativeLocks failed: Resource temporarily unavailable
setNativeLocks failed: Resource temporarily unavailable
setNativeLocks failed: Resource temporarily unavailable
setNativeLocks failed: Resource temporarily unavailable

If I kill the process, then I get the below error

sigint_handler()
MainWindow.closeEvent()
Killed

I checked the Qt bindings and it looks like I am using PyQt5

$ python
Python 2.7.12 (default, Nov 12 2018, 14:36:49) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import python_qt_binding
>>> print(python_qt_binding.QT_BINDING)
pyqt
>>> from python_qt_binding.QtWidgets import QWidget
>>> print(python_qt_binding.QT_BINDING_VERSION)
5.5.1

Not sure how to debug this issue. Any help is appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-02-01 01:40:50 -0500

gvdhoorn gravatar image

From some Googling this seems like an issue with Qt (5). Some results seem to indicate it has to do with file locking. Are you running this in a VM, have a home dir mounted over NFS, a file with /dev in its name in /tmp or some other strange setup?

edit flag offensive delete link more

Comments

Thanks for the comment @gvdhoorn. It was my home dir mounted over NFS that was causing the issue. I unmounted it and the locks have disappeared.

siddadd gravatar imagesiddadd ( 2019-02-04 10:58:35 -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

Stats

Asked: 2019-01-31 14:29:15 -0500

Seen: 185 times

Last updated: Jan 31