Patchwork Update Errors
Jeff Kirsher
tarbal at gmail.com
Fri Oct 22 22:28:49 EST 2010
I recently updated patchworks and now patchworks is not working.
After several hours of trying to hunt down the issue, I have not been
able to find the solution.
Here is the error message that is being reported:
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] mod_wsgi
(pid=11290): Exception occurred processing WSGI script
'/srv/patchwork/patchwork.wsgi'.
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] Traceback
(most recent call last):
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/core/handlers/wsgi.py",
line 241, in __call__
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] response
= self.get_response(request)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/core/handlers/base.py",
line 142, in get_response
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
self.handle_uncaught_exception(request, resolver, exc_info)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/core/handlers/base.py",
line 166, in handle_uncaught_exception
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
debug.technical_500_response(request, *exc_info)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/views/debug.py", line 58,
in technical_500_response
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] html =
reporter.get_traceback_html()
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/views/debug.py", line 137,
in get_traceback_html
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return t.render(c)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/template/__init__.py", line
173, in render
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
self._render(context)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/template/__init__.py", line
167, in _render
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
self.nodelist.render(context)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/template/__init__.py", line
796, in render
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188]
bits.append(self.render_node(node, context))
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/template/debug.py", line
72, in render_node
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] result =
node.render(context)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/template/debug.py", line
89, in render
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] output =
self.filter_expression.resolve(context)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/template/__init__.py", line
579, in resolve
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] new_obj
= func(obj, *arg_vals)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/template/defaultfilters.py",
line 693, in date
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
format(value, arg)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/dateformat.py", line
281, in format
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
df.format(format_string)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/dateformat.py", line
30, in format
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188]
pieces.append(force_unicode(getattr(self, piece)()))
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/dateformat.py", line
187, in r
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
self.format('D, j M Y H:i:s O')
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/dateformat.py", line
30, in format
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188]
pieces.append(force_unicode(getattr(self, piece)()))
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/encoding.py", line
66, in force_unicode
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] s = unicode(s)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/functional.py", line
206, in __unicode_cast
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
self.__func(*self.__args, **self.__kw)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/translation/__init__.py",
line 55, in ugettext
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
real_ugettext(message)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/functional.py", line
55, in _curried
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
_curried_func(*(args+moreargs), **dict(kwargs, **morekwargs))
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/translation/__init__.py",
line 36, in delayed_loader
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
getattr(trans, real_name)(*args, **kwargs)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/translation/trans_real.py",
line 276, in ugettext
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] return
do_translate(message, 'ugettext')
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/translation/trans_real.py",
line 266, in do_translate
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] _default
= translation(settings.LANGUAGE_CODE)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/translation/trans_real.py",
line 176, in translation
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188]
default_translation = _fetch(settings.LANGUAGE_CODE)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/translation/trans_real.py",
line 159, in _fetch
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] app =
import_module(appname)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] File
"/usr/lib64/python2.4/site-packages/django/utils/importlib.py", line
35, in import_module
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188] __import__(name)
[Fri Oct 22 03:45:23 2010] [error] [client 10.255.12.188]
TemplateSyntaxError: Caught ImportError while rendering: No module
named patchwork
I am running CentOS 5.5, Django 1.2, latest patchwork (via git). Any
assistance would be greatly appreciated!
--
Cheers,
Jeff
More information about the Patchwork
mailing list