You are not logged in.

#1 2014-01-24 06:20:08

loneranger
Member
Registered: 2014-01-24
Posts: 6

[SOLVED] Issues with running WingIDE

Hello,

I'm having problems with running WingIDE on my system. I installed it from AUR (wingide pro v5) without any issues. But every time I try to launch it I'm getting the following errors:

wingide
================================================================================
STARTING WING with args:
['/opt/wingide/bin/wing.py', '--squelch-output']
sys.executable=/opt/wingide/bin/runtime-python2.7/bin/python2.7
sys.maxint=9223372036854775807
LD_LIBRARY_PATH=''
DYLD_LIBRARY_PATH=''
DYLD_FALLBACK_LIBRARY_PATH=''
PATH=/opt/java/bin:/opt/java/bin:/opt/java/bin:/opt/java/bin:/opt/java/bin:/opt/java/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/java/bin:/opt/java/db/bin:/opt/java/jre/bin:/usr/bin/vendor_perl:/usr/bin/core_perl
Running Wing IDE with Python version 2.7.3
Using precompiled binaries for Python version 2.7
PYTHONPATH=[u'/opt/wingide/bin/2.7/src.zip', u'/opt/wingide/bin/2.7/opensource.zip', u'/opt/wingide/bin/2.7/external.zip/docutils/extras', u'/opt/wingide/bin/2.7/external.zip/docutils', u'/opt/wingide/bin/2.7/external.zip/pysqlite', u'/opt/wingide/bin/2.7/external.zip/Imaging-1.1.7', u'/opt/wingide/bin/runtime-pyside-py2.7/lib/python2.7/site-packages', u'/opt/wingide/bin/runtime-scintillaeditpy-py2.7/lib/python2.7/site-packages', '/opt/wingide/bin', '/opt/wingide/bin/runtime-python2.7/lib/python27.zip', '/opt/wingide/bin/runtime-python2.7/lib/python2.7/', '/opt/wingide/bin/runtime-python2.7/lib/python2.7/plat-linux2', '/opt/wingide/bin/runtime-python2.7/lib/python2.7/lib-tk', '/opt/wingide/bin/runtime-python2.7/lib/python2.7/lib-old', '/opt/wingide/bin/runtime-python2.7/lib/python2.7/lib-dynload']
DYNLIB_DIRS=/opt/wingide/bin/2.7/src, /opt/wingide/bin/2.7/opensource, /opt/wingide/bin/2.7/external/docutils/extras, /opt/wingide/bin/2.7/external/docutils, /opt/wingide/bin/2.7/external/pysqlite, /opt/wingide/bin/2.7/external/Imaging-1.1.7, /opt/wingide/bin/2.7/bin/runtime-pyside-py2.7/lib/python2.7/site-packages, /opt/wingide/bin/2.7/bin/runtime-scintillaeditpy-py2.7/lib/python2.7/site-packages
PATCHES=
Exception occurred while loading qt; use_system_qt = False
Traceback (most recent call last):
  File "/opt/wingide/bin/wing.py", line 915, in Initialize
    qt_version = InitializeQt4(kWingHome, not use_system_qt)
  File "/opt/wingide/bin/wing.py", line 662, in InitializeQt4
    ctypes.cdll.LoadLibrary(fullname)
  File "/opt/wingide/bin/runtime-python2.7/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
    return self._dlltype(name)
  File "/opt/wingide/bin/runtime-python2.7/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libpng12.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/opt/wingide/bin/wing.py", line 991, in <module>
    Main(list(sys.argv))
  File "/opt/wingide/bin/wing.py", line 958, in Main
    squelch_output = Initialize(argv)
  File "/opt/wingide/bin/wing.py", line 925, in Initialize
    qt_version = InitializeQt4(kWingHome, use_system_qt)
  File "/opt/wingide/bin/wing.py", line 697, in InitializeQt4
    from guiutils import wgtk
  File "2.7/src/guiutils/wgtk.pyo", line 27, in <module>
  File "2.7/src/guiutils/wgtk_qt4.pyo", line 15, in <module>
ImportError: libQtGui.so.4: cannot open shared object file: No such file or directory

I understand that I might be missing proper PyQT and libpng12.so.0 packages but I don't know which one to install: python-pyqt4/5 or python-pyside.

Is there a way to fix with minimum hacks (i.e. installing random libraries/packages)?

Last edited by loneranger (2014-01-27 19:31:27)

Offline

#2 2014-01-25 02:47:44

zhehao
Member
Registered: 2010-12-19
Posts: 16

Re: [SOLVED] Issues with running WingIDE

This problem looks like it is internal to the wingide package. Try posting this in the comments for the AUR package you were using. Perhaps the maintainer will know what is wrong.

Offline

#3 2014-01-27 03:07:26

loneranger
Member
Registered: 2014-01-24
Posts: 6

Re: [SOLVED] Issues with running WingIDE

Hi zhehao,

Thank you, I will try that then. I will also update this thread once I figure out the issue.

Offline

#4 2014-01-27 19:26:50

loneranger
Member
Registered: 2014-01-24
Posts: 6

Re: [SOLVED] Issues with running WingIDE

Installing python-pyside from AUR fixed the issue for me.

Offline

Board footer

Powered by FluxBB