hjfreyer / marry-fuck-kill

http://marryfuckkill.net
Apache License 2.0
2 stars 0 forks source link

MFK mapreduce is broken with the python27 runtime #18

Closed mjkelly closed 10 years ago

mjkelly commented 10 years ago

It relates to the part that deals with WSGI more directly (not surprising). It's coming from inside the google mapreduce code we're using, I believe.

__init__() takes at most 2 arguments (3 given)
Traceback (most recent call last):
  File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1511, in __call__
    rv = self.handle_exception(request, response, e)
  File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1505, in __call__
    rv = self.router.dispatch(request, response)
  File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1076, in __call__
    handler = self.handler(request, response)
TypeError: __init__() takes at most 2 arguments (3 given)

Hopefully we can just swap in new code. I'll try to look at this.

mjkelly commented 10 years ago

Just had to update the mapreduce library to the latest version.