Re: Error executig gnue-forms with first appserver example

Jan Ischebeck <[email protected]> Mon, 05 Mar 2007 18:54:13 +0100
Newsgroups gmane.comp.gnu.enterprise.general
Message-ID <[email protected]>
Hi Reinhard, Thilo,

the issue is fixed in CVS now.

In ClientAdapter.py the xmlrpclib class Transport is subclassed without 
calling the parent constructor.
Just adding a call to that constructor fixes the issue.

Jan

Modified: trunk/gnue-common/src/rpc/drivers/xmlrpc/ClientAdapter.py
===================================================================
--- trunk/gnue-common/src/rpc/drivers/xmlrpc/ClientAdapter.py	2007-03-04 22:49:55 UTC (rev 9425)
+++ trunk/gnue-common/src/rpc/drivers/xmlrpc/ClientAdapter.py	2007-03-05 17:51:13 UTC (rev 9426)
@@ -52,6 +52,7 @@
   def __init__ (self):
 
     self.__connection = None
+    xmlrpclib.Transport.__init__(self)
 


Reinhard Mueller schrieb:
> Am Sonntag, den 04.03.2007, 21:51 +0100 schrieb Reinhard Mueller:
>   
>> Am Samstag, den 03.03.2007, 23:55 +0100 schrieb Thilo Riessner:
>>     
>>>    File "/usr/lib/python2.5/xmlrpclib.py", line 1210, in getparser
>>>     return getparser(use_datetime=self._use_datetime)
>>>  AttributeError: PersistentTransport instance has no attribute '_use_datetime'
>>>       
>> damn, at first sight this looks like some incompatible change done
>> between 2.4 and 2.5. I will investigate ASAP and let you know.
>>     
>
> Could you please send me the file /usr/lib/python2.5/xmlrpclib.py by
> email?
>
> Thanks,
> Reinhard
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gnue mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/gnue
>