[PyQt] Re: [PyKDE] Error while building: error: 'rindex' is not a member of 'X'
On Saturday 08 March 2008 09:44, Adeodato Simó wrote: > Hello Jim. > > I get the following error when building your tarball: > > sipkdeuipart0.cpp: In function ‘PyObject* meth_X_rindex(PyObject*, > PyObject*)’: sipkdeuipart0.cpp:232714: error: ‘rindex’ is not a member of > ‘X’ > sipkdeuipart0.cpp: In function ‘PyObject* meth_X_Xrindex(PyObject*, > PyObject*)’: sipkdeuipart0.cpp:232748: error: ‘Xrindex’ is not a member of > ‘X’ > sipkdeuipart0.cpp: In function ‘PyObject* meth_X_index(PyObject*, > PyObject*)’: sipkdeuipart0.cpp:232782: error: ‘index’ is not a member of > ‘X’ > sipkdeuipart0.cpp: In function ‘PyObject* meth_X_Xindex(PyObject*, > PyObject*)’: sipkdeuipart0.cpp:232816: error: ‘Xindex’ is not a member of > ‘X’ > make[1]: *** [sipkdeuipart0.o] Error 1 > > Any hints? A couple of things which should work - either: a) edit sip/kdeui/kdeuimod.sip.in and comment out //%Include fixx11.sip or: b) duplicate sip/kdeui/kdeui-kde400.diff as kdeui-kde401.diff (does the same thing as (a)). Or -kde402 as needed. It may be a problem with includes when compiling, but I couldn't get fixx11.h to work either and it seems most people can get by without it. Sorry for all the problems you're running into. You can save a little time by using: python configure.py -lkdeuior -lkdeui: (The switch is a lower case L) That will only regenerate the .cpp files for kdeui (or kdeui and succeeding modules with the ':') and save a lot of sip and gcc time. Jim ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] [PyKDE] Error while building: error: 'rindex' is not a member of 'X'
Hello Jim. I get the following error when building your tarball: sipkdeuipart0.cpp: In function ‘PyObject* meth_X_rindex(PyObject*, PyObject*)’: sipkdeuipart0.cpp:232714: error: ‘rindex’ is not a member of ‘X’ sipkdeuipart0.cpp: In function ‘PyObject* meth_X_Xrindex(PyObject*, PyObject*)’: sipkdeuipart0.cpp:232748: error: ‘Xrindex’ is not a member of ‘X’ sipkdeuipart0.cpp: In function ‘PyObject* meth_X_index(PyObject*, PyObject*)’: sipkdeuipart0.cpp:232782: error: ‘index’ is not a member of ‘X’ sipkdeuipart0.cpp: In function ‘PyObject* meth_X_Xindex(PyObject*, PyObject*)’: sipkdeuipart0.cpp:232816: error: ‘Xindex’ is not a member of ‘X’ make[1]: *** [sipkdeuipart0.o] Error 1 Any hints? -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Bethany, I'm not the kind of guy that girls take home to their mothers. I tend to, you know, hit on them. -- Denny Crane ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] Tr : PyKDE Error
Patrice PEREZ FRESENIUS-KABI 56 Grand Chemin 38590 Brezins tel :+(33)0476671010 - Réacheminé par Patrice Perez/EN/BR/FR/HHC/Fresenius le 20/11/2007 10:40 - Patrice Perez 20/11/2007 09:47 Pour : [EMAIL PROTECTED] cc : Objet : PyKDE Error Hello, I have this error when trying to install PyKDE. For your information, I installed ERIC4 and had no problem PyKDE version 3.16.0 --- Python include directory is /usr/local/include/python2.5 Python version is 2.5.1 sip version is 4.7.1 (4.7.1) Qt directory is /usr Qt version is 4.2.0 PyQt directory is /usr/share/sip/PyQt4 PyQt version is 4.0.1 (4.0.1) gcc version 4.1.2 concatenating files KDE base directory is /usr KDE include directory is /usr/include/kde KDE lib directory is /usr/lib lib directory is lib *** True KDE version is 0x30505 -- building for KDE 0x30503 *** KDE version is 3.5.3 (0x30503) PyKDE modules will be installed in /usr/local/lib/python2.5/site-packages PyKDE .sip files will be installed in /usr/local/share/sip PyKDE modules to be built: dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts khtml kspell kdeprint kmdi If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:[EMAIL PROTECTED] subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed An internal error occured. Please report all output from the program, including the following traceback, to the PyKDE mailing list Traceback (most recent call last): File "configure.py", line 935, in main(sys.argv) File "configure.py", line 904, in main set_sip_flags() File "configure.py", line 506, in set_sip_flags kde_sip_flags.append (pyqtcfg.pyqt_qt_sip_flags) File "/usr/local/lib/python2.5/site-packages/sipconfig.py", line 183, in __getattr__ raise AttributeError, "\"%s\" is not a valid configuration value or user option" % name AttributeError: "pyqt_qt_sip_flags" is not a valid configuration value or user option Best regards Patrice Patrice PEREZ FRESENIUS-KABI 56 Grand Chemin 38590 Brezins tel :+(33)0476671010 ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] Tr : PyKDE Error
- Réacheminé par Patrice Perez/EN/BR/FR/HHC/Fresenius le 20/11/2007 10:04 - Patrice Perez 20/11/2007 09:47 Pour : [EMAIL PROTECTED] cc : Objet : PyKDE Error Hello, I have this error when trying to install PyKDE. For your information, I installed ERIC4 and had no problem PyKDE version 3.16.0 --- Python include directory is /usr/local/include/python2.5 Python version is 2.5.1 sip version is 4.7.1 (4.7.1) Qt directory is /usr Qt version is 4.2.0 PyQt directory is /usr/share/sip/PyQt4 PyQt version is 4.0.1 (4.0.1) gcc version 4.1.2 concatenating files KDE base directory is /usr KDE include directory is /usr/include/kde KDE lib directory is /usr/lib lib directory is lib *** True KDE version is 0x30505 -- building for KDE 0x30503 *** KDE version is 3.5.3 (0x30503) PyKDE modules will be installed in /usr/local/lib/python2.5/site-packages PyKDE .sip files will be installed in /usr/local/share/sip PyKDE modules to be built: dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts khtml kspell kdeprint kmdi If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:[EMAIL PROTECTED] subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed An internal error occured. Please report all output from the program, including the following traceback, to the PyKDE mailing list Traceback (most recent call last): File "configure.py", line 935, in main(sys.argv) File "configure.py", line 904, in main set_sip_flags() File "configure.py", line 506, in set_sip_flags kde_sip_flags.append (pyqtcfg.pyqt_qt_sip_flags) File "/usr/local/lib/python2.5/site-packages/sipconfig.py", line 183, in __getattr__ raise AttributeError, "\"%s\" is not a valid configuration value or user option" % name AttributeError: "pyqt_qt_sip_flags" is not a valid configuration value or user option Best regards Patrice Patrice PEREZ FRESENIUS-KABI 56 Grand Chemin 38590 Brezins tel :+(33)0476671010 ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyKDE] Error while running PyQt4.1.1 Examples in Windows
On Monday 05 March 2007 6:46 am, Kushal Das wrote: > Hi, > I installed PyQt 4.1.1 for windows along with Python2.5 and Qt4.2.2 with > Mingw. > After the installation, if I try to start the pyqt examples (qt-demo) the > following error is coming: > > Pythonw.exe- Unable to locate components > This application has failed to start because mingwm10.dll was not found. > Re-installing the application may fix this problem. > > > No good results from google :( Make sure it is on your PATH. Phil ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error while running PyQt4.1.1 Examples in Windows
Hi, I installed PyQt 4.1.1 for windows along with Python2.5 and Qt4.2.2 with Mingw. After the installation, if I try to start the pyqt examples (qt-demo) the following error is coming: Pythonw.exe- Unable to locate components This application has failed to start because mingwm10.dll was not found. Re-installing the application may fix this problem. No good results from google :( Kushal -- Fedora Ambassador, India http://kushaldas.blogspot.com pgpU4HpdHr1w7.pgp Description: PGP signature ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] PyKDE error ??
On Thursday 01 March 2007 03:24, James B. wrote: > Hi All, > > I have been trying to install PyKDE in my > system(having KDE-3.5.6). From the Riverbank site I > have downloaded and installed sip-4.5.2.tar.gz and > PyQt-x11-gpl-3.17.tar.gz (PyQt-x11-gpl-4.1.1.tar.gz > did not work, gave me qmake error). and after that > PyKDE-3.16.0.tar.gz. > but when I ran > from from kdeui import KTMainWindow > > then I got importError for KTMainWindow. > > but from kdecore import * > from kdeui import * > are working fine. > > Can anyone please guide me through this? There is no KTMainWindow in KDE3 as far as I can tell - at least not in kdelibs. Use KMainWindow. Jim ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] PyKDE error ??
Hi All, I have been trying to install PyKDE in my system(having KDE-3.5.6). From the Riverbank site I have downloaded and installed sip-4.5.2.tar.gz and PyQt-x11-gpl-3.17.tar.gz (PyQt-x11-gpl-4.1.1.tar.gz did not work, gave me qmake error). and after that PyKDE-3.16.0.tar.gz. but when I ran from from kdeui import KTMainWindow then I got importError for KTMainWindow. but from kdecore import * from kdeui import * are working fine. Can anyone please guide me through this? thanks, James __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error(int) signal from QTcpSocket not firing
On Monday 29 January 2007 7:16 pm, Ewald de Wit wrote: > On Sunday 28 January 2007 14:07, Andreas Pakulat wrote: > > Well, the signature of the error signal changed from Qt3 to Qt4, the > > parameter is now a QAbstractSocket::SocketState. > > The C++ signature of the signal is > void error ( QAbstractSocket::SocketError ) > which would translate to error(int) in PyQt, right? Wrong - and anyway you've still got to give C++ the right signature. Phil ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error(int) signal from QTcpSocket not firing
On Sunday 28 January 2007 14:07, Andreas Pakulat wrote: > Well, the signature of the error signal changed from Qt3 to Qt4, the > parameter is now a QAbstractSocket::SocketState. The C++ signature of the signal is void error ( QAbstractSocket::SocketError ) which would translate to error(int) in PyQt, right? I don't see what I'm doing wrong. -- -- Ewald ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error(int) signal from QTcpSocket not firing
On 28.01.07 12:26:17, Ewald de Wit wrote: > In PyQt4 the error(int) signal from QTcpSocket seems to never fire anymore. > For example, when trying to connect to a non-existing host, nothing > happens after calling connectToHost. In PyQt3 this would result in > an error(int) signal being raised that indicated a 'Connection refused'. Well, the signature of the error signal changed from Qt3 to Qt4, the parameter is now a QAbstractSocket::SocketState. Andreas -- You may worry about your hair-do today, but tomorrow much peanut butter will be sold. ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] error(int) signal from QTcpSocket not firing
In PyQt4 the error(int) signal from QTcpSocket seems to never fire anymore. For example, when trying to connect to a non-existing host, nothing happens after calling connectToHost. In PyQt3 this would result in an error(int) signal being raised that indicated a 'Connection refused'. Please see the test script below on how to reproduce this. -- -- Ewald import sys import signal import PyQt4.Qt as qt import PyQt4.QtNetwork as qtnetwork class SocketTest( object ): def __init__( self, host, port ): self.socket = qtnetwork.QTcpSocket() qt.QObject.connect( self.socket, qt.SIGNAL( 'error(int)' ), self.onError ) # This is not working anymore. qt.QObject.connect( self.socket, qt.SIGNAL( 'connected()' ), self.onConnected ) qt.QObject.connect( self.socket, qt.SIGNAL( 'disconnected()' ), self.onDisconnected ) self.socket.connectToHost( host, port ) def onError( self, i ): print 'onError', self, self.socket.errorString() def onDisconnected( self ): print 'onDisconnected' def onConnected( self ): print 'onConnected' signal.signal( signal.SIGINT, signal.SIG_DFL ) app = qt.QApplication( sys.argv ) test = SocketTest( 'dummyhostname', 80 ) #test = SocketTest( 'localhost', 80 ) app.exec_() ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error compiling QScintilla 1.72 - MSVC.NET 2003
When compiling QScintilla 1.72, the following error popped: qsciscintilla.cpp qsciscintilla.cpp(1708) : error C2065: 'SCI_SETSELEOLFILLED' : undeclared identi fier qsciscintilla.cpp(1715) : error C2065: 'SCI_GETSELEOLFILLED' : undeclared identi fier qsciscintillabase.cpp .. .. .. ScintillaQt.cpp Generating Code... NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Arquivos de programas\Microsoft Visual Studio .N ET 2003\VC7\BIN\nmake.exe"' : return code '0x2' Stop. When i commented out the error lines, the app compiled. I think it have something related to this: http://www.mail-archive.com/scintilla-interest@lyra.org/msg02280.html Regards, Carlos ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyKde 3.16.0
On Thursday 26 October 2006 05:40, Mark Robinson wrote: > Am getting the following output after running python configure.py with > no switches > > any help with resolving it would be appriciated > > many thanks > Mark Robinson > > PyKDE version 3.16.0 >--- > > Python include directory is /usr/include/python2.4 > Python version is 2.4.3 > > sip version is snapshot-20061015 (4.4.0) > > Qt directory is /usr/lib/qt-3.3 > Qt version is 3.3.6 > > PyQt directory is /usr/share/sip > PyQt version is 3.16 (3.16.0) > > gcc version 4.1.1 > concatenating files > > KDE base directory is /usr > KDE include directory is /usr/include/kde > KDE lib directory is /usr/lib > lib directory is lib > > *** True KDE version is 0x30504 -- building for KDE 0x30503 *** > > KDE version is 3.5.3 (0x30503) > > PyKDE modules will be installed in /usr/lib/python2.4/site-packages > PyKDE .sip files will be installed in /usr/share/sip > > PyKDE modules to be built: >dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts > khtml kspell kdeprint kmdi > > Generating the C++ source for the dcop module... > sip: QColor::rgb() has overloaded functions with the same Python signature > Error: Unable to create the C++ code. That's a problem with PyQt - you need a newer version than PyQt 3.16. for the sip version that you're using. I believe Phil has a newer release up at riverbankcomputing.co.uk, but if not, you can download the most recent PyQt snapshot. You'll need to rebuild PyQt before building PyKDE. You can also just comment out all but one of the QColor.rgb methods in qcolor.sip, but IIRC there are one or two other similar fixes needed in other files. Jim ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error compiling PyKde 3.16.0
Am getting the following output after running python configure.py with no switches any help with resolving it would be appriciated many thanks Mark Robinson PyKDE version 3.16.0 --- Python include directory is /usr/include/python2.4 Python version is 2.4.3 sip version is snapshot-20061015 (4.4.0) Qt directory is /usr/lib/qt-3.3 Qt version is 3.3.6 PyQt directory is /usr/share/sip PyQt version is 3.16 (3.16.0) gcc version 4.1.1 concatenating files KDE base directory is /usr KDE include directory is /usr/include/kde KDE lib directory is /usr/lib lib directory is lib *** True KDE version is 0x30504 -- building for KDE 0x30503 *** KDE version is 3.5.3 (0x30503) PyKDE modules will be installed in /usr/lib/python2.4/site-packages PyKDE .sip files will be installed in /usr/share/sip PyKDE modules to be built: dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts khtml kspell kdeprint kmdi Generating the C++ source for the dcop module... sip: QColor::rgb() has overloaded functions with the same Python signature Error: Unable to create the C++ code. ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error while installing
On Monday 02 October 2006 05:08, Kushal Das wrote: > sip version is 4.3.1 (4.3.1) > PyQt directory is /usr/share/sip > PyQt version is 3.15 (3.15.0) > sipcfg.error("This version of PyKDE requires SIP v%s or later" % > sipcfg.version_to_string(minv)) > File "/usr/lib/python2.4/site-packages/sipconfig.py", line 169, in > __getattr__raise AttributeError, "\"%s\" is not a valid configuration > value or user option" % name > AttributeError: "error" is not a valid configuration value or user option > > > What to do ? The error message isn't very elegant - I'll have to fix that. PyKDE 3.16.0 requires sip >= 4..4.0 and PyQt >= 3.16.0. Both are available at http://riverbankcomputing.co.uk Jim ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error while installing
> Hi, > I was trying to install PyKDE 3.16 on a Fedora Core 5 system, got the > following error: > > python configure.py > > PyKDE version 3.16.0 >--- > > Python include directory is /usr/include/python2.4 > Python version is 2.4.2 > > sip version is 4.3.1 (4.3.1) > > Qt directory is /usr/lib/qt-3.3 > Qt version is 3.3.5 > > PyQt directory is /usr/share/sip > PyQt version is 3.15 (3.15.0) > > gcc version 4.1.1 > concatenating files > > > If reporting errors, paste all of the output above into your > message and post to the PyKDE mailing list at: > > mailto:PyKDE@mats.imk.fraunhofer.de > subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > > You can redirect the output into a file (> output.txt) if needed > > > An internal error occured. Please report all output from the program, > including the following traceback, to the PyKDE mailing list > > Traceback (most recent call last): > File "configure.py", line 940, in ? > main(sys.argv) > File "configure.py", line 879, in main > init_and_check_sanity () > File "configure.py", line 187, in init_and_check_sanity > sipcfg.error("This version of PyKDE requires SIP v%s or later" % > sipcfg.version_to_string(minv)) > File "/usr/lib/python2.4/site-packages/sipconfig.py", line 169, in > __getattr__raise AttributeError, "\"%s\" is not a valid configuration > value or user option" % name > AttributeError: "error" is not a valid configuration value or user option > > > What to do ? Install an up to date version of SIP and PyQt. Phil ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error while installing
Hi, I was trying to install PyKDE 3.16 on a Fedora Core 5 system, got the following error: python configure.py PyKDE version 3.16.0 --- Python include directory is /usr/include/python2.4 Python version is 2.4.2 sip version is 4.3.1 (4.3.1) Qt directory is /usr/lib/qt-3.3 Qt version is 3.3.5 PyQt directory is /usr/share/sip PyQt version is 3.15 (3.15.0) gcc version 4.1.1 concatenating files If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:PyKDE@mats.imk.fraunhofer.de subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed An internal error occured. Please report all output from the program, including the following traceback, to the PyKDE mailing list Traceback (most recent call last): File "configure.py", line 940, in ? main(sys.argv) File "configure.py", line 879, in main init_and_check_sanity () File "configure.py", line 187, in init_and_check_sanity sipcfg.error("This version of PyKDE requires SIP v%s or later" % sipcfg.version_to_string(minv)) File "/usr/lib/python2.4/site-packages/sipconfig.py", line 169, in __getattr__raise AttributeError, "\"%s\" is not a valid configuration value or user option" % name AttributeError: "error" is not a valid configuration value or user option What to do ? Regards, Kushal pgpsmK7Hic1Uu.pgp Description: PGP signature ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error: already an enum in scope with the same Python name
On Tuesday 01 August 2006 00:21, jeason wrote: > Generating the C++ source for the kdecore module... > sip: sip/kdecore/netwm_def.sip:410: There is already an enum in scope > with the same Python name > Error: Unable to create the C++ code. In sip//kdecore/netwm_def.sip, beginning at line 305, delete or comment out (//) the entire enum Property2 (as shown here): enum Property2 { WM2UserTime, WM2StartupId, WM2TransientFor, WM2GroupLeader, WM2AllowedActions, WM2RestackWindow, WM2MoveResizeWindow, WM2ExtendedStrut, WM2TakeActivity, WM2KDETemporaryRules, WM2WindowClass, WM2WindowRole, WM2ClientMachine, WM2ShowingDesktop }; It's a mistake in versioning which only affects KDE 3.5.0 Jim ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error: already an enum in scope with the same Python name
Hi! When I'm trying to compile PyKDE from source I get the attached error message. Do you have any suggestion to solve the problem? (I've found the same error in the mail archive, but not the solution.) Thanks! jeason python configure.py PyKDE version 3.15.2 --- Python include directory is /usr/include/python2.4 Python version is 2.4.0 sip version is 4.4.5 (4.4.5) Qt directory is /usr/lib/qt Qt version is 3.3.4 PyQt directory is /usr/share/sip PyQt version is 3.16 (3.16.0) gcc version 3.2.2 concatenating files KDE base directory is /usr/ KDE include directory is /usr/include KDE lib directory is /usr/lib lib directory is lib KDE version is 3.5.0 (0x30500) PyKDE modules will be installed in /usr/lib/python2.4/site-packages PyKDE .sip files will be installed in /usr/share/sip PyKDE modules to be built: dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts khtml kspell kdeprint kmdi Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... sip: sip/kdecore/netwm_def.sip:410: There is already an enum in scope with the same Python name Error: Unable to create the C++ code. If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:PyKDE@mats.imk.fraunhofer.de subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error raised during Eric project creation
On Thursday 13 July 2006 23:29, Laurent Dufréchou wrote: > Hi guys, > > I've tried tonight to create my first eric project, thus with SVN support. > I've replied to all the question, selected the file:// protocol and > selected an svn directory: > /mnt/data2/Boulot/svnrepos/pyScp > (svnrepos was created before eric project creation) > Validating my choise I 've got this error in stdout widget: > > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/eric3/Project/Project.py", line > 1859, in newProject > self.vcs.vcsConvertProject(vcsDataDict, self) > File > "/usr/lib/python2.4/site-packages/eric3/VCS/subversionPackage/subversion.py >", line 122, in vcsConvertProject > success = self.vcsImport(vcsDataDict, project.ppath)[0] > File > "/usr/lib/python2.4/site-packages/eric3/VCS/subversionPackage/subversion.py >", line 200, in vcsImport > shutil.copytree(projectDir, os.path.join(tmpDir, project, 'trunk')) > File "/usr/lib/python2.4/shutil.py", line 132, in copytree > raise Error, errors > shutil.Error: [(u'/mnt/data2/Boulot/pyScp/pyScp.e3p', > u'/mnt/data2/Boulot/pyScp_tmp/pyScp/trunk/pyScp.e3p', > )] > > Any idea of what is triggering this? > If normal, (wrong manipulation form my part) perhaps the error could be > catched, thus to re-ask the user the wrong parameters? > > regards, > > Laurent Hi, I think the error is raised because you have no rights to write to the mentioned directory. I assume, that /mnt/data2/Boulot/svnrepos/pyScp is your repository path and you want to Create a new eric project from repository (i.e. perform a checkout). That is done by the following steps. 1. Select Project menu -> Version Control -> New from repository 2. Select Subversion 3. Enter the following Protocol: file:// URL: /mnt/data2/Boulot/svnrepos/pyScp Tag: leave empty Project Directory: Enter (or select) a directory, where the checked out files should be copied to Repository has standard layout: uncheck, if it doesn't have the recommended layout (see below) 4. Press OK. Standard layout would be .../pyScp/trunk (for the development), .../pyScp/tags (for tags) and .../pyScp/branches (for branches) I hope this helps. Regards, Detlev -- Detlev Offenbach [EMAIL PROTECTED] ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error raised during Eric project creation
Hi guys, I've tried tonight to create my first eric project, thus with SVN support. I've replied to all the question, selected the file:// protocol and selected an svn directory: /mnt/data2/Boulot/svnrepos/pyScp (svnrepos was created before eric project creation) Validating my choise I 've got this error in stdout widget: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/eric3/Project/Project.py", line 1859, in newProject self.vcs.vcsConvertProject(vcsDataDict, self) File "/usr/lib/python2.4/site-packages/eric3/VCS/subversionPackage/subversion.py", line 122, in vcsConvertProject success = self.vcsImport(vcsDataDict, project.ppath)[0] File "/usr/lib/python2.4/site-packages/eric3/VCS/subversionPackage/subversion.py", line 200, in vcsImport shutil.copytree(projectDir, os.path.join(tmpDir, project, 'trunk')) File "/usr/lib/python2.4/shutil.py", line 132, in copytree raise Error, errors shutil.Error: [(u'/mnt/data2/Boulot/pyScp/pyScp.e3p', u'/mnt/data2/Boulot/pyScp_tmp/pyScp/trunk/pyScp.e3p', )] Any idea of what is triggering this? If normal, (wrong manipulation form my part) perhaps the error could be catched, thus to re-ask the user the wrong parameters? regards, Laurent ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] PyKDE error
On Friday 28 April 2006 11:50 pm, Fernando Guillamon wrote: > An internal error occured. Please report all output from the program, > including the following traceback, to the PyKDE mailing list > > Traceback (most recent call last): > File "configure.py", line 934, in ? > main(sys.argv) > File "configure.py", line 872, in main > inform_user (0) > File "configure.py", line 249, in inform_user > sipconfig.inform ("Qt directory is %s" % pyqtcfg.qt_dir) > File "/usr/lib/python2.4/site-packages/sipconfig.py", line 179, in > __getattr__ > raise AttributeError, "\"%s\" is not a valid configuration value or > user option" % name > AttributeError: "qt_dir" is not a valid configuration value or user option Which versions of SIP, PyQt and PyKDE are you using? Phil ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] PyKDE error
An internal error occured. Please report all output from the program,including the following traceback, to the PyKDE mailing listTraceback (most recent call last): File "configure.py", line 934, in ? main(sys.argv) File "configure.py", line 872, in main inform_user (0) File "configure.py", line 249, in inform_user sipconfig.inform ("Qt directory is %s" % pyqtcfg.qt_dir ) File "/usr/lib/python2.4/site-packages/sipconfig.py", line 179, in __getattr__ raise AttributeError, "\"%s\" is not a valid configuration value or user option" % nameAttributeError: "qt_dir" is not a valid configuration value or user option -- [EMAIL PROTECTED] ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] PyKDE Error
On Monday 14 November 2005 08:03, DaBlade wrote: > I was trying to compile PyKDE, and got this error: > sip version is 4.3.1 (4.3.1) > Generating the C++ source for the dcop module... > sh: /usr/bin/sip: No such file or directory > Error: Unable to create the C++ code. What directory is sip installed in? Jim ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] PyKDE Error
I was trying to compile PyKDE, and got this error: PyKDE version 4.0.0 --- Python include directory is /usr/include/python2.3 Python version is 2.3.5 sip version is 4.3.1 (4.3.1) Qt directory is /usr/share/qt3 Qt version is 3.3.5 PyQt directory is /usr/share/sip/qt PyQt version is 3.15 (3.15.0) KDE base directory is /usr KDE include directory is /usr/include/kde KDE lib directory is /usr/lib lib directory is lib *** True KDE version is 0x30402 -- building for KDE 0x30400 *** KDE version is 3.4.0 (0x30400) PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip PyKDE modules to be built: dcop kdecore kdefx kdeui kio kutils kfile kparts khtml kspell kdeprint kmdi Generating the C++ source for the dcop module... sh: /usr/bin/sip: No such file or directory Error: Unable to create the C++ code. If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:PyKDE@mats.imk.fraunhofer.de subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error running Eric3
Am Samstag, 3. September 2005 03:57 schrieb Jean-Yves Avenard: > Hello Detlev > > Thank you for your answer.. > > On 03/09/2005, at 2:11 AM, Detlev Offenbach wrote: > > Change this line to read > > self.setSorting(2) > > Did this change fixed the issue thank you > > > This will be fixed in the next release. Please be aware, that eric3 > > 3.7.1 and > > earlier will not work with PyQt 3.15. > > May I ask what will not work with PyQt 3.15? That's what I have > installed on my machine, and so far I can't see anything not working. During the development of PyQt 3.15 Phil changed his code so that a None object is not converted to a QString.null or empty QString anymore. This broke code within eric3 in several places. Unless Phil hasn't changed this again for the final release of PyQt 3.15, the problem with eric3 3.7.1 and earlier should occur very soon. > I have tried to compile PyQt 3.14-1 just in case, but this one > wouldn't compile against the version of Qt RedHat 9 is running. > > Cheers > Jean-Yves > > --- > Jean-Yves Avenard > Hydrix Pty Ltd - Embedding the net > www.hydrix.com | fax +61 3 8573 5200 | office +61 3 8573 5299 | > direct +61 3 8573 5200 Detlev -- Detlev Offenbach [EMAIL PROTECTED] ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error running Eric3
Hello DetlevThank you for your answer..On 03/09/2005, at 2:11 AM, Detlev Offenbach wrote:Change this line to read self.setSorting(2) Did this change fixed the issue thank you This will be fixed in the next release. Please be aware, that eric3 3.7.1 and earlier will not work with PyQt 3.15. May I ask what will not work with PyQt 3.15? That's what I have installed on my machine, and so far I can't see anything not working.I have tried to compile PyQt 3.14-1 just in case, but this one wouldn't compile against the version of Qt RedHat 9 is running.CheersJean-Yves --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 8573 5200 | office +61 3 8573 5299 | direct +61 3 8573 5200 ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error running Eric3
Am Freitag, 2. September 2005 11:50 schrieb Jean-Yves Avenard: > Dear all. > > I have to admit I'm very new to PyQt and Eric3. > > I am running Linux RedHat 9. > I installed python2.4, qt-mt, PyQt, QScintilla, sip-4.3 as described in > the README file in Eric3. > Then installed eric3. > > When I just run eric3 it gets to display the logo, then dies with the > following errors (attached at the bottom of the email). > > Google and other search engines haven't returned any useful help. > > Any suggestions, help? > Thank you in advance > Kind Regards > Jean-Yves > > [EMAIL PROTECTED] avenardj]$ eric3 > Warning: translation file 'qt_en_AU.UTF-8'could not be loaded. > Using default. > Warning: translation file 'eric3_en_AU.UTF-8'could not be loaded. > Using default. > Warning: translation file 'qscintilla_en_AU.UTF-8'could not be loaded. > Using default. > QObject::connect: No such signal > QListView::doubleClicked(QListViewItem*,const QPoint&,int) > QObject::connect: (sender name: 'unnamed') > QObject::connect: (receiver name: 'unnamed') > QObject::connect: No such signal > QListView::doubleClicked(QListViewItem*,const QPoint&,int) > QObject::connect: (sender name: 'unnamed') > QObject::connect: (receiver name: 'unnamed') > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/eric3/eric3.py", line 123, in ? > main() > File "/usr/lib/python2.4/site-packages/eric3/eric3.py", line 109, in > main > mw = UserInterface(loc, splash) > File "/usr/lib/python2.4/site-packages/eric3/UI/UserInterface.py", > line 189, in __init__ > self.createLayout(dbs) > File "/usr/lib/python2.4/site-packages/eric3/UI/UserInterface.py", > line 583, in createLayout > self.taskViewer = TaskViewer(self.taskViewerDock, self.project) > File "/usr/lib/python2.4/site-packages/eric3/UI/TaskViewer.py", line > 183, in __init__ > self.setSortColumn(2) Change this line to read self.setSorting(2) This will be fixed in the next release. Please be aware, that eric3 3.7.1 and earlier will not work with PyQt 3.15. > AttributeError: setSortColumn > [EMAIL PROTECTED] avenardj]$ > > > ___ > PyKDE mailing listPyKDE@mats.imk.fraunhofer.de > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde Detlev -- Detlev Offenbach [EMAIL PROTECTED] ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error running Eric3
Dear all. I have to admit I'm very new to PyQt and Eric3. I am running Linux RedHat 9. I installed python2.4, qt-mt, PyQt, QScintilla, sip-4.3 as described in the README file in Eric3. Then installed eric3. When I just run eric3 it gets to display the logo, then dies with the following errors (attached at the bottom of the email). Google and other search engines haven't returned any useful help. Any suggestions, help? Thank you in advance Kind Regards Jean-Yves [EMAIL PROTECTED] avenardj]$ eric3 Warning: translation file 'qt_en_AU.UTF-8'could not be loaded. Using default. Warning: translation file 'eric3_en_AU.UTF-8'could not be loaded. Using default. Warning: translation file 'qscintilla_en_AU.UTF-8'could not be loaded. Using default. QObject::connect: No such signal QListView::doubleClicked(QListViewItem*,const QPoint&,int) QObject::connect: (sender name: 'unnamed') QObject::connect: (receiver name: 'unnamed') QObject::connect: No such signal QListView::doubleClicked(QListViewItem*,const QPoint&,int) QObject::connect: (sender name: 'unnamed') QObject::connect: (receiver name: 'unnamed') Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/eric3/eric3.py", line 123, in ? main() File "/usr/lib/python2.4/site-packages/eric3/eric3.py", line 109, in main mw = UserInterface(loc, splash) File "/usr/lib/python2.4/site-packages/eric3/UI/UserInterface.py", line 189, in __init__ self.createLayout(dbs) File "/usr/lib/python2.4/site-packages/eric3/UI/UserInterface.py", line 583, in createLayout self.taskViewer = TaskViewer(self.taskViewerDock, self.project) File "/usr/lib/python2.4/site-packages/eric3/UI/TaskViewer.py", line 183, in __init__ self.setSortColumn(2) AttributeError: setSortColumn [EMAIL PROTECTED] avenardj]$ ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error while reading coverage after unit tests on Eric3
Am Freitag, 10. Juni 2005 12:19 schrieb Marco Bizzarri: > Hi all. > > I'm trying to get the coverage from a run of a ZopeTestCase. When I try > to see the coverage, here is the result. > > File "/usr/lib/python2.3/site-packages/eric3/Project/Project.py", line > 3229, in handleCodeCoverage > self.codecoverage.start(fn, files) > File "/usr/lib/python2.3/site-packages/eric3/UI/PyCoverageDialog.py", > line 144, in start > _, statements, excluded, missing, readable = cover.analysis2(file) > File "/usr/lib/python2.3/site-packages/eric3/Debugger/PyCoverage.py", > line 601, in analysis2 > filename, statements, excluded = self.analyze_morf(morf) > File "/usr/lib/python2.3/site-packages/eric3/Debugger/PyCoverage.py", > line 490, in analyze_morf > lines, excluded_lines = self.find_executable_statements( > File "/usr/lib/python2.3/site-packages/eric3/Debugger/PyCoverage.py", > line 545, in find_executable_statements > tree = parser.suite(text+'\n\n').totuple(1) > File "", line 4 > > Any suggestions? > > Regards > Marco > Please send me the script and the coverage file. Over here it seems to work fine. Detlev -- Detlev Offenbach [EMAIL PROTECTED] ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error while reading coverage after unit tests on Eric3
Hi all. I'm trying to get the coverage from a run of a ZopeTestCase. When I try to see the coverage, here is the result. File "/usr/lib/python2.3/site-packages/eric3/Project/Project.py", line 3229, in handleCodeCoverage self.codecoverage.start(fn, files) File "/usr/lib/python2.3/site-packages/eric3/UI/PyCoverageDialog.py", line 144, in start _, statements, excluded, missing, readable = cover.analysis2(file) File "/usr/lib/python2.3/site-packages/eric3/Debugger/PyCoverage.py", line 601, in analysis2 filename, statements, excluded = self.analyze_morf(morf) File "/usr/lib/python2.3/site-packages/eric3/Debugger/PyCoverage.py", line 490, in analyze_morf lines, excluded_lines = self.find_executable_statements( File "/usr/lib/python2.3/site-packages/eric3/Debugger/PyCoverage.py", line 545, in find_executable_statements tree = parser.suite(text+'\n\n').totuple(1) File "", line 4 Any suggestions? Regards Marco ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error with kdebindings
At installation kdebindings-3.3.92 (all installations by default) there is a message (after make) export PYTHONPATH = $ builddir/pykde: $ PYTHONPATH; \ cd ./pykde; \ export QTDIR =/usr/qt/; \ /usr/local/bin/python configure.py-c-d/usr/local/lib/python2.3/site-packages-v/usr/local/kde/share/sip/-t "$builddir/pykde" Error: Couldn't locate KDE3 include directory (/usr is KDE base) PyKDE version 3.11.3 --- Python include directory is/usr/local/include/python2.3 Python version is 2.3.4 sip version is 4.1.1 (4.1.1) Qt directory is/usr/qt/ Qt version is 3.3.4 PyQt directory is/usr/local/kdebindings-3.3.92/python/pyqt/sip PyQt version is 3.13 (3.13.0) The build directory is/usr/local/kdebindings-3.3.92/python/pykde. If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:PyKDE@mats.imk.fraunhofer.de subscribe:http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed Why? ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error generating code
On Friday 29 April 2005 08:34, lapo wrote: > Hi i got this stiky error: > > sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope > with the same Python name > Error: Unable to create the C++ code. In the file indicated, delete the following lines around line 85, then re-run configure.py and make. Change: public: //force enum Other { }; //end public: //force //enum Other //{ //}; //end The other alternative is to download the snapshot which already has this fixed. Snapshots are at http://www.riverbankcomputing.co.uk/download/snapshots/PyKDE If you're using gcc >= 3.4, you might want to use the kde-bindings version or KDE CVS version of PyKDE. gcc 3.4 and greater will produce "missing symbols" errors with the snapshot. There duplicate enum error above is a problem with more recent sip versions - earlier sip versions ignored it. Jim ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error grnerating code
Hi i got this stiky error: sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope with the same Python name Error: Unable to create the C++ code. The output: PyKDE version 3.11.1 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.2.1 (4.2.1) Qt directory is /usr/lib/qt3/ Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.14.1 (3.14.1) KDE base directory is /usr KDE include directory is /usr/include KDE lib directory is /usr/lib KDE version is 3.2.0 (0x30200) PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:PyKDE@mats.imk.fraunhofer.de subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed -- mailto:[EMAIL PROTECTED] ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error generating code
Hi i got this stiky error: sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope with the same Python name Error: Unable to create the C++ code. The output: PyKDE version 3.11.1 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.2.1 (4.2.1) Qt directory is /usr/lib/qt3/ Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.14.1 (3.14.1) KDE base directory is /usr KDE include directory is /usr/include KDE lib directory is /usr/lib KDE version is 3.2.0 (0x30200) PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:PyKDE@mats.imk.fraunhofer.de subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed -- mailto:[EMAIL PROTECTED] ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [review] [PyKDE] PyKDE Error
On Tuesday 01 March 2005 09:44, Marcelo Bovo wrote: > Hi, > Sorry to bother you but I haven't found any clue about this on the > docs. I've compiled and installed succesfully PyQT and Sip, but when I > try to configure the PyKDE sources for compilation I get this error > "sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in > scope with the same Python name" In the file indicated, delete the following lines around line 85, then re-run configure.py and make. public: //force enum Other { }; //end The other alternative is to download the snapshot which already has this fixed. However, I expect a new snapshot to be released in a day or two, so you might want to wait for that. Jim ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] PyKDE Error
On Tuesday 01 March 2005 00:19, Marcelo Bovo wrote: > Hi, > Sorry to bother you but I haven't found any clue about this on > the docs. I've compiled and installed succesfully PyQT and Sip, but > when I try to configure the PyKDE sources for compilation I get > this error > > "sip: sip/kdecore/kshortcutlist.sip:85: There is already an > enum in scope with the same Python name" > > Any hints/clues? Sure, either downgrade sip to 4.1.1 or try the PyKDE snapshot.. Pete ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] PyKDE Error
Hi, Sorry to bother you but I haven't found any clue about this on the docs. I've compiled and installed succesfully PyQT and Sip, but when I try to configure the PyKDE sources for compilation I get this error "sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope with the same Python name" Any hints/clues? Thanks Marcelo PD: Attached you will find the complete configure.py output. [EMAIL PROTECTED]:~/PyKDE-3.11.3# python configure.py PyKDE version 3.11.3 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.2 (4.2.0) Qt directory is /usr/lib/qt Qt version is 3.3.2 PyQt directory is /usr/share/sip PyQt version is 3.14 (3.14.0) KDE base directory is /opt/kde KDE include directory is /opt/kde/include KDE lib directory is /opt/kde/lib KDE version is 3.2.3 (0x30203) PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope with the same Python name Error: Unable to create the C++ code. If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:PyKDE@mats.imk.fraunhofer.de subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed [EMAIL PROTECTED]:~/PyKDE-3.11.3#___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error report
On Monday 31 January 2005 06:20, Michal Zachar wrote: > Error: Couldn't locate KDE3 include directory (/usr is KDE base) This indicates configure.py is finding something that looks like the KDE base directory in /usr; apparently it should be /opt/kde-3.3.2. You may have an older KDE directory in /usr, but it doesn't have a valid include/ directory. In your environment, setting KDEDIR=/opt/kde-3.3.2 should fix the problem. You can also use switches to the configure.py command line to set the directories: -k dir the KDE base directory -n dir the directory containing the KDE lib files -o dir the directory containing the KDE header files e.g. : python configure.py -k /opt/kde-3.3.2 configure.py searches for "/opt/kde3", but not for any variations on that, since they're not standard usage for the various Linux distributions. You should also be using the PyKDE snapshot with KDE 3.3.2, not the "official" release. I haven't tested those switches in a while, so please report back if it doesn't work correctly. Jim ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error report
> cd pykde && export QTDIR=/opt/qt/ && /usr/bin/python configure.py -c -d /usr/lib/python2.3/site-packages -v /opt/kde-3.3.2/share/sip/ PyKDE version 3.11.1 --- Python include directory is /usr/include/python2.3 Python version is 2.3.3 sip version is 4.0.1 (4.0.1) Qt directory is /opt/qt/ Qt version is 3.3.3 PyQt directory is ../pyqt/sip PyQt version is 3.12 (3.12.0) Error: Couldn't locate KDE3 include directory (/usr is KDE base) This is extract from config.log kde_includes='/opt/kde-3.3.2/include' kde_kcfgdir='${datadir}/config.kcfg' kde_libraries='/opt/kde-3.3.2/lib' kde_libs_htmldir='/opt/kde-3.3.2/share/doc/HTML' kde_libs_prefix='/opt/kde-3.3.2' kde_locale='${datadir}/locale' kde_mimedir='${datadir}/mimelnk' kde_moduledir='${libdir}/kde3' libdir='${exec_prefix}/lib' lexec_prefix='${prefix}' prefix='/opt/kde-3.3.2' If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:PyKDE@mats.imk.fraunhofer.de subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde Regard Michael t QTDIR=/opt/qt/ && /usr/bin/python configure.py -c -d /usr/lib/python2.3/site-packages -v /opt/kde-3.3.2/share/sip/ PyKDE version 3.11.1 --- Python include directory is /usr/include/python2.3 Python version is 2.3.3 sip version is 4.0.1 (4.0.1) Qt directory is /opt/qt/ Qt version is 3.3.3 PyQt directory is ../pyqt/sip PyQt version is 3.12 (3.12.0) Error: Couldn't locate KDE3 include directory (/usr is KDE base) -=x=- Skontrolované antivírovým programom NOD32 ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error
PyKDE version 3.11.3 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.0.1 (4.0.1) Qt directory is /usr/share/qt3 Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.13 (3.13.0) If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:[EMAIL PROTECTED] subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed HELP-MEE _ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com PyKDE version 3.11.3 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.0.1 (4.0.1) Qt directory is /usr/share/qt3 Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.13 (3.13.0) If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:[EMAIL PROTECTED] subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error building PyKDE
Hi, I'm having this error trying to build the latest PyKDE release with KDE built from a fresh CVS copy.. yes, I know that it was meant to work with stable releases of KDE.. but if you can give a suggestion on where to take a look to correct it.. thank you matteo merli [EMAIL PROTECTED] PyKDE-3.11.3]$ python configure.py PyKDE version 3.11.3 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.1.1 (4.1.1) Qt directory is /usr/lib/qt-3.3 Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.13 (3.13.0) KDE base directory is /usr KDE include directory is /usr/include KDE lib directory is /usr/lib KDE version is 3.3.89 (0x30359) PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kutils kfile kparts khtml kspell kdeprint kmdi Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... sip: KLockFile::Ptr is undefined Error: Unable to create the C++ code. If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:[EMAIL PROTECTED] subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed -- Matteo Merli <[EMAIL PROTECTED]> ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyKDE
On Fri, 15 Oct 2004 11:27:44 -0700, Jim Bublitz wrote > On Friday 15 October 2004 10:48, [EMAIL PROTECTED] wrote: > > > Sorry, Jim. I was too fast with finger pointing. A look in the Mandrake > > patches for KDE-3.2.3 confirms that Mandrake changed the API of their > > header files. > > > It comes as a shock to me that a distribution can change the API that > > much (it is a pain for developers and PyKDE must catch them all). > > No problem - it always surprises me when distributors make changes. > I suspect it comes from trying to stay on top of the latest KDE > release, because most of the problems look like leftovers from > earlier (probably beta) releases rather than things that actually > need to be changed to make KDE functional. > > > Maybe it is possible to make a tool which parses the g++ compiler errors > > and suggest possible fixes, mails the fixes to you and/or some public > > repository *and* the guilty Linux distributor :-). > > Nowadays the compiler errors are so clear that I could suggest the fix by > > looking at the sip file in question (without seeing the header file). > > So, it looks possible to catch most of those unofficial API changes > > automatically. > > The fixes are usually pretty simple. Roberto Alsina pointed out that > at least some distros include an /etc/*release file (eg I have > /etc/SuSE-release on this system). I can use that to tailor a > version with configure.py if it's present on enough distributions. > > To answer my own question about how to implement this: I think > enough people use PyKDE for "personal" applications that it makes > sense to make all usable features available. That would mean (in the > case in this thread), that setFileName would be available to > everyone except Mandrake users. People who write applications for Agreed, of course. But if users can keep distributions from making such changes, we would not spent hours on workarounds :-) (distro's crank out new releases too fast) > more general use would need to be aware that setFileName isn't > available on Mandrake, but that's no different than what a C++ > programmer would have to do in the current situation. > > The philosophy behind PyKDE has always been to make as much of KDE > available as is reasonably possible and I'd like to continue that. > > Once again, I'm not picking on Mandrake - similar things happen on > every distribution. > No problem. I like Mandrake very much, because of the way they interact with their community, but on some of my systems I run SuSE, because SuSE's kernels are more stable. Anyhow, this Mandrake has: [EMAIL PROTECTED] packer]$ cat /etc/mandrake-release Mandrake Linux release 10.0 (Official) for i586 [EMAIL PROTECTED] packer]$ cat /etc/redhat-release Mandrake Linux release 10.0 (Official) for i586 All Mandrake's I know have also an /etc/redhat-release Gerard ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyKDE
On Friday 15 October 2004 10:48, [EMAIL PROTECTED] wrote: > Sorry, Jim. I was too fast with finger pointing. A look in the Mandrake > patches for KDE-3.2.3 confirms that Mandrake changed the API of their > header files. > It comes as a shock to me that a distribution can change the API that > much (it is a pain for developers and PyKDE must catch them all). No problem - it always surprises me when distributors make changes. I suspect it comes from trying to stay on top of the latest KDE release, because most of the problems look like leftovers from earlier (probably beta) releases rather than things that actually need to be changed to make KDE functional. > Maybe it is possible to make a tool which parses the g++ compiler errors > and suggest possible fixes, mails the fixes to you and/or some public > repository *and* the guilty Linux distributor :-). > Nowadays the compiler errors are so clear that I could suggest the fix by > looking at the sip file in question (without seeing the header file). > So, it looks possible to catch most of those unofficial API changes > automatically. The fixes are usually pretty simple. Roberto Alsina pointed out that at least some distros include an /etc/*release file (eg I have /etc/SuSE-release on this system). I can use that to tailor a version with configure.py if it's present on enough distributions. To answer my own question about how to implement this: I think enough people use PyKDE for "personal" applications that it makes sense to make all usable features available. That would mean (in the case in this thread), that setFileName would be available to everyone except Mandrake users. People who write applications for more general use would need to be aware that setFileName isn't available on Mandrake, but that's no different than what a C++ programmer would have to do in the current situation. The philosophy behind PyKDE has always been to make as much of KDE available as is reasonably possible and I'd like to continue that. Once again, I'm not picking on Mandrake - similar things happen on every distribution. Jim ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyKDE
On Fri, 15 Oct 2004 10:10:13 -0700, Jim Bublitz wrote > On Friday 15 October 2004 00:00, Gerard Vermeulen wrote: > > > > >Comment out (put // in front of) void setFileName in the lines > > > > > > > >%If ( - KDE_3_3_0 ) > > > > KCatalogue (const QString& = QString ::null ); > > > >void setFileName (const QString&); > > > >%End > > > > > > > > > > > >}; // class KCatalogue > > > > > > > >of the file > > > > > > > >sip/kdecore/kcatalogue.sip lines 23-60/60 (END) > > > > > > > >Wipe out features, run python configure.py, run make > > > > > > It's going :) > > > > > > Since I don't understand what's going on... can you please tell me if > > > this a PyKDE bug or a mandrake one? (if I post a bug to mandrake > > > cooker's list I will post both) > > > > Thanks again, > > > I think it is a PyKDE bug. The sip file declares setFileName as public > > while it has been declared private in the KDE header files (the sip > > file should match the header file). > > > Mandrake would never change such a standard header file. > > Sorry, but the distribution guys, including Mandrake, do make > occasional changes to standard header files, and those changes break > PyKDE and sometimes PyQt. > Sorry, Jim. I was too fast with finger pointing. A look in the Mandrake patches for KDE-3.2.3 confirms that Mandrake changed the API of their header files. It comes as a shock to me that a distribution can change the API that much (it is a pain for developers and PyKDE must catch them all). Mauro, you know what to do :-) > > In this particular case, setFileName is declared public in the h > file I used to generate PyKDE. I get my h files from kde.org most > often, or occasionally a kde.org mirror. That would indicate to me > it's a change in Mandrake. I can point to similar problems in the > past with RH or SuSE. > > It's also quite possible that the Mandrake h files don't agree with > the compiled libs (ie - this method might be public in libkdecore on > Mandrake). I don't know that that's the case, but that kind of thing > happens too. > > As far as a solution to this kind of problem, I don't know of any > reliable way to detect the distribution being used (any suggestions > welcome). The other alternative is to provide a "distribution" > switch for building PyKDE, but the success of that depends on a) > users actually using it and b) me being aware of problems like this > ahead of time. > > The other alternative is to provide a "least common denominator" > PyKDE. In this case, that means anyone wanting to use KCatalogue > would not have access to the setFileName method because of the error > in the Mandrake h file. I don't know if that's a big deal or not. I > don't like it as a policy, but that would also be necessary to allow > PyKDE-based apps to run on any platform. > > I'd be interested in people's input about how to handle this kind of > thing. > Maybe it is possible to make a tool which parses the g++ compiler errors and suggest possible fixes, mails the fixes to you and/or some public repository *and* the guilty Linux distributor :-). Nowadays the compiler errors are so clear that I could suggest the fix by looking at the sip file in question (without seeing the header file). So, it looks possible to catch most of those unofficial API changes automatically. Gerard ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyKDE
On Friday 15 October 2004 00:36, Maurizio Colucci wrote: > Gerard Vermeulen wrote: > >>>Comment out (put // in front of) void setFileName in the lines > >>> > >>>%If ( - KDE_3_3_0 ) > >>>KCatalogue (const QString& = QString ::null ); > >>> void setFileName (const QString&); > >>>%End > >>> > >>> > >>>of the file > >>> > >>>sip/kdecore/kcatalogue.sip lines 23-60/60 (END) > >>> > >>>Wipe out features, run python configure.py, run make > >> > >>It's going :) > >> > >>Since I don't understand what's going on... can you please tell me if > >>this a PyKDE bug or a mandrake one? (if I post a bug to mandrake > >>cooker's list I will post both) > >> > >>Thanks again, > > > >I think it is a PyKDE bug. The sip file declares setFileName as public > >while it has been declared private in the KDE header files (the sip > >file should match the header file). > > > >Mandrake would never change such a standard header file. > > Phil? Jim? Are you aware of this problem? Phil doesn't do anything directly on PyKDE (obviously without Phil there wouldn't be any PyKDE though). I'm aware of it now, but I'm not sure how to handle this type of problem, which is a Mandrake problem and not a PyKDE problem. See my reply to Gerard earlier in the thread. Jim ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyKDE
On Friday 15 October 2004 00:00, Gerard Vermeulen wrote: > > >Comment out (put // in front of) void setFileName in the lines > > > > > >%If ( - KDE_3_3_0 ) > > > KCatalogue (const QString& = QString ::null ); > > >void setFileName (const QString&); > > >%End > > > > > > > > >}; // class KCatalogue > > > > > >of the file > > > > > >sip/kdecore/kcatalogue.sip lines 23-60/60 (END) > > > > > >Wipe out features, run python configure.py, run make > > > > It's going :) > > > > Since I don't understand what's going on... can you please tell me if > > this a PyKDE bug or a mandrake one? (if I post a bug to mandrake > > cooker's list I will post both) > > Thanks again, > I think it is a PyKDE bug. The sip file declares setFileName as public > while it has been declared private in the KDE header files (the sip > file should match the header file). > Mandrake would never change such a standard header file. Sorry, but the distribution guys, including Mandrake, do make occasional changes to standard header files, and those changes break PyKDE and sometimes PyQt. In this particular case, setFileName is declared public in the h file I used to generate PyKDE. I get my h files from kde.org most often, or occasionally a kde.org mirror. That would indicate to me it's a change in Mandrake. I can point to similar problems in the past with RH or SuSE. It's also quite possible that the Mandrake h files don't agree with the compiled libs (ie - this method might be public in libkdecore on Mandrake). I don't know that that's the case, but that kind of thing happens too. As far as a solution to this kind of problem, I don't know of any reliable way to detect the distribution being used (any suggestions welcome). The other alternative is to provide a "distribution" switch for building PyKDE, but the success of that depends on a) users actually using it and b) me being aware of problems like this ahead of time. The other alternative is to provide a "least common denominator" PyKDE. In this case, that means anyone wanting to use KCatalogue would not have access to the setFileName method because of the error in the Mandrake h file. I don't know if that's a big deal or not. I don't like it as a policy, but that would also be necessary to allow PyKDE-based apps to run on any platform. I'd be interested in people's input about how to handle this kind of thing. Jim ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyQt 3.13
Simon Edwards wrote: On Thursday 14 October 2004 20:39, Maurizio Colucci wrote: Hello, I am trying to install PyQt (and PyKDE, hopefully) on mandrake 10.1 community (since sadly there are no RPM packages available). Sorry, I meant "no PyKDE RPMs available". Try the RPMs for Mandrake 10 at http://sourceforge.net/project/showfiles.php?group_id=61057 Thank you Simon. Actually that's the first thing I tried, but there's no qscintilla there. So the rpms won't install. (and the qscintilla rpm in mandrake contrib is not compatible with those rpms) Then I tried the packages in mandrake contrib: this way I could install qscintilla, sip and PyQt, but there was no PyKDE. So I tried compiling it, but I got a compilation error (which Gerard told me to be a PyKDE bug). I wrongly assumed the problem was in PyQt, so I installed everything by source; and here I am. Please fix the PyKDE bug :) Maurizio ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyQt 3.13
On Thursday 14 October 2004 20:39, Maurizio Colucci wrote: > Hello, > > I am trying to install PyQt (and PyKDE, hopefully) on mandrake 10.1 > community (since sadly there are no RPM packages available). Try the RPMs for Mandrake 10 at http://sourceforge.net/project/showfiles.php?group_id=61057 -- Simon Edwards | Guarddog Firewall [EMAIL PROTECTED] | http://www.simonzone.com/software/ Nijmegen, The Netherlands | "ZooTV? You made the right choice." ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyKDE
Gerard Vermeulen wrote: Comment out (put // in front of) void setFileName in the lines %If ( - KDE_3_3_0 ) KCatalogue (const QString& = QString ::null ); void setFileName (const QString&); %End of the file sip/kdecore/kcatalogue.sip lines 23-60/60 (END) Wipe out features, run python configure.py, run make It's going :) Since I don't understand what's going on... can you please tell me if this a PyKDE bug or a mandrake one? (if I post a bug to mandrake cooker's list I will post both) Thanks again, I think it is a PyKDE bug. The sip file declares setFileName as public while it has been declared private in the KDE header files (the sip file should match the header file). Mandrake would never change such a standard header file. Phil? Jim? Are you aware of this problem? Maurizio ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyKDE
On Fri, 15 Oct 2004 08:26:19 +0200 Maurizio Colucci <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > >On Fri, 15 Oct 2004 00:03:08 +0200, Maurizio Colucci wrote > > > > > >>Here we go again... :( > >> > >>On Mandrake 10.1, after compiling and installing qscintilla, sip, > >> PyQt, I am getting errors with PyKDE 3.11.3. > >> > >>This is gcc 4.0.0, but I also tried also 3.3 and 3.4.1. > >> > >>Of course I am clueless, and desperate :) > >> > >>[EMAIL PROTECTED] PyKDE-3.11.3]# python configure.py > >> > >> PyKDE version 3.11.3 > >> --- > >> > >>Python include directory is /usr/include/python2.3 > >>Python version is 2.3.4 > >> > >>sip version is 4.1.1 (4.1.1) > >> > >>Qt directory is /usr/lib/qt3/ > >>Qt version is 3.3.3 > >> > >>PyQt directory is /usr/share/sip > >>PyQt version is 3.13 (3.13.0) > >> > >>KDE base directory is /usr > >>KDE include directory is /usr/include > >>KDE lib directory is /usr/lib > >>KDE version is 3.2.3 (0x30203) > >> > >>PyKDE modules will be installed in /usr/lib/python2.3/site-packages > >>PyKDE .sip files will be installed in /usr/share/sip > >> > >>PyKDE modules to be built: > >> dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell > >>kdeprint kmdi > >> > >>Generating the C++ source for the dcop module... > >>Creating the Makefile for the dcop module... > >> > >>Generating the C++ source for the kdecore module... > >>Creating the Makefile for the kdecore module... > >> > >>Generating the C++ source for the kdesu module... > >>Creating the Makefile for the kdesu module... > >> > >>Generating the C++ source for the kdefx module... > >>Creating the Makefile for the kdefx module... > >> > >>Generating the C++ source for the kdeui module... > >>Creating the Makefile for the kdeui module... > >> > >>Generating the C++ source for the kio module... > >>Creating the Makefile for the kio module... > >> > >>Generating the C++ source for the kfile module... > >>Creating the Makefile for the kfile module... > >> > >>Generating the C++ source for the kparts module... > >>Creating the Makefile for the kparts module... > >> > >>Generating the C++ source for the khtml module... > >>Creating the Makefile for the khtml module... > >> > >>Generating the C++ source for the kspell module... > >>Creating the Makefile for the kspell module... > >> > >>Generating the C++ source for the kdeprint module... > >>Creating the Makefile for the kdeprint module... > >> > >>Generating the C++ source for the kmdi module... > >>Creating the Makefile for the kmdi module... > >> > >>Creating top level Makefile... > >>Creating pykdeconfig.py... > >>[EMAIL PROTECTED] PyKDE-3.11.3]# make > >>make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop' > >>g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame- > >>pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT - > >>DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 > >>-I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include - > >>I/usr/X11R6/include -o sipdcoppart0.o sipdcoppart0.cpp > >>/usr/lib/qt3//bin/moc -o moc_sipdcoppart0.cpp sipdcoppart0.h g++ -c - > >>Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-pointer > >>-pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT - > >>DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 > >>-I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include - > >>I/usr/X11R6/include -o moc_sipdcoppart0.o moc_sipdcoppart0.cpp g++ > >>-shared -o dcop.so sipdcoppart0.o moc_sipdcoppart0.o -L/usr/lib - > >>L/usr/lib/qt3//lib -L/usr/X11R6/lib -lDCOP -lqt-mt -lXext -lX11 -lm - > >>lpthread make[1]: Leaving directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop' > >>make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/kdecore' > >>g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame- > >>pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT - > >>DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 > >>-I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include - > >>I/usr/X11R6/include -o sipkdecorepart0.o sipkdecorepart0.cpp > >>sip/kdecore/kmountpoint.sip: In function `PyObject* > >>convertFrom_KMountPoint_List(void*)': > >>sip/kdecore/kmountpoint.sip:141: warning: taking address of > >>temporary sip/kdecore/kconfigskeleton.sip: In function `PyObject* > >>meth_KConfigSkeleton_ItemEnum_choices(PyObject*, PyObject*)': > >>sip/kdecore/kconfigskeleton.sip:183: warning: taking address of temporary > >>sipkdecorepart0.cpp: At global scope: > >>sipkdecorepart0.cpp:28723: warning: unused parameter 'sipPy' > >>sipkdecorepart0.cpp:28723: warning: unused parameter 'sipIsErr' > >>sipkdecorepart0.cpp: In function `PyObject* > >>convertFrom_Display(void*)': sipkdecorepart0.cpp:28757: warning: > >>unused variable 'sipCpp' sip/kdecore/kconfigbase.sip: In function > >>`PyObject* convertFrom_ulonglong(void*)': > >>sip/kdecore/kconfigbase.sip:319: warning: unused variable 'LongLong' > >>sipkdeco
Re: [PyKDE] Error compiling PyKDE
[EMAIL PROTECTED] wrote: On Fri, 15 Oct 2004 00:03:08 +0200, Maurizio Colucci wrote Here we go again... :( On Mandrake 10.1, after compiling and installing qscintilla, sip, PyQt, I am getting errors with PyKDE 3.11.3. This is gcc 4.0.0, but I also tried also 3.3 and 3.4.1. Of course I am clueless, and desperate :) [EMAIL PROTECTED] PyKDE-3.11.3]# python configure.py PyKDE version 3.11.3 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.1.1 (4.1.1) Qt directory is /usr/lib/qt3/ Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.13 (3.13.0) KDE base directory is /usr KDE include directory is /usr/include KDE lib directory is /usr/lib KDE version is 3.2.3 (0x30203) PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... Creating the Makefile for the kdecore module... Generating the C++ source for the kdesu module... Creating the Makefile for the kdesu module... Generating the C++ source for the kdefx module... Creating the Makefile for the kdefx module... Generating the C++ source for the kdeui module... Creating the Makefile for the kdeui module... Generating the C++ source for the kio module... Creating the Makefile for the kio module... Generating the C++ source for the kfile module... Creating the Makefile for the kfile module... Generating the C++ source for the kparts module... Creating the Makefile for the kparts module... Generating the C++ source for the khtml module... Creating the Makefile for the khtml module... Generating the C++ source for the kspell module... Creating the Makefile for the kspell module... Generating the C++ source for the kdeprint module... Creating the Makefile for the kdeprint module... Generating the C++ source for the kmdi module... Creating the Makefile for the kmdi module... Creating top level Makefile... Creating pykdeconfig.py... [EMAIL PROTECTED] PyKDE-3.11.3]# make make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop' g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame- pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT - DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include - I/usr/X11R6/include -o sipdcoppart0.o sipdcoppart0.cpp /usr/lib/qt3//bin/moc -o moc_sipdcoppart0.cpp sipdcoppart0.h g++ -c - Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT - DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include - I/usr/X11R6/include -o moc_sipdcoppart0.o moc_sipdcoppart0.cpp g++ -shared -o dcop.so sipdcoppart0.o moc_sipdcoppart0.o -L/usr/lib - L/usr/lib/qt3//lib -L/usr/X11R6/lib -lDCOP -lqt-mt -lXext -lX11 -lm - lpthread make[1]: Leaving directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop' make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/kdecore' g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame- pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT - DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include - I/usr/X11R6/include -o sipkdecorepart0.o sipkdecorepart0.cpp sip/kdecore/kmountpoint.sip: In function `PyObject* convertFrom_KMountPoint_List(void*)': sip/kdecore/kmountpoint.sip:141: warning: taking address of temporary sip/kdecore/kconfigskeleton.sip: In function `PyObject* meth_KConfigSkeleton_ItemEnum_choices(PyObject*, PyObject*)': sip/kdecore/kconfigskeleton.sip:183: warning: taking address of temporary sipkdecorepart0.cpp: At global scope: sipkdecorepart0.cpp:28723: warning: unused parameter 'sipPy' sipkdecorepart0.cpp:28723: warning: unused parameter 'sipIsErr' sipkdecorepart0.cpp: In function `PyObject* convertFrom_Display(void*)': sipkdecorepart0.cpp:28757: warning: unused variable 'sipCpp' sip/kdecore/kconfigbase.sip: In function `PyObject* convertFrom_ulonglong(void*)': sip/kdecore/kconfigbase.sip:319: warning: unused variable 'LongLong' sipkdecorepart0.cpp: At global scope: sipkdecorepart0.cpp:79640: warning: unused parameter 'sipSelf' /usr/include/kcatalogue.h: In function `PyObject* meth_KCatalogue_setFileName(PyObject*, PyObject*) ': /usr/include/kcatalogue.h:111: error: `void KCatalogue::setFileName(const QString&)' is private sipkdecorepart0.cpp:88734: error: within this context sip/kdecore/kwinmodule.sip: In function `PyObject* convertFrom_QValueList_2100(void*)': sip/kdecore/kwinmodule.sip:111: warning: unused variable 'inst' make[1]: *** [sipkdecorepart0.o] Error 1 make[1]: Leaving directo
Re: [PyKDE] Error compiling PyKDE
On Fri, 15 Oct 2004 00:03:08 +0200, Maurizio Colucci wrote > Here we go again... :( > > On Mandrake 10.1, after compiling and installing qscintilla, sip, > PyQt, I am getting errors with PyKDE 3.11.3. > > This is gcc 4.0.0, but I also tried also 3.3 and 3.4.1. > > Of course I am clueless, and desperate :) > > [EMAIL PROTECTED] PyKDE-3.11.3]# python configure.py > > PyKDE version 3.11.3 >--- > > Python include directory is /usr/include/python2.3 > Python version is 2.3.4 > > sip version is 4.1.1 (4.1.1) > > Qt directory is /usr/lib/qt3/ > Qt version is 3.3.3 > > PyQt directory is /usr/share/sip > PyQt version is 3.13 (3.13.0) > > KDE base directory is /usr > KDE include directory is /usr/include > KDE lib directory is /usr/lib > KDE version is 3.2.3 (0x30203) > > PyKDE modules will be installed in /usr/lib/python2.3/site-packages > PyKDE .sip files will be installed in /usr/share/sip > > PyKDE modules to be built: >dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell > kdeprint kmdi > > Generating the C++ source for the dcop module... > Creating the Makefile for the dcop module... > > Generating the C++ source for the kdecore module... > Creating the Makefile for the kdecore module... > > Generating the C++ source for the kdesu module... > Creating the Makefile for the kdesu module... > > Generating the C++ source for the kdefx module... > Creating the Makefile for the kdefx module... > > Generating the C++ source for the kdeui module... > Creating the Makefile for the kdeui module... > > Generating the C++ source for the kio module... > Creating the Makefile for the kio module... > > Generating the C++ source for the kfile module... > Creating the Makefile for the kfile module... > > Generating the C++ source for the kparts module... > Creating the Makefile for the kparts module... > > Generating the C++ source for the khtml module... > Creating the Makefile for the khtml module... > > Generating the C++ source for the kspell module... > Creating the Makefile for the kspell module... > > Generating the C++ source for the kdeprint module... > Creating the Makefile for the kdeprint module... > > Generating the C++ source for the kmdi module... > Creating the Makefile for the kmdi module... > > Creating top level Makefile... > Creating pykdeconfig.py... > [EMAIL PROTECTED] PyKDE-3.11.3]# make > make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop' > g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame- > pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT - > DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 > -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include - > I/usr/X11R6/include -o sipdcoppart0.o sipdcoppart0.cpp > /usr/lib/qt3//bin/moc -o moc_sipdcoppart0.cpp sipdcoppart0.h g++ -c - > Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-pointer > -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT - > DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 > -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include - > I/usr/X11R6/include -o moc_sipdcoppart0.o moc_sipdcoppart0.cpp g++ > -shared -o dcop.so sipdcoppart0.o moc_sipdcoppart0.o -L/usr/lib - > L/usr/lib/qt3//lib -L/usr/X11R6/lib -lDCOP -lqt-mt -lXext -lX11 -lm - > lpthread make[1]: Leaving directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop' > make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/kdecore' > g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame- > pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT - > DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 > -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include - > I/usr/X11R6/include -o sipkdecorepart0.o sipkdecorepart0.cpp > sip/kdecore/kmountpoint.sip: In function `PyObject* > convertFrom_KMountPoint_List(void*)': > sip/kdecore/kmountpoint.sip:141: warning: taking address of > temporary sip/kdecore/kconfigskeleton.sip: In function `PyObject* > meth_KConfigSkeleton_ItemEnum_choices(PyObject*, PyObject*)': > sip/kdecore/kconfigskeleton.sip:183: warning: taking address of temporary > sipkdecorepart0.cpp: At global scope: > sipkdecorepart0.cpp:28723: warning: unused parameter 'sipPy' > sipkdecorepart0.cpp:28723: warning: unused parameter 'sipIsErr' > sipkdecorepart0.cpp: In function `PyObject* > convertFrom_Display(void*)': sipkdecorepart0.cpp:28757: warning: > unused variable 'sipCpp' sip/kdecore/kconfigbase.sip: In function > `PyObject* convertFrom_ulonglong(void*)': > sip/kdecore/kconfigbase.sip:319: warning: unused variable 'LongLong' > sipkdecorepart0.cpp: At global scope: sipkdecorepart0.cpp:79640: > warning: unused parameter 'sipSelf' /usr/include/kcatalogue.h: In > function `PyObject* meth_KCatalogue_setFileName(PyObject*, PyObject*) > ': /usr/include/kcatalogue.h:111: error: `void > KCatalogue::setFileName(const QString&)' is private > sipkdecorepart0.cpp:88734: error: within
[PyKDE] Error compiling PyKDE
Here we go again... :( On Mandrake 10.1, after compiling and installing qscintilla, sip, PyQt, I am getting errors with PyKDE 3.11.3. This is gcc 4.0.0, but I also tried also 3.3 and 3.4.1. Of course I am clueless, and desperate :) [EMAIL PROTECTED] PyKDE-3.11.3]# python configure.py PyKDE version 3.11.3 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.1.1 (4.1.1) Qt directory is /usr/lib/qt3/ Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.13 (3.13.0) KDE base directory is /usr KDE include directory is /usr/include KDE lib directory is /usr/lib KDE version is 3.2.3 (0x30203) PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... Creating the Makefile for the kdecore module... Generating the C++ source for the kdesu module... Creating the Makefile for the kdesu module... Generating the C++ source for the kdefx module... Creating the Makefile for the kdefx module... Generating the C++ source for the kdeui module... Creating the Makefile for the kdeui module... Generating the C++ source for the kio module... Creating the Makefile for the kio module... Generating the C++ source for the kfile module... Creating the Makefile for the kfile module... Generating the C++ source for the kparts module... Creating the Makefile for the kparts module... Generating the C++ source for the khtml module... Creating the Makefile for the khtml module... Generating the C++ source for the kspell module... Creating the Makefile for the kspell module... Generating the C++ source for the kdeprint module... Creating the Makefile for the kdeprint module... Generating the C++ source for the kmdi module... Creating the Makefile for the kmdi module... Creating top level Makefile... Creating pykdeconfig.py... [EMAIL PROTECTED] PyKDE-3.11.3]# make make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop' g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include -I/usr/X11R6/include -o sipdcoppart0.o sipdcoppart0.cpp /usr/lib/qt3//bin/moc -o moc_sipdcoppart0.cpp sipdcoppart0.h g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include -I/usr/X11R6/include -o moc_sipdcoppart0.o moc_sipdcoppart0.cpp g++ -shared -o dcop.so sipdcoppart0.o moc_sipdcoppart0.o -L/usr/lib -L/usr/lib/qt3//lib -L/usr/X11R6/lib -lDCOP -lqt-mt -lXext -lX11 -lm -lpthread make[1]: Leaving directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop' make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/kdecore' g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include -I/usr/X11R6/include -o sipkdecorepart0.o sipkdecorepart0.cpp sip/kdecore/kmountpoint.sip: In function `PyObject* convertFrom_KMountPoint_List(void*)': sip/kdecore/kmountpoint.sip:141: warning: taking address of temporary sip/kdecore/kconfigskeleton.sip: In function `PyObject* meth_KConfigSkeleton_ItemEnum_choices(PyObject*, PyObject*)': sip/kdecore/kconfigskeleton.sip:183: warning: taking address of temporary sipkdecorepart0.cpp: At global scope: sipkdecorepart0.cpp:28723: warning: unused parameter 'sipPy' sipkdecorepart0.cpp:28723: warning: unused parameter 'sipIsErr' sipkdecorepart0.cpp: In function `PyObject* convertFrom_Display(void*)': sipkdecorepart0.cpp:28757: warning: unused variable 'sipCpp' sip/kdecore/kconfigbase.sip: In function `PyObject* convertFrom_ulonglong(void*)': sip/kdecore/kconfigbase.sip:319: warning: unused variable 'LongLong' sipkdecorepart0.cpp: At global scope: sipkdecorepart0.cpp:79640: warning: unused parameter 'sipSelf' /usr/include/kcatalogue.h: In function `PyObject* meth_KCatalogue_setFileName(PyObject*, PyObject*)': /usr/include/kcatalogue.h:111: error: `void KCatalogue::setFileName(const QString&)' is private sipkdecorepart0.cpp:88734: error: within this context sip/kdecore/kwinmodule.sip: In function `PyObject* convertFrom_QValueList_2100(void*)': sip/kdecore/kwinmodule.sip:111: warning: unused variable 'inst' make[1]: *** [sipkdecorepart0.o] Error 1 make[1]: Leaving directory `/dat/pub/src/not-mau/PyKDE-3.11.3/kdecore' make: *** [all] Error 2 Thanks for your patience,
Re: Thank you! [Re: [PyKDE] Error compiling PyQt 3.13]
On Thu, 14 Oct 2004 23:32:28 +0200, Maurizio Colucci wrote > [EMAIL PROTECTED] wrote: > > >On Thu, 14 Oct 2004 22:46:01 +0200, Maurizio Colucci wrote > > > > > >>[EMAIL PROTECTED] wrote: > >> > >> > >> > >>>On Thu, 14 Oct 2004 20:39:46 +0200, Maurizio Colucci wrote > >>> > >>> > >>> > >>> > Hello, > > I am trying to install PyQt (and PyKDE, hopefully) on mandrake 10.1 > community (since sadly there are no RPM packages available). > > I have installed the latest versions of qscintilla and sip by hand, > following the READMEs to the letter. > > But PyQt won't compile. I have tried three different compilers (gcc > 3.3.4, gcc 3.4.1, gcc 4.0.0), and they all give a similar error: > > [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# python configure.py > This is the GPL version of PyQt 3.13 (licensed under the GNU General > Public License) for Python 2.3.4 on linux2. > > Type 'L' to view the license. > Type 'yes' to accept the terms of the license. > Type 'no' to decline the terms of the license. > > Do you accept the terms of the license? yes > SIP 4.1.1 is being used. > QScintilla 1.4 is being used. > Checking to see if the qtcanvas module should be built... > Checking to see if the qtnetwork module should be built... > Checking to see if the qttable module should be built... > Checking to see if the qtxml module should be built... > Checking to see if the qtgl module should be built... > Checking to see if the qtui module should be built... > Checking to see if the qtsql module should be built... > Checking to see if the qtext module should be built... > Checking to see if the QAssistantClient class is available... > Using existing features file. > > > > > >Remove the existing features file before doing > >python configure.py (it does not get overwritten) > > > > > > > > > > > You rock Gerard! > > I deleted the PyQt directory, and now configure.py gave me the message: > > Support for these Qt classes has been disabled: QCDEStyle QInterlaceStyle > QMotifStyle QMotifPlusStyle QPlatinumStyle QSGIStyle QWindowsXPStyle > QWindowsStyle. > > and make is now going without errors. > > Now, technically, I seem to understand that this is a Mandrake bug, > right? Do you suggest filing a bug? > Yes, it is bug (the header file does not reflect the actual setup). You can try to file a bug: you will help to improve Mandrake (the reaction depends on the Mandrake developer responsible for Qt. I would contact directly the developer who is at the top of the change log. Some of those guys are really nice). Gerard ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Thank you! [Re: [PyKDE] Error compiling PyQt 3.13]
[EMAIL PROTECTED] wrote: On Thu, 14 Oct 2004 22:46:01 +0200, Maurizio Colucci wrote [EMAIL PROTECTED] wrote: On Thu, 14 Oct 2004 20:39:46 +0200, Maurizio Colucci wrote Hello, I am trying to install PyQt (and PyKDE, hopefully) on mandrake 10.1 community (since sadly there are no RPM packages available). I have installed the latest versions of qscintilla and sip by hand, following the READMEs to the letter. But PyQt won't compile. I have tried three different compilers (gcc 3.3.4, gcc 3.4.1, gcc 4.0.0), and they all give a similar error: [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# python configure.py This is the GPL version of PyQt 3.13 (licensed under the GNU General Public License) for Python 2.3.4 on linux2. Type 'L' to view the license. Type 'yes' to accept the terms of the license. Type 'no' to decline the terms of the license. Do you accept the terms of the license? yes SIP 4.1.1 is being used. QScintilla 1.4 is being used. Checking to see if the qtcanvas module should be built... Checking to see if the qtnetwork module should be built... Checking to see if the qttable module should be built... Checking to see if the qtxml module should be built... Checking to see if the qtgl module should be built... Checking to see if the qtui module should be built... Checking to see if the qtsql module should be built... Checking to see if the qtext module should be built... Checking to see if the QAssistantClient class is available... Using existing features file. Remove the existing features file before doing python configure.py (it does not get overwritten) You rock Gerard! I deleted the PyQt directory, and now configure.py gave me the message: Support for these Qt classes has been disabled: QCDEStyle QInterlaceStyle QMotifStyle QMotifPlusStyle QPlatinumStyle QSGIStyle QWindowsXPStyle QWindowsStyle. and make is now going without errors. Now, technically, I seem to understand that this is a Mandrake bug, right? Do you suggest filing a bug? Maurizio ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyQt 3.13
On Thu, 14 Oct 2004 22:46:01 +0200, Maurizio Colucci wrote > [EMAIL PROTECTED] wrote: > > >On Thu, 14 Oct 2004 20:39:46 +0200, Maurizio Colucci wrote > > > > > >>Hello, > >> > >>I am trying to install PyQt (and PyKDE, hopefully) on mandrake 10.1 > >>community (since sadly there are no RPM packages available). > >> > >>I have installed the latest versions of qscintilla and sip by hand, > >>following the READMEs to the letter. > >> > >>But PyQt won't compile. I have tried three different compilers (gcc > >>3.3.4, gcc 3.4.1, gcc 4.0.0), and they all give a similar error: > >> > >>[EMAIL PROTECTED] PyQt-x11-gpl-3.13]# python configure.py > >>This is the GPL version of PyQt 3.13 (licensed under the GNU General > >>Public License) for Python 2.3.4 on linux2. > >> > >>Type 'L' to view the license. > >>Type 'yes' to accept the terms of the license. > >>Type 'no' to decline the terms of the license. > >> > >>Do you accept the terms of the license? yes > >>SIP 4.1.1 is being used. > >>QScintilla 1.4 is being used. > >>Checking to see if the qtcanvas module should be built... > >>Checking to see if the qtnetwork module should be built... > >>Checking to see if the qttable module should be built... > >>Checking to see if the qtxml module should be built... > >>Checking to see if the qtgl module should be built... > >>Checking to see if the qtui module should be built... > >>Checking to see if the qtsql module should be built... > >>Checking to see if the qtext module should be built... > >>Checking to see if the QAssistantClient class is available... > >>Using existing features file. Remove the existing features file before doing python configure.py (it does not get overwritten) > >>These PyQt modules will be built: qt qtcanvas qtnetwork qttable > >>qtxml qtui qtsql qtext. Support for these Qt classes has been > >>disabled: . The PyQt modules will be installed in > >>/usr/lib/python2.3/site-packages. The PyQt .sip files will be > >>installed in /usr/share/sip. pyuic will be installed in /usr/bin. > >>pylupdate will be installed in /usr/bin. Generating the C++ source > >>for the qt module... Creating the Makefile for the qt module... > >>Generating the C++ source for the qtext module... Creating the > >>Makefile for the qtext module... Generating the C++ source for the > >>qtsql module... Creating the Makefile for the qtsql module... > >>Generating the C++ source for the qtui module... Creating the > >>Makefile for the qtui module... Generating the C++ source for the > >>qtcanvas module... Creating the Makefile for the qtcanvas module... > >>Generating the C++ source for the qtnetwork module... Creating the > >>Makefile for the qtnetwork module... Generating the C++ source for > >>the qttable module... Creating the Makefile for the qttable > >>module... Generating the C++ source for the qtxml module... Creating > >>the Makefile for the qtxml module... Creating pyuic Makefile... > >>Creating pylupdate Makefile... Creating top level Makefile... > >>Creating pyqtconfig.py... [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# make > >>make[1]: Entering directory `/dat/pub/src/not-mau/PyQt-x11-gpl-3.13/qt' > >>g++ -c -pipe -fno-exceptions -fPIC -O2 -fomit-frame-pointer -pipe > >>-march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG > >>-DQT_THREAD_SUPPORT -I. -I/usr/include/python2.3 > >>-I/usr/lib/qt3//include -I/usr/X11R6/include -o sipqtcmodule.o sipqtcmodule.cpp > >>In file included from sipqtQSGIStyle.h:33, > >> from sipqtcmodule.cpp:91: > >>sipqtQMotifStyle.h:66: error: syntax error before `{' token > >> > >> > > > >Strange. It looks like you should README.Linux in the PyQt sources. > >It is strange, because it should not be needed with newer versions > >of PyQt (not needed for PyQt-3.13 on Mandrake-10.0) > > > >I solved such problems for PyQt-3.8 on Mandrake by doing > > > ># Instead of README.Linux > >cp /usr/lib/qt3/include/qconfig.h qt > >chmod 644 qt/qconfig.h > >cat >> qt/qconfig.h << EOF > >#define QT_NO_STYLE_CDE > >#define QT_NO_STYLE_INTERLACE > >#define QT_NO_STYLE_MOTIF > >#define QT_NO_STYLE_MOTIFPLUS > >#define QT_NO_STYLE_PLATINUM > >#define QT_NO_STYLE_SGI > >EOF > > > >before running make. > > > >Gerard > > > > > >___ > >PyKDE mailing list[EMAIL PROTECTED] > >http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > > > > > > > Thank you Gerard. Unfortunately, that doesn't solve. First I said > what the README.Linux says. Then: > > echo $QTDIR > /usr/lib/qt3/ > [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# cp /usr/lib/qt3/include/qconfig.h > qt [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# chmod 644 qt/qconfig.h > [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# cat >> qt/qconfig.h << EOF > > #define QT_NO_STYLE_CDE > #define QT_NO_STYLE_INTERLACE > #define QT_NO_STYLE_MOTIF > > #define QT_NO_STYLE_MOTIFPLUS > > #define QT_NO_STYLE_PLATINUM > > #define QT_NO_STYLE_SGI > > EOF > [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# make >
Re: [PyKDE] Error compiling PyQt 3.13
[EMAIL PROTECTED] wrote: On Thu, 14 Oct 2004 20:39:46 +0200, Maurizio Colucci wrote Hello, I am trying to install PyQt (and PyKDE, hopefully) on mandrake 10.1 community (since sadly there are no RPM packages available). I have installed the latest versions of qscintilla and sip by hand, following the READMEs to the letter. But PyQt won't compile. I have tried three different compilers (gcc 3.3.4, gcc 3.4.1, gcc 4.0.0), and they all give a similar error: [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# python configure.py This is the GPL version of PyQt 3.13 (licensed under the GNU General Public License) for Python 2.3.4 on linux2. Type 'L' to view the license. Type 'yes' to accept the terms of the license. Type 'no' to decline the terms of the license. Do you accept the terms of the license? yes SIP 4.1.1 is being used. QScintilla 1.4 is being used. Checking to see if the qtcanvas module should be built... Checking to see if the qtnetwork module should be built... Checking to see if the qttable module should be built... Checking to see if the qtxml module should be built... Checking to see if the qtgl module should be built... Checking to see if the qtui module should be built... Checking to see if the qtsql module should be built... Checking to see if the qtext module should be built... Checking to see if the QAssistantClient class is available... Using existing features file. These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml qtui qtsql qtext. Support for these Qt classes has been disabled: . The PyQt modules will be installed in /usr/lib/python2.3/site-packages. The PyQt .sip files will be installed in /usr/share/sip. pyuic will be installed in /usr/bin. pylupdate will be installed in /usr/bin. Generating the C++ source for the qt module... Creating the Makefile for the qt module... Generating the C++ source for the qtext module... Creating the Makefile for the qtext module... Generating the C++ source for the qtsql module... Creating the Makefile for the qtsql module... Generating the C++ source for the qtui module... Creating the Makefile for the qtui module... Generating the C++ source for the qtcanvas module... Creating the Makefile for the qtcanvas module... Generating the C++ source for the qtnetwork module... Creating the Makefile for the qtnetwork module... Generating the C++ source for the qttable module... Creating the Makefile for the qttable module... Generating the C++ source for the qtxml module... Creating the Makefile for the qtxml module... Creating pyuic Makefile... Creating pylupdate Makefile... Creating top level Makefile... Creating pyqtconfig.py... [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# make make[1]: Entering directory `/dat/pub/src/not-mau/PyQt-x11-gpl-3.13/qt' g++ -c -pipe -fno-exceptions -fPIC -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.3 -I/usr/lib/qt3//include -I/usr/X11R6/include -o sipqtcmodule.o sipqtcmodule.cpp In file included from sipqtQSGIStyle.h:33, from sipqtcmodule.cpp:91: sipqtQMotifStyle.h:66: error: syntax error before `{' token Strange. It looks like you should README.Linux in the PyQt sources. It is strange, because it should not be needed with newer versions of PyQt (not needed for PyQt-3.13 on Mandrake-10.0) I solved such problems for PyQt-3.8 on Mandrake by doing # Instead of README.Linux cp /usr/lib/qt3/include/qconfig.h qt chmod 644 qt/qconfig.h cat >> qt/qconfig.h << EOF #define QT_NO_STYLE_CDE #define QT_NO_STYLE_INTERLACE #define QT_NO_STYLE_MOTIF #define QT_NO_STYLE_MOTIFPLUS #define QT_NO_STYLE_PLATINUM #define QT_NO_STYLE_SGI EOF before running make. Gerard ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde Thank you Gerard. Unfortunately, that doesn't solve. First I said what the README.Linux says. Then: echo $QTDIR /usr/lib/qt3/ [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# cp /usr/lib/qt3/include/qconfig.h qt [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# chmod 644 qt/qconfig.h [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# cat >> qt/qconfig.h << EOF > #define QT_NO_STYLE_CDE > #define QT_NO_STYLE_INTERLACE > #define QT_NO_STYLE_MOTIF > #define QT_NO_STYLE_MOTIFPLUS > #define QT_NO_STYLE_PLATINUM > #define QT_NO_STYLE_SGI > EOF [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# make make[1]: Entering directory `/dat/pub/src/not-mau/PyQt-x11-gpl-3.13/qt' g++ -c -pipe -fno-exceptions -fPIC -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.3 -I/usr/lib/qt3//include -I/usr/X11R6/include -o sipqtcmodule.o sipqtcmodule.cpp In file included from sipqtQSGIStyle.h:33, from sipqtcmodule.cpp:91: sipqtQMotifStyle.h:66: error: expected class-name before '{' token In file included from sipqtcmodule.cpp:91: sipqtQSGIStyle.h:66: error: ex
Re: [PyKDE] Error compiling PyQt 3.13
On Thu, 14 Oct 2004 20:39:46 +0200, Maurizio Colucci wrote > Hello, > > I am trying to install PyQt (and PyKDE, hopefully) on mandrake 10.1 > community (since sadly there are no RPM packages available). > > I have installed the latest versions of qscintilla and sip by hand, > following the READMEs to the letter. > > But PyQt won't compile. I have tried three different compilers (gcc > 3.3.4, gcc 3.4.1, gcc 4.0.0), and they all give a similar error: > > [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# python configure.py > This is the GPL version of PyQt 3.13 (licensed under the GNU General > Public License) for Python 2.3.4 on linux2. > > Type 'L' to view the license. > Type 'yes' to accept the terms of the license. > Type 'no' to decline the terms of the license. > > Do you accept the terms of the license? yes > SIP 4.1.1 is being used. > QScintilla 1.4 is being used. > Checking to see if the qtcanvas module should be built... > Checking to see if the qtnetwork module should be built... > Checking to see if the qttable module should be built... > Checking to see if the qtxml module should be built... > Checking to see if the qtgl module should be built... > Checking to see if the qtui module should be built... > Checking to see if the qtsql module should be built... > Checking to see if the qtext module should be built... > Checking to see if the QAssistantClient class is available... > Using existing features file. > These PyQt modules will be built: qt qtcanvas qtnetwork qttable > qtxml qtui qtsql qtext. Support for these Qt classes has been > disabled: . The PyQt modules will be installed in > /usr/lib/python2.3/site-packages. The PyQt .sip files will be > installed in /usr/share/sip. pyuic will be installed in /usr/bin. > pylupdate will be installed in /usr/bin. Generating the C++ source > for the qt module... Creating the Makefile for the qt module... > Generating the C++ source for the qtext module... Creating the > Makefile for the qtext module... Generating the C++ source for the > qtsql module... Creating the Makefile for the qtsql module... > Generating the C++ source for the qtui module... Creating the > Makefile for the qtui module... Generating the C++ source for the > qtcanvas module... Creating the Makefile for the qtcanvas module... > Generating the C++ source for the qtnetwork module... Creating the > Makefile for the qtnetwork module... Generating the C++ source for > the qttable module... Creating the Makefile for the qttable > module... Generating the C++ source for the qtxml module... Creating > the Makefile for the qtxml module... Creating pyuic Makefile... > Creating pylupdate Makefile... Creating top level Makefile... > Creating pyqtconfig.py... [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# make > make[1]: Entering directory `/dat/pub/src/not-mau/PyQt-x11-gpl-3.13/qt' > g++ -c -pipe -fno-exceptions -fPIC -O2 -fomit-frame-pointer -pipe > -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.3 > -I/usr/lib/qt3//include -I/usr/X11R6/include -o sipqtcmodule.o sipqtcmodule.cpp > In file included from sipqtQSGIStyle.h:33, > from sipqtcmodule.cpp:91: > sipqtQMotifStyle.h:66: error: syntax error before `{' token Strange. It looks like you should README.Linux in the PyQt sources. It is strange, because it should not be needed with newer versions of PyQt (not needed for PyQt-3.13 on Mandrake-10.0) I solved such problems for PyQt-3.8 on Mandrake by doing # Instead of README.Linux cp /usr/lib/qt3/include/qconfig.h qt chmod 644 qt/qconfig.h cat >> qt/qconfig.h << EOF #define QT_NO_STYLE_CDE #define QT_NO_STYLE_INTERLACE #define QT_NO_STYLE_MOTIF #define QT_NO_STYLE_MOTIFPLUS #define QT_NO_STYLE_PLATINUM #define QT_NO_STYLE_SGI EOF before running make. Gerard ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error compiling PyQt 3.13
Hello, I am trying to install PyQt (and PyKDE, hopefully) on mandrake 10.1 community (since sadly there are no RPM packages available). I have installed the latest versions of qscintilla and sip by hand, following the READMEs to the letter. But PyQt won't compile. I have tried three different compilers (gcc 3.3.4, gcc 3.4.1, gcc 4.0.0), and they all give a similar error: [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# python configure.py This is the GPL version of PyQt 3.13 (licensed under the GNU General Public License) for Python 2.3.4 on linux2. Type 'L' to view the license. Type 'yes' to accept the terms of the license. Type 'no' to decline the terms of the license. Do you accept the terms of the license? yes SIP 4.1.1 is being used. QScintilla 1.4 is being used. Checking to see if the qtcanvas module should be built... Checking to see if the qtnetwork module should be built... Checking to see if the qttable module should be built... Checking to see if the qtxml module should be built... Checking to see if the qtgl module should be built... Checking to see if the qtui module should be built... Checking to see if the qtsql module should be built... Checking to see if the qtext module should be built... Checking to see if the QAssistantClient class is available... Using existing features file. These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml qtui qtsql qtext. Support for these Qt classes has been disabled: . The PyQt modules will be installed in /usr/lib/python2.3/site-packages. The PyQt .sip files will be installed in /usr/share/sip. pyuic will be installed in /usr/bin. pylupdate will be installed in /usr/bin. Generating the C++ source for the qt module... Creating the Makefile for the qt module... Generating the C++ source for the qtext module... Creating the Makefile for the qtext module... Generating the C++ source for the qtsql module... Creating the Makefile for the qtsql module... Generating the C++ source for the qtui module... Creating the Makefile for the qtui module... Generating the C++ source for the qtcanvas module... Creating the Makefile for the qtcanvas module... Generating the C++ source for the qtnetwork module... Creating the Makefile for the qtnetwork module... Generating the C++ source for the qttable module... Creating the Makefile for the qttable module... Generating the C++ source for the qtxml module... Creating the Makefile for the qtxml module... Creating pyuic Makefile... Creating pylupdate Makefile... Creating top level Makefile... Creating pyqtconfig.py... [EMAIL PROTECTED] PyQt-x11-gpl-3.13]# make make[1]: Entering directory `/dat/pub/src/not-mau/PyQt-x11-gpl-3.13/qt' g++ -c -pipe -fno-exceptions -fPIC -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.3 -I/usr/lib/qt3//include -I/usr/X11R6/include -o sipqtcmodule.o sipqtcmodule.cpp In file included from sipqtQSGIStyle.h:33, from sipqtcmodule.cpp:91: sipqtQMotifStyle.h:66: error: syntax error before `{' token sipqtQMotifStyle.h:69: error: destructors must be member functions sipqtQMotifStyle.h:69: error: virtual outside class declaration sipqtQMotifStyle.h:91: error: non-member function `QMetaObject* metaObject()' cannot have `const' method qualifier sipqtQMotifStyle.h:98: error: non-member function `QRect itemRect(QPainter*, const QRect&, int, bool, const QPixmap*, const QString&, int)' cannot have `const' method qualifier sipqtQMotifStyle.h:99: error: non-member function `void drawItem(QPainter*, const QRect&, int, const QColorGroup&, bool, const QPixmap*, const QString&, int, const QColor*)' cannot have `const' method qualifier sipqtQMotifStyle.h:100: error: non-member function `void drawPrimitive(QStyle::PrimitiveElement, QPainter*, const QRect&, const QColorGroup&, unsigned int, const QStyleOption&)' cannot have `const' method qualifier sipqtQMotifStyle.h:101: error: non-member function `void drawControl(QStyle::ControlElement, QPainter*, const QWidget*, const QRect&, const QColorGroup&, unsigned int, const QStyleOption&)' cannot have `const' method qualifier sipqtQMotifStyle.h:102: error: non-member function `void drawControlMask(QStyle::ControlElement, QPainter*, const QWidget*, const QRect&, const QStyleOption&)' cannot have `const' method qualifier sipqtQMotifStyle.h:103: error: non-member function `QRect subRect(QStyle::SubRect, const QWidget*)' cannot have `const' method qualifier sipqtQMotifStyle.h:104: error: non-member function `void drawComplexControl(QStyle::ComplexControl, QPainter*, const QWidget*, const QRect&, const QColorGroup&, unsigned int, unsigned int, unsigned int, const QStyleOption&)' cannot have `const' method qualifier sipqtQMotifStyle.h:105: error: non-member function `void drawComplexControlMask(QStyle::ComplexControl, QPainter*, const QWidget*, const QRect&, const QStyleOption&)' cannot have `const' method qualifier sipqtQMotifStyle.h:106: er
Re: [PyKDE] Error with PyKDE
On Tuesday 05 October 2004 09:14, Michel Stiven Cetina Cittelly wrote: > Damn guys's, i see the atach but don't have the error mesaggesorry: > > sip: sip/kdeui/kactioncollection.sip:105: A function with the same Python > signature has already been defined > Error: Unable to create the C++ code. > > this is the error ;) > > sorry for the time that you lose reading all that mesagges No problem. Gerard already posted another message referencing these messages which include a fix: http://mats.imk.fraunhofer.de/pipermail/pykde/2004-September/008679.html http://mats.imk.fraunhofer.de/pipermail/pykde/attachments/20040924/48eeb337/PyKDE-3.11.3.mdk10.bin Basically, in PyKDE/sip/kdeui/kactioncollection.sip at line 103 comment out these lines as shown: //%If ( - KDE_3_2_2 ) //virtual QValueList actions (const QString&) const; //virtual QValueList actions () const; //%End Jim -- ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyQt 3.13
On Monday 04 October 2004 19.14, Phil Thompson wrote: > On Monday 04 October 2004 1:00 pm, Fredrik Juhlin wrote: > > Hi, > > > > I'm having problems compiling the latest PyQt on a Debian stable box. > > > > When compiling the QTable wrapper I get the following output: > > > > make[2]: Entering directory > > `/usr/local/capsenv/compile/release/PyQt-commercial-3.13/qttable' > > g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG > > -DQT_THREAD_SUPPORT -I. -I/usr/local/capsenv/release/include/python2.3 > > -I/usr/local/capsenv/compile/release/qt-x11-commercial-3.3.3/include > > -I/usr/X11R6/include -o sipqttablepart0.o sipqttablepart0.cpp > > sipqttablepart0.cpp: In method `enum sipQTable::sipEditMode > > sipQTable::sipProtect_editMode()': > > sipqttablepart0.cpp:7857: static_cast from `QTable::EditMode' to > > `sipQTable::sipEditMode' > > sipqttablepart0.cpp:7858: warning: control reaches end of non-void > > function `sipQTable::sipProtect_editMode()' > > make[2]: *** [sipqttablepart0.o] Error 1 > > make[2]: Leaving directory > > `/usr/local/capsenv/compile/release/PyQt-commercial-3.13/qttable' > > make[1]: *** [all] Error 2 > > > > There is a slight delay (>4 seconds) between the warning and Make > > reporting an error. > > However, when I compile on a Gentoo box, I dont get an error. > > I'm using: > > > > PyQt 3.13 > > SIP 4.1.1 > > Qt 3.3.3 > > Python 2.3.3 > > GCC 2.95.4 (Debian) 3.3.4 (Gentoo) > > > > Could this be a problem with the GCC version? > > I think it probably is - there is an old Irix compiler that has a similar > problem. To verify, just convert the static_cast on the offending line to a > C-style cast. If so, I'll change the code generator to produce a C-style > cast. Yes, it compiles now. I got a similar error in sipqtsqlpart0.cpp, but I'm guessing that if you change the code generation, that will affect that code as well. Thanks! //Fredrik ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error with PyKDE
Hi, i'm from colombia and now i'm installing pykde to run slickbar...a cool and very good application for the use of the gui in mandrake...i have a error while trying to compile the code of pykde, i atach the output of the error. Thank you for your time. And keep alive guy's. ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error compiling PyQt 3.13
On Monday 04 October 2004 1:00 pm, Fredrik Juhlin wrote: > Hi, > > I'm having problems compiling the latest PyQt on a Debian stable box. > > When compiling the QTable wrapper I get the following output: > > make[2]: Entering directory > `/usr/local/capsenv/compile/release/PyQt-commercial-3.13/qttable' > g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -I. -I/usr/local/capsenv/release/include/python2.3 > -I/usr/local/capsenv/compile/release/qt-x11-commercial-3.3.3/include > -I/usr/X11R6/include -o sipqttablepart0.o sipqttablepart0.cpp > sipqttablepart0.cpp: In method `enum sipQTable::sipEditMode > sipQTable::sipProtect_editMode()': > sipqttablepart0.cpp:7857: static_cast from `QTable::EditMode' to > `sipQTable::sipEditMode' > sipqttablepart0.cpp:7858: warning: control reaches end of non-void function > `sipQTable::sipProtect_editMode()' > make[2]: *** [sipqttablepart0.o] Error 1 > make[2]: Leaving directory > `/usr/local/capsenv/compile/release/PyQt-commercial-3.13/qttable' > make[1]: *** [all] Error 2 > > There is a slight delay (>4 seconds) between the warning and Make reporting > an error. > However, when I compile on a Gentoo box, I dont get an error. > I'm using: > > PyQt 3.13 > SIP 4.1.1 > Qt 3.3.3 > Python 2.3.3 > GCC 2.95.4 (Debian) 3.3.4 (Gentoo) > > Could this be a problem with the GCC version? I think it probably is - there is an old Irix compiler that has a similar problem. To verify, just convert the static_cast on the offending line to a C-style cast. If so, I'll change the code generator to produce a C-style cast. Phil ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error compiling PyQt 3.13
Hi, I'm having problems compiling the latest PyQt on a Debian stable box. When compiling the QTable wrapper I get the following output: make[2]: Entering directory `/usr/local/capsenv/compile/release/PyQt-commercial-3.13/qttable' g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/local/capsenv/release/include/python2.3 -I/usr/local/capsenv/compile/release/qt-x11-commercial-3.3.3/include -I/usr/X11R6/include -o sipqttablepart0.o sipqttablepart0.cpp sipqttablepart0.cpp: In method `enum sipQTable::sipEditMode sipQTable::sipProtect_editMode()': sipqttablepart0.cpp:7857: static_cast from `QTable::EditMode' to `sipQTable::sipEditMode' sipqttablepart0.cpp:7858: warning: control reaches end of non-void function `sipQTable::sipProtect_editMode()' make[2]: *** [sipqttablepart0.o] Error 1 make[2]: Leaving directory `/usr/local/capsenv/compile/release/PyQt-commercial-3.13/qttable' make[1]: *** [all] Error 2 There is a slight delay (>4 seconds) between the warning and Make reporting an error. However, when I compile on a Gentoo box, I dont get an error. I'm using: PyQt 3.13 SIP 4.1.1 Qt 3.3.3 Python 2.3.3 GCC 2.95.4 (Debian) 3.3.4 (Gentoo) Could this be a problem with the GCC version? //Fredrik ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error on creating a project from CVS
Checking out a project from CVS, I selected "yes, create a new project file", and was told that the (newly created) project file had invalid contents, clicked on Abort (only option) and received this error: [XML Parse messages] Fatal Error /home/mcfletch/pylive/twistedsnmp/TwistedSNMP.e3p Line: 2, Column: 44 Couldn't open resource '/home/mcfletch/pylive/twistedsnmp/Project-3.5.dtd' -- This is with a snapshot downloaded yesterday running on Python 2.3.4 w/pyxml 0.8.2 installed. Looks like there's a system DTD reference: which should likely be using either a URL system reference (not ideal, as it would cause Eric to download files), or an absolute system reference on the filesystem... or... possibly set up a catalog for the XML parser, though darned if I know how to do that for pyxml. Enjoy, Mike Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error generating source for qt module
I removed all (or most) traces of SIP and PyQt from my computer, redownloaded them, and tried to install them. This time everything went perfectly. I suspect that I did something wrong the first time around, though I'm not sure what I did differently this time. Thanks for your help, I'm looking forward to using your program. Jason --- Phil Thompson <[EMAIL PROTECTED]> wrote: > On Friday 16 July 2004 2:22 pm, you wrote: > > I've got the packages for SIP and PyQt in my home > > folder. When you said site-packages I thought you > just > > meant the folder I had the SIP packages in. > > /usr/lib/python2.3/site-packages/sipconfig.py also > has > > /usr/bin/sip as the value of sip_bin. I haven't > made > > any changes to PYTHONPATH, is the fact that I'm > > installing from my home folder causing the > problem? > > Installing from your home folder won't be a problem, > so long as you are > actually installing (ie. run "make install"). > > You must have an older version of SIP lying around > because the error is so > fundamental that if it was a genuine SIP bug then > PyQt wouldn't work for > anybody. > > What I don't understand is that SIP and PyQt's > configure.py scripts deal with > absolute pathnames just to avoid other versions > getting in the way. > > The only other thing I can think of is that the > qtmod.sip file is somehow > corrupted. > > Phil > __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error generating source for qt module
I've got the packages for SIP and PyQt in my home folder. When you said site-packages I thought you just meant the folder I had the SIP packages in. /usr/lib/python2.3/site-packages/sipconfig.py also has /usr/bin/sip as the value of sip_bin. I haven't made any changes to PYTHONPATH, is the fact that I'm installing from my home folder causing the problem? Jason --- Phil Thompson <[EMAIL PROTECTED]> wrote: > I said look at the value in > site-packages/sipconfig.py > > Or have you set PYTHONPATH up so that PyQt's > configure.py picks up > ~/sip-4.0.1/sipconfig.py? > > Phil > > On Friday 16 July 2004 2:04 am, Jason Veatch wrote: > > In ~/sip-4.0.1/sipconfig.py the value of sip_bin > is > > /usr/bin/sip. When you said to run the binary I > > assumed you meant ~/sip-4.0.1/sipconfig.pyc. When > I > > tried that I got a "bash: > ~/sip-4.0.1/sipconfig.pyc: > > cannot execute binary file" error. Then it occured > to > > me that you might have meant /usr/bin/sib, and > running > > that with the -V flag gets me "4.0.1 (4.0.1-224)". > > > > Jason > > > > --- Phil Thompson <[EMAIL PROTECTED]> > > > > wrote: > > > I suspect you have an older version of the sip > > > executable lying around, one > > > that doesn't understand the number after the > module > > > name. > > > > > > Look at the value of sip_bin in > > > site-packages/sipconfig.py and run the binary > > > with the -V flag to see if it what you expect. > > > > > > Phil > > > > > > On Thursday 15 July 2004 11:50 pm, Jason Veatch > > > > > > wrote: > > > > I've got SIP v4.0.1, and PyQt v3.12. Line 23 > of > > > > qtmod.sip is "%Module qt 0". It is the first > line > > > > > > of > > > > > > > code in qtmod.sip, the preceding lines are > > > > > > comments. > > > > > > > Jason > > > > > > > > --- Phil Thompson > <[EMAIL PROTECTED]> > > > > > > > > wrote: > > > > > On Thursday 15 July 2004 10:50 pm, Jason > Veatch > > > > > > > > > > wrote: > > > > > > I'm trying to install PyQt but have run > into a > > > > > > > > > > problem > > > > > > > > > > > and would appreciate any help. I installed > SIP > > > > > > and > > > > > > > > > everything went fine there, but when I > tried > > > > > > to > > > > > > > > > install PyQt I ran into an error. The last > > > > > > three > > > > > > > > lines > > > > > > > > > > > of output were: > > > > > > > > > > > > Generating the C++ source for the qt > module... > > > > > > sip: sip/qt/qtmod.sip:23: syntax error > > > > > > Error: Unable to create the C++ code. > > > > > > > > > > > > What should I do? My computer is running > > > > > > Fedora > > > > > > > > Core > > > > > > > > > > > 2, if that makes a difference. Thanks! > > > > > > > > > > What version of SIP? > > > > > > > > > > What version of PyQt? > > > > > > > > > > What is line 23? > > > > > > > > > > Phil > > > > > > > > __ > > > > Do you Yahoo!? > > > > Yahoo! Mail is new and improved - Check it > out! > > > > http://promotions.yahoo.com/new_mail > > > > > > > > > ___ > > > > PyKDE mailing list > [EMAIL PROTECTED] > > > > > > > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > > > > > > ___ > > > PyKDE mailing list > [EMAIL PROTECTED] > > > > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > > > //mats.imk.fraunhofer.de/mailman/listinfo/pykde > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > ___ > > PyKDE mailing list[EMAIL PROTECTED] > > > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > > ___ > PyKDE mailing list[EMAIL PROTECTED] > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error generating source for qt module
I said look at the value in site-packages/sipconfig.py Or have you set PYTHONPATH up so that PyQt's configure.py picks up ~/sip-4.0.1/sipconfig.py? Phil On Friday 16 July 2004 2:04 am, Jason Veatch wrote: > In ~/sip-4.0.1/sipconfig.py the value of sip_bin is > /usr/bin/sip. When you said to run the binary I > assumed you meant ~/sip-4.0.1/sipconfig.pyc. When I > tried that I got a "bash: ~/sip-4.0.1/sipconfig.pyc: > cannot execute binary file" error. Then it occured to > me that you might have meant /usr/bin/sib, and running > that with the -V flag gets me "4.0.1 (4.0.1-224)". > > Jason > > --- Phil Thompson <[EMAIL PROTECTED]> > > wrote: > > I suspect you have an older version of the sip > > executable lying around, one > > that doesn't understand the number after the module > > name. > > > > Look at the value of sip_bin in > > site-packages/sipconfig.py and run the binary > > with the -V flag to see if it what you expect. > > > > Phil > > > > On Thursday 15 July 2004 11:50 pm, Jason Veatch > > > > wrote: > > > I've got SIP v4.0.1, and PyQt v3.12. Line 23 of > > > qtmod.sip is "%Module qt 0". It is the first line > > > > of > > > > > code in qtmod.sip, the preceding lines are > > > > comments. > > > > > Jason > > > > > > --- Phil Thompson <[EMAIL PROTECTED]> > > > > > > wrote: > > > > On Thursday 15 July 2004 10:50 pm, Jason Veatch > > > > > > > > wrote: > > > > > I'm trying to install PyQt but have run into a > > > > > > > > problem > > > > > > > > > and would appreciate any help. I installed SIP > > > > and > > > > > > > everything went fine there, but when I tried > > > > to > > > > > > > install PyQt I ran into an error. The last > > > > three > > > > > > lines > > > > > > > > > of output were: > > > > > > > > > > Generating the C++ source for the qt module... > > > > > sip: sip/qt/qtmod.sip:23: syntax error > > > > > Error: Unable to create the C++ code. > > > > > > > > > > What should I do? My computer is running > > > > Fedora > > > > > > Core > > > > > > > > > 2, if that makes a difference. Thanks! > > > > > > > > What version of SIP? > > > > > > > > What version of PyQt? > > > > > > > > What is line 23? > > > > > > > > Phil > > > > > > __ > > > Do you Yahoo!? > > > Yahoo! Mail is new and improved - Check it out! > > > http://promotions.yahoo.com/new_mail > > > > > > ___ > > > PyKDE mailing list[EMAIL PROTECTED] > > > > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > > > > ___ > > PyKDE mailing list[EMAIL PROTECTED] > > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > > //mats.imk.fraunhofer.de/mailman/listinfo/pykde > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ___ > PyKDE mailing list[EMAIL PROTECTED] > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error generating source for qt module
In ~/sip-4.0.1/sipconfig.py the value of sip_bin is /usr/bin/sip. When you said to run the binary I assumed you meant ~/sip-4.0.1/sipconfig.pyc. When I tried that I got a "bash: ~/sip-4.0.1/sipconfig.pyc: cannot execute binary file" error. Then it occured to me that you might have meant /usr/bin/sib, and running that with the -V flag gets me "4.0.1 (4.0.1-224)". Jason --- Phil Thompson <[EMAIL PROTECTED]> wrote: > I suspect you have an older version of the sip > executable lying around, one > that doesn't understand the number after the module > name. > > Look at the value of sip_bin in > site-packages/sipconfig.py and run the binary > with the -V flag to see if it what you expect. > > Phil > > On Thursday 15 July 2004 11:50 pm, Jason Veatch > wrote: > > I've got SIP v4.0.1, and PyQt v3.12. Line 23 of > > qtmod.sip is "%Module qt 0". It is the first line > of > > code in qtmod.sip, the preceding lines are > comments. > > > > Jason > > > > --- Phil Thompson <[EMAIL PROTECTED]> > > > > wrote: > > > On Thursday 15 July 2004 10:50 pm, Jason Veatch > > > > > > wrote: > > > > I'm trying to install PyQt but have run into a > > > > > > problem > > > > > > > and would appreciate any help. I installed SIP > and > > > > everything went fine there, but when I tried > to > > > > install PyQt I ran into an error. The last > three > > > > > > lines > > > > > > > of output were: > > > > > > > > Generating the C++ source for the qt module... > > > > sip: sip/qt/qtmod.sip:23: syntax error > > > > Error: Unable to create the C++ code. > > > > > > > > What should I do? My computer is running > Fedora > > > > > > Core > > > > > > > 2, if that makes a difference. Thanks! > > > > > > What version of SIP? > > > > > > What version of PyQt? > > > > > > What is line 23? > > > > > > Phil > > > > __ > > Do you Yahoo!? > > Yahoo! Mail is new and improved - Check it out! > > http://promotions.yahoo.com/new_mail > > > > ___ > > PyKDE mailing list[EMAIL PROTECTED] > > > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > > ___ > PyKDE mailing list[EMAIL PROTECTED] > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > //mats.imk.fraunhofer.de/mailman/listinfo/pykde > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error generating source for qt module
I suspect you have an older version of the sip executable lying around, one that doesn't understand the number after the module name. Look at the value of sip_bin in site-packages/sipconfig.py and run the binary with the -V flag to see if it what you expect. Phil On Thursday 15 July 2004 11:50 pm, Jason Veatch wrote: > I've got SIP v4.0.1, and PyQt v3.12. Line 23 of > qtmod.sip is "%Module qt 0". It is the first line of > code in qtmod.sip, the preceding lines are comments. > > Jason > > --- Phil Thompson <[EMAIL PROTECTED]> > > wrote: > > On Thursday 15 July 2004 10:50 pm, Jason Veatch > > > > wrote: > > > I'm trying to install PyQt but have run into a > > > > problem > > > > > and would appreciate any help. I installed SIP and > > > everything went fine there, but when I tried to > > > install PyQt I ran into an error. The last three > > > > lines > > > > > of output were: > > > > > > Generating the C++ source for the qt module... > > > sip: sip/qt/qtmod.sip:23: syntax error > > > Error: Unable to create the C++ code. > > > > > > What should I do? My computer is running Fedora > > > > Core > > > > > 2, if that makes a difference. Thanks! > > > > What version of SIP? > > > > What version of PyQt? > > > > What is line 23? > > > > Phil > > __ > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > http://promotions.yahoo.com/new_mail > > ___ > PyKDE mailing list[EMAIL PROTECTED] > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error generating source for qt module
I've got SIP v4.0.1, and PyQt v3.12. Line 23 of qtmod.sip is "%Module qt 0". It is the first line of code in qtmod.sip, the preceding lines are comments. Jason --- Phil Thompson <[EMAIL PROTECTED]> wrote: > On Thursday 15 July 2004 10:50 pm, Jason Veatch > wrote: > > I'm trying to install PyQt but have run into a > problem > > and would appreciate any help. I installed SIP and > > everything went fine there, but when I tried to > > install PyQt I ran into an error. The last three > lines > > of output were: > > > > Generating the C++ source for the qt module... > > sip: sip/qt/qtmod.sip:23: syntax error > > Error: Unable to create the C++ code. > > > > What should I do? My computer is running Fedora > Core > > 2, if that makes a difference. Thanks! > > What version of SIP? > > What version of PyQt? > > What is line 23? > > Phil > __ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error generating source for qt module
On Thursday 15 July 2004 10:50 pm, Jason Veatch wrote: > I'm trying to install PyQt but have run into a problem > and would appreciate any help. I installed SIP and > everything went fine there, but when I tried to > install PyQt I ran into an error. The last three lines > of output were: > > Generating the C++ source for the qt module... > sip: sip/qt/qtmod.sip:23: syntax error > Error: Unable to create the C++ code. > > What should I do? My computer is running Fedora Core > 2, if that makes a difference. Thanks! What version of SIP? What version of PyQt? What is line 23? Phil ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] error generating source for qt module
I'm trying to install PyQt but have run into a problem and would appreciate any help. I installed SIP and everything went fine there, but when I tried to install PyQt I ran into an error. The last three lines of output were: Generating the C++ source for the qt module... sip: sip/qt/qtmod.sip:23: syntax error Error: Unable to create the C++ code. What should I do? My computer is running Fedora Core 2, if that makes a difference. Thanks! Jason __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error while creating c++ code for kdeui module
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 05 July 2004 17:40, john smith wrote: > I downloaded the latest sip from the river web site, but when i try to > install sip i get the following error msg: > > sip-4.0 $ python configure.py > This is SIP 4.0 for Python 2.3.3 on linux2. > Error: These Qt libraries were found: qt qt-mt. Use the -l argument to > explicitly specify which you want to use. John, why don't you throw this issue at bugs.g.o? Most likely there is more knowledge about ebuilds. I don't know why you're getting the above error message, but all sip ebuilds configure with "-l qt-mt". The rc2 issue let me assume that you're running amd64!? Carsten Lohrke -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA6XoTVwbzmvGLSW8RAp9qAJwNikWI9FpQcwA+A/Ooi/uRs1SXaACcDD0H 8C05cvml7z1YHDmwB3ueyJI= =oCbR -END PGP SIGNATURE- ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error while creating c++ code for kdeui module
3. Does Gentoo have -dev{el}-packages? Maybe you need to install Qt headers and devel libs to build sip Yeah, gentoo has a complete -dev-package archive. will give the configure.py --help a shot. Thanks -- John From: Torsten Marek <[EMAIL PROTECTED]> To: john smith <[EMAIL PROTECTED]>,pykde mailing list <[EMAIL PROTECTED]> Subject: Re: [PyKDE] error while creating c++ code for kdeui module Date: Mon, 05 Jul 2004 17:36:10 +0200 john smith schrieb: You need a sip4 version more recent than rc2. Just get the 4.0 release from riverbank. greetings Torsten When i try to install sip following the install instructions i get the following error msg: sip-4.0 $ python configure.py This is SIP 4.0 for Python 2.3.3 on linux2. Error: These Qt libraries were found: qt qt-mt. Use the -l argument to explicitly specify which you want to use. sip-4.0 $ but neither sip nor python supports the -l argument, any ideas? 1. Specify the QTDIR env variable, I do not know what Qt home is for Gentoo 2. the -l argument applias to configure.py, python configure.py --help gives you a list of options 3. Does Gentoo have -dev{el}-packages? Maybe you need to install Qt headers and devel libs to build sip I think you will have to rebuilt PyQt after upgrading sip. Isn't there an ebuild for gentoo using sip4? greetings Torsten -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde _ Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/ ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error while creating c++ code for kdeui module
I downloaded the latest sip from the river web site, but when i try to install sip i get the following error msg: sip-4.0 $ python configure.py This is SIP 4.0 for Python 2.3.3 on linux2. Error: These Qt libraries were found: qt qt-mt. Use the -l argument to explicitly specify which you want to use. Neither sip nor qt has an -l argument, any ideas? From: Jim Bublitz <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: john smith <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: [PyKDE] error while creating c++ code for kdeui module Date: Mon, 5 Jul 2004 08:34:07 -0700 On Monday 05 July 2004 07:10, john smith wrote: > sip version is 4.0rc2 (4.0.0) > Generating the C++ source for the kdeui module... > Error: Unable to create the C++ code. I don't have gentoo installed anywhere, so the best I can do is guess at this. I believe sip 4.0rc2 is too old for PyKDE 3.11 to build successfully. I think rc3 or maybe even a slightly later snapshot is the minimum requirement, but I'm no longer sure. At any rate, sip4.0 has now been released, so I'd suggest upgrading to that (requires rebuilding PyQt as well, but the 3.12 version is OK). > kde 3.2.3 using gentoo 2004.1 configure.py is finding KDE 3.2.2, not 3.2.3, but I don't think that would make a lot of difference, even if both are installed. Jim ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde _ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error while creating c++ code for kdeui module
On Monday 05 July 2004 07:10, john smith wrote: > sip version is 4.0rc2 (4.0.0) > Generating the C++ source for the kdeui module... > Error: Unable to create the C++ code. I don't have gentoo installed anywhere, so the best I can do is guess at this. I believe sip 4.0rc2 is too old for PyKDE 3.11 to build successfully. I think rc3 or maybe even a slightly later snapshot is the minimum requirement, but I'm no longer sure. At any rate, sip4.0 has now been released, so I'd suggest upgrading to that (requires rebuilding PyQt as well, but the 3.12 version is OK). > kde 3.2.3 using gentoo 2004.1 configure.py is finding KDE 3.2.2, not 3.2.3, but I don't think that would make a lot of difference, even if both are installed. Jim ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error while creating c++ code for kdeui module
john smith schrieb: You need a sip4 version more recent than rc2. Just get the 4.0 release from riverbank. greetings Torsten When i try to install sip following the install instructions i get the following error msg: sip-4.0 $ python configure.py This is SIP 4.0 for Python 2.3.3 on linux2. Error: These Qt libraries were found: qt qt-mt. Use the -l argument to explicitly specify which you want to use. sip-4.0 $ but neither sip nor python supports the -l argument, any ideas? 1. Specify the QTDIR env variable, I do not know what Qt home is for Gentoo 2. the -l argument applias to configure.py, python configure.py --help gives you a list of options 3. Does Gentoo have -dev{el}-packages? Maybe you need to install Qt headers and devel libs to build sip I think you will have to rebuilt PyQt after upgrading sip. Isn't there an ebuild for gentoo using sip4? greetings Torsten -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error while creating c++ code for kdeui module
john smith schrieb: error while creating c++ code for kdeui module: here is the output Unpacking PyKDE-3.11.1.tar.gz to /var/tmp/portage/pykde-3.11.1/work Source unpacked. PyKDE version 3.11.1 --- Python include directory is /usr/include/python2.3 Python version is 2.3.3 sip version is 4.0rc2 (4.0.0) Qt directory is /usr/qt/3 Qt version is 3.3.2 PyQt directory is /usr/share/sip PyQt version is 3.12 (3.12.0) KDE base directory is /usr/kde/3.2 KDE include directory is /usr/kde/3.2/include KDE lib directory is /usr/kde/3.2/lib KDE version is 3.2.2 (0x30202) PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... Creating the Makefile for the kdecore module... Generating the C++ source for the kdesu module... Creating the Makefile for the kdesu module... Generating the C++ source for the kdefx module... Creating the Makefile for the kdefx module... Generating the C++ source for the kdeui module... Error: Unable to create the C++ code. If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:[EMAIL PROTECTED] subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed make: *** No targets specified and no makefile found. Stop. !!! ERROR: dev-python/pykde-3.11.1 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) --- kde 3.2.3 using gentoo 2004.1 You need a sip4 version more recent than rc2. Just get the 4.0 release from riverbank. greetings Torsten ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] error while creating c++ code for kdeui module
error while creating c++ code for kdeui module: here is the output Unpacking PyKDE-3.11.1.tar.gz to /var/tmp/portage/pykde-3.11.1/work Source unpacked. PyKDE version 3.11.1 --- Python include directory is /usr/include/python2.3 Python version is 2.3.3 sip version is 4.0rc2 (4.0.0) Qt directory is /usr/qt/3 Qt version is 3.3.2 PyQt directory is /usr/share/sip PyQt version is 3.12 (3.12.0) KDE base directory is /usr/kde/3.2 KDE include directory is /usr/kde/3.2/include KDE lib directory is /usr/kde/3.2/lib KDE version is 3.2.2 (0x30202) PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... Creating the Makefile for the kdecore module... Generating the C++ source for the kdesu module... Creating the Makefile for the kdesu module... Generating the C++ source for the kdefx module... Creating the Makefile for the kdefx module... Generating the C++ source for the kdeui module... Error: Unable to create the C++ code. If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:[EMAIL PROTECTED] subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed make: *** No targets specified and no makefile found. Stop. !!! ERROR: dev-python/pykde-3.11.1 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) --- kde 3.2.3 using gentoo 2004.1 _ Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/ ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] error while creating c++ code for kio module
SOULfly_B schrieb: error while creating c++ code for kio module here is the output : -- PyKDE version 3.11.0 --- Python include directory is /usr/include/python2.3 Python version is 2.3.3 sip version is 4.0rc3 (4.0.0) Qt directory is /usr/lib/qt3/ Qt version is 3.2.3 PyQt directory is /usr/share/sip PyQt version is 3.10 (3.10.0) KDE base directory is /usr KDE include directory is /usr/include KDE lib directory is /usr/lib KDE version is 3.2.2 (0x30202) PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... Creating the Makefile for the kdecore module... Generating the C++ source for the kdesu module... Creating the Makefile for the kdesu module... Generating the C++ source for the kdefx module... Creating the Makefile for the kdefx module... Generating the C++ source for the kdeui module... Creating the Makefile for the kdeui module... Generating the C++ source for the kio module... sip: Q_LONG is undefined Error: Unable to create the C++ code. You need the latest sip4 snapshot from www.riverbankcomputing.co.uk, rc3 does have some bugs causing PyKDE not to configure/compile. greetings Torsten -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 www.keyserver.net -- wwwkeys.eu.pgp.net signature.asc Description: PGP signature signature.asc Description: OpenPGP digital signature
[PyKDE] error while creating c++ code for kio module
error while creating c++ code for kio module here is the output : -- PyKDE version 3.11.0 --- Python include directory is /usr/include/python2.3 Python version is 2.3.3 sip version is 4.0rc3 (4.0.0) Qt directory is /usr/lib/qt3/ Qt version is 3.2.3 PyQt directory is /usr/share/sip PyQt version is 3.10 (3.10.0) KDE base directory is /usr KDE include directory is /usr/include KDE lib directory is /usr/lib KDE version is 3.2.2 (0x30202) PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... Creating the Makefile for the kdecore module... Generating the C++ source for the kdesu module... Creating the Makefile for the kdesu module... Generating the C++ source for the kdefx module... Creating the Makefile for the kdefx module... Generating the C++ source for the kdeui module... Creating the Makefile for the kdeui module... Generating the C++ source for the kio module... sip: Q_LONG is undefined Error: Unable to create the C++ code. --- --- Mail envoyé avec Kmail Client de messagerie de KDE 3.2.2 sous Linux Mandrake 10.0 ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error with eric3 snapshot 20040418
Hi, Am Montag, 3. Mai 2004 10:22 schrieb -=[AMIGrAve]=-: > Hi all, > > I tried to run Eric3 snapshot 20040418 under debian sid, > as I didn't found any debian package I just ran the install.py > script. Eric3 was installed successfully but I guess I missed > a dependency or something because I've got this error when I > try to run eric3 : > > Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/eric3/eric3.py", line 147, in ? > main() File "/usr/lib/python2.3/site-packages/eric3/eric3.py", line > 132, in main mw = UserInterface(loc, splash)File > "/tmp/eric-snapshot-20040418/eric/UI/UserInterface.py", line 496, in > __init__File "/tmp/eric-snapshot-20040418/eric/UI/UserInterface.py", > line 891, in initActionsFile > "/tmp/eric-snapshot-20040418/eric/ViewManager/ViewManager.py", line > 301, in initActionsFile > "/tmp/eric-snapshot-20040418/eric/ViewManager/ViewManager.py", line > 1146, in initEditActionsAttributeError: SCI_LINEDOWNRECTEXTEND That's a bug in the snapshot. If you install the latest QScintilla snapshot, everything is ok. Alternatively you may try the last formal release (3.4.1) or the upcoming snapshot (sometime this week). Detlev -- Detlev Offenbach [EMAIL PROTECTED] ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error with eric3 snapshot 20040418
Hi all, I tried to run Eric3 snapshot 20040418 under debian sid, as I didn't found any debian package I just ran the install.py script. Eric3 was installed successfully but I guess I missed a dependency or something because I've got this error when I try to run eric3 : Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/eric3/eric3.py", line 147, in ? main() File "/usr/lib/python2.3/site-packages/eric3/eric3.py", line 132, in main mw = UserInterface(loc, splash)File "/tmp/eric-snapshot-20040418/eric/UI/UserInterface.py", line 496, in __init__File "/tmp/eric-snapshot-20040418/eric/UI/UserInterface.py", line 891, in initActionsFile "/tmp/eric-snapshot-20040418/eric/ViewManager/ViewManager.py", line 301, in initActionsFile "/tmp/eric-snapshot-20040418/eric/ViewManager/ViewManager.py", line 1146, in initEditActionsAttributeError: SCI_LINEDOWNRECTEXTEND -- Fabien Meghazi ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error: QPainter::killPStack: non-empty save/restore stack when end() was called
On Tuesday 20 April 2004 1:00 pm, Fabio Zadrozny wrote: > I'm having crashes using PyQt when creating a QApplication, using a > QCheckListItem.RadioButtonController and then doing it again (I do it in > unit-test, so that the QApplication is always 'clean'... ) - If I don't't > use a QCheckListItem.RadioButtonController it doesn't crash... > > The code below shows the error (I'm using winXP, python 2.3, qt 3.2.3, pyqt > 3.10) > > from qt import * > > > class MainWindow(QWidget): > > def __init__(self): > QWidget.__init__(self, None) > self.layout = QVBoxLayout(self) > self.treeview = QListView(self) > > self.treeview.addColumn('') > self.treeview.header().hide() > self.layout.addWidget(self.treeview) > > self.item = QCheckListItem(self.treeview, None, 'controller', > QCheckListItem.RadioButtonController) > > class TestController(object): > > def test(self): > self.main = MainWindow() > self.main.show() > self.main.close() > > > if __name__ == '__main__': > > _app = QApplication([]) > t = TestController() > t.test() > _app.quit() > _app = None # necessary, otherwise QApplication doesn't die > > > _app = QApplication([]) > t = TestController() > > print 'will crash.' > t.test() > print 'never gets here...' > > _app.quit() > _app = None > > > Output: > will crash. > QPainter::killPStack: non-empty save/restore stack when end() was called I can't reproduce this on Windows2000 using current snapshots. Phil ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error: QPainter::killPStack: non-empty save/restore stack when end() was called
I'm having crashes using PyQt when creating a QApplication, using a QCheckListItem.RadioButtonController and then doing it again (I do it in unit-test, so that the QApplication is always 'clean'... ) - If I don't't use a QCheckListItem.RadioButtonController it doesn't crash... The code below shows the error (I'm using winXP, python 2.3, qt 3.2.3, pyqt 3.10) from qt import * class MainWindow(QWidget): def __init__(self): QWidget.__init__(self, None) self.layout = QVBoxLayout(self) self.treeview = QListView(self) self.treeview.addColumn('') self.treeview.header().hide() self.layout.addWidget(self.treeview) self.item = QCheckListItem(self.treeview, None, 'controller', QCheckListItem.RadioButtonController) class TestController(object): def test(self): self.main = MainWindow() self.main.show() self.main.close() if __name__ == '__main__': _app = QApplication([]) t = TestController() t.test() _app.quit() _app = None # necessary, otherwise QApplication doesn't die _app = QApplication([]) t = TestController() print 'will crash.' t.test() print 'never gets here...' _app.quit() _app = None Output: will crash. QPainter::killPStack: non-empty save/restore stack when end() was called ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error building Eric on mandrake 10, kde 3.2
On Thursday 01 April 2004 09:39 am, Phil Thompson wrote: > It's mainly down to me to add a high level API in QScintilla to the > existing Scintilla lexer. I'll add it to the next version - which will be > sooner, rather than later. > > Phil Phil, Thanks very much. cheers, ski -- "When we try to pick out anything by itself, we find it connected to the entire universe"John Muir Chris "Ski" Kacoroski, [EMAIL PROTECTED] ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error building Eric on mandrake 10, kde 3.2
Am Donnerstag, 1. April 2004 19:39 schrieb Phil Thompson: > On Thursday 01 April 2004 6:22 pm, Chris Kacoroski wrote: > > On Thursday 01 April 2004 09:05 am, Detlev Offenbach wrote: > > > What kind of support are you looking for. If it's just syntax > > > highlighting, it will be in as soon as QScintilla has a lexer for > > > it. > > > > > > Detlev > > > > > > > komodo). My new job requires me to work on Macs which is why I > > > > am > > > > Detlev, > > > > Do you ever sleep! I am looking for highlighting and if possible > > debugger support (it would be heaven with remote debugger support, > > but I rarely use that). > > > > Hmm, I checked and Scintilla has a lexer for perl. I wonder if I > > could take the QScintilla python lexer and modify it a bit to become > > a perl lexer as the underlying Scintilla code already exists. What > > do you think. > > It's mainly down to me to add a high level API in QScintilla to the > existing Scintilla lexer. I'll add it to the next version - which will > be sooner, rather than later. > This means, that the 3.5 development tree will see Perl lexer support. Perl debugger support will only be possible, if somebody implements a debugger for perl that is compatible with eric's debugger protocol. Unfortunately I am not familiar with perl. Maybe this would be task for you, Chris. Regards, Detlev -- Detlev Offenbach [EMAIL PROTECTED] ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error building Eric on mandrake 10, kde 3.2
On Thursday 01 April 2004 6:22 pm, Chris Kacoroski wrote: > On Thursday 01 April 2004 09:05 am, Detlev Offenbach wrote: > > What kind of support are you looking for. If it's just syntax > > highlighting, it will be in as soon as QScintilla has a lexer for it. > > > > Detlev > > > > > komodo). My new job requires me to work on Macs which is why I am > > Detlev, > > Do you ever sleep! I am looking for highlighting and if possible debugger > support (it would be heaven with remote debugger support, but I rarely use > that). > > Hmm, I checked and Scintilla has a lexer for perl. I wonder if I could > take the QScintilla python lexer and modify it a bit to become a perl lexer > as the underlying Scintilla code already exists. What do you think. It's mainly down to me to add a high level API in QScintilla to the existing Scintilla lexer. I'll add it to the next version - which will be sooner, rather than later. Phil ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error building Eric on mandrake 10, kde 3.2
On Thursday 01 April 2004 09:05 am, Detlev Offenbach wrote: > What kind of support are you looking for. If it's just syntax > highlighting, it will be in as soon as QScintilla has a lexer for it. > > Detlev > > > komodo). My new job requires me to work on Macs which is why I am Detlev, Do you ever sleep! I am looking for highlighting and if possible debugger support (it would be heaven with remote debugger support, but I rarely use that). Hmm, I checked and Scintilla has a lexer for perl. I wonder if I could take the QScintilla python lexer and modify it a bit to become a perl lexer as the underlying Scintilla code already exists. What do you think. cheers, ski -- "When we try to pick out anything by itself, we find it connected to the entire universe"John Muir Chris "Ski" Kacoroski, [EMAIL PROTECTED], 435-681-0092 ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error building Eric on mandrake 10, kde 3.2
Hi, Am Donnerstag, 1. April 2004 00:07 schrieb Chris Kacoroski: > Detlev, > > Thanks so much. Johannes from the list told me about this a few hours > ago. I am very impressed by the eric3 ide so far. Just curious Thank you very much > though, are there any plans to add perl support to it (then I can drop What kind of support are you looking for. If it's just syntax highlighting, it will be in as soon as QScintilla has a lexer for it. Detlev > komodo). My new job requires me to work on Macs which is why I am > trying out eric3. > > cheers, > > ski > > On Wednesday 31 March 2004 12:02 pm, Detlev Offenbach wrote: > > Hi, > > > > just add a link to libqscintilla.so.3 in /usr/lib and it will work. > > This is not an eric3 fault, it is a quirk in the configuration of > > the system. > > > > cd /usr/lib > > ln -s /usr/lib/qt3/lib/libqscintilla.so.3 . > > > > and retry the eric3 installation. > > > > Detlev > > > > Am Mittwoch, 31. März 2004 08:25 schrieb Chris Kacoroski: > > > I get the following: > > > > > > [EMAIL PROTECTED] eric-3.3.1]# python install.py > > > Sorry, please install QScintilla and/or reinstall > > > PyQt with QScintilla support. > > > > > > When I check inside the script and type stuff by hand I find that > > > it cannot find the libqscintilla.so.3 library but I the library > > > exists in /usr/lib/qt3/lib. > > > > > > I used qscintilla-1.54-x11.gpl.1,2.tar, PyQt-x11-gpl-3.11.tar, > > > sip-3.10.1.tar and also tried PyQt-x11-gpl-snapshot-20040330.tar > > > with no luck. Any help is really appreciated. > > > > > > cheers, > > > > > > ski -- Detlev Offenbach [EMAIL PROTECTED] ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error building Eric on mandrake 10, kde 3.2
Detlev, Thanks so much. Johannes from the list told me about this a few hours ago. I am very impressed by the eric3 ide so far. Just curious though, are there any plans to add perl support to it (then I can drop komodo). My new job requires me to work on Macs which is why I am trying out eric3. cheers, ski On Wednesday 31 March 2004 12:02 pm, Detlev Offenbach wrote: > Hi, > > just add a link to libqscintilla.so.3 in /usr/lib and it will work. This > is not an eric3 fault, it is a quirk in the configuration of the system. > > cd /usr/lib > ln -s /usr/lib/qt3/lib/libqscintilla.so.3 . > > and retry the eric3 installation. > > Detlev > > Am Mittwoch, 31. März 2004 08:25 schrieb Chris Kacoroski: > > I get the following: > > > > [EMAIL PROTECTED] eric-3.3.1]# python install.py > > Sorry, please install QScintilla and/or reinstall > > PyQt with QScintilla support. > > > > When I check inside the script and type stuff by hand I find that it > > cannot find the libqscintilla.so.3 library but I the library exists > > in /usr/lib/qt3/lib. > > > > I used qscintilla-1.54-x11.gpl.1,2.tar, PyQt-x11-gpl-3.11.tar, > > sip-3.10.1.tar and also tried PyQt-x11-gpl-snapshot-20040330.tar with > > no luck. Any help is really appreciated. > > > > cheers, > > > > ski -- "When we try to pick out anything by itself, we find it connected to the entire universe"John Muir Chris "Ski" Kacoroski, [EMAIL PROTECTED], 435-681-0092 ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Error building Eric on mandrake 10, kde 3.2
Hi, just add a link to libqscintilla.so.3 in /usr/lib and it will work. This is not an eric3 fault, it is a quirk in the configuration of the system. cd /usr/lib ln -s /usr/lib/qt3/lib/libqscintilla.so.3 . and retry the eric3 installation. Detlev Am Mittwoch, 31. März 2004 08:25 schrieb Chris Kacoroski: > I get the following: > > [EMAIL PROTECTED] eric-3.3.1]# python install.py > Sorry, please install QScintilla and/or reinstall > PyQt with QScintilla support. > > When I check inside the script and type stuff by hand I find that it > cannot find the libqscintilla.so.3 library but I the library exists > in /usr/lib/qt3/lib. > > I used qscintilla-1.54-x11.gpl.1,2.tar, PyQt-x11-gpl-3.11.tar, > sip-3.10.1.tar and also tried PyQt-x11-gpl-snapshot-20040330.tar with > no luck. Any help is really appreciated. > > cheers, > > ski -- Detlev Offenbach [EMAIL PROTECTED] ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error building Eric on mandrake 10, kde 3.2
I get the following: [EMAIL PROTECTED] eric-3.3.1]# python install.py Sorry, please install QScintilla and/or reinstall PyQt with QScintilla support. When I check inside the script and type stuff by hand I find that it cannot find the libqscintilla.so.3 library but I the library exists in /usr/lib/qt3/lib. I used qscintilla-1.54-x11.gpl.1,2.tar, PyQt-x11-gpl-3.11.tar, sip-3.10.1.tar and also tried PyQt-x11-gpl-snapshot-20040330.tar with no luck. Any help is really appreciated. cheers, ski -- "When we try to pick out anything by itself, we find it connected to the entire universe"John Muir Chris "Ski" Kacoroski, [EMAIL PROTECTED], 435-681-0092 ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error with connecting SIGNAL to PYSIGNAL
what's the matter with this? Traceback (most recent call last): File "Track.py", line 684, in ? w = Track() File "Track.py", line 610, in __init__ QObject.connect(self.controllerWidget.unloadButton, SIGNAL('clicked()'), PYSIGNAL('unload')) TypeError: Argument 3 of QObject.connect() has an invalid type -P ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error w/ Qt 3.2.3 and PyQt 3.10 (free version) on MacOS X
Hi, after building (compiling) of Qt 3.2.3 and PyQt 3.10 (free versions) for the MacOS X. I started the example example3/tut1.py and I got the massage: Traceback (most recent call last): File "tut1.py", line 6, in ? from qt import * ImportError: Failure linking new module: /Developer/qt/lib/libqt.3.dylib: dyld: python version mismatch for library: /Developer/qt/lib/libqt.3.dylib (compatibility version of user: 3.3.0 greater than library's version: 3.2.0) What does this actually mean? First I tried to build the Qt3.3.0-beta1, but than PyQt didn't compile. I removed the whole directory. So, I don't know from where the wrong library could come from? Could anyone help me? Cheers, Dirk ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] PyKDE error sipName_sortOrder
There is a individual who is trying to use a program I wrote in PyKDE. He is running RH Fedora and has these rpms installed: these are the version running in FEDORA core 1 ( yarrow ) build 2149 PyXML-0.8.3-1 PyQt-3.8.1-2 PyKDE-3.8.0-0.fdr.0.rh90 python-2.2.3-7 python-devel-2.2.3-7 When he runs it he gets this traceback: Traceback (most recent call last): File "/usr/local/bin/kbbtray.py", line 26, in ? from kfile import KFileDialog File "/usr/lib/python2.2/site-packages/kfile.py", line 24, in ? from kio import KIO File "/usr/lib/python2.2/site-packages/kio.py", line 24, in ? from kdeui import KAction File "/usr/lib/python2.2/site-packages/kdeui.py", line 24, in ? from kdecore import KShortcutList File "/usr/lib/python2.2/site-packages/kdecore.py", line 35, in ? import libkdecorec ImportError: /usr/lib/python2.2/site-packages/libkdecorecmodule.so: undefined symbol: sipName_sortOrder This looked somewhat familar with the message posted earlier about setting libkdeui.so.4.1.0 in your LD_PRELOAD env variable. Although a bit different. I had the person try it, but it didn't help. Anyone know what this may be from? I don't get the error and I have the same version of PyKDE and PyQt. He didn't tell me what version of Qt and KDE he had, probably what comes with Fedora. Thanks Russell Valentine pgp0.pgp Description: PGP signature
Re: [PyKDE] error report for qt-3.3.0-beta1 on Mac OS X
I think you want to remove the thread option from QScintilla's build file. I had no problem building everything with qt/mac-3.2.0. But I cannot load qt from python (some library was built using the wrong python, I have two on my system, maybe more). Qt works (but you need to have DYLD_LIBRARY_PATH set to point to where it is installed, which I think is a bug). If you get this to work, please let me know. Marc On Jan 20, 2004, at 8:34 PM, Morgan Hough wrote: I understand this isn't supported but I thought I would report this anyway. The reason I am trying is qt-3.3 is necessary for the Trolltech Qt/Mac contest. Using qt/mac-3.3.0b1, SIP-4.0rc2, Latest QScintilla and PyQt-x11-gpl-3.10 on Mac OS X 10.3.2. Fails at PyQt make stage (everything else installed) with: c++ -c -pipe -fPIC -O2 -Wall -W -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ python2.3 -I/Developer/qt/include -o sipqttableQCheckTableItem.o sipqttableQCheckTableItem.cpp sipqttableQCheckTableItem.cpp: In member function `QString sipQCheckTableItem::sipProtect_content()': sipqttableQCheckTableItem.cpp:349: error: 'class QTableItem' has no member named 'content' make[1]: *** [sipqttableQCheckTableItem.o] Error 1 make: *** [all] Error 2 Thanks. Take care, -Morgan ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde