Recommended installation environment?

Wolfgang Denk wd at denx.de
Tue Nov 2 06:24:15 EST 2010


Dear Jeremy,

In message <201011011222.26461.jk at ozlabs.org> you wrote:
> 
> I think that modifying patchwork.wsgi to look like this:
> 
> basedir = os.path.dirname(__file__)
> sys.path.append(basedir)
> sys.path.append('/var/www/patchwork/apps')
> 
> - should fix this. If not, let me know. In fact, let me know either way :)

Indeed this helps - it brings me oine step forward.

Now I get this:

mod_wsgi (pid=24324): Exception occurred processing WSGI script '/var/www/patchwork/patchwork.wsgi'.
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 241, in __call__
    response = self.get_response(request)
...
  File "/usr/lib/python2.6/site-packages/django/utils/translation/trans_real.py", line 176, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/usr/lib/python2.6/site-packages/django/utils/translation/trans_real.py", line 159, in _fetch
    app = import_module(appname)
  File "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
TemplateSyntaxError: Caught ImportError while rendering: No module named registration


Guess I need to change more magic (to me) strings?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Cleverness and Style have no place in getting a project completed.
                                                  -- Tom Christiansen


More information about the Patchwork mailing list