Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node_manager crashes on startup due to missing MessageFrame.ui #79

Closed
samlcharreyron opened this Issue Aug 10, 2018 · 2 comments

Comments

2 participants
@samlcharreyron
Copy link

commented Aug 10, 2018

Since updating node_manager_fkie from 0.7.8 to 0.8, I can no longer open the node manager without it crashing. The traceback is as shown below.

[INFO] [1533888798.773351]: listen for logs on /rosout
[INFO] [1533888799.061694]: Start RPC-XML Server at ('0.0.0.0', 22622)
[INFO] [1533888799.062469]: Subscribe to parameter `/roslaunch/uris`
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/main_window.py", line 779, in on_master_state_changed
    self.getMaster(msg.master.uri).master_state = msg.master
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/main_window.py", line 572, in getMaster
    self.masters[masteruri] = MasterViewProxy(masteruri, self)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/master_view_proxy.py", line 358, in __init__
    self.message_frame = MessageFrame()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/message_frame.py", line 137, in __init__
    loadUi(ui_file, self.frameui)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 247, in loadUi
    return _loadUi(uifile, baseinstance, custom_widgets)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 151, in _loadUi
    return uic.loadUi(uifile, baseinstance=baseinstance)
  File "/usr/lib/python2.7/dist-packages/PyQt5/uic/__init__.py", line 222, in loadUi
    return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
  File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUi
    return self.parse(filename, resource_suffix, basedir)
  File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 972, in parse
    document = parse(filename)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/MessageFrame.ui'

atiderko pushed a commit that referenced this issue Aug 10, 2018

Alexander Tiderko Alexander Tiderko
@atiderko

This comment has been minimized.

Copy link
Member

commented Aug 10, 2018

Thank you for reporting and sorry for trouble!
I released a new version, which should fix this problem.

@atiderko

This comment has been minimized.

Copy link
Member

commented Dec 10, 2018

I hope, the issue is solved.
If not, please reopen!

@atiderko atiderko closed this Dec 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.