Sebastian Kügler
2005-Mar-30 23:40 UTC
[Pkg-kde-talk] debian''s python-kde3 horribly broken
--nextPart48383425.oShAHgQrvW 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) --nextPart48383425.oShAHgQrvW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iQEVAwUAQks422dNh9WRGQ75AQKljggAvefWNR7D2I0HU+9JIUmv+9CNfPCIMeDG 6Vp00z3cHWBM7+CI13qAd5mizgWe/hQ9vf4Y2qUcTmCYzQ+1xKZk5Ez1K1ZAvAMW mggGHeO9f4XJ88AVnv5jKlNsGo8AV6QhhHFngGQ8ffjqY3vpvS/n86O2Sbahl+vn CICCkLSfZ5JGSY4JtOg2YNpnGg7RsrBUMjcFM6IRvOnfTmpJA1ukfFth+wGphesV yj2nu2tu5ZD/AaAuRpWRfGi8+1espGTUOwbXmSRBfCCHH3oIW0hPHQbcDHAEXXTg Ww6MWPDnMEkMxaYL2CRntvEOrR5xqvBdxpyr1SLJ59mRalX+FSiRZQ==h7uM -----END PGP SIGNATURE----- --nextPart48383425.oShAHgQrvW--
Torsten Marek
2005-Mar-31 07:04 UTC
[Pkg-kde-talk] Re: [PyKDE] debian''s python-kde3 horribly broken
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sebastian Kügler schrieb: | Hi, | | I am working on a couple of KDE applications with PyKDE and noticed that | python-kde3 broke with the latest upgrade (for both ports, i386 and pure64). | I cannot import most of the pykde modules anymore, getting the following | 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 kdecore | | Traceback (most recent call last): | File "<stdin>", line 1, in ? | RuntimeError: the sip module supports API v1.0 to v1.0 but the kdecore module | requires API v0.2 | |>>>import kdecore |>>> | | | As you can see, if I import kdecore a second time after it failed, it works, | so I suspect some missing import somewhere, but wasn''t able to track it down | to a specific module. I tried rebuilding the package python-kde3 from the | latest snapshot from http://www.riverbankcomputing.co.uk/pykde/download.php , | sadly to no avail. Here''s an strace of the above action (importing kdecore 2 | times): | | http://vizzzion.org/~sebas/tmp/strace-import-kdecore.txt | | Building of the snapshot went fine on pure64, although it didn''t fix the | problem, but on i386 (with alioth''s 3.4 packages), I get the following | 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 | -DQT_THREAD_SUPPORT -I. -I../extra/kde340 -I/usr/include/kde | -I/usr/include/python2.3 -I/usr/share/qt3/include -I/usr/X11R6/include -o | sipdcoppart0.o sipdcoppart0.cpp | sipdcoppart0.cpp:2924: error: syntax error before `['' token | sipdcoppart0.cpp:2935: error: syntax error before `['' token | | (full log available at: | http://vizzzion.org/~sebas/tmp/pykde-compile-error.txt) | | Earlier (last week''s) versions of the packages for both archs worked fine. | | versions now installed: | | i386: | ii python-sip4-dev 4.1.1-1 | ii python-sip4-qt3 4.1.1-1 | ii python2.3-sip4-dev 4.1.1-1 | ii python2.3-sip4-qt3 4.2.1-1 | ii sip4 4.2.1-1 | ii python-kde3 3.11.3-3 | ii python-qt-dev 3.14.1-1 | ii python-qt3 3.13-4 | ii python-qt3-doc 3.13-4 | ii python-qtext 3.13-4 | | pure64: | ii python-sip4-dev 4.2.1-1 | ii python2.3-sip4-dev 4.2.1-1 | ii python2.3-sip4-qt3 4.2.1-1 | ii sip4 4.2.1-1 | ii python-kde3-doc 3.11.3-3 | ii python-qt-dev 3.14.1-1 | ii python-qt3 3.14.1-1 | ii python-qtext 3.14.1-1 | | That''s because we need a newer PyKDE snapshot rebuilt against sip 4.1 (in Debian). Which will happen when we have time to do this (maybe next week). By then, there will be Python 2.4 packages of PyKDE, too. greetings Torsten -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCS6DnfMVFHqJEyFgRAjtzAJ4rhyR1EVsnnQI2Z/1MIZtWscKrFQCdFXcl zPAYbxV/IRjDA2xHlzdKEp8=fAaT -----END PGP SIGNATURE-----