[twill] Can't run twill-sh

Hancock, David (DHANCOCK) DHANCOCK at arinc.com
Mon Mar 13 03:12:39 PST 2006


Well, if getting "microsofty" works, I can't argue with it. I did the
easy_install of 0.8.4a5 and now twill-sh works. I stupidly forgot to
paste a complete traceback before I upgraded, so I can't show that. The
twill-sh was and is in /usr/local/bin.

Sorry about no traceback, but because it's changing in 0.8.4, it may not
be worth troubleshooting anyway.

Thanks for the fix, and
Cheers!
--
David Hancock | dhancock at arinc.com | 410-266-4384 


-----Original Message-----
From: Titus Brown [mailto:titus at caltech.edu] 
Sent: Monday, March 13, 2006 12:03 AM
To: Hancock, David (DHANCOCK)
Cc: twill at lists.idyll.org
Subject: Re: [twill] Can't run twill-sh


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

cheers,
--titus



More information about the twill mailing list