Re: Django Internal Server Error
On Tuesday, 9 October 2012 13:46:02 UTC-4, Wnt2bsleepin wrote: > > Can you explain why it's bad to use uppercase names in Nix systems? I will > remake the account if I need to. > Here is the output of python > > > > Python 2.4 (#2, Oct 7 2012, 20:19:23) > [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import django > Traceback (most recent call last): > File "", line 1, in ? > ImportError: No module named django > >>> > > and under python 2.7 > Python 2.7.2 (default, Oct 6 2012, 14:11:15) > [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import django > >>> print django.VERSION > (1, 4, 1, 'final', 0) > >>> > > > > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/UmEwj4mqRucJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django Internal Server Error
Can you explain why it's bad to use uppercase names in Nix systems? I will remake the account if I need to. Here is the output of python Python 2.4 (#2, Oct 7 2012, 20:19:23) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import django Traceback (most recent call last): File "", line 1, in ? ImportError: No module named django >>> and under python 2.7 Python 2.7.2 (default, Oct 6 2012, 14:11:15) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> print django.VERSION (1, 4, 1, 'final', 0) >>> -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/B-FvesfLhEsJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django Internal Server Error
Hi my connect moderate google groups, thanks you for report my errors in my page blog site net gateway, what way I able to Validate your requsted? 2012/10/8, Wnt2bsleepin: > I looked in the log files for apache and it came up with the following. > > File "/home/Yourdogsdead/uglstats/uglstats/wsgi.py", line 26, in ? > from django.core.wsgi import get_wsgi_application > ImportError: No module named django.core.wsgi > > I am not sure why it's not importing properly. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/9ao5LPpT3NkJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Asia Middle East Iran Mazandaran Amol Mapointer. Persian Civil Engineering Central publisher allnet all rights Reserved Copyright 2010 C.D.W REBW Bonian Sazan Shomal COMPANY. https://oildig.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django Internal Server Error
Here is the test I used to determine if the import was working correctly. Can you do the same as below and paste the result?? foxx@web1/slice10173160 [~] > python Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> print django.VERSION (1, 4, 0, 'final', 0) >>> from django.core.wsgi import get_wsgi_application >>> Cal On Mon, Oct 8, 2012 at 11:40 AM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > It's possible your django version installed is either not compatible with > the project you are using - or the installation may be corrupted somehow. > > Personally, I've never encountered this problem before using WSGI > (normally it *just works*). > > A quick search on Google shows this; > http://jonblack.org/2012/07/07/django-deployment-apache-and-mod_wsgi/ > > There is also documentation on the WSGI module; > https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/ > > Can you confirm which version of Python and Django you have installed? > > Side note - using upper case letters (i.e. Yourdogsdead instead of > yourdogsdead) in usernames on *nix based servers is not really a great > thing to do :/ > > Cal > > On Mon, Oct 8, 2012 at 2:13 AM, Wnt2bsleepinwrote: > >> I looked in the log files for apache and it came up with the following. >> >> File "/home/Yourdogsdead/uglstats/uglstats/wsgi.py", line 26, in ? >> from django.core.wsgi import get_wsgi_application >> ImportError: No module named django.core.wsgi >> >> I am not sure why it's not importing properly. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/django-users/-/9ao5LPpT3NkJ. >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django Internal Server Error
It's possible your django version installed is either not compatible with the project you are using - or the installation may be corrupted somehow. Personally, I've never encountered this problem before using WSGI (normally it *just works*). A quick search on Google shows this; http://jonblack.org/2012/07/07/django-deployment-apache-and-mod_wsgi/ There is also documentation on the WSGI module; https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/ Can you confirm which version of Python and Django you have installed? Side note - using upper case letters (i.e. Yourdogsdead instead of yourdogsdead) in usernames on *nix based servers is not really a great thing to do :/ Cal On Mon, Oct 8, 2012 at 2:13 AM, Wnt2bsleepinwrote: > I looked in the log files for apache and it came up with the following. > > File "/home/Yourdogsdead/uglstats/uglstats/wsgi.py", line 26, in ? > from django.core.wsgi import get_wsgi_application > ImportError: No module named django.core.wsgi > > I am not sure why it's not importing properly. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/9ao5LPpT3NkJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Django Internal Server Error
I looked in the log files for apache and it came up with the following. File "/home/Yourdogsdead/uglstats/uglstats/wsgi.py", line 26, in ? from django.core.wsgi import get_wsgi_application ImportError: No module named django.core.wsgi I am not sure why it's not importing properly. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/9ao5LPpT3NkJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.