turns out for now, one instance of xmlrpclib.ServerProxy won't happily run several...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 23 May 2013 12:47:57 +0000 (14:47 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 23 May 2013 12:50:46 +0000 (14:50 +0200)
sfa/client/manifolduploader.py

index ba3b131..b27d99d 100755 (executable)
@@ -81,10 +81,12 @@ class ManifoldUploader:
         if not message: message=""
 
         try:
+            # looks like the current implementation of manifold server
+            # won't be happy with several calls issued in the same session
 #            manifold=self.proxy()
             url=self.url()
             self.logger.debug("Connecting manifold url %s"%url)
-            manifold = xmlrpclib.Server(url, allow_none = 1)
+            manifold = xmlrpclib.ServerProxy(url, allow_none = True)
             # the code for a V2 interface
             query= { 'action':     'update',
                      'object':     'local:account',