How to set up an XML-RPC server (newbie)

Torkil Grindstein torkil at fast.no
Mon Jan 8 08:39:37 EST 2001


> for simplicity you should try F Lundh/Pythonware's
> http://www.pythonware.com/downloads/xmlrpc-0.9.8-990621.zip

Thank you for the quick answer.

But still I wonder...

The zip-package contains three .py-files. I've been trying to
run them in different orders, but I get a series of error
messages anyways. (And yes, I've outcommented the betty-server
line, and uncommented the localhost-server line.)

Here is an example.
First, I run xmlrpcserver.py, then xmlrpclib.py:
This yields :

import: Unable to grab the mouse.
import: Unable to read X window image ().
import: Missing an image file name.
import: Unable to grab the mouse.
import: Unable to read X window image ().
import: Missing an image file name.
import: Unable to grab the mouse.
import: Unable to read X window image ().
import: Missing an image file name.
import: Unable to grab the mouse.
import: Unable to read X window image ().
import: Missing an image file name.
import: Unable to grab the mouse.
import: Unable to read X window image ().
import: Missing an image file name.
./xmlrpc_handler.py: class: command not found
./xmlrpc_handler.py: line 16: syntax error near unexpected token `(s'
./xmlrpc_handler.py: line 16: `	def match (self, request):'

Am I stupid?
-- 
Torkil Grindstein                 Mail:  Torkil.Grindstein at fast.no
System Architect                  Web:   http://www.fast.no
Fast Search & Transfer ASA        Phone: +47 21 60 11 90
Grønnegata 80, Pb 571             Fax:   +47 77 69 66 89
NO-9261 Tromsø, NORWAY            Mob:   +47 98 06 61 38

Try FAST Search: http://www.alltheweb.com



More information about the Python-list mailing list