Patchwork Update Errors

Jeff Kirsher jeffrey.t.kirsher at intel.com
Sat Oct 23 12:48:36 EST 2010


On Fri, Oct 22, 2010 at 18:04, Jeremy Kerr <jk at ozlabs.org> wrote:
> Hi Jeff,
>
>> Here is the error message that is being reported:
>
> [...]
>
>> [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
>
> Looks like the django infrastructure can't find the 'patchwork' module. Check
> your PYTHONPATH environment variable to ensure that the apps/ dir in patchwork
> is included.
>
> Let me know how this goes.
>
> Cheers,
>
>
> Jeremy
>

I did the following...
export PYTHONPATH='/srv/pathwork/apps'

and verified that it added the path to patchwork 'apps' path by
running the following commands:
python
import sys
sys.path

which showed the updated path which now includes /srv/patchwork/apps/
and I am still getting the same errors.

-- 
Cheers,
Jeff


More information about the Patchwork mailing list