[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] debian-problem
From:       Torsten Marek <shlomme () gmx ! net>
Date:       2004-04-05 14:55:32
Message-ID: 40717364.1000309 () gmx ! net
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


Martin.Zohlhuber@tttech.com schrieb:
> Hello 
> I want run my PyQT programm on debian linux. The admin has it installed 
> and eric3 runs. 
> When i run a script (show a qt-Button) in eric3 it runs without troubles. 
> I can also import qt in the interactive interpreter without troubles. 
> 
> In the console i get a traceback, when i want import qt. The follow 
> message shows sys.path and the traceback:
> ------------------
> ['/Node/tttprime/ttt/private/zohlhuber/qt_hw', '/usr/local/bin', 
> '/usr/bin', '/bin', '/usr/bin/X11', '/usr/games', '/usr/lib/python23.zip', 
> '/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', 
> '/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-dynload', 
> '/usr/local/lib/python2.3/site-packages', '/usr/local/lib/site-python', 
> '/usr/lib/python2.3/site-packages', 
> '/usr/lib/python2.3/site-packages/eric3', 
> '/usr/lib/python2.3/site-packages/eric3/Debugger', 
> '/usr/lib/python2.3/site-packages/eric3/ThirdParty/brm', 
> '/usr/local/lib/python23.zip', '/usr/local/lib/python2.3', 
> '/usr/local/lib/python2.3/plat-linux2', '/usr/local/lib/python2.3/lib-tk', 
> '/usr/local/lib/python2.3/lib-dynload']
> Traceback (most recent call last):
>   File "qt_hw.py", line 3, in ?
>     from qt import *
>   File "/usr/lib/python2.3/site-packages/qt.py", line 25, in ?
>     import libqtc
> ImportError: /usr/lib/python2.3/site-packages/libqtcmodule.so: undefined 
> symbol: PyUnicodeUCS4_FromUnicode
> --------------------
> 
> 
> When i try to import libqtc (before import qt) i get follow traceback: 
> --------------
> Traceback (most recent call last):
>   File "qt_hw.py", line 3, in ?
>     import libqtc
> ImportError: libsip.so.10: cannot open shared object file: No such file or 
> directory
> -------------------
> 
> 
> eric3 show me follow Version numbers:
> Python 2.3.3
> Qt 3.2.1
> PyQT 3.8
> QScintilla 1.2
> Eric 3.3.1
> Bicyle Repair Man 0.9 Beta4
> 
> Whats wrong ? 
> What do eric3, what i am not do ? Have somebody a idea ? 
> 
> Thanks 
> martin

Hello Martin,

are you using the standard Debian Python? Are you sure that eric3 and
your own script invoke the same interpreter? The missing symbol has to
be defined in the Python binary itself (you can check for that with
nm -D --defined-only `which python`|grep PyUnicodeUCS4_FromUnicode).
If that does not help, you need to give further information, for
instance the message the interactive Python interpreter shows on startup.

greets

Torsten

-- 
Torsten Marek <shlomme@gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
www.keyserver.net -- wwwkeys.eu.pgp.net



["signature.asc" (application/pgp-signature)]
["signature.asc" (application/pgp-signature)]
_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic