Sebastian Kügler
2005-Mar-31 00:22 UTC
[Pkg-kde-talk] debian''s python-kde3 horribly broken
--nextPart1217872.ukLNDjZEZ8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am working on a couple of KDE applications with PyKDE and noticed that=20 python-kde3 broke with the latest upgrade (for both ports, i386 and pure64)=2E=20 I cannot import most of the pykde modules anymore, getting the following=20 errors: miro.sebas(~): python Python 2.3.5 (#2, Mar 27 2005, 09:43:31) [GCC 3.3.5 (Debian 1:3.3.5-12)] on linux2 Type "help", "copyright", "credits" or "license" for more information.>>> import kdecoreTraceback (most recent call last): File "<stdin>", line 1, in ? RuntimeError: the sip module supports API v1.0 to v1.0 but the kdecore module=20 requires API v0.2>>> import kdecore >>> =20As you can see, if I import kdecore a second time after it failed, it works,=20 so I suspect some missing import somewhere, but wasn''t able to track it down=20 to a specific module. I tried rebuilding the package python-kde3 from the=20 latest snapshot from http://www.riverbankcomputing.co.uk/pykde/download.php ,=20 sadly to no avail. Here''s an strace of the above action (importing kdecore 2=20 times): http://vizzzion.org/~sebas/tmp/strace-import-kdecore.txt Building of the snapshot went fine on pure64, although it didn''t fix the=20 problem, but on i386 (with alioth''s 3.4 packages), I get the following=20 compile error: make[1]: Entering directory `/usr/src/pykde/python-kde3-3.11.3'' make[2]: Entering directory `/usr/src/pykde/python-kde3-3.11.3/dcop'' g++ -c -Wno-deprecated-declarations -pipe -fPIC -g -Wall -W -D_REENTRANT=20 =2DDQT_THREAD_SUPPORT -I. -I../extra/kde340 -I/usr/include/kde=20 =2DI/usr/include/python2.3 -I/usr/share/qt3/include -I/usr/X11R6/include -o=20 sipdcoppart0.o sipdcoppart0.cpp sipdcoppart0.cpp:2924: error: syntax error before `['' token sipdcoppart0.cpp:2935: error: syntax error before `['' token (full log available at:=20 http://vizzzion.org/~sebas/tmp/pykde-compile-error.txt) Earlier (last week''s) versions of the packages for both archs worked fine.=20 versions now installed: i386: ii python-sip4-dev 4.1.1-1=20 ii python-sip4-qt3 4.1.1-1=20 ii python2.3-sip4-dev 4.1.1-1=20 ii python2.3-sip4-qt3 4.2.1-1=20 ii sip4 4.2.1-1=20 ii python-kde3 3.11.3-3=20 ii python-qt-dev 3.14.1-1=20 ii python-qt3 3.13-4 =20 ii python-qt3-doc 3.13-4 =20 ii python-qtext 3.13-4 =20 pure64: ii python-sip4-dev 4.2.1-1=20 ii python2.3-sip4-dev 4.2.1-1=20 ii python2.3-sip4-qt3 4.2.1-1=20 ii sip4 4.2.1-1=20 ii python-kde3-doc 3.11.3-3=20 ii python-qt-dev 3.14.1-1=20 ii python-qt3 3.14.1-1=20 ii python-qtext 3.14.1-1=20 Can someone help? Thanks in advance, sebas =2D-=20 http://vizZzion.org | GPG Key ID: 9119 0EF9=20 =2D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Great people talk about ideas. Average people talk about things. Small people=20 talk about people. (Dave Marinaccio) --nextPart1217872.ukLNDjZEZ8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iQEVAwUAQktCv2dNh9WRGQ75AQITlwgAlNMFoLxuCCwcW2O6V0mRr2oRFwbxqDR8 jCQ0+AjEAp8dmMPNjH17pkhosBMZJe5+5ss4J+kPQB4qGzevlWtZxyzuFX1UukGO SDaE+xN9JozHPU9RBKP8qZeqN3jkiU7XuHdheEJmVOKGcUYnVDygyj6Qj68AEG8J /9pb7uJMWWutsYuPUvqNKrTntL5azYmMnnWoDWaQ7x228KQ53ZbBc1kmLs6T+dwk gzzxAyoNyKodpFi30npZ9VF2k3hwveaXbNamTeA687SRFCchLrNHAag8hq2q7M/M gb/nyPDQNgrQ94D5MO2CJjokQvzr2yzatGCp2KUeeX8QG8BHD4OYaQ==TAo+ -----END PGP SIGNATURE----- --nextPart1217872.ukLNDjZEZ8--