Invalid block tag: 'endthumbnail', expected 'else' or 'endif' when using sorl-thumbnail==3.2.5

676 views
Skip to first unread message

three18ti

unread,
Apr 22, 2012, 1:18:55 AM4/22/12
to Satchmo users
Hello,

I am attempting to install Satchmo in a virtualenv, I have followed
the instructions here: http://www.satchmoproject.com/blog/2010/aug/01/satchmo-virtualenv/

with the only deviation being I installed python2.7-dev and
django==1.3.1

satchmo_check appears to check out (other than complaining about my
virtualenv location)


(satchmo-tip)root@helix:~/test/store# python manage.py satchmo_check
Checking your satchmo configuration.
Using Django version 1.3.1
Using Satchmo version 0.9.3-pre hg-unknown

The following errors were found:
No package should be installed in the "/root" home directory, but
packages ['Crypto', 'Image', 'app_plugins', 'django', 'keyedcache',
'l10n', 'livesettings', 'payment', 'pip', 'product', 'registration',
'reportlab', 'satchmo_ext', 'satchmo_store', 'satchmo_utils',
'setuptools', 'shipping', 'signals_ahoy', 'sorl', 'tax',
'threaded_multihost', 'trml2pdf', 'yaml'] are.
Error details are in 'satchmo.log'

Here is the output of my satchmo.log

satchmo-tip)root@helix:~/test/store# cat satchmo.log
Sat, 21 Apr 2012 22:08:01 root INFO Satchmo Started
Sat, 21 Apr 2012 22:08:01 root INFO Satchmo Started
Sat, 21 Apr 2012 22:08:01 keyedcache WARNING No KEY_PREFIX found in
settings.CACHES['default'], using SITE_ID. Please update your
settings to add a CACHES
Sat, 21 Apr 2012 22:08:01 keyedcache WARNING No TIMEOUT found in
settings.CACHES['default'], so we used 300. Please update your
settings to add a TIMEOUT and avoid this warning.
Sat, 21 Apr 2012 22:08:02 configuration DEBUG Could not load
default shipping module configuration: fedex_web_services
Sat, 21 Apr 2012 22:08:02 shop.listeners DEBUG Added default shop
listeners
Sat, 21 Apr 2012 22:08:02 satchmo_toolbar DEBUG Satchmo toolbar
ready
Sat, 21 Apr 2012 22:08:02 iterchoices DEBUG Management command:
runserver
Sat, 21 Apr 2012 22:08:02 iterchoices DEBUG Called model choices
initialization function <shipping_choices>
Sat, 21 Apr 2012 22:08:02 iterchoices DEBUG Management command:
runserver
Sat, 21 Apr 2012 22:08:02 iterchoices DEBUG Called model choices
initialization function <labelled_gateway_choices>
Sat, 21 Apr 2012 22:08:02 iterchoices DEBUG Management command:
runserver
Sat, 21 Apr 2012 22:08:02 iterchoices DEBUG Called model choices
initialization function <labelled_gateway_choices>
Sat, 21 Apr 2012 22:08:02 iterchoices DEBUG Management command:
runserver
Sat, 21 Apr 2012 22:08:02 iterchoices DEBUG Called model choices
initialization function <credit_choices>
Sat, 21 Apr 2012 22:08:11 satchmo_store.urls DEBUG Adding local
serving of static files at: /root/test/store/../store/static/
Sat, 21 Apr 2012 22:08:11 payment.urls DEBUG Found payment
processor: DUMMY, adding urls at ^dummy/

This appears to be the same issue as
https://groups.google.com/group/satchmo-users/browse_thread/thread/679ad28e5a2a839c
however, I -am- using the correct version of sorl:

(satchmo-tip)root@helix:~/test/store# pip install sorl-
thumbnail==3.2.5
Requirement already satisfied (use --upgrade to upgrade): sorl-
thumbnail==3.2.5 in /root/ve/satchmo-tip/lib/python2.7/site-packages
Cleaning up...

Any suggestions on how I can resolve this issue?

Thanks in advance.

Chris Moffitt

unread,
Apr 22, 2012, 1:04:41 PM4/22/12
to satchm...@googlegroups.com
You should be using the latest version of sorl with satchmo tip.

