I have been failing to go to a URL usign twill and I couldn't find a way to debug the issue further. I have enabled debug levels in twill for "http","equiv-refresh" and "commands", still twill is not giving any details about the error. Here is the output from twill-sh:
$ twill-sh
-= Welcome to twill! =-
current page: *empty page*
>> debug equiv-refresh 1
DEBUG: setting equiv-refresh debugging to level 1
current page: *empty page*
>> debug http 1
DEBUG: setting http debugging to level 1
current page: *empty page*
>> debug commands 1
DEBUG: setting commands debugging to level 1
current page: *empty page*
>> go https://auth.nbnco.net.au/okta/login
ERROR: cannot go to 'https://auth.nbnco.net.au/okta/login'
current page: *empty page*
And here is the output from the python script:
$ ./test.py
Traceback (most recent call last):
File "./test.py", line 13, in <module>
go("https://auth.nbnco.net.au/okta/login")
File "/usr/lib/python2.7/site-packages/twill/commands.py", line 109, in go
browser.go(url)
File "/usr/lib/python2.7/site-packages/twill/browser.py", line 91, in go
raise TwillException("cannot go to '%s'" % (url,))
twill.errors.TwillException: cannot go to 'https://auth.nbnco.net.au/okta/login'