[PyQt] QtDBus: Unable to convert Array of Object Paths

Chris Mayo cjmayo at users.sourceforge.net
Fri Dec 2 17:37:50 GMT 2011


On 02/12/11 01:42, Phil Thompson wrote:
> On Thu, 01 Dec 2011 20:20:34 +0000, Chris Mayo
> <cjmayo at users.sourceforge.net>  wrote:
>> Can't get ee8b9c7eb565 to compile:
>>
>> Generating the C++ source for the QtDBus module...
>> sip:
>>
> /var/tmp/portage/dev-python/PyQt4-4.9_pre20111201/work/PyQt-x11-gpl-snapshot-4.9-ee8b9c7eb565-2.7/sip/QtDBus/qdbusextratypes.sip:95:
>>
>> A class, exception, namespace or mapped type has already been defined
>> with the same name
>> Error: Unable to create the C++ code.
>
> This might have been due to a build problem. Try downloading the snapshot
> again (even though it has the same name).
>
> Phil

After downloading again a lot of different errors, just the first few:

x86_64-pc-linux-gnu-g++ -c -march=core2 -msse4.1 -ftree-vectorize -O2 
-pipe -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC 
-Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I. 
-I/var/tmp/portage/dev-python/PyQt4-4.9_pre20111201/work/PyQt-x11-gpl-snapshot-4.9-ee8b9c7eb565-2.7/qpy/QtDBus 
-I/usr/include/python2.7 -I/usr/mkspecs/linux-g++ 
-I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtCore -I/usr/include/qt4 
-o sipQtDBusQDBusObjectPath.o sipQtDBusQDBusObjectPath.cpp
/var/tmp/portage/dev-python/PyQt4-4.9_pre20111201/work/PyQt-x11-gpl-snapshot-4.9-ee8b9c7eb565-2.7/QtDBus/sipQtDBusQDBusVariant.cpp: 
In function ‘PyObject* meth_QDBusVariant_variant(PyObject*, PyObject*)’:
/var/tmp/portage/dev-python/PyQt4-4.9_pre20111201/work/PyQt-x11-gpl-snapshot-4.9-ee8b9c7eb565-2.7/QtDBus/sipQtDBusQDBusVariant.cpp:45:15: 
error: ‘QDBusVariant’ does not name a type
/var/tmp/portage/dev-python/PyQt4-4.9_pre20111201/work/PyQt-x11-gpl-snapshot-4.9-ee8b9c7eb565-2.7/QtDBus/sipQtDBusQDBusVariant.cpp:47:87: 
error: ‘sipCpp’ was not declared in this scope
/var/tmp/portage/dev-python/PyQt4-4.9_pre20111201/work/PyQt-x11-gpl-snapshot-4.9-ee8b9c7eb565-2.7/QtDBus/sipQtDBusQDBusVariant.cpp: 
In function ‘PyObject* meth_QDBusVariant_setVariant(PyObject*, PyObject*)’:
...

This is with sip-4.13.1-snapshot-98421b9cc511.

Chris


More information about the PyQt mailing list