Issue #1205 wontfix

Space gets removed from a filename (with underscores) upon access leading to "image file not readable"

Yaroslav Halchenko avatarYaroslav Halchenko created an issue

I have a following obscure case:

.. image:: vbench/figures/numpy.random.normal(size=(nx_, ny_)).png
   :width: 6in

There is a space between nx_, and ny_ . Upon sphinxing it, I would get

WARNING: image file not readable: vbench/figures/numpy.random.normal(size=(nx_,ny_)).png

mention no space between now. Looking into strace of such running process, first file gets stat'ed with space and then without:

13326 stat("/home/yoh/proj/pymvpa/numpy-vbench/source/vbench/figures/numpy.random.normal(size=(nx_, ny_)).png", {st_mode=S_IFREG|0600, st_size=51168, ...}) = 0
13326 access("/home/yoh/proj/pymvpa/numpy-vbench/source/vbench/figures/numpy.random.normal(size=(nx_,ny_)).png", R_OK) = -1 ENOENT (No such file or directory)

hopefuly that would be of help to pin-point the problem.

That was done on Debian system with its provided sphinx -- first with 1.1.3+dfsg-8 and then with 1.2~b1+dfsg-2

Comments (1)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.