bdr crashes on login with django 1.3

Reported by Shawn Sherwood on 2012-05-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bombardier
High
Shawn Sherwood

Bug Description

This is a bug similar to what I ran into last September, but never finished troubleshooting.

I'm working through updating bombardier to work with Ubuntu 12.04 and want to use the default django if possible.

Here's the error output:

Exception happened during processing of request from ('127.0.0.1', 45101)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/bin/bdr_dispatcher", line 61, in __init__
    WSGIRequestHandler.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/core/servers/basehttp.py", line 570, in __init__
    BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__
    self.finish()
  File "/usr/lib/python2.7/SocketServer.py", line 693, in finish
    self.wfile.flush()
  File "/usr/lib/python2.7/socket.py", line 303, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe

This is not helpful, but the error on the debug page complains about:

    object has no attribute 'root'

This diff shows what I did to get past that error:

=== modified file 'server/lib/web/rest_api/urls.py'
--- server/lib/web/rest_api/urls.py 2011-03-16 17:59:40 +0000
+++ server/lib/web/rest_api/urls.py 2012-05-27 06:53:14 +0000
@@ -6,5 +6,5 @@
    url(r'', include('bombardier_server.web.rest_api.auth_urls')),
    url(r'', include('bombardier_server.web.rest_api.dispatcher_urls')),
    url(r'', include('bombardier_server.web.rest_api.webui_urls')),
- url(r'^admin/(.*)', admin.site.root)
+ url(r'^admin/(.*)', admin.site.urls)
 )

I'll take ownership of this bug.

Shawn Sherwood (shsher) on 2012-05-27
description: updated
Shawn Sherwood (shsher) on 2012-05-27
tags: added: precise ubuntu
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers