Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 926091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:37:39+00:00 2026-05-15T19:37:39+00:00

My Apache2 log is spitting out these errors on my Ubuntu 10.04 server. When

  • 0

My Apache2 log is spitting out these errors on my Ubuntu 10.04 server. When I hit the server I get Internal 500 Errors and the log has this:

[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/dateformat.py", line 281, in format
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     return df.format(format_string)
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/dateformat.py", line 30, in format
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     pieces.append(force_unicode(getattr(self, piece)()))
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/dateformat.py", line 187, in r
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     return self.format('D, j M Y H:i:s O')
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/dateformat.py", line 30, in format
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     pieces.append(force_unicode(getattr(self, piece)()))
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/encoding.py", line 66, in force_unicode
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     s = unicode(s)
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/functional.py", line 206, in __unicode_cast
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     return self.__func(*self.__args, **self.__kw)
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/translation/__init__.py", line 55, in ugettext
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     return real_ugettext(message)
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/functional.py", line 55, in _curried
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     return _curried_func(*(args+moreargs), **dict(kwargs, **morekwargs))
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/translation/__init__.py", line 36, in delayed_loader
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     return getattr(trans, real_name)(*args, **kwargs)
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/translation/trans_real.py", line 276, in ugettext
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     return do_translate(message, 'ugettext')
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/translation/trans_real.py", line 266, in do_translate
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     _default = translation(settings.LANGUAGE_CODE)
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/translation/trans_real.py", line 176, in translation
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     default_translation = _fetch(settings.LANGUAGE_CODE)
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/translation/trans_real.py", line 159, in _fetch
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     app = import_module(appname)
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]   File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py", line 35, in import_module
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152]     __import__(name)
[Mon Jul 19 07:40:11 2010] [error] [client 192.168.1.152] TemplateSyntaxError: Caught 

ImportError while rendering: No module named mysite.website

[Mon Jul 19 07:40:11 2010] [debug] mod_deflate.c(615): [client 192.168.1.152] Zlib: Compressed 620 to 383 : URL /admin
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:37:39+00:00Added an answer on May 15, 2026 at 7:37 pm

    Your PYTHONPATH may not contain your project directory, or your DJANGO_SETTINGS_MODULE may not contain ‘mysite.website’, at least from apache’s point of view. Whatever user apache runs as for your website needs to have that set up for it, like in its .profile. Or if you’re using mod_python, they need to be set up in the .htaccess or apache’s httpd.conf. Or if you’re using mod_wsgi, it needs to be in the wsgi setup file — passenger_wsgi.py or the like — whatever apache’s module will be looking for.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have many errors in my apache error log like this: [Mon Mar 26
I keep getting this log entries on ubuntu 10.04 lts: # vim /var/log/apache2/error.log [Sun
This is the error I get in my Apache error log: [Sun Aug 22
Using an opencart plugin I am getting these errors in my apache error log
I am getting this error in my apache2 log: [Tue Apr 06 09:00:56 2010]
I would like to retrieve multiple log files from an Ubuntu server (using Python
I've uploaded my Yii application to an Ubuntu 12.04 server running PHP5 and Apache2.x.
I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is
I keep receiving this error (from the apache log) and I cannot get the
I'm trying to execute this command in in a bash script find /var/log/apache2/access*.gz -type

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.