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

Phil Thompson phil at riverbankcomputing.com
Sun Dec 4 05:34:49 GMT 2011


On Fri, 02 Dec 2011 17:37:50 +0000, Chris Mayo
<cjmayo at users.sourceforge.net> wrote:
> 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:

Sorry about that - it isn't triggered the way I normally build. Current
snapshot should be Ok.

I've implemented the changes I was proposing so, for example, an object
path is demarshalled to a string rather than a QDBusObjectPath instance.
Also I've implemented QDBusArgument.write() (which I will rename to add())
as a way of adding arguments with explicitly specified types.

Phil


More information about the PyQt mailing list