[Freeipa-devel] [PATCH] Invalid method: __nonzero__ from xmlrpc server

Kevin McCarthy kmccarth at redhat.com
Thu Aug 2 22:30:13 UTC 2007


Kevin McCarthy wrote:
> Kevin McCarthy wrote:
> > After following Rob's advice, I've found the problem is with the client
> > side.  If you send two get_user() requests, the second one sends a
> > garbage request to the server:
> 
> > it works just fine.  Although the point is moot (since we're changing
> > the web gui) we probably didn't want to use a class variable anyway  (I
> > don't know if TurboGears is multi-threaded).

The funny thing is, repeated calls to add_user() don't seem to generate
this error, only get_user().  Perhaps someone else can see why that's
the case...  the only difference I see is the add_user() is passing a
Hash versus get_user() only passing a string parameter.

-Kevin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070802/0f2f8e25/attachment.bin>


More information about the Freeipa-devel mailing list