[twill] Twill shell can't find pp_get_title?
Ramon Felciano
felciano at ingenuity.com
Thu Nov 2 18:10:24 PST 2006
Hello --
I'm having difficulty running twill on a fresh Python 2.5 install. I'm
getting stack trace below. There was a message last month about this,
and Titus suggested it was due to an outdated version of mechanize.
However, this is a clean install and I explicitly downloaded and
installed the latest mechanize (mechanize-0.1.5b-py2.5.egg) from
http://wwwsearch.sourceforge.net/mechanize/.
FWIW, if I import mechanize and do dir(mechanize), I don't see a
pp_get_title...
Any suggestions?
Thanks,
Ramon
C:\>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
File
"C:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\pkg_resources.
py", line 2097, in load_entry_point
File
"C:\Python25\lib\site-packages\setuptools-0.6c3-py2.5.egg\pkg_resources.
py", line 1830, in load
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'
C:\>
----+----
This email message (and any attached document) contains information from Ingenuity Systems Inc. which may be considered confidential by Ingenuity, or which may be privileged or otherwise exempt from disclosure under law, and is for the sole use of the individual or entity to whom it is addressed. Any other dissemination, distribution or copying of this message is strictly prohibited. If you receive this message in error, please notify me and destroy the attached message (and all attached documents) immediately.
More information about the twill
mailing list