That should fix the issue.

-Chris


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


Jon

unread,
Apr 22, 2012, 5:44:57 PM4/22/12
to satchm...@googlegroups.com
Hello Chris,

Indeed this is the case.  Upgrading to the most recent version has solved the problem.

Sometimes I work against myself by following the instructions...  ;)

Thanks for the quick response.
--
Best Regards,
Jonathan David

Please excuse any brevity or typos as this e-mail is most likely sent from a mobile device.

Chris Moffitt

unread,
Apr 22, 2012, 5:53:22 PM4/22/12
to satchm...@googlegroups.com
In fairness, we're making a lot of changes so it's easy to get lost.

-Chris

Jon

unread,
Apr 22, 2012, 7:46:31 PM4/22/12
to satchm...@googlegroups.com

Indeed. Now that I have it running, it's a petty cool project. Thanks for putting it together.

On that note, do you have a recommendation on documentation to look at, or any suggestions, regarding pinax-satchmo integration. Everything I'm finding is based on older versions of satchmo, django, pinax and python (those projects that even work...) so really things I'd like to avoid.  I see this topic comes up every few months on this list, and there haven't been really any definitive answers (I believe there is a resource list from some time in 2010... but again, using now legacy versions of libraries). I'm just starting this project, so I'm still flexible (and a bit overwhelmed), but really I prefer to use current versions of everything.

Sorry, kinda off topic there. Would this be better suited in a new thread?

Thanks again for the quick help.

On Apr 22, 2012 3:53 PM, "Chris Moffitt" <ch...@moffitts.net> wrote:

In fairness, we're making a lot of changes so it's easy to get lost.

-Chris



On Sun, Apr 22, 2012 at 4:44 PM, Jon <thre...@gmail.com> wrote:
>
> Hello Chris,
>

> Indeed this...

--
You received this message because you are subscribed to the Google Groups "Satchmo users" group....

HDayi

unread,
Apr 25, 2012, 1:48:43 AM4/25/12
to Satchmo users
hi people
i have the same problem: "Invalid block tag: 'endthumbnail', expected
'else' or 'endif'". i am new to all of these.
i am using ubuntu, python 2.7.2, django 1.3.1 how can i find my sorl
version and upgrade it?

i have installed satchmo using the instructions located on:
http://www.satchmoproject.com/docs/dev/quickstart.html

thx

HDayi

unread,
Apr 25, 2012, 2:14:54 AM4/25/12
to Satchmo users
hi people,

i am new to all of these. i am getting the same error: "Invalid block
tag: 'endthumbnail', expected 'else' or 'endif'"

i am using python 2.7.2, django 1.3.1, sorl_thumbnail 3.2.5.
how did you solve the problem? what did you upgrade?
could you explain please?
thx

Chris Moffitt

unread,
Apr 25, 2012, 8:51:35 PM4/25/12
to satchm...@googlegroups.com
If you are using the latest version of Satchmo, you should be using the latest version of Sorl thumbnail. See the notes here - http://www.satchmoproject.com/docs/dev/release-notes-0-9-3.html


--

HDayi

unread,
Apr 26, 2012, 3:49:38 AM4/26/12
to satchm...@googlegroups.com

thank you guys. i have downloaded and installed sorl from github. now it works.

thx again


changsu

unread,
May 8, 2012, 11:40:56 PM5/8/12
to Satchmo users
Following Quickstart document (http://www.satchmoproject.com/docs/dev/
quickstart.html) like below led me to this error.

=====
Execute these commands:

pip install -r http://bitbucket.org/chris1610/satchmo/raw/tip/scripts/requirements.txt
pip install -e hg+http://bitbucket.org/chris1610/satchmo/#egg=satchmo
=====

You need to run below after that.

pip install sorl-thumbnail

Either requirements.txt or Quickstart page needs to be updated.

On Apr 25, 8:51 pm, Chris Moffitt <ch...@moffitts.net> wrote:
> If you are using the latest version of Satchmo, you should be using the
> latest version of Sorl thumbnail. See the notes here -http://www.satchmoproject.com/docs/dev/release-notes-0-9-3.html
Reply all
Reply to author
Forward
0 new messages