Hi, I'm trying to use django-devserver (https://github.com/dcramer/django-devserver) to debug localshop (https://github.com/mvantellingen/localshop), a Django-based Pypi server.
I've installed django-devserver and werzbeug. I then added 'devserver' to INSTALLED_APPS, and have started it up: (temp)Victors-MacBook-Air:code victorhooi$ localshop runserver --werkzeug > Validating models... > 0 errors found > Django version 1.4.3, using settings 'localshop.settings' > Running django-devserver 0.4.0 > Threaded werkzeug server is running at http://127.0.0.1:8000/ > Quit the server with CONTROL-C. > * Running on http://127.0.0.1:8000/ I then try to access the view that triggers a 500 Internal Server Error (in this case from a file being in the wrong location). On the console, I can see: 127.0.0.1 - - [14/Mar/2013 20:31:00] "GET /simple/yolk/ HTTP/1.1" 401 - > 127.0.0.1 - - [14/Mar/2013 20:31:03] "GET /simple/yolk/ HTTP/1.1" 401 - > 127.0.0.1 - - [14/Mar/2013 20:31:04] "GET /simple/yolk/ HTTP/1.1" 200 - > Internal Server Error: /packages/yolk/download/1/yolk-0.4.3.tar.gz > Traceback (most recent call last): > File > "/Users/victorhooi/.venvs/temp/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/core/handlers/base.py", > > line 111, in get_response > response = callback(request, *callback_args, **callback_kwargs) > File > "/Users/victorhooi/.venvs/temp/lib/python2.7/site-packages/localshop-0.4.1-py2.7.egg/localshop/apps/packages/views.py", > > line 171, in download_file > logger.info(release_file.distribution.file) > File > "/Users/victorhooi/.venvs/temp/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/db/models/fields/files.py", > > line 46, in _get_file > self._file = self.storage.open(self.name, 'rb') > File > "/Users/victorhooi/.venvs/temp/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/core/files/storage.py", > > line 33, in open > return self._open(name, mode) > File > "/Users/victorhooi/.venvs/temp/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/core/files/storage.py", > > line 156, in _open > return File(open(self.path(name), mode)) > IOError: [Errno 2] No such file or directory: > u'/Users/victorhooi/code/source/y/yolk/yolk-0.4.3.tar.gz' > 127.0.0.1 - - [14/Mar/2013 20:31:04] "GET > /packages/yolk/download/1/yolk-0.4.3.tar.gz HTTP/1.1" 500 - However, I don't seem to get any interactive prompt, or a debugger, or anything? The server just keeps going, ready to receive the next request. Is something stopping the debugger from triggering here? Cheers, Victor -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.