django-devserver
django-devserver copied to clipboard
'MemoryUseModule' object has no attribute 'heapy'
Trackeback
Environment:
Request Method: GET Request URL: http://127.0.0.1:8000/
Django Version: 1.3 Python Version: 2.7.1 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.markup', 'codrspace', 'devserver'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware')
Traceback: File "/Users/glenbot/.virtualenv/codrspace_app/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
-
File "/Users/glenbot/.virtualenv/codrspace_app/lib/python2.7/site-packages/devserver/middleware.py" in process_responseresponse = middleware_method(request, response) -
File "/Users/glenbot/.virtualenv/codrspace_app/lib/python2.7/site-packages/devserver/middleware.py" in process_completeself.process_complete(request) -
File "/Users/glenbot/.virtualenv/codrspace_app/lib/python2.7/site-packages/devserver/modules/profile.py" in process_completemod.process_complete(request) -
h = self.heapy.heap()
Exception Type: AttributeError at / Exception Value: 'MemoryUseModule' object has no attribute 'heapy'
I ran into this problem too :-)
I also had this problem and had to disable that module.
I believe the code for 'MemoryUseModule' has changed, could you guys reproduce with the HEAD version?
I installed it off master instead of using pip. Now im getting a whole different error when trying to launch the server. http://dpaste.com/hold/619627/