← Back to team overview

aesthete-team team mailing list archive

Re: Runtime failure

 

Phil Weir wrote:

I note that the install procedure is installing the following two files:


/usr/lib/python2.7/site-packages/Aesthete-0.4.2-py2.7.egg/aesthete/details.py


/usr/lib/python2.7/site-packages/Aesthete-0.4.2-py2.7.egg/aobject/details.py

The first of which has the setup() line at the end. Should it not be
calling
/usr/lib/python2.7/site-packages/Aesthete-0.4.2-py2.7.egg/aobject/details.py?

C.


Aha! Yes, spot on. So my guess is this : the original aobject.py, which has
been moved out of 'aesthete/', is still tucked away in your install. bzr
should have removed it from your source dir, but it may still be in your
build dir and setuptools continues to find it there and install it
automatically. As a consequence, the 'import aobject' call is probably
importing the wrong one.

Solution : first, check there is no aobject.py in your aesthete directory
(as opposed to aobject dir). Shouldn't be. Delete the build directory (at
same level as those two) and
/usr/lib/python2.7/site-packages/Aesthete-0.4.2-py2.7.egg, then reinstall.
Simple but should work.

P

Yes, that worked, thanks! Now I can find other bugs... (Like the one where you've got a menu after the Help menu, which doesn't seem to be quite right).

C.



References