|
|
Choosing A Webhost: |
Pyhton 2.4: msg#00010cms.opengroupware.xmlrpc.devel
Anyone have an example of a Python->OGo XML-RPC call using a modern Python 2.4? I swear I had Python working, but it isn't anymore for whatever reason (it went back to griping about the parameters to xmlrpclib.Server) and there seems to little to no documentation on anything more current. Grrrr.... scripts like - http://bugzilla.opengroupware.org/bugzilla/attachment.cgi?id=410&action=view - no longer work. If I edit the server call to be - server = xmlrpclib.Server(sys.argv[1],sys.argv[2],sys.argv[3]) - then it fails with - awilliam@aleph:~> ./loginChange.py http://localhost/RPC2 awilliam fred Traceback (most recent call last): File "./loginChange.py", line 5, in ? account = server.account.getByLogin("nawrot") File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.4/xmlrpclib.py", line 1379, in __request response = self.__transport.request( AttributeError: 'str' object has no attribute 'request' -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: JOGI - Document Upload, docean |
|---|---|
| Next by Date: | Re: Pyhton 2.4, Helge Hess |
| Previous by Thread: | JOGI - Document Upload, Derya K. |
| Next by Thread: | Re: Pyhton 2.4, Helge Hess |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |