[twill] problem installing and running twill (total newbie, obviously)

Big Daddy bigdaddy at superslapper.com
Wed Oct 25 12:10:49 PDT 2006



I get the following error when I try to run twill-sh:

Traceback (most recent call last):
  File "C:\Python25\Scripts\twill-sh-script.py", line 8, in <module>
    load_entry_point('twill==0.8.5', 'console_scripts', 'twill-sh')()
  File "C:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\pkg_resources.py", line 236, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "C:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\pkg_resources.py", line 2097, in load_entry_point
    return ep.load()
  File "C:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "c:\python25\lib\site-packages\twill-0.8.5-py2.5.egg\twill\__init__.py", line 52, in <module>
    from shell import TwillCommandLoop
  File "c:\python25\lib\site-packages\twill-0.8.5-py2.5.egg\twill\shell.py", line 9, in <module>
    from twill import commands, parse, __version__
  File "c:\python25\lib\site-packages\twill-0.8.5-py2.5.egg\twill\commands.py", line 69, in <module>
    browser = TwillBrowser()
  File "c:\python25\lib\site-packages\twill-0.8.5-py2.5.egg\twill\browser.py", line 41, in __init__
    factory = ConfigurableParsingFactory()
  File "C:\Python25\lib\site-packages\twill-0.8.5-py2.5.egg\twill\utils.py", line 357, in __init__
    self.basic_gt = mechanize.pp_get_title
AttributeError: 'module' object has no attribute 'pp_get_title'

What am I doing wrong?

---
Get your free email account - http://www.yuber.com



More information about the twill mailing list