django-devserver icon indicating copy to clipboard operation
django-devserver copied to clipboard

'MemoryUseModule' object has no attribute 'heapy'

Open glenbot opened this issue 14 years ago • 4 comments

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

  1.             response = middleware_method(request, response)
    
    File "/Users/glenbot/.virtualenv/codrspace_app/lib/python2.7/site-packages/devserver/middleware.py" in process_response
  2.     self.process_complete(request)
    
    File "/Users/glenbot/.virtualenv/codrspace_app/lib/python2.7/site-packages/devserver/middleware.py" in process_complete
  3.             mod.process_complete(request)
    
    File "/Users/glenbot/.virtualenv/codrspace_app/lib/python2.7/site-packages/devserver/modules/profile.py" in process_complete
  4.         h = self.heapy.heap()
    

Exception Type: AttributeError at / Exception Value: 'MemoryUseModule' object has no attribute 'heapy'

glenbot avatar Aug 03 '11 01:08 glenbot

I ran into this problem too :-)

calvinchengx avatar Aug 10 '11 02:08 calvinchengx

I also had this problem and had to disable that module.

eppsilon avatar Aug 18 '11 15:08 eppsilon

I believe the code for 'MemoryUseModule' has changed, could you guys reproduce with the HEAD version?

aht avatar Sep 19 '11 03:09 aht

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/

glenbot avatar Sep 23 '11 15:09 glenbot