Issue 708: [Django] Error (EXTERNAL IP):  
/api/json/reviewrequests/48187/diff/new/
http://code.google.com/p/reviewboard/issues/detail?id=708

Comment #1 by trowbrds:
Probably the same bug:

Traceback (most recent call last):

   File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py",  
line 86, in
get_response
     response = callback(request, *callback_args, **callback_kwargs)

   File "/usr/lib/python2.5/site-packages/django/views/decorators/cache.py",  
line 44,
in _wrapped_view_func
     response = view_func(request, *args, **kwargs)

   File
"/usr/lib/python2.5/site-packages/Djblets-0.4.dev_r11901-py2.5.egg/djblets/webapi/decorators.py",
line 32, in _checklogin
     return view_func(request, *args, **kwargs)

   File "/usr/lib/python2.5/site-packages/django/views/decorators/http.py",  
line 31,
in inner
     return func(request, *args, **kwargs)

   File
"/usr/lib/python2.5/site-packages/ReviewBoard-0.9.dev_r1537-py2.5.egg/reviewboard/webapi/json.py",
line 1124, in new_diff
     discarded_diffset.delete()

   File "/usr/lib/python2.5/site-packages/django/db/models/base.py", line  
440, in delete
     self._collect_sub_objects(seen_objs)

   File "/usr/lib/python2.5/site-packages/django/db/models/base.py", line  
408, in
_collect_sub_objects
     rel_opts_name = related.get_accessor_name()

AttributeError: 'str' object has no attribute 'get_accessor_name'


<ModPythonRequest
path:/api/json/reviewrequests/47798/diff/new/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'rbsessionid': '704af7b9e4d5e41adc2eb18350e13102'},
META:{'AUTH_TYPE': None,
  'CONTENT_LENGTH': 0L,
  'CONTENT_TYPE': None,
  'GATEWAY_INTERFACE': 'CGI/1.1',
  'HTTP_ACCEPT_ENCODING': 'identity',
  'HTTP_CONNECTION': 'close',
  'HTTP_CONTENT_LENGTH': '41422',
  'HTTP_CONTENT_TYPE': 'multipart/form-data;
boundary=127.0.0.1.20100.30421.1224607891.142.3',
  'HTTP_COOKIE': 'rbsessionid=704af7b9e4d5e41adc2eb18350e13102',
  'HTTP_HOST': 'reviewboard.eng.vmware.com',
  'HTTP_USER_AGENT': 'post-review/0.5',
  'PATH_INFO': u'/api/json/reviewrequests/47798/diff/new/',
  'PATH_TRANSLATED': None,
  'QUERY_STRING': None,
  'REMOTE_ADDR': '10.17.118.79',
  'REMOTE_HOST': None,
  'REMOTE_IDENT': None,
  'REMOTE_USER': None,
  'REQUEST_METHOD': 'POST',
  'SCRIPT_NAME': '',
  'SERVER_NAME': 'reviewboard.eng.vmware.com',
  'SERVER_PORT': 0,
  'SERVER_PROTOCOL': 'HTTP/1.1',
  'SERVER_SOFTWARE': 'mod_python'}>




-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to