It would be nice to read about the solution to your problem :-)
On Jan 7, 2015 8:09 PM, "sarfaraz ahmed" <findsarfa...@gmail.com> wrote:

> Issue resolved. Please close this
>
> On Wednesday, 7 January 2015 23:02:33 UTC+5:30, sarfaraz ahmed wrote:
>>
>> This is what I am trying to do.
>>
>> I am using amazon ec2 windows free tier and i am trying to setup django
>> on XAMPP.
>>
>> I am using apache 2.4 Windows 32 bit version
>> python 2.7.9 window 32 bit version
>> mod_wsgi 3.5 windows 32 bit version
>> and Django 1.7
>>
>> my project as nothing but just mysite project with myapp as application
>> My mod_wsgi file looks like this
>>
>> ==================================================
>>
>> import os,sys
>> sys.path.append('c:\\xampp\\htdocs\\mysite')
>> os.environ['DJANGO_SETTINGS_MODULE']='mysite.settings'
>>
>> import django.core.handlers.wsgi
>> application= django.core.handlers.wsgi.WSGIHandler()
>>
>> =-==========================================
>>
>>
>> +++++++++++++++++++++++++++++++++++++++++++++++++++
>> Apache error log looks horrible
>> +++++++++++++++++++++++++++++++++++++++++++++++++++
>>
>>
>> mod_wsgi (pid=1980): Exception occurred processing WSGI script
>> 'C:/xampp/htdocs/mysite/mod.wsgi'.
>> [Wed Jan 07 16:46:37.425730 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948] Traceback (most recent call last):
>> [Wed Jan 07 16:46:37.425730 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\wsgi.py",
>> line 187, in __call__
>> [Wed Jan 07 16:46:37.426729 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     response = self.get_response(request)
>> [Wed Jan 07 16:46:37.426729 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py",
>> line 199, in get_response
>> [Wed Jan 07 16:46:37.426729 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     response = self.handle_uncaught_exception(request,
>> resolver, sys.exc_info())
>> [Wed Jan 07 16:46:37.426729 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py",
>> line 236, in handle_uncaught_exception
>> [Wed Jan 07 16:46:37.426729 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return debug.technical_500_response(request, *exc_info)
>> [Wed Jan 07 16:46:37.427732 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\views\\debug.py",
>> line 91, in technical_500_response
>> [Wed Jan 07 16:46:37.428730 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     html = reporter.get_traceback_html()
>> [Wed Jan 07 16:46:37.428730 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\views\\debug.py",
>> line 350, in get_traceback_html
>> [Wed Jan 07 16:46:37.428730 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return t.render(c)
>> [Wed Jan 07 16:46:37.428730 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 148, in render
>> [Wed Jan 07 16:46:37.429731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return self._render(context)
>> [Wed Jan 07 16:46:37.429731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 142, in _render
>> [Wed Jan 07 16:46:37.429731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return self.nodelist.render(context)
>> [Wed Jan 07 16:46:37.429731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 844, in render
>> [Wed Jan 07 16:46:37.429731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     bit = self.render_node(node, context)
>> [Wed Jan 07 16:46:37.429731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\debug.py",
>> line 80, in render_node
>> [Wed Jan 07 16:46:37.430731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return node.render(context)
>> [Wed Jan 07 16:46:37.430731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\debug.py",
>> line 90, in render
>> [Wed Jan 07 16:46:37.430731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     output = self.filter_expression.resolve(context)
>> [Wed Jan 07 16:46:37.430731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 624, in resolve
>> [Wed Jan 07 16:46:37.430731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     new_obj = func(obj, *arg_vals)
>> [Wed Jan 07 16:46:37.430731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\defaultfilters.py",
>> line 769, in date
>> [Wed Jan 07 16:46:37.431731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return format(value, arg)
>> [Wed Jan 07 16:46:37.431731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 343, in format
>> [Wed Jan 07 16:46:37.432731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return df.format(format_string)
>> [Wed Jan 07 16:46:37.432731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 35, in format
>> [Wed Jan 07 16:46:37.432731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     pieces.append(force_text(getattr(self, piece)()))
>> [Wed Jan 07 16:46:37.432731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 268, in r
>> [Wed Jan 07 16:46:37.432731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return self.format('D, j M Y H:i:s O')
>> [Wed Jan 07 16:46:37.432731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 35, in format
>> [Wed Jan 07 16:46:37.432731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     pieces.append(force_text(getattr(self, piece)()))
>> [Wed Jan 07 16:46:37.432731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\encoding.py",
>> line 85, in force_text
>> [Wed Jan 07 16:46:37.433731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     s = six.text_type(s)
>> [Wed Jan 07 16:46:37.433731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\functional.py",
>> line 144, in __text_cast
>> [Wed Jan 07 16:46:37.433731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return func(*self.__args, **self.__kw)
>> [Wed Jan 07 16:46:37.434731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\__init__.py",
>> line 83, in ugettext
>> [Wed Jan 07 16:46:37.434731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return _trans.ugettext(message)
>> [Wed Jan 07 16:46:37.434731 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 325, in ugettext
>> [Wed Jan 07 16:46:37.435732 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     return do_translate(message, 'ugettext')
>> [Wed Jan 07 16:46:37.435732 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 306, in do_translate
>> [Wed Jan 07 16:46:37.435732 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     _default = translation(settings.LANGUAGE_CODE)
>> [Wed Jan 07 16:46:37.435732 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 209, in translation
>> [Wed Jan 07 16:46:37.435732 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     default_translation = _fetch(settings.LANGUAGE_CODE)
>> [Wed Jan 07 16:46:37.435732 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 189, in _fetch
>> [Wed Jan 07 16:46:37.435732 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948]     "The translation infrastructure cannot be initialized before
>> the "
>> [Wed Jan 07 16:46:37.435732 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:49948] AppRegistryNotReady: The translation infrastructure cannot be
>> initialized before the apps registry is ready. Check that you don't make
>> non-lazy gettext calls at import time.
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004] mod_wsgi (pid=1980): Exception occurred processing WSGI script
>> 'C:/xampp/htdocs/mysite/mod.wsgi'., referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004] Traceback (most recent call last):, referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\wsgi.py",
>> line 187, in __call__, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     response = self.get_response(request), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py",
>> line 199, in get_response, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     response = self.handle_uncaught_exception(request,
>> resolver, sys.exc_info()), referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py",
>> line 236, in handle_uncaught_exception, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return debug.technical_500_response(request, *exc_info),
>> referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\views\\debug.py",
>> line 91, in technical_500_response, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     html = reporter.get_traceback_html(), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\views\\debug.py",
>> line 350, in get_traceback_html, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return t.render(c), referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 148, in render, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return self._render(context), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 142, in _render, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return self.nodelist.render(context), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 844, in render, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     bit = self.render_node(node, context), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\debug.py",
>> line 80, in render_node, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return node.render(context), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.775127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\debug.py",
>> line 90, in render, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     output = self.filter_expression.resolve(context),
>> referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 624, in resolve, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     new_obj = func(obj, *arg_vals), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\defaultfilters.py",
>> line 769, in date, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return format(value, arg), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 343, in format, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return df.format(format_string), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 35, in format, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     pieces.append(force_text(getattr(self, piece)())),
>> referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 268, in r, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return self.format('D, j M Y H:i:s O'), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 35, in format, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     pieces.append(force_text(getattr(self, piece)())),
>> referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\encoding.py",
>> line 85, in force_text, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     s = six.text_type(s), referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\functional.py",
>> line 144, in __text_cast, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return func(*self.__args, **self.__kw), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\__init__.py",
>> line 83, in ugettext, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return _trans.ugettext(message), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 325, in ugettext, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     return do_translate(message, 'ugettext'), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 306, in do_translate, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     _default = translation(settings.LANGUAGE_CODE), referer:
>> http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 209, in translation, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     default_translation = _fetch(settings.LANGUAGE_CODE),
>> referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 189, in _fetch, referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.776127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004]     "The translation infrastructure cannot be initialized before
>> the ", referer: http://localhost/mysite/
>> [Wed Jan 07 17:05:35.777127 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50004] AppRegistryNotReady: The translation infrastructure cannot be
>> initialized before the apps registry is ready. Check that you don't make
>> non-lazy gettext calls at import time., referer: http://localhost/mysite/
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032] mod_wsgi (pid=1980): Exception occurred processing WSGI script
>> 'C:/xampp/htdocs/mysite/mod.wsgi'.
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032] Traceback (most recent call last):
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\wsgi.py",
>> line 187, in __call__
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     response = self.get_response(request)
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py",
>> line 199, in get_response
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     response = self.handle_uncaught_exception(request,
>> resolver, sys.exc_info())
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py",
>> line 236, in handle_uncaught_exception
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return debug.technical_500_response(request, *exc_info)
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\views\\debug.py",
>> line 91, in technical_500_response
>> [Wed Jan 07 17:10:02.043362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     html = reporter.get_traceback_html()
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\views\\debug.py",
>> line 350, in get_traceback_html
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return t.render(c)
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 148, in render
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return self._render(context)
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 142, in _render
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return self.nodelist.render(context)
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 844, in render
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     bit = self.render_node(node, context)
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\debug.py",
>> line 80, in render_node
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return node.render(context)
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\debug.py",
>> line 90, in render
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     output = self.filter_expression.resolve(context)
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 624, in resolve
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     new_obj = func(obj, *arg_vals)
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\defaultfilters.py",
>> line 769, in date
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return format(value, arg)
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 343, in format
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return df.format(format_string)
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 35, in format
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     pieces.append(force_text(getattr(self, piece)()))
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 268, in r
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return self.format('D, j M Y H:i:s O')
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 35, in format
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     pieces.append(force_text(getattr(self, piece)()))
>> [Wed Jan 07 17:10:02.044363 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\encoding.py",
>> line 85, in force_text
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     s = six.text_type(s)
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\functional.py",
>> line 144, in __text_cast
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return func(*self.__args, **self.__kw)
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\__init__.py",
>> line 83, in ugettext
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return _trans.ugettext(message)
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 325, in ugettext
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     return do_translate(message, 'ugettext')
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 306, in do_translate
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     _default = translation(settings.LANGUAGE_CODE)
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 209, in translation
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     default_translation = _fetch(settings.LANGUAGE_CODE)
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 189, in _fetch
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032]     "The translation infrastructure cannot be initialized before
>> the "
>> [Wed Jan 07 17:10:02.045362 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50032] AppRegistryNotReady: The translation infrastructure cannot be
>> initialized before the apps registry is ready. Check that you don't make
>> non-lazy gettext calls at import time.
>> [Wed Jan 07 17:10:04.624678 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033] mod_wsgi (pid=1980): Exception occurred processing WSGI script
>> 'C:/xampp/htdocs/mysite/mod.wsgi'.
>> [Wed Jan 07 17:10:04.624678 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033] Traceback (most recent call last):
>> [Wed Jan 07 17:10:04.624678 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\wsgi.py",
>> line 187, in __call__
>> [Wed Jan 07 17:10:04.624678 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     response = self.get_response(request)
>> [Wed Jan 07 17:10:04.624678 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py",
>> line 199, in get_response
>> [Wed Jan 07 17:10:04.624678 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     response = self.handle_uncaught_exception(request,
>> resolver, sys.exc_info())
>> [Wed Jan 07 17:10:04.624678 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py",
>> line 236, in handle_uncaught_exception
>> [Wed Jan 07 17:10:04.624678 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return debug.technical_500_response(request, *exc_info)
>> [Wed Jan 07 17:10:04.624678 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\views\\debug.py",
>> line 91, in technical_500_response
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     html = reporter.get_traceback_html()
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\views\\debug.py",
>> line 350, in get_traceback_html
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return t.render(c)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 148, in render
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return self._render(context)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 142, in _render
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return self.nodelist.render(context)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 844, in render
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     bit = self.render_node(node, context)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\debug.py",
>> line 80, in render_node
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return node.render(context)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\debug.py",
>> line 90, in render
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     output = self.filter_expression.resolve(context)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\base.py",
>> line 624, in resolve
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     new_obj = func(obj, *arg_vals)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\template\\defaultfilters.py",
>> line 769, in date
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return format(value, arg)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 343, in format
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return df.format(format_string)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 35, in format
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     pieces.append(force_text(getattr(self, piece)()))
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 268, in r
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return self.format('D, j M Y H:i:s O')
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\dateformat.py",
>> line 35, in format
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     pieces.append(force_text(getattr(self, piece)()))
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\encoding.py",
>> line 85, in force_text
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     s = six.text_type(s)
>> [Wed Jan 07 17:10:04.625685 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\functional.py",
>> line 144, in __text_cast
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return func(*self.__args, **self.__kw)
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\__init__.py",
>> line 83, in ugettext
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return _trans.ugettext(message)
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 325, in ugettext
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     return do_translate(message, 'ugettext')
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 306, in do_translate
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     _default = translation(settings.LANGUAGE_CODE)
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 209, in translation
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     default_translation = _fetch(settings.LANGUAGE_CODE)
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]   File 
>> "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py",
>> line 189, in _fetch
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033]     "The translation infrastructure cannot be initialized before
>> the "
>> [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client
>> ::1:50033] AppRegistryNotReady: The translation infrastructure cannot be
>> initialized before the apps registry is ready. Check that you don't make
>> non-lazy gettext calls at import time.
>>
>>
>> Is that something I am missing. Any help would be appreciated.
>>
>> Regards,
>> Sarfaraz Ahmed
>>
>>
>>
>>  --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8a2f2017-176f-41ab-b1e1-e410811120dc%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/8a2f2017-176f-41ab-b1e1-e410811120dc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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+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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAON-vCPw%2BXqgEtXO0rxXBb1JmUO0Um%2BOw7o__0dtX32VS_f52A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to