[Top][All Lists]
[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 21:58:57 +0100 |
Hi Peter,
gcvs is just a convenient function to set the PYTHONPATH class variable.
Please try the following:
PYTHONPATH=<insert your gnue path>:$PYTHONPATH; export PYTHONPATH
python gnue-common/src/rpc/drivers/xmlrpc/py_xmlrpc/Driver.py
Jan
Am Sa, den 17.01.2004 schrieb Peter Dabrowski um 13:53:
> Thanks Jan for quick response.
> I found xmlrpclib.py on my system and imported it.
> But cannot find gcvs presumably because I run gnue from latest official
> releases, not
> from cvs. After import xmlrpclib.py tried gnue-appserver but not success and
> the same
> errors
> Peter
> ----- Original Message -----
> From: Jan Ischebeck <address@hidden>
> Date: Sat, 17 Jan 2004 12:27:18 +0100
> To: address@hidden
> Subject: Re: [GNUe] error in appserver
>
> > 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'
> > >
> >
> >
> >
> > _______________________________________________
> > Gnue mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/gnue