ikiwiki/doc/bugs/capitalized_attachment_name...

15 lines
862 B
Plaintext
Raw Permalink Normal View History

2013-05-01 21:59:58 +02:00
Given an uploaded image via: \[\[!img NAME.svg alt="image"\]\]
Viewing the generated page shows the following error:
"\[\[!img Error: failed to read name.svg: Exception 420: no decode delegate for this image format `/home/user/path/name.svg' @ error/svg.c/ReadSVGImage/2815\]\]"
2013-05-01 22:33:48 +02:00
The caps in the image title were somehow converted to small letters and then the image is saved as a directory. Very puzzling.
I get the same error when image names are small letters.
2013-05-01 22:16:22 +02:00
The error also occurs with png images.
2013-05-01 21:59:58 +02:00
2013-05-01 23:21:12 +02:00
How do I fix this?
2013-05-02 18:05:20 +02:00
Later investigation ... I got around the problem by creating the mark-up in a new directory. However, if I try to create a new directory with the same name as the directory containing the problem code, the problem re-emerges -- the old directory is apparently not overwritten. Perhaps this is an issue with the git storage.