Gallery in karmic can't write updated config - patch attached

Bug #555320 reported by janl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gallery (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gallery

Hi, I've upgraded a old machine in the last few days. When I tried gallery it said the configuration was for a old version and that a new needed to be made. I went ahead and entered the config dialogue as directed and when I wanted to save I was greeted with a "unexpected LSTRING" or some such in /var/lib/gallery/setup/write.inc line 210. Inspecting that line I found a double doublequote. I made it into a single double quote and then the configuration was saved and gallery again worked. Patch:

--- write.inc~ 2009-01-05 23:21:41.000000000 +0100
+++ write.inc 2010-04-04 21:48:09.000000000 +0200
@@ -207,7 +207,7 @@
                $message .= "<br><br>";
        }
        else {
- $message = gTranslate('config', ""We highly suggest that you run '/usr/share/gallery/secure.sh' for increased security.");
+ $message = gTranslate('config', "We highly suggest that you run '/usr/share/gallery/secure.sh' for increased security.");
        }
 }

ProblemType: Bug
Architecture: lpia
Date: Sun Apr 4 21:57:35 2010
DistroRelease: Ubuntu 9.10
Package: gallery 1.5.9-1.2ubuntu1 [modified: var/lib/gallery/setup/write.inc]
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-lpia
SourcePackage: gallery
Uname: Linux 2.6.31-20-lpia i686

Revision history for this message
janl (janl) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.