package: Pootle
Version: 1.2.0-1

Initial upgrade from pootle 1.1 to pootle 1.2 causes the init.d script to die silently without Pootle running. Nothing found in logs about a problem.

It turns out that the jToolkit installed had a deprecated library. But that should not have been fatal to Pootle.

/var/lib/python-support/python2.5/jToolkit/data/dates.py:27: DeprecationWarning: The sre module is deprecated, please import re.
  import sre
Python-Levenshtein not found. Continuing with built-in (slower) fuzzy matching.


Applying this patch resolves the silent failure and allows later init.d piping to log the warning/errors that occur.

--- /etc/init.d/pootle.dpkg-new 2008-09-27 08:28:45.000000000 +1200
+++ /etc/init.d/pootle  2008-12-25 12:04:45.000000000 +1300
@@ -43,7 +43,7 @@
                        chmod 755 /var/run/pootle
                fi
                echo -n "Starting $DESC..."
-               if LC_ALL=C start-stop-daemon --start --quiet \
+               if LC_ALL=C start-stop-daemon --start \
                    --oknodo \
                    --pidfile $PIDFILE \
                    --exec /usr/bin/python \



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to