PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 999 - PySide does not import
: PySide does not import
Status: RESOLVED INVALID
Product: PySide
Classification: Unclassified
Component: packaging
: 1.0.6
: PC Linux
: P4 normal
Assigned To: Bruno Araujo
:
:
:
  Show dependency treegraph
 
Reported: 2011-09-02 20:07 EEST by jianying.ji
Modified: 2012-01-06 00:37 EET (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jianying.ji 2011-09-02 20:07:32 EEST
import PySide

gives me:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/PySide/__init__.py", line 2, in <module>
    import private
  File "/usr/lib/pymodules/python2.6/PySide/private.py", line 2, in <module>
    from QtCore import __moduleShutdown
ImportError: /usr/lib/pymodules/python2.6/PySide/QtCore.so: undefined symbol:
_ZN8Shiboken4Enum16createGlobalEnumEP7_objectPKcS4_S4_P11_typeobject


I am using ubuntu and used apt-get to install PySide 1.0.6
Comment 1 Hugo Parente Lima 2011-09-02 20:19:59 EEST
You probably upgraded PySide but not libshiboken, so the newer PySide can't
find newer symbols introduced into libshiboken 1.0.6.

Check the version of your libshiboken.
Comment 2 Bruno Araujo 2011-09-02 20:56:41 EEST
(In reply to comment #1)
> You probably upgraded PySide but not libshiboken, so the newer PySide can't
> find newer symbols introduced into libshiboken 1.0.6.
> 
> Check the version of your libshiboken.

Also: which distro are you using?
Comment 3 Bruno Araujo 2011-09-02 21:00:34 EEST
[CC'ing Didier Raboud]

Oops... you're using Ubuntu, sorry for the lack of attention :-)

Anyway, are you using Natty?
Comment 4 jianying.ji 2011-09-02 21:08:36 EEST
Thank you, it seemed to have worked. Import works now.
Comment 5 jianying.ji 2011-09-02 21:09:18 EEST
I am using Lucid.
Comment 6 Hugo Parente Lima 2011-09-02 21:24:30 EEST
Anyway it seems to be a bug in Ubuntu package, as a PySide update should
trigger a libshiboken update.
Comment 7 anatoly techtonik 2011-12-22 18:17:20 EET
Is this bug still actual? Does latest PySide fails to import on Lucid?

https://launchpad.net/~pyside/+archive/ppa?field.series_filter=lucid
Comment 8 Hugo Parente Lima 2012-01-06 00:37:28 EET
After concluded that this is a bug in PySide package, not in the PySide code
base I'm marking this bug as invalid.

Thanks for the info.