Hello,

I am running Moses in server mode using the python lib xmlrpclib. When I 
send long messages to Moses, it crashes. I guess it has to do with a 
limitation of the message size. I could find a possibility to increase 
the allowed message size for the XML-RPC implementation for C/C++ (which 
shows me that there is something like a maximum length) but not for the 
python implementation.

That is the error I get:

   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
     return self.__send(self.__name, args)
   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
     verbose=self.__verbose
   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
     return self.single_request(host, handler, request_body, verbose)
   File "/usr/lib/python2.7/xmlrpclib.py", line 1294, in single_request
     response = h.getresponse(buffering=True)
   File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
     response.begin()
   File "/usr/lib/python2.7/httplib.py", line 407, in begin
     version, status, reason = self._read_status()
   File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
     raise BadStatusLine(line)
httplib.BadStatusLine: ''


Does anybody have experience with that?

Cheers,

Sarah
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to