thank's reply

>>> s = xmlrpclib.ServerProxy('http://www.xscripter.com:5000/rpc/userstatus')
>>> s.s.userstatus()
'basic string'

url = 'http://www.xscripter.com:5000/rpc/userstatus'
thi's ok,
why?



On Nov 26, 9:57 am, "Dalius Dobravolskas"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Wed, Nov 26, 2008 at 11:38 AM, crown.hg <[EMAIL PROTECTED]> wrote:
>
> > faultCode 0 faultString Traceback (most recent call last): File "/home/
> > crown/projects/xscripter/xscripter/lib/base.py", line 33, in __call__
> > return XMLRPCController.__call__(self, environ, start_response) File "/
> > usr/lib/python2.6/site-packages/Pylons-0.9.7rc3-py2.6.egg/pylons/
> > controllers/xmlrpc.py", line 128, in __call__ abort(413, "XML body too
> > large") File "/usr/lib/python2.6/site-packages/Pylons-0.9.7rc3-
> > py2.6.egg/pylons/controllers/util.py", line 202, in abort raise
> > exc.exception HTTPRequestEntityTooLarge: 413 Request Entity Too Large
> > content-type: text/html; charset=UTF-8 Content-Length: 0
>
> What a mess. OK. Here is result:
>
> File 
> "/usr/lib/python2.6/site-packages/Pylons-0.9.7rc3-py2.6.egg/pylons/controllers/xmlrpc.py",
> line 128,
>
> ----------
> if length > self.max_body_length or length == 0:
>             if log_debug:
>                 log.debug("Content-Length larger than max body length. Max: "
>                           "%s, Sent: %s. Returning 413 error",
>                           self.max_body_length, length)
>             abort(413, "XML body too large")
> ----------
>
> Your traceback shows: Content-Length: 0
>
> Empty request was send to your xmlrpc controller.
>
> --
> Daliushttp://blog.sandbox.lt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to