[twill] [Bulk] Re: Working around <br/> issue?
Misha Koshelev
misha680 at gmail.com
Wed Dec 30 19:17:10 PST 2009
Ok, thank you.
Btw I have traced it to this line 260 in browser.py (I think?) but
don't know how to proceed further
global_form = self._browser.global_form()
Thank you!
Misha
On Wed, Dec 30, 2009 at 9:05 PM, Howard B. Golden <hgolden at socal.rr.com> wrote:
> On Wednesday December 30, 2009, Misha Koshelev wrote:
>
>> Ok no luck with your theory. I added an import twill at the top (I am
>> a Python newbie - completely) and added twill. in front of lines 30,
>> 31, and 37 of shell.py (see attached). Still getting same error
>>
>> misha at misha-d630:~/personal/web/googlevoice$ cat gvtrashempty |
>> twill-sh
>>
>> -= Welcome to twill! =-
>>
>> current page: *empty page*
>>
>> >> current page: *empty page*
>> >> ==> at
>> >> https://www.google.com/accounts/ServiceLogin?passive=true&service=
>> >>grandcentral<mpl=bluebar&continue=https%3A%2F%2Fwww.google.com%2F
>> >>voice%2Faccount%2Fsignin%2F%3Fprev%3D%252F&gsessionid=WMJMv0xJwU--e
>> >>HRZeHbddQ
>>
>> current page:
>> https://www.google.com/accounts/ServiceLogin?passive=true&service=gr
>> andcentral<mpl=bluebar&continue=https%3A%2F%2Fwww.google.com%2Fvoic
>> e%2Faccount%2Fsignin%2F%3Fprev%3D%252F&gsessionid=WMJMv0xJwU--eHRZeHb
>> ddQ
>>
>> >> current page:
>> >> https://www.google.com/accounts/ServiceLogin?passive=true&service=
>> >>grandcentral<mpl=bluebar&continue=https%3A%2F%2Fwww.google.com%2F
>> >>voice%2Faccount%2Fsignin%2F%3Fprev%3D%252F&gsessionid=WMJMv0xJwU--e
>> >>HRZeHbddQ current page:
>> >> https://www.google.com/accounts/ServiceLogin?passive=true&service=
>> >>grandcentral<mpl=bluebar&continue=https%3A%2F%2Fwww.google.com%2F
>> >>voice%2Faccount%2Fsignin%2F%3Fprev%3D%252F&gsessionid=WMJMv0xJwU--e
>> >>HRZeHbddQ Note: submit is using submit button: name="signIn",
>> >> value="Sign in"
>>
>> current page:
>> https://www.google.com/voice/?gsessionid=3r_m3iQXq_x0Ka_aL0Exqg
>>
>> >> current page:
>> >> https://www.google.com/voice/?gsessionid=3r_m3iQXq_x0Ka_aL0Exqg
>> >> Traceback (most recent call last):
>>
>> File "/usr/bin/twill-sh", line 20, in <module>
>> twill.shell.main()
>> File "/var/lib/python-support/python2.5/twill/shell.py", line 388,
>> in main shell.cmdloop(welcome_msg)
>> File "/usr/lib/python2.5/cmd.py", line 142, in cmdloop
>> stop = self.onecmd(line)
>> File "/usr/lib/python2.5/cmd.py", line 219, in onecmd
>> return func(arg)
>> File "/var/lib/python-support/python2.5/twill/shell.py", line 43,
>> in do_cmd print '\nERROR: %s\n' % (str(e),)
>> File "/usr/lib/python2.5/HTMLParser.py", line 59, in __str__
>> result = self.msg
>> AttributeError: 'ParseError' object has no attribute 'msg'
>>
>> Any ideas?
>
> The traceback still doesn't make sense. However, I don't know enough
> about twill to diagnose it any more than I have. You'll probably have to
> wait for Titus to respond.
>
>> I don't know how to trace through I'm afraid. Any suggestions. I'm on
>> Hardy Heron 8.04
>
> This is too complicated for either of us. Let's wait to see what Titus
> has to say.
>
> Howard
>
More information about the twill
mailing list