[twill] Problem with file upload using formfile

Swati Bendale swati at gs-lab.com
Wed Jul 19 05:31:15 PDT 2006

Hi Titus,

I am attaching with this e-mail, the pickle files created using 'scotch' for 
twill (twill11.pickle) and browser (browser11.pickle). I am also attaching 
the files with request/response traffic traced while running the twill 
script (twilltraffic.txt) and browsing (browser-traffic.txt) for the purpose 
of uploading the file.

Please let me know if these files would help you trace the error I am 
getting while using the twill script to perform file upload functionality.

Best regards.

----- Original Message ----- 
From: "Titus Brown" <titus at caltech.edu>
To: "Swati Bendale" <swati at gs-lab.com>
Cc: <twill at lists.idyll.org>
Sent: Tuesday, July 18, 2006 2:24 AM
Subject: Re: [twill] Problem with file upload using formfile

>-> Sorry for delay in reply. As I was busy automating other stuff which had
> -> higher priority,  I could not send you the twill traffic recording and 
> the
> -> browser traffic recording.
> ->
> -> I followed the procedure as mentioned by you on Windows. I downloaded 
> the
> -> wsgirwef package. But it seems there is some problem running the
> -> run-recording-proxy.py.
> -> 1) If I do not provide the option values on the command prompt, I get 
> an
> -> empty twill-traffic.pickle file even after browsing to the application 
> with
> -> upload functionality (here  I edited the run-recording-proxy.py file at
> -> line no.18 and 20 to change the default host and port number).
> ->
> -> 2) When I provide the option values at command prompt I get error. I am
> -> attaching the error lines I get while running the 
> run-recording-proxy.py
> -> with this e-mail.
> ->
> -> Please direct me as to what to do next or please let me know any 
> additional
> -> steps to be followed on Windows to get the run-recording-proxy.py file
> -> running successfully.
> Hi, Swati,
> it sounds like you're not actually hitting the proxy.  Are you sure you
> have the proxy settings set correctly?
> If you stop run-recording-proxy.py and try to browse, your browser
> should complain that the proxy isn't running.  Then, after restarting
> run-recording-proxy, you should see proxy output for each URL request
> that goes through.
> cheers,
> --titus 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twill-traffic.pickle
Type: application/octet-stream
Size: 3460 bytes
Desc: not available
Url : http://lists.idyll.org/pipermail/twill/attachments/20060719/dcb1a246/twill-traffic.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: browser-traffic.pickle
Type: application/octet-stream
Size: 3841 bytes
Desc: not available
Url : http://lists.idyll.org/pipermail/twill/attachments/20060719/dcb1a246/browser-traffic.obj
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: browser-traffic.txt
Url: http://lists.idyll.org/pipermail/twill/attachments/20060719/dcb1a246/browser-traffic.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilltraffic.txt
Url: http://lists.idyll.org/pipermail/twill/attachments/20060719/dcb1a246/twilltraffic.txt

More information about the twill mailing list