[twill] showforms not showing forms

C. Titus Brown ctb at msu.edu
Thu Apr 30 07:53:50 PDT 2009

On Thu, Apr 30, 2009 at 03:03:49AM -0500, Akafubu Kibombo wrote:
-> Example:
-> >> add_extra_header User-Agent "Mozilla/5.0 (Windows; U; Windows NT 5.1;
-> en-US; rv: Gecko/20070725 Firefox/"
-> current page:  *empty page*
-> >> go http://www.digg.com
-> ==> at http://digg.com/
-> current page: http://digg.com/
-> >> showforms
-> current page: http://digg.com/
-> No matter what site, immediately after typing 'showforms', no forms are
-> show, just "current page: <url>". Can someone please help me troubleshoot
-> the problem?

Hi AK,

what version of twill are you using for this?

A few suggestions:

 - use the 'agent' command to set the agent; I believe add_extra_header
   adds an extra header on top of the one already set by twill;

 - make sure that's a valid agent string.  I'm getting some weird parse
   errors on Linux when I try it out.

C. Titus Brown, ctb at msu.edu

More information about the twill mailing list