TypeError Bundle takes exactly 2 arguments
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://
Traceback (most recent call last):
File "/home/
return handler(request)
File "/home/
response = view_callable(
File "/home/
result = view(context, request)
File "/home/
response = inst()
File "/home/
result = self._handle(
File "/home/
return handler(*args, **kwargs)
TypeError: bundle() takes exactly 2 arguments (1 given)
Related branches
- Aaron Bentley (community): Approve
-
Diff: 52 lines (+13/-2)2 files modifiedcharmworld/views/api.py (+6/-2)
charmworld/views/tests/test_api.py (+7/-0)
Changed in charmworld: | |
status: | In Progress → Fix Released |
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