[Debichem-devel] Bug#555627: python-avogadro: avogadro terminates after throwing an instance of 'boost::python::error_already_set'

Michael Banck mbanck at debian.org
Wed Nov 11 09:06:11 UTC 2009


On Wed, Nov 11, 2009 at 01:01:58AM +0100, Daniel Leidert wrote:
> Am Dienstag, den 10.11.2009, 14:24 -0500 schrieb Robert Campbell:
> > On Tue, 10 Nov 2009 19:44:24 +0100 Daniel Leidert <daniel.leidert at wgdd.de>
> > wrote:
> > > Am Dienstag, den 10.11.2009, 09:14 -0500 schrieb Robert Campbell:
> > > > terminate called after throwing an instance of
> > > > 'boost::python::error_already_set'
> > > > 
> > > > If I remove the python-avogadro package, avogadro starts up normally and
> > > > appears to run properly.
> > > 
> > > Please install the package and remove the file 
> > > 
> > > /usr/share/libavogadro/extensionScripts/example.py
> > > 
> > > and test again. Does it fix the problem?
> > 
> > Yes, it does.
> 
> Michael, you removed the rule (binary-fixup/python-avogadro: in
> debian/rules) in 0.9.9-1. What was the reason? This file caused the same
> problem in the past (#536281).

Well, AIUI, removing the file just hides the symptom: No python code
will be loaded at startup, but other python stuff might crash later on.

The reason I removed it was because everything was working fine in my
tests.

Robert, if you go to "Settings->Toolbars->Python Console", does that
work?  If you type something in there, does it not crash?

If that works, I guess removing the example python script would be a
fix.

Otherwise, we need to debug general python support in this case.

> JFTR: I cannot reproduce the problem on an amd64 system (both reports
> were for i386, where I was able to reproduce the problem the last
> time). 

I can't reproduce it either, but I don't run squeeze.


Michael



More information about the Debichem-devel mailing list