I must apologize for coming out the way I did in regard to this issue. Before reading your post, I updated to the latest revision, reinstalled satchmo, created a store from scratch and manually created products and everything looks to be in working order.
My previous post was in reference to the default store created with `clonesatchmo.py` and using the sqlite3 db it created. Thank you for the fix I will go ahead and test it further and hopefully be able to contribute something in the future! On Dec 20, 5:26 pm, Justin Hamade <[email protected]> wrote: > I have solved this issue, see ticket > here.http://bitbucket.org/chris1610/satchmo/issue/961/thumbnails-dont-work... > > And the fix herehttp://bitbucket.org/chris1610/satchmo/changeset/b76f3a6c0c24/ > <http://bitbucket.org/chris1610/satchmo/issue/961/thumbnails-dont-work...> > Justin > > On Sun, Dec 20, 2009 at 1:56 PM, cc <[email protected]> wrote: > > Well I see the normalize_path in settings.py now after doing > > clonesatchmo.py. There is a typo: > > > MEDIA_ROOT = normalize_path(os.path.join(DIRNAME, 'static/') > > > should be > > > MEDIA_ROOT = normalize_path(os.path.join(DIRNAME, 'static/')) > > > And even though this patch was provided it looks like no one with a > > Windows machine has tested this as it does nothing to help. > > > Still, the default store after doing clonesatchmo.py does not show > > thumbnails and the image paths in the HTTP REQUESTS still look like: > > > [27/Nov/2009 21:00:11] "GET /static/c:/users/cc/workspace/newstore/ > > src/ > > store/static/images/users/cc/workspac > > e/newstore/src/store/static/images/users/cc/workspace/newstore/src/ > > store/static/images/users/cc/workspace/ne > > wstore/src/store/static/images/users/cc/workspace/newstore/src/store/ > > static/images/users/cc/workspace/newsto > > re/src/store/static/images/users/cc/workspace/newstore/src/store/ > > static/images/users/cc/workspace/newstore/s > > rc/store/static/images/users/cc/workspace/newstore/src/store/static/ > > images/users/cc/workspace/newstore/src/s > > tore/static/images/users/cc/workspace/newstore/src/store/static/ > > images/ > > users/cc/workspace/newstore/src/store > > /static/images/users/cc/workspace/newstore/src/store/static/images/ > > users/cc/workspace/newstore/src/store/sta > > tic/images/users/cc/workspace/newstore/src/store/static/images/users/ > > cc/workspace/newstore/src/store/static/ > > images/users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/imag > > es/users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/images/u > > sers/cc/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users > > /cc/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/mar > > c/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/cc > > n/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/cc/wo > > rkspace/newstore/src/store/static/images/users/cc/workspace/newstore/ > > src/store/static/images/users/cc/worksp > > ace/newstore/src/store/static/images/users/cc/workspace/newstore/src/ > > store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/cc/workspace/newstore/src/ > > store/ > > static/images/users/cc/workspace/news > > tore/src/store/static/images/users/cc/workspace/newstore/src/store/ > > static/images/users/cc/workspace/newstore > > /src/store/static/images/users/cc/workspace/newstore/src/store/static/ > > images/users/cc/workspace/newstore/src > > /store/static/images/users/cc/workspace/newstore/src/store/static/ > > images/users/cc/workspace/newstore/src/sto > > re/static/images/users/cc/workspace/newstore/src/store/static/images/ > > users/cc/workspace/newstore/src/store/s > > tatic/images/users/cc/workspace/newstore/src/store/static/images/ > > users/ > > cc/workspace/newstore/src/store/stati > > c/images/users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/im > > ages/users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/images > > /users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/images/use > > rs/cc/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/m > > cc/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/cc > > c/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/ > > src/store/static/images/users/cc/work > > space/newstore/src/store/static/images/users/cc/workspace/newstore/ > > src/ > > store/static/images/users/cc/workspac > > e/newstore/src/store/static/images/users/cc/workspace/newstore/src/ > > store/static/images/users/cc/workspace/ne > > wstore/src/store/static/images/users/cc/workspace/newstore/src/store/ > > static/images/users/cc/workspace/newsto > > re/src/store/static/images/users/cc/workspace/newstore/src/store/ > > static/images/users/cc/workspace/newstore/s > > rc/store/static/images/users/cc/workspace/newstore/src/store/static/ > > images/users/cc/workspace/newstore/src/s > > tore/static/images/users/cc/workspace/newstore/src/store/static/ > > images/ > > users/cc/workspace/newstore/src/store > > /static/images/users/cc/workspace/newstore/src/store/static/images/ > > users/cc/workspace/newstore/src/store/sta > > tic/images/users/cc/workspace/newstore/src/store/static/images/users/ > > cc/workspace/newstore/src/store/static/ > > images/users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/imag > > es/users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/images/u > > sers/cc/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users > > /cc/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/mar > > uchan/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/ > > n/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/cc/wo > > rkspace/newstore/src/store/static/images/users/cc/workspace/newstore/ > > src/store/static/images/users/cc/worksp > > ace/newstore/src/store/static/images/users/cc/workspace/newstore/src/ > > store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/cc/workspace/newstore/src/ > > store/ > > static/images/users/cc/workspace/news > > tore/src/store/static/images/users/cc/workspace/newstore/src/store/ > > static/images/users/cc/workspace/newstore > > /src/store/static/images/users/cc/workspace/newstore/src/store/static/ > > images/users/cc/workspace/newstore/src > > /store/static/images/users/cc/workspace/newstore/src/store/static/ > > images/users/cc/workspace/newstore/src/sto > > re/static/images/users/cc/workspace/newstore/src/store/static/images/ > > users/cc/workspace/newstore/src/store/s > > tatic/images/users/cc/workspace/newstore/src/store/static/images/ > > users/ > > cc/workspace/newstore/src/store/stati > > c/images/users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/im > > ages/users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/images > > /users/cc/workspace/newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/images/use > > rs/cc/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/m > > cc/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/cc > > cc/workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/src/store/static/images/users/cc/ > > workspace/newstore/src/store/static/images/users/cc/workspace/ > > newstore/ > > src/store/static/images/users/cc/work > > space/newstore/src/store/static/images/users/cc/workspace/newstore/ > > src/ > > store/static/images/users/cc/workspac > > e/newstore/src/store/static/images/users/cc/workspace/newstore/src/ > > store/static/images/users/cc/workspace/ne > > wstore/src/store/static/images/users/cc/workspace/newstore/src/store/ > > static/images/users/cc/workspace/newsto > > re/src/store/static/images/users/cc/workspace/newstore/src/store/ > > static/images/users/cc/workspace/newstore/s > > rc/store/static/images/productimage-picture-neat- > > book-2_jpg_280x280_q85.jpg HTTP/1.1" 302 0 > > > Again, not everyone develops in Mac OS X and Linux and some people out > > there actually do prefer Windows as a Desktop OS. I understand this > > is a small project with only a handful of adopters but I really would > > like some pointers as to where to start looking for this problem. > > > Debugging in python isn't so easy and the execution path hops around > > everywhere. I am quite sure the code that is breaking thumbnails on > > Windows is code in Satchmo as I have used sorl-thumbnails in many > > projects. > > > If the author can kindly point out which modules use the facilities I > > can take a look at the code and see if I can find the issue. Seeing > > that the other people with this problem aren't replying I assume they > > have moved on to other projects as well. > > > On Dec 9, 9:54 am, cc <[email protected]> wrote: > > > Am I doing this on MEDIA_ROOT in settings.py? Still didn't work. I > > > don't know how the thumbnail path generation code works, I have been > > > trying to debug this for a week already, I'm very eager to start > > > working with Satchmo. I'm running 1.0_pre and just `hg up`ed last > > > night. > > > > I have tried every possible MEDIA_ROOT using backslahses, slashes, > > > trailing slashes, no trailing slashes, uppercase and lowercase C:, > > > etc.. all to no avail. If you could possible explain the code path > > > that generates the thumbnail paths it might help me debug it on my > > > side. I put print statements in the satchmo_utils.thumbnail.utils > > > functions and they don't even print.. I thought you were using > > > sorl_thumbnail. I have used sorl_thumbnail in the past without > > > issues, but for some reason there's something else going on here with > > > Satchmo. > > > > Any ideas are appreciated. Thanks. > > > > On Dec 9, 7:43 am, Chris Moffitt <[email protected]> wrote: > > > > > This does nothing for you? > > ... > > read more » -- 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.
