Re: nesh thumbnails error after moving to unicode

2007-10-06 Thread Divan Roulant

Thank you Chris,

for the record, Satchmo changed

kw = kw.lower()
into

kw = kw.lower().encode('ascii')

in thumbnail.py. That was causing me trouble.

Thanks again!

Divan

On Oct 5, 12:40 pm, "Chris Moffitt" <[EMAIL PROTECTED]> wrote:
> We've made mods to the thumbnail code to work with Satchmo and more recent
> django checkouts.  You can see it 
> here-http://www.satchmoproject.com/trac/browser/satchmo/trunk/satchmo/thum...
>
> -Chris


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: nesh thumbnails error after moving to unicode

2007-10-05 Thread Chris Moffitt
We've made mods to the thumbnail code to work with Satchmo and more recent
django checkouts.  You can see it here-
http://www.satchmoproject.com/trac/browser/satchmo/trunk/satchmo/thumbnail

-Chris

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: nesh thumbnails error after moving to unicode

2007-10-05 Thread Divan Roulant

I get the same error since the latest svn upgrade. I tried adding a
"u" before the thumbnail dimensions to make the string unicode in the
template but it doesn't work.

Ex.: 

I also tried adding the encoding instructions

#!/usr/bin/python
# -*- coding: utf-8 -*-

on top of the thumbnail.py file, but it doesn't work either.

Has anyone any other idea? Thanks!!!

Divan

On Sep 6, 9:05 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> hi,
>
> after upgrading to the unicode (latest svn head) nesh thumbnails dont
> work saying: TypeError,Make_thumbnail() keywords must be strings.
> Any clues?
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



nesh thumbnails error after moving to unicode

2007-09-06 Thread Kenneth Gonsalves

hi,

after upgrading to the unicode (latest svn head) nesh thumbnails dont  
work saying: TypeError, Make_thumbnail() keywords must be strings.  
Any clues?

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---