[twill] Can't run twill-sh

Titus Brown titus at caltech.edu
Sun Mar 12 21:03:17 PST 2006

On Sun, Mar 12, 2006 at 08:36:24PM -0500, Hancock, David (DHANCOCK) wrote:
-> WhiteBox Linux 3.0 (RHEL 3.0 clone), Python 2.4.2, twill 0.8.3.
-> I picked up the latest twill, and installed it with python setup.py
-> install, and when I run twill-sh, I get:
-> 	AttributeError: 'module' object has no attribute 'getmro'
-> I'm not very familiar with Python eggs or easy-install, but an
-> easy-install.pth did get updated in
-> /usr/local/lib/python2.4/site-packages with the path to the twill-0.8.3
-> egg.
-> Has anybody got a clue for me? Or a place to look for more information?

Hi, David,

that's an odd one!  I can't think of anything twill-specific about that
error message -- which is not to say that it's not caused by twill, just
that I have no idea what's causing it!  There have been various Windows
issues, but not this message in particular; plus, you're on Linux ;).

Can you report back on a few things?

  - did twill-sh get installed in /usr/bin/ (or /usr/local/bin)?
  - is there a traceback of any kind?

I hate to act all Microsoft-y on you, but you might try upgrading to the
latest twill, which does the twill-sh script in a completely different
way.  You can get it by doing something like

	easy_install -f http://issola.caltech.edu/~t/dist -U twill

or saying

	wget http://issola.caltech.edu/~t/dist/twill-0.8.4a5-py2.4.egg
	easy_install twill-0.8.4*.egg


More information about the twill mailing list