Patrick Fournier
Patrick Fournier
I still get errors (using release d1c55b8): /usr/lib/python2.6/urllib.py:1222: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal res = map(safe_map.**getitem**, s) 2011-08-27...
ImageProcess is trying to open an image file, but for some reason, the path it was given points to a directory. The faulty `path.source` is computed inside `compute_path()` ``` │...
I was looking at the code of [compute_paths()](https://github.com/pelican-plugins/image-process/blob/main/pelican/plugins/image_process/image_process.py#L368 ). My impression is that the problem lies there. It uses SITEURL in some cases, so I was wondering if this could...
Most probably. Try putting a `/` at the start of your image paths: ``` {: .image-process-large-photo} {: .image-process-large-photo} ```
I use Pelican for my site but unfortunately, I am not in a state where I can test things. However, I saw in my `pelicanconf.py` that I added the directory...
Does setting STATIC_PATHS = ['pix/derivatives']` (where `derivatives` is the value of `IMAGE_PROCESS_DIR`) work? Probably not but it is worth trying. The way image_process works is that is adds a subdirectory...
What HTML do you get when you run `make publish` ?
This is really unexpected. If you could set up a minimal project that reproduces this problem and post it here, it would help me finding its cause.
When you have a chance, pull and checkout branch `diagnostic/issue-69` from my fork https://github.com/patrickfournier/image-process/tree/diagnostic/issue-69. Then run `DEBUG=1 make publish`. For each image, you should get something similar to this in...
Yes; you will also need to add the path to the plugin to your `pelicanconf.py` ``` PLUGIN_PATHS = ["plugins_dev/image-process/pelican/plugins"] ```