Thanks for info. It is combination of the same exception unhandled in
more packages. New Sorl tries intelligently rotate images according
exif info stored by difital camera. PIL is the origin of bug and they
fixed it in PIL 1.1.7 by adding the same try/except/pass block as I
did for development version of sorl-thumbnail and sent with bugreport.
Sorl accept three engines, not only PIL. There are many solutions and
some are overkill if anything must be required from user.

--Hynek

On 12 dub, 18:01, Darren Hollenbeck <[email protected]> wrote:
> I'm not too familiar with the jpeg stuff (no idea what EXIF is), but I was
> able to get Sorl thumbnail v11 working with that image by installing the
> libjpeg-devel package onto my system. Without the dev package it gave me
> the same key error.
>
> Don't know if that info helps.
>
>
>
>
>
>
>
> On Wednesday, April 11, 2012 4:06:36 PM UTC-5, Chris Moffitt wrote:
>
> > Ahh. I'm glad you figured that out. I noticed some odd behavior there and
> > couldn't figure it out. It might be worthwhile to add a dummy exif info to
> > our file just for now until the patch is implemented.
>
> > -Chris
>
> > On Wed, Apr 11, 2012 at 3:46 PM, hynekcer wrote:
>
> >> I found that Sorl thumbnal v. 11 fails on our default image
> >> "satchmo/static/images/productimage-picture-default.jpg"
> >> I reported it to themhttps://github.com/sorl/sorl-thumbnail/issues/98
>
> >> I hope that it is the last bug related to staticfiles, images and
> >> similar after the latest changes and that my big changesets with fixes
> >> are coming soon,
>
> >> --Hynek
>
> >> On 10 dub, 15:34, Darren Hollenbeck <[email protected]> wrote:
> >> > Yeah I found the issue a few minutes after I posted, so deleted the
> >> > message. Oops!
>
> >> > Just needed to move my version of Satchmo forward a few revs (I was at
> >> the
> >> > initial 0.9.3 version change mark)
>
> >> > On Monday, April 9, 2012 8:31:12 PM UTC-5, Chris Moffitt wrote:
>
> >> > > As part of the upgrade, you'll have to modify your custom templates
> >> to use
> >> > > the new template tags.
>
> >> > > I have some notes here -
> >> > >http://www.satchmoproject.com/docs/dev/release-notes-0-9-3.html#migra.
> >> ..
>
> >> > > -Chris
>
> >> > > On Mon, Apr 9, 2012 at 5:48 PM, Darren Hollenbeck wrote:
>
> >> > >> Tried upgrading sorl thumbnail to latest per the statement on
> >> > >>http://www.satchmoproject.com/docs/dev/requirements.htmlthatSatchmo
> >>  > >> 0.9.3 supported it.
>
> >> > >> I get the following error on the index page:
>
> >> > >>  Template error:
> >> > >>> In template
>
> >> /usr/lib/python2.6/site-packages/Satchmo-0.9.3-py2.6.egg/satchmo_store/shop/templates/shop/index.html,
> >> > >>> error at line 22
> >> > >>>    Invalid block tag: 'endif', expected 'empty' or 'endthumbnail'
> >> > >>>    12 :
> >> > >>>    13 : {% if all_products_list %}
> >> > >>>    14 :     <h4>{% trans "Featured Items" %}</h4>
> >> > >>>    15 :     {% for product in all_products_list %}
> >> > >>>    16 :             <div class = "productImage">
> >> > >>>    17 :            {% if product.main_image %}
> >> > >>>    18 :               <center>
> >> > >>>    19 :               {% thumbnail product.main_image.picture 85x85
> >> as
> >> > >>> image %}
> >> > >>>    20 :               <a href="{{ product.get_absolute_url }}"><img
> >> > >>> src="{{ image }}" width="{{ image.width }}" height="{{ image.height
> >> }}"
> >> > >>> /></a>
> >> > >>>    21 :               </center>
> >> > >>>    22 :             {% endif %}
> >> > >>>    23 :             <p><a href="{{ product.get_absolute_url }}">{{
> >> > >>> product.translated_name }}</a></p>
> >> > >>>    24 :         </div>
> >> > >>>    25 :     {% endfor %}
> >> > >>>    26 : {% endif %}
> >> > >>>    27 :
> >> > >>>    28 :     {% if is_paginated %}
> >> > >>>    29 :     <div id = "pagination">
> >> > >>>    30 :     <ul>
> >> > >>>    31 :         {% if page_obj.has_previous %}
> >> > >>>    32 :             <li> <a
> >> > >>> href="{{shop_base}}/?page={{page_obj.previous_page_number}}">{%
> >> trans
> >> > >>> "Previous" %}</a> </li>
>
> >> > >>>  --
> >> > >> You received this message because you are subscribed to the Google
> >> Groups
> >> > >> "Satchmo users" group.
> >> > >> To view this discussion on the web visit
> >> > >>https://groups.google.com/d/msg/satchmo-users/-/a64FmwsIVMYJ.
> >> > >> To post to this group, send email to [email protected].
> >> > >> To unsubscribe from this group, send email to
> >> > >> [email protected].
> >> > >> For more options, visit this group at
> >> > >>http://groups.google.com/group/satchmo-users?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Satchmo users" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected].
> >> For more options, visit this group at
> >>http://groups.google.com/group/satchmo-users?hl=en.

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

Reply via email to