Hi,

On Tue, 2008-04-22 at 22:41 +0200, Alessandro wrote:
> I'm trying to use sorl.thumbnail with the latest django trunk.
> 
> It gives me this error. Any hints?
> Other options to make automatic thumbnails?
> 
> TemplateSyntaxError at /
> 'thumbnail' is not a valid tag library: Could not load template
> library from django.templatetags.thumbnail, No module named subprocess
> Request Method:       GET
> Request URL:  http://www.animalisenzacasa.org/
> Exception Type:       TemplateSyntaxError
> Exception Value:      'thumbnail' is not a valid tag library: Could not
> load template library from django.templatetags.thumbnail, No module
> named subprocess
> Exception Location:
>       /home/aronchi/django/django_src/django/template/defaulttags.py in
> load, line 856
> Python Executable:    /usr/bin/python
> Python Version:       2.3.5
> Python Path:  ['/home/.insomnia/aronchi/animalisenzacasa.org',
> '/usr/lib/python23.zip', '/usr/lib/python2.3',
> '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk',
> '/usr/lib/python2.3/lib-dynload',
> '/usr/local/lib/python2.3/site-packages',
> '/usr/lib/python2.3/site-packages',
> '/usr/lib/python2.3/site-packages/Numeric',
> '/usr/lib/python2.3/site-packages/PIL',
> '/home/aronchi/django/django_src',
> '/home/aronchi/django/django_projects',
> '/home/aronchi/django/libraries']

The subprocess module was added in python 2.4. You can probably install
it yourself if you are forced to use pyton 2.3.

See http://www.google.com/search?q=subprocess+python+2.3 (maybe first
link) for further instructions on how to do that.

Matthias



-- 
http://spinlock.ch/blog/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to