1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #8371 resolved

Bitbucket server return "'dict' object has no attribute '_mutable'" message on the PUT requests.

samuel hints
created an issue

I have work on the bitbucket api and bitbucket OAuth. I don't have problem with "GET", "POST" and "DELETE", But on the PUT requests server return error. Also The restbrowser without problem send the PUT requests .

Error Code: 500 ------------------------------------------------------------------------------------------- Error Message: 'dict' object has no attribute '_mutable' ------------------------------ Error Details : ----------------------------------------------------------------------------------------------

File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/resource.py", line 198, in __call__ result = checked_meth(request, *args, **kwargs) File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/resource.py", line 185, in checked_meth return meth(*args, **kwargs) File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/newrelic-2.5.0.94/newrelic/hooks/component_piston.py", line 33, in __call__ return self._nr_wrapped(*args, **kwargs) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/v10/decorators.py", line 334, in wrapper return func(*args, **kwargs) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/bb/decorators.py", line 38, in wrap return f(request, *a, **kwa) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/bb/decorators.py", line 374, in wrapped_function return func(*args, **kwargs) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/v10/decorators.py", line 75, in wrapped_function return func(*args, **kwargs) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/v10/handlers.py", line 2031, in update form.merge_from_initial() File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/forms.py", line 18, in merge_from_initial self.data._mutable = True 

I send requests with wp_remote_request function.

Comments (4)

  1. Log in to comment