[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#522022: ERROR: python-loader:<type 'exceptions.ImportError'>: No module named pythonloader



tag 522022 - moreinfo unreproducible
thanks

So the problem only happens during upgrades. If python-uno is unpacked but
not configured, it will not work, you can easily reproduce the problem
by doing this:
rhertzog@rivendell:~$ sudo dpkg --unpack /var/cache/apt/archives/python-uno_1%3a3.0.1-11_i386.deb 
(Lecture de la base de données... 235909 fichiers et répertoires déjà installés.)
Préparation du remplacement de python-uno 1:3.0.1-11 (en utilisant .../python-uno_1%3a3.0.1-11_i386.deb) ...
Dépaquetage de la mise à jour de python-uno ...
rhertzog@rivendell:~$ sudo dpkg --unpack /var/cache/apt/archives/openoffice.org-emailmerge_1%3a3.0.1-11_all.deb 
(Lecture de la base de données... 235909 fichiers et répertoires déjà installés.)
Préparation du remplacement de openoffice.org-emailmerge 1:3.0.1-11 (en utilisant .../openoffice.org-emailmerge_1%3a3.0.1-11_all.deb) ...
Removing extension org.openoffice.legacy.mailmerge.py...
ERROR: python-loader:<type 'exceptions.ImportError'>: No module named pythonloader, traceback follows
no traceback available

unopkg failed.
 done.
Dépaquetage de la mise à jour de openoffice.org-emailmerge ...

Either you pre-depend on python-uno or you ensure that python-uno is
functional when simply unpacked (and not configured). Or you stop removing
the extension in the preinst and do everything in the postinst.

Cheers,
-- 
Raphaël Hertzog

Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny :
http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/



Reply to: