Opened 7 years ago

Closed 7 years ago

#52 closed defect (fixed)

Repeated factory crash during regular operation over XMLRPC/Expat error

Reported by: michiel Owned by: sander
Priority: minor Milestone: Public release
Component: Standard factory client Keywords:
Cc: Time estimate:

Description

$ python factory.py
Traceback (most recent call last):

File “factory.py”, line 223, in <module>

factory.run()

File “factory.py”, line 208, in run

while self.loop():

File “factory.py”, line 151, in loop

job = self.proxy.jobs.poll(self.name)

File “/usr/lib/python2.6/xmlrpclib.py”, line 1199, in call

return self.send(self.name, args)

File “/usr/lib/python2.6/xmlrpclib.py”, line 1489, in request

verbose=self.verbose

File “/home/arbeid/factory2/src/transports/m2crypto.py”, line 43, in request

return m2xmlrpclib.SSL_Transport.request(self, host, handler, request_body, verbose)

File “/usr/lib/pymodules/python2.6/M2Crypto/m2xmlrpclib.py”, line 64, in request

return self.parse_response(h.getfile())

File “/usr/lib/python2.6/xmlrpclib.py”, line 1361, in parse_response

return self._parse_response(file, None)

File “/usr/lib/python2.6/xmlrpclib.py”, line 1387, in _parse_response

p.feed(response)

File “/usr/lib/python2.6/xmlrpclib.py”, line 601, in feed

self._parser.Parse(data, 0)

xml.parsers.expat.ExpatError?: junk after document element: line 5, column 0

$ python factory.py

Traceback (most recent call last):

File “factory.py”, line 223, in <module>

factory.run()

File “factory.py”, line 208, in run

while self.loop():

File “factory.py”, line 151, in loop

job = self.proxy.jobs.poll(self.name)

File “/usr/lib/python2.6/xmlrpclib.py”, line 1199, in call

return self.send(self.name, args)

File “/usr/lib/python2.6/xmlrpclib.py”, line 1489, in request

verbose=self.verbose

File “/home/arbeid/factory2/src/transports/m2crypto.py”, line 43, in request

return m2xmlrpclib.SSL_Transport.request(self, host, handler, request_body, verbose)

File “/usr/lib/pymodules/python2.6/M2Crypto/m2xmlrpclib.py”, line 64, in request

return self.parse_response(h.getfile())

File “/usr/lib/python2.6/xmlrpclib.py”, line 1361, in parse_response

return self._parse_response(file, None)

File “/usr/lib/python2.6/xmlrpclib.py”, line 1387, in _parse_response

p.feed(response)

File “/usr/lib/python2.6/xmlrpclib.py”, line 601, in feed

self._parser.Parse(data, 0)

xml.parsers.expat.ExpatError?: junk after document element: line 5, column 0

Change History (1)

comment:1 Changed 7 years ago by sander

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with r371.

Note: See TracTickets for help on using tickets.