Bug#525135: pootle: reinstalling depended-on packages fixes issue

2009-05-29 Thread Wookey
Package: pootle
Version: 1.1.0-2
Followup-For: Bug #525135

After upgrading from etch to Lenny I had the same problem as the
bugrep (except that my error message was about inability import
translate.storage rather than translate.search.

I fixed the issue with 
apt-get --reinstall install translate-toolkit

pootle still failed to start. eror in /var/log/pootle was now about
failure to import lxml.

apt-get --reinstall install lxml
fixed that and allowed PootleServer to start and work correctly.

So it seems that (some?) modules that are depended-upon by pootle need
to be re-installed if there has been a transition from python 2.4 to
python 2.5. It seems to me that the system should take care of this
during the upgrade?

I'm afraid I know little about how all this fits together, but thought
it worth reporting this issue if only to help others with the same
problem.

I have no idea where it should be fixed...

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.2-bytemark-kvm-tickless-2009-05-05
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages pootle depends on:
ii  adduser   3.110  add and remove users and groups
ii  python2.5.2-3An interactive high-level object-o
ii  python-central0.6.8  register and build utility for Pyt
ii  python-jtoolkit   0.7.8-4Web application framework
ii  python-lxml   2.1.1-2.1  pythonic binding for the libxml2 a
ii  translate-toolkit 1.1.1-3Toolkit assisting in the localizat

pootle recommends no packages.

pootle suggests no packages.

-- no debconf information



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



Bug#525135: pootle: reinstalling depended-on packages fixes issue

2009-05-29 Thread Nicolas François
Hello,

It looks like the original bugs was a failure caused by version 1.1.0-2
not being compatible with the current testing translate-toolkit (1.3.0-4)

This bug also looks like 509696.
It could also be a problem with some dependencies not being really ready
when pootle is started.

Wookey. You are using stable, right?

On Fri, May 29, 2009 at 02:51:45PM +0100, woo...@debian.org wrote:
 
 After upgrading from etch to Lenny I had the same problem as the
 bugrep (except that my error message was about inability import
 translate.storage rather than translate.search.
 
 I fixed the issue with 
 apt-get --reinstall install translate-toolkit

Can you check which version was installed and which is installed
currently?

 pootle still failed to start. eror in /var/log/pootle was now about
 failure to import lxml.
 
 apt-get --reinstall install lxml
 fixed that and allowed PootleServer to start and work correctly.

Idem, it would be nice to know the previous and current lxml versions.

 So it seems that (some?) modules that are depended-upon by pootle need
 to be re-installed if there has been a transition from python 2.4 to
 python 2.5. It seems to me that the system should take care of this
 during the upgrade?

Yes, I also though this was the goal of the new Python policy.

There's still large chunk of black magic there for me.



 I'm afraid I know little about how all this fits together, but thought
 it worth reporting this issue if only to help others with the same
 problem.
 
 I have no idea where it should be fixed...
 
 -- System Information:
 Debian Release: 5.0.1
   APT prefers stable
   APT policy: (500, 'stable')
 Architecture: i386 (i686)
 
 Kernel: Linux 2.6.29.2-bytemark-kvm-tickless-2009-05-05
 Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages pootle depends on:
 ii  adduser   3.110  add and remove users and groups
 ii  python2.5.2-3An interactive high-level 
 object-o
 ii  python-central0.6.8  register and build utility for 
 Pyt
 ii  python-jtoolkit   0.7.8-4Web application framework
 ii  python-lxml   2.1.1-2.1  pythonic binding for the libxml2 
 a
 ii  translate-toolkit 1.1.1-3Toolkit assisting in the 
 localizat
 
 pootle recommends no packages.
 
 pootle suggests no packages.
 
 -- no debconf information
 
 



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



Bug#525135: pootle: reinstalling depended-on packages fixes issue

2009-05-29 Thread Wookey
+++ Nicolas François [2009-05-29 21:25 +0200]:

 Wookey. You are using stable, right?

Correct. This is an important company webserver so it is stable throughout.

 Can you check which version was installed and which is installed
 currently?

from the apt log:
Preparing to replace translate-toolkit 1.1.1-3 (using 
.../translate-toolkit_1.1.1-3_all.deb)
Preparing to replace python-lxml 2.1.1-2.1 (using 
.../python-lxml_2.1.1-2.1_i386.deb)

Those packages were originally installed automatically with pootle.

I found this from the upgrade to lenny:
Preparing to replace translate-toolkit 0.10.1-1 (using 
.../translate-toolkit_1.1.1-3_all.deb) ...
INFO: using unsupported version '/usr/bin/python2.5' 
INFO: using unsupported version '/usr/bin/python2.5'
Unpacking replacement translate-toolkit ...
Preparing to replace pootle 0.10.1-1 (using .../pootle_1.1.0-2_all.deb) ...
Stopping Pootle daemon: PootleServer
INFO: using unsupported version '/usr/bin/python2.5'
INFO: using unsupported version '/usr/bin/python2.5'
Unpacking replacement pootle ...

which might be a clue?

Wookey
-- 
Principal hats:  iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/



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