revelation can not "Open file on startup" when the filename contains (not-so) special characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
revelation (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When you select a file to be automatically opened on startup and that file contains anything but [a-Z/] revelation fails to open it.
The file name is stored in gconf in a <stringvalue> and special characters are URI encoded (" " = %20, "%" = %25, "+" = %2B, etc.). Later, when Revelation reads the filename from gconf it tries to open it without decoding the URI encoded string.
Two error messages are produced (the file is /home/ubuntu/test bug/passwords):
"The file '/home/
and a traceback:
"Traceback (most recent call last):
File "/usr/bin/
app.run()
File "/usr/bin/
self.
File "/usr/bin/
entrystore = self.__
File "/usr/bin/
return result
UnboundLocalError: local variable 'result' referenced before assignment"
In Debian this bug is fixed in 0.4.11-5 and the bug is #518085 (https:/
Please apply that patch to the Ubuntu package as well.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: revelation 0.4.14-2
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Apr 24 02:13:54 2014
InstallationDate: Installed on 2013-12-19 (125 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: revelation
UpgradeStatus: Upgraded to trusty on 2014-04-03 (20 days ago)
The attachment "A patch proposed by Bart Veldstra in https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 518085# 19" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]