[twill] Debugging twill
Titus Brown
titus at caltech.edu
Mon Nov 21 22:34:13 PST 2005
-> On Tue, Nov 22, 2005 at 11:04:44AM +0530, sureshvv wrote:
-> > I am having a hard time debugging the mechanize module used by twill
-> > since it is inside an egg. Any hints on how this can be done easier?
->
-> Yes. Make sure you use "debug http 1", as this does help a lot, and
-> unzip the .zip files containing mechanize, and read the source. That
-> gave me what I needed to debug.
->
-> They don't appear to be .egg files, in 0.7.3 and 0.7.4. Just zip files.
->
-> References:
-> http://peak.telecommunity.com/DevCenter/PythonEggs
->
-> (My Python 2.3 installation doesn't appear to support the "develop"
-> method for setup.py, but I wonder if it is relevant.)
In recent days, I've switched to laying everything out in a directory
'twill/wwwsearch/', so that eventually I can package it all in an
egg. (A zip file inside of an egg seemed like a bit much... ;)
Check out
http://darcs.idyll.org/~t/projects/twill-latest-2005-11-21.tar.gz
for a version with the non-zip layout. (It also contains 99% code
coverage for most of twill in the tests.)
suresh, I've also fixed something to do with your error message. It's
still an error, but it may be more illuminating...
cheers,
--titus
More information about the twill
mailing list