[PyKDE] debian-problem
Martin.Zohlhuber at tttech.com
Martin.Zohlhuber at tttech.com
Mon Apr 5 17:17:01 BST 2004
Hello
Thank you for your quick help :-))))
The solution: On the machine are two python2.3.3 installed (i think from
binary, but dont know it) and i have not seen/think about it.
Work not:
/usr/local/bin:
Python 2.3.3 (#1, Feb 11 2004, 17:04:03)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
~/qt_hw$ nm -D --defined-only `which python` |grep
PyUnicodeUCS4_FromUnicode
return nothing. There are only PyUnicodeUCS2_* files
Work:
/usr/bin:
Python 2.3.3 (#2, Jan 13 2004, 00:47:05)
[GCC 3.3.3 20040110 (prerelease) (Debian)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
~/qt_hw$ nm -D --defined-only `which /usr/bin/python` |grep
PyUnicodeUCS4_FromUnicode
08092420 T PyUnicodeUCS4_FromUnicode
~/qt_hw$ dpkg -l 'python*sip*' 'python*qt*' | grep ^i
return:
ii python2.3-sip- 3.8-2 Python/C++ bindings generator -
Python2.3+Qt
ii python-qt3 3.8-3 Qt3 bindings for Python (default
version)
ii python2.3-qt3c 3.8-3 Qt3 bindings for Python 2.3
ii python2.3-qtex 3.8-3 Qt extensions for PyQt
ii python2.3-sip- 3.8-2 Python/C++ bindings generator -
Python2.3+Qt
Thank you !
martin
Torsten Marek <shlomme at gmx.net>
Sent by: pykde-admin at mats.imk.fraunhofer.de
05.04.2004 16:55
To
pykde mailing list <pykde at mats.imk.fraunhofer.de>
cc
Subject
Re: [PyKDE] debian-problem
Martin.Zohlhuber at 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 at gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858
www.keyserver.net -- wwwkeys.eu.pgp.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/octet-stream
Size: 251 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040405/9d6f1ab3/signature.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/octet-stream
Size: 258 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040405/9d6f1ab3/signature-0001.obj
More information about the PyQt
mailing list