Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Mario César
@mariocesar
Have you studied this mariocesar/sorl-thumbnail#301 ? I tried the patch in a production site and it boot faster
the issue is that I'm against depending on the global scope
Rolf Erik Lekang
@relekang
I have not looked into it, because I thought the scope of version 12 was large enough and it is not a super critical issue
Mario César
@mariocesar
well is not the only complaint about speed with s3, we will work on that later
I'm preparing the release
Rolf Erik Lekang
@relekang
sweet :)
Mario César
@mariocesar
@relekang version issues, is installing 12.1c by default
looks like we need to add a number to the version
Mario César
@mariocesar
@/all New 12.2 Release https://pypi.python.org/pypi/sorl-thumbnail/12.2 Congratulations to all, and special thanks to @relekang for his hardwork and a warm welcome to @frankier to the contributors
Rolf Erik Lekang
@relekang
Wee, thanks to all that help us get here :)
Rolf Erik Lekang
@relekang
I started on refactoring of the whole test suite, first steps are to use multidimensional tox and separate tests into several files
Rolf Erik Lekang
@relekang
@mariocesar can i merge #348 ?
pySilver
@pySilver
@mariocesar unfortunatelly there is a terrible bug in 12.2 mariocesar/sorl-thumbnail#351
Rolf Erik Lekang
@relekang
@pySilver how have you set up boto?
pySilver
@pySilver
@relekang well the only non-default thing in our config is preload_metadata = setting('AWS_PRELOAD_METADATA', True) which may have a direct relation with this issue.
Matt Gardner
@allthesignals
Can someone point me to a working repo of sorl + boto s3? trying to troubleshoot a speed/performance issue...
pySilver
@pySilver
@allthesignals what kind of performance issues do you have? (we've had an issue with AWS_PRELOAD_METADATA enbled on boto, which causes issuing LIST requests to AWS from time to time (actually quite often)
Matt Gardner
@allthesignals
@pySilver: Thanks for the information - it's strange. It runs fairly well locally (very slow on first load because it's caching). Both the source images (media) and cache are located on S3. However, when deploying to a Heroku-like environment (using Dokku), it is quite slow, and the server generates 502s sometimes, on specific sets of thumbnails (possibly related to server timeouts from pulling large images and caching them?). I don't really see a difference using AWS_PRELOAD_METADATA.
Kevin Brown
@kevin-brown
Hi all, we're looking to upgrade to 12.2 from 11.12 and were wondering if there is a change log anywhere?
Rolf Erik Lekang
@relekang
There is a changes.rst, but i think it is incomplete
Kevin Brown
@kevin-brown
It hasn't been updated for 5 months :)
Rolf Erik Lekang
@relekang
yeah, saw that now :p
i think the most important changes are there
Ashwin Kumar
@ashwin31
Hi, how can i get all related thumbnail keys of an original image file
zavg
@zavg
Guys, sorry for advertising but take look at webmeetups.net. It is a free service to hold online meetups using Google Hangouts :) You can create sorl-thumbnail group and easily organize online meetups within it.
dmasson
@dmasson
Hello guys is there a way to know from a view or model if an image has already a cached thumbnail ??
Kevin Brown
@kevin-brown
dmasson: Yes, but it requires checking the cache manually for the key. There may be a helper method added in the last year that I'm not aware of though.
Ali
@Qurus
Hi I have installed sorl-thumbnail. And added as in installation documentation. But showing me empty div not showing image. Do you know why ?
Rolf Erik Lekang
@relekang
Have you tried with the template debug setting as true?
Ali
@Qurus
Yes I did. I think problem is Django1.9?
Tim Graham
@timgraham
Hi, is the #sorl-thumbnail IRC channel referenced in the README defunct? I tried joining but the room is empty (unless I did something wrong).
Also, I wanted to ask for a review/merge of mariocesar/sorl-thumbnail#435 as I'm trying to remove deprecation warnings in the djangoproject.com test suite. Thanks.
Anton Boksha
@AntonBoksha_twitter
Hi guys. Can anyone help me with sort.thumbnail. I don't understand why it's now create a cache folder on my AWS EC2 server, but locally it work's fine?
longnight
@longnight
Sorl-thumbnail work well on local but not on my server, it doesn't create cache folder and not gen any thumbnail image, but there are key-values generated, can any people help me how to check out where is the problem ?
Anatoly
@Sindbag
hey guys
Need your help: trying to set up sorl-thumbnail, recieve 404 while trying to get the image, I have 'cache' dir with .djcache files, but no .jpg or so
Leonard Camacho
@lcamacho
hello
Hwan Kim
@ihwan
Hello
Ismael Venegas Castelló
@Ismael-VC
Hello guys could someone give me a screenshot of how the thumbnail looks in the admin please? Thanks in advance!
:D
Edoardo Nodari
@enodari
Hi everyone! Is the current version of sorl-thumbnail still supporting PDF thumbnails? I tried to use it with the low-level API and it doesn't show me any error, but the file is not created (images work fine). Thank you!
Ismael Venegas Castelló
@Ismael-VC
@enodari could you please show me a screenshot of the thumbnail working?
I have been unable to make it work in the admin
But im new at this
:D
inoks
@inoks
@Ismael-VC Did you follow all instructions here: http://sorl-thumbnail.readthedocs.io/en/latest/examples.html#admin-examples ?
Especially this one: note that this requires use of sorl.thumbnail.ImageField in your models as explained above
Adrián Matejov
@Adman
Hello! I'm having issues with generating thumbnails with get_thumbnail method. When I use it, it doesn't use cached thumbnail in key-value store, but generates new one instead. When using {% thumbnail %} tag, it works as intended. Do you know what to do with this problem? I'm using latest version from pypi 12.4a1.
David D Lowe
@Flimm
The README.rst for sorl-thumbnail points to https://gitter.im/jazzband/sorl-thumbnail , but this Gitter doesn't exist.
Should I change the link back to this room?