Red Hat Bugzilla – Bug 587495
evince fails to open files with '#' in name
Last modified: 2010-07-01 14:43:31 EDT
Description of problem:
Evince gives the following error when trying to open a file with a '#' in its name. this happens both when opening it via double-clicking in nautilus, and when passing the filename as a parameter from the command line. It opens fine if I do a file->open from evince itself.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rename a PDF so that it has the character '#' in its name
2. try to open it in evince, via double-clicking in nautilus or from the command line
3. see the below error
[james@localhost Download]$ evince A#21.pdf
** (evince:5408): WARNING **: Error stating file '/home/james/Download/A': No such file or directory
** (evince:5408): WARNING **: Error setting file metadata: No such file or directory
file should open correctly
within the graphical window that comes up, it has the following error:
Unable to open document
Error opening file: No such file or directory
Confirmed with evince-2.30.1-2.fc13.x86_64. This is a regression since F12
$ evince #000047-Ardmay-09-06-10.pdf
starts Evince which displays an error:
"Unable to open document
Can't open directory"
(I get no errors output to the terminal)
This happens when double clicking on the file as well, but using File->Open within Evince loads and displays the document with no errors.
PDF thumbnails are shown in Nautilus for files with '#' in the name.
I have also ran into this issue.
This started happening with me after upgrading to Fedora 13. Evince will not open files with a # in the filename, which is a valid character. (Does this have something to do with parsing URLs with # in them?) This bug cripples Evince when dealing with a group of numbered PDFs (#001 ... #999 etc), particularly for me because I have many read-only archives of old PDFs that I do not want to change. No version of Evince before Fedora 13 has had this problem.
this problem is fixed in new stable release of evince. Its version is evince-2.30.2-1.fc13.
evince-2.30.3-1.fc13 has been submitted as an update for Fedora 13.
evince-2.30.3-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update evince'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/evince-2.30.3-1.fc13
I installed evince-2.30.3-1.fc13.x86_64 and the problem is fixed - files with a # in the filename open like they used to.
Scott, thanks for the feedback. Setting to VERIFIED based on your feedback.
evince-2.30.3-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.