TypeError Bundle takes exactly 2 arguments

Bug #1208035 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charmworld
Fix Released
High
Brad Crittenden

Bug Description

Staging saw this error:

2013-08-02 20:51:20 [16592] [ERROR] http://staging.jujucharms.com/api/2/bundle
Traceback (most recent call last):
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid_exclog/__init__.py", line 44, in exclog_tween
    return handler(request)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid/router.py", line 161, in handle_request
    response = view_callable(context, request)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid/config/views.py", line 375, in viewresult_to_response
    result = view(context, request)
  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyramid/config/views.py", line 465, in _class_requestonly_view
    response = inst()
  File "/home/webops_deploy/charmworld/charmworld/views/api.py", line 125, in __call__
    result = self._handle(handler, args, kwargs)
  File "/home/webops_deploy/charmworld/charmworld/views/api.py", line 96, in _handle
    return handler(*args, **kwargs)
TypeError: bundle() takes exactly 2 arguments (1 given)

Related branches

Revision history for this message
Brad Crittenden (bac) wrote :

This error is triggered when someone hits the 'bundle' url with no path:

http://staging.jujucharms.com/api/2/bundle

Hitting a similar URL for charms errors too:

http://staging.jujucharms.com/api/2/bundle

Changed in charmworld:
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in charmworld:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.