[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] [PATCH] Fix compilation of PyKDE snapshot20050628
From: Sebastian =?utf-8?q?K=C3=BCgler?= <sebas () kde ! nl>
Date: 2005-06-29 20:50:46
Message-ID: 200506292250.47044.sebas () kde ! nl
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday 29 June 2005 22:13, Jim Bublitz wrote:
> On Wednesday 29 June 2005 12:18, Sebastian Kügler wrote:
> There are some compiler/distribution related bugs I haven't fixed yet
> - QList is one and gcc4 stuff is another. I'll get to these as soon
> as possible.
Thanks, to clarify: it already works fine here, compiled with gcc4 (not
sure if there are more gcc4 issues, though).
> > > This includes a fix to allow DCOP under PyKDE to handle bool
> > > types as return values.
> >
> > The problem with bools as return types is not solved, however.
> > Adding a couple of prints reveals that in dcopext.py:def marshall()
> > "args" and "argtypes" are empty, so it doesn't do much.
> >
> > Any hints where I should look for debugging this?
>
> If you're still debugging the sample program you posted, you're not
> passing any args with the call, so marshall() shouldn't see any. You
> can look at what unmarshall returns - that's where the return data is
> handled; the example program you posted (and some other tests) work
> correctly here. Again, be sure you're looking at the second element
> of the tuple, not the first as the example program was originally
> written. The dcop call will return a tuple of the form (valid,
> result). 'valid' will always be True if the call succeeded (and the
> call was always succeeding - it just sent back result == None for any
> bool) - you want to look at 'result'.
Ah, yeah. That's it - of course. It now works fine though.
Thanks,
--
sebas
http://www.kde.nl | GPG Key ID: 9119 0EF9
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
A printer consists of three main parts: the case, the jammed paper tray
and the blinking red light. - Dave Barry
[Attachment #5 (application/pgp-signature)]
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic