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

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



Am Dienstag, den 28.04.2009, 09:53 +0200 schrieb Paul Menzel:
> Am Dienstag, den 28.04.2009, 09:28 +0200 schrieb Raphael Hertzog:
> > 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 ?
> 
> I forgot to write that I just saw this problem this one time. Afterward
> each upgrade worked without any problems and I was not able to reproduce
> it.

Sorry, I must be blind. Doing aptitude update and aptitude safe-upgrade
today, the same error did occur again.

> Or do you want me to try »aptitude reinstall openoffice.org-emailmerge«
> for testing purposes?

I executed this command and it worked as expected.


Thanks,

Paul

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: