[twill] Global Forms

Titus Brown titus at caltech.edu
Tue Mar 6 14:48:33 PST 2007


Fixed in the latest version.  Pushing release => 0.9b1 right now.

cheers,
--titus

On Sun, Mar 04, 2007 at 08:39:14PM -0500, Matt Singer wrote:
-> No difference
-> 
-> ==> at
-> http://selection.amazon.com/abis/Display/DisplayDepartments.amzn/102-4138
-> 048-7937736

[ ... ]

-> http://selection.amazon.com/abis/Display/DisplayDepartments.amzn/102-4138048
-> -793
-> 7736
-> Traceback (most recent call last):
->   File "amadd.py", line 36, in ?
->     add_book()
->   File "amadd.py", line 27, in add_book
->     formvalue(1, "newCategory", "books")
->   File "c:\python24\Lib\site-packages\twill\commands.py", line 430, in
-> formvalue
-> 
->     browser.clicked(form, control)
->   File "c:\python24\Lib\site-packages\twill\browser.py", line 386, in
-> clicked
->     self._browser.select_form(predicate=choose_this_form)
->   File
-> "c:\python24\Lib\site-packages\twill\other_packages\mechanize\_mechanize.
-> py", line 463, in select_form
->     raise FormNotFoundError("no form matching "+description)
-> mechanize._mechanize.FormNotFoundError: no form matching predicate <function
-> cho
-> ose_this_form at 0x00FBF3F0>
-> 
-> Matt at Rocky /cygdrive/c/Documents and Settings/Matt/My Documents/projects/bw
-> $



More information about the twill mailing list