Opened 9 years ago

Closed 9 years ago

#45 closed defect (fixed)

TypeError: __init__() takes exactly 3 non-keyword arguments (1 given)

Reported by: michiel Owned by: sander
Priority: major Milestone:
Component: Central server Keywords:
Cc: Time estimate:

Description

AAAAkACQAUAgAAliIAAAAA</string>\n </value>\n </member>\n </struct>\n </value>\n </param>\n</params>\n</methodResponse>\n<?xml version="1.0"?>\n<methodResponse>\n <fault>\n <value>\n <struct>\n <member>\n <name>faultCode</name>\n <value><int>1</int></value>\n </member>\n <member>\n <name>faultString</name>\n\t <value>\n\t <string>\n\t\t \tPHP Error occurred:\n\t\t \tcode: 2\n\t\t\tdescription: unlink(/home/www.officeshots.org/trunk/www/app/tmp/cache/cake_core_core_paths) [<a href=\'http://php.net/function.unlink\'>function.unlink</a>]: No such file or directory\n\t\t\tfile: /home/www.officeshots.org/trunk/www/cake/libs/file.php\n\t\t\tli'
body: 'ne: 292\n\t\t\ttrace: Array\n(\n [0] =&gt; Array\n (\n [function] =&gt; destruct\n [class] =&gt; App\n [file] =&gt; /home/www.officeshots.org/trunk/www/cake/libs/configure.php\n [line] =&gt; 0\n [params] =&gt; Array\n (\n )\n\n )\n\n [1] =&gt; Array\n (\n [function] =&gt; corePaths\n [class] =&gt; Configure\n [file] =&gt; /home/www.officeshots.org/trunk/www/cake/libs/configure.php\n [line] =&gt; 1184\n [params] =&gt; Array\n (\n )\n\n )\n\n [2] =&gt; Array\n (\n [function] =&gt; read\n [class] =&gt; Cache\n [file] =&gt; /home/www.officeshots.org/trunk/www/cake/libs/configure.php\n [line] =&gt; 489\n [params] =&gt; Array\n (\n )\n\n )\n\n [3] =&gt; Array\n (\n [function] =&gt; read\n [class] =&gt; FileEngine?\n '
body: '[file] =&gt; /home/www.officeshots.org/trunk/www/cake/libs/cache.php\n [line] =&gt; 307\n [params] =&gt; Array\n (\n )\n\n )\n\n [4] =&gt; Array\n (\n [function] =&gt; delete\n [class] =&gt; File\n [file] =&gt; /home/www.officeshots.org/trunk/www/cake/libs/cache/file.php\n [line] =&gt; 171\n [params] =&gt; Array\n (\n )\n\n )\n\n [5] =&gt; Array\n (\n [function] =&gt; unlink\n [file] =&gt; /home/www.officeshots.org/trunk/www/cake/libs/file.php\n [line] =&gt; 292\n [params] =&gt; Array\n (\n )\n\n )\n\n [6] =&gt; Array\n (\n [function] =&gt; handleError\n [class] =&gt; XmlrpcController?\n [file] =&gt; /home/www.officeshots.org/trunk/www/app/controllers/xmlrpc_controller.php\n [line] =&gt; 0\n [params] =&gt; Array\n (\n '
body: ' )\n\n )\n\n)\n\n\t\t </string>\n\t </value>\n </member>\n </struct>\n </value>\n </fault>\n</methodResponse>'
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/michiel/software/factory/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 1392, in _parse_response

return u.close()

File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close

raise Fault(self._stack[0])

TypeError?: init() takes exactly 3 non-keyword arguments (1 given)
Segmentatiefout

Change History (2)

comment:1 Changed 9 years ago by sander

Dit is een bug in xmlrpclib.py. Hier kan ik niets aan doen. Heb je hier vaak last van?

comment:2 Changed 9 years ago by sander

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

Fixed met r371.

Note: See TracTickets for help on using tickets.