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

PySide image not found #105

Closed
sorjef opened this issue Mar 13, 2016 · 2 comments
Closed

PySide image not found #105

sorjef opened this issue Mar 13, 2016 · 2 comments

Comments

@sorjef
Copy link

sorjef commented Mar 13, 2016

I'm using OS X El Capitan with the ROS Jade installed. When trying to run rqt I get the following error:

Traceback (most recent call last):
  File "/Users/artemsorokin/ros/install_isolated/bin/rqt", line 13, in <module>
    sys.exit(main.main())
  File "/Users/artemsorokin/ros/install_isolated/lib/python2.7/site-packages/rqt_gui/main.py", line 59, in main
    return super(Main, self).main(argv, standalone=standalone, plugin_argument_provider=plugin_argument_provider, plugin_manager_settings_prefix=str(hash(os.environ['ROS_PACKAGE_PATH'])))
  File "/Users/artemsorokin/ros/install_isolated/lib/python2.7/site-packages/qt_gui/main.py", line 336, in main
    from python_qt_binding import QT_BINDING
  File "/Users/artemsorokin/ros/build_isolated/python_qt_binding/bdist.macosx-10.11-x86_64/egg/python_qt_binding/__init__.py", line 55, in <module>
  File "/Users/artemsorokin/ros/build_isolated/python_qt_binding/bdist.macosx-10.11-x86_64/egg/python_qt_binding/binding_helper.py", line 267, in <module>
  File "/Users/artemsorokin/ros/build_isolated/python_qt_binding/bdist.macosx-10.11-x86_64/egg/python_qt_binding/binding_helper.py", line 95, in _select_qt_binding
ImportError: Could not find Qt binding (looked for: 'pyqt', 'pyside'):
  ImportError for 'pyqt': dlopen(/usr/local/lib/python2.7/site-packages/sip.so, 2): Symbol not found: _PyUnicodeUCS2_AsASCIIString
  Referenced from: /usr/local/lib/python2.7/site-packages/sip.so
  Expected in: flat namespace
 in /usr/local/lib/python2.7/site-packages/sip.so
  ImportError for 'pyside': dlopen(/usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/PySide/QtCore.so, 2): Library not loaded: @rpath/libpyside-python2.7.1.2.dylib
  Referenced from: /usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/PySide/QtCore.so
  Reason: image not found

Any ideas?

@sorjef
Copy link
Author

sorjef commented Mar 13, 2016

Ok, this is related to pyside/PySide#129

The temporary workaround with DYLD_LIBRARY_PATH described in that ticket worked. So if you observe this issue try executing this command and adding it to your .bash_profile (on OSX):

export DYLD_LIBRARY_PATH=/Users/you/virtualenv/lib/python2.7/site-packages/PySide

@dirk-thomas
Copy link
Contributor

I will close this ticket since it is an upstream problem and there is nothing rqt can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants