Patchwork Update Errors

Jeff Kirsher tarbal at gmail.com
Sun Oct 24 09:45:57 EST 2010


010 at 18:48, Jeff Kirsher <jeffrey.t.kirsher at intel.com> wrote:
> 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
>

Any more idea's Jeremy?  I have tried adding the follwing:

export PYTHONPATH='/srv/pathwork/apps';'/srv/parthwork':'/srv/patchwork/apps/patchwork'

But that did not help, and I still get the same error message.

-- 
Cheers,
Jeff


More information about the Patchwork mailing list