gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUe] error in appserver


From: Jan Ischebeck
Subject: Re: [GNUe] error in appserver
Date: Sat, 17 Jan 2004 12:27:18 +0100

Hi Peter,

it seems like the python xmlrpc module which is included into the
standart python 2.3 and 2.2 distros is not included in mandrake 9.2

You could check this by searching for the file xmlrpclib.py.
In my case (Debian Unstable) it's at /usr/lib/python2.3/xmlrpclib.py.

If its there please try to import it by doing a

bash-2.05b$ python
Python 2.3.3 (#2, Jan 13 2004, 00:47:05)
[GCC 3.3.3 20040110 (prerelease) (Debian)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xmlrpclib
>>>

If this is working. You can test the gnue xmlrpc code itself with the
gcvs (created by the setup-cvs.py script) utility:

bash-2.05b$ gcvs gnue-common/src/rpc/drivers/xmlrpc/py_xmlrpc/Driver.py

I guess the problem is connected with xmlrpclib.py missing. If not,
please send me the result of the gcvs test, then I can tell you more.

Jan


Am Sa, den 17.01.2004 schrieb Peter Dabrowski um 11:33:
> Hi, 
> I got a problem with xmlrpc transport at gnue appserver after upgrading my 
> system to 
> Mandrake9.2 with python2.3. I had reinstall all gnue modules after upgrading 
> because 
> anything worked but it was quick and smooth. Only appserver doesn't work. 
> Bellow error log. Anybody got a clue what went wrong? 

Yes, the driver xmlrpc.py_xmlrpc couldn't be loaded. :)
> Peter 
>  
> 
> Exporting our services via xmlrpc.py_xmlrpc (port 8765) ... 
> DB000: Traceback (most recent call last): 
> DB000:   File "/usr/local/bin/gnue-appserver", line 31, in ? 
> DB000:     server.run (); 
> DB000:   File "/usr/local/gnue/lib/python/gnue/appserver/geasRpcServer.py", 
> line 158, in 
> run 
> DB000:     {'SessionManager': self.requestSessionManager}) 
> DB000:   File "/usr/local/gnue/lib/python/gnue/common/rpc/GComm.py", line 
> 184, in bind 
> DB000:     driver = _get_driver(interface, ALLDRIVERS, 
> 'gnue.common.rpc.drivers',lambda 
> x:x.SERVER==1 ) 
> DB000:   File "/usr/local/gnue/lib/python/gnue/common/rpc/GComm.py", line 71, 
> in 
> _get_driver 
> DB000:     raise Exception, tmsg 
> DB000: Exception: No rpc driver found for provider type 'xmlrpc.py_xmlrpc' 
>  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]