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

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



I have the same error. Here are my notes.

On Tue, 31 Mar 2009, Rene Engelhard wrote:
> Hrm, but python-uno is there (was it before the install of -emailmerge, too?)
> and provides this (and in  contrast to 3.1.0 actually does work...
> 
> And what you pasted was preinst. What happened during postinst?

Paramétrage de openoffice.org-emailmerge (1:3.0.1-11) ...
Adding extension /usr/lib/openoffice/basis3.0/program/mailmerge.py...Extension has already been added: org.openoffice.legacy.mailmerge.py
 done.

python-uno was also installed here. It looks like the extension got installed
once but that the upgrade can't remove it anymore.

I just ran the preinst by hand and it worked...

sudo sh -x /var/lib/dpkg/info/openoffice.org-emailmerge.preinst upgrade
[sudo] password for rhertzog: 
+ set -e
+ THIS_PACKAGE=openoffice.org-emailmerge
+ THIS_SCRIPT=preinst
+ LIBSUFFIX=lx
+ PLATFORMID=linux_x86_64
++ stty size
++ awk '{print $2}'
+ DEFCOLUMNS=84
+ expr 84 : '[[:digit:]]\+$'
+ VER=
+ case "$1" in
+ remove_extension org.openoffice.legacy.mailmerge.py
+ /usr/lib/openoffice/program/unopkg list --shared org.openoffice.legacy.mailmerge.py
+ echo -n 'Removing extension org.openoffice.legacy.mailmerge.py...'
Removing extension org.openoffice.legacy.mailmerge.py...++ mktemp -d
+ INSTDIR=/tmp/tmp.XXXX6i3w85
+ /usr/lib/openoffice/program/unopkg remove --shared org.openoffice.legacy.mailmerge.py -env:UserInstallation=file:///tmp/tmp.XXXX6i3w85 -env:UNO_JAVA_JFW_INSTALL_DATA=file:///var/lib/openoffice/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1
+ '[' -n /tmp/tmp.XXXX6i3w85 ']'
+ rm -rf /tmp/tmp.XXXX6i3w85
+ echo ' done.'
 done.
+ flush_unopkg_cache
+ /usr/lib/openoffice/program/unopkg list --shared
+ exit 0

Now postinst also works without displaying any error and reinstallation of the package is fine.

It's a bit weird. Paul, does "aptitude reinstall
openoffice.org-emailmerge" solve your problem ?

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: