Hi Vijay - that's going to be the problem; I've installed it locally but haven't installed it on my (Webfaction-provided) server.
-- Thanks,
Rich
On Saturday, January 28, 2017 at 4:58:56 PM UTC, Vijay Khemlani wrote:
On Saturday, January 28, 2017 at 4:58:56 PM UTC, Vijay Khemlani wrote:
Did you install debug_toolber on your server?
pip install django-debug-toolbar
On 1/28/17, Richard Jackson <rjack...@gmail.com> wrote:
> Hi everyone,
>
> I've recently installed the Django Debug Toolbar for local use; I've just
> pushed the code online and am greeted with the below error:
>
> [81.95.157.172] out: Traceback (most recent call last):
> [81.95.157.172] out: File "<string>", line 1, in <module>
> [81.95.157.172] out: File
> "/home/rjackson87/.virtualenvs/richardjackson/ lib/python2.7/site-packages/ django/__init__.py",
>
> line 18, in setup
> [81.95.157.172] out: apps.populate(settings.INSTALLED_APPS)
> [81.95.157.172] out: File
> "/home/rjackson87/.virtualenvs/richardjackson/ lib/python2.7/site-packages/ django/apps/registry.py",
>
> line 85, in populate
> [81.95.157.172] out: app_config = AppConfig.create(entry)
> [81.95.157.172] out: File
> "/home/rjackson87/.virtualenvs/richardjackson/ lib/python2.7/site-packages/ django/apps/config.py",
>
> line 86, in create
> [81.95.157.172] out: module = import_module(entry)
> [81.95.157.172] out: File
> "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in import_module
> [81.95.157.172] out: __import__(name)
> [81.95.157.172] out: ImportError: No module named debug_toolbar
> [81.95.157.172] out:
>
> Fatal error: run() received nonzero return code 1 while executing!
>
> Requested: python -c "import
> os;os.environ['DJANGO_SETTINGS_MODULE']=' richardjackson.settings'; import
> django;django.setup();from django.conf import
> settings;print(settings.STATIC_ROOT)"
> Executed: /bin/bash -l -c "cd /home/rjackson87/webapps/richardjackson
>>/dev/null && source
> /home/rjackson87/.virtualenvs/richardjackson/bin/activate && python -c
> \"import
> os;os.environ['DJANGO_SETTINGS_MODULE']=' richardjackson.settings'; import
> django;django.setup();from django.conf import
> settings;print(settings.STATIC_ROOT)\""
>
> What should I do to resolve this?
>
> Cheers,
>
> Rich
>
> --
> 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...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d3657e15- .1375-481c-ba6d-f3a97ed0dca5% 40googlegroups.com
> For more options, visit https://groups.google.com/d/optout .
>
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/53484dc1-d4cb-4964-9b49-e27c021301ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment