This is probably bug that 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:
This is probably bug that 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) python2. 7/SocketServer. py", line 284, in _handle_ request_ noblock process_ request( request, client_address) python2. 7/SocketServer. py", line 310, in process_request finish_ request( request, client_address) python2. 7/SocketServer. py", line 323, in finish_request RequestHandlerC lass(request, client_address, self) bin/bdr_ dispatcher" , line 61, in __init__ Handler. __init_ _(self, *args, **kwargs) python2. 7/dist- packages/ django/ core/servers/ basehttp. py", line 570, in __init__ uestHandler. __init_ _(self, *args, **kwargs) python2. 7/SocketServer. py", line 640, in __init__ python2. 7/SocketServer. py", line 693, in finish wfile.flush( ) python2. 7/socket. py", line 303, in flush _sock.sendall( view[write_ offset: write_offset+ buffer_ size])
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/local/
WSGIRequest
File "/usr/lib/
BaseHTTPReq
File "/usr/lib/
self.finish()
File "/usr/lib/
self.
File "/usr/lib/
self.
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' lib/web/ rest_api/ urls.py 2011-03-16 17:59:40 +0000 lib/web/ rest_api/ urls.py 2012-05-27 06:53:14 +0000 'bombardier_ server. web.rest_ api.auth_ urls')) , 'bombardier_ server. web.rest_ api.dispatcher_ urls')) , 'bombardier_ server. web.rest_ api.webui_ urls')) ,
--- server/
+++ server/
@@ -6,5 +6,5 @@
url(r'', include(
url(r'', include(
url(r'', include(
- url(r'^admin/(.*)', admin.site.root)
+ url(r'^admin/(.*)', admin.site.urls)
)
I'll take ownership of this bug.