Bug 587495

Summary: evince fails to open files with '#' in name
Product: [Fedora] Fedora Reporter: James Cassell <fedoraproject>
Component: evinceAssignee: Marek Kašík <mkasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: agajania, jlaska, john, jonathansteffan, mkasik, scott
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: evince-2.30.3-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-01 18:43:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Cassell 2010-04-30 03:59:39 UTC
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):
evince-2.30.1-1.fc13.x86_64

How reproducible:
100%

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
  
Actual results:
[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


Expected results:
file should open correctly

Additional info:
within the graphical window that comes up, it has the following error:
Unable to open document
Error opening file: No such file or directory

Comment 1 John Chivall 2010-06-09 14:04:41 UTC
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.

Comment 2 Jonathan Steffan 2010-06-10 15:26:28 UTC
I have also ran into this issue.

Comment 3 scott mcmahan 2010-06-18 17:29:16 UTC
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.

Comment 4 Marek Kašík 2010-06-23 07:47:10 UTC
Hi,

this problem is fixed in new stable release of evince. Its version is evince-2.30.2-1.fc13.

Regards

Marek

Comment 5 Fedora Update System 2010-06-25 09:56:28 UTC
evince-2.30.3-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/evince-2.30.3-1.fc13

Comment 6 Fedora Update System 2010-06-25 18:21:12 UTC
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

Comment 7 scott mcmahan 2010-06-26 20:15:25 UTC
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.

Comment 8 James Laska 2010-06-30 14:35:05 UTC
Scott, thanks for the feedback.  Setting to VERIFIED based on your feedback.

Comment 9 Fedora Update System 2010-07-01 18:43:26 UTC
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.