New issue 51 by dalloliogm: 'ParseError' object has no attribute 'msg'
http://code.google.com/p/twill/issues/detail?id=51
- What steps will reproduce the problem?
$: twill-sh
>> go http://www.molecularlab.it/quiz/
>> showlinks
>> follow Facile
>> info
Page information:
URL: http://www.molecularlab.it/quiz/quiz.asp?cat=3
HTTP code: 200
Content type: text/html (HTML)
Page title: Quiz Facile
Traceback (most recent call last):
File "/usr/local/bin/twill-sh", line 8, in <module>
load_entry_point('twill==0.9', 'console_scripts', 'twill-sh')()
File
"/usr/local/lib/python2.6/dist-packages/twill-0.9-py2.6.egg/twill/shell.py",
line
383, in main
shell.cmdloop(welcome_msg)
File "/usr/lib/python2.6/cmd.py", line 142, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python2.6/cmd.py", line 219, in onecmd
return func(arg)
File
"/usr/local/lib/python2.6/dist-packages/twill-0.9-py2.6.egg/twill/shell.py",
line
42, in do_cmd
print '\nERROR: %s\n' % (str(e),)
File "/usr/lib/python2.6/HTMLParser.py", line 59, in __str__
result = self.msg
AttributeError: 'ParseError' object has no attribute 'msg'
- What is the expected output? What do you see instead?
It should show the info of the page, but it returns an error that I don't
understand.
- What version of the product are you using? On what operating system?
the latest twill 0.9 downloaded with easy_install, with python 2.6 on an
Ubuntu 9.04 installation.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings