Michal Novotný

Results 29 comments of Michal Novotný

I highly agree that the exception should not be raised from template if the image is missing on filesystem. It would be nice if it just silently failed. One of...

I have tried that: ``` {% if image.thumbnail_1 %}

Btw, I am not sure I understood properly but there is no error if you access an attribute of None in Django templates. (EDIT: just got what you meant). I...

Cool, btw I am not getting the error if I access my ProcessedImageField (`{{ image.image }}` is alright). It throws the error for ImageSpecField though (`{{ image.thumbnail_1 }}` not alright):...

One more thing to make the matter more complicated:). On another my page, the `IOError` is raised in these lines: ``` {% if form.instance.image %} {% endif %} ``` `form.instance`...

This should be merged in. I think it is completly correct and It leads to better performance (in my case page is retrieved two times faster).

The problem was again in the order of middleware classes. To solve this particular problem PhasedRenderMiddleware needs to be below MessageMiddleware. Here is my current order: ``` MIDDLEWARE_CLASSES = (...

I resolved it by moving FetchFromCache middleware to the end of the list.

The same problem here. Tried to produce the required input by: `ffmpeg -i h265_sample_8b.ts -c:v copy -bsf hevc_mp4toannexb out.h265` but it threw an error. like that.

Btw. can it display dependencies between frames (i.e. that some b-frame references a p-frame or so).