From pykde Mon Apr 05 14:55:32 2004 From: Torsten Marek Date: Mon, 05 Apr 2004 14:55:32 +0000 To: pykde Subject: Re: [PyKDE] debian-problem Message-Id: <40717364.1000309 () gmx ! net> X-MARC-Message: https://marc.info/?l=pykde&m=108117709426550 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------enigDCDB123A9E660935B8125C4D" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDCDB123A9E660935B8125C4D Content-Type: multipart/mixed; boundary="------------000307090800020508060606" This is a multi-part message in MIME format. --------------000307090800020508060606 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 www.keyserver.net -- wwwkeys.eu.pgp.net --------------000307090800020508060606 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="signature.asc" LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuMi40IChH TlUvTGludXgpCkNvbW1lbnQ6IFVzaW5nIEdudVBHIHdpdGggRGViaWFuIC0gaHR0cDovL2Vu aWdtYWlsLm1vemRldi5vcmcKCmlEOERCUUZBY1cxL2ZNVkZIcUpFeUZnUkFnL3NBSjR5L1dB Z2R6eDRsdDhTcURtVXE5M2tZS1FXUkFDZVA4MXIKUzBRejdNY3JlUG04YmNJMXFmcXlFNG89 Cj1EaUo0Ci0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQoK --------------000307090800020508060606-- --------------enigDCDB123A9E660935B8125C4D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAcXNkfMVFHqJEyFgRAjtlAJ9R5pckHWlplGGiRlTErLIZly7xAACeIIrX ZVsAC6YRdPZ23ioP1bquBus= =J5ha -----END PGP SIGNATURE----- --------------enigDCDB123A9E660935B8125C4D-- _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde