Overview
| Artifact ID: | bbc658b0dd88c9883ee7263926e42893ab2819dd |
|---|---|
| Ticket: | 1818565fffffffffffffffffffffffffffffffff
http::wait error |
| User & Date: | patthoyts on 2007-11-15 16:57:01 |
Changes
- assignee changed to: "patthoyts"
- icomment:
Logged In: YES user_id=202636 Originator: NO This error occurs when the token has been deleted already for some reason. You can see this if we pass in a bogus array name: % namespace eval xyz {} % http::status ::xyz::1 can't read "state(status)": no such variable The tkchat code in question has a command procedure so we don't call http::wait from http::geturl for reading but we have a -timeout so we call this for connection setup. So in http::Connect we must be getting an [eof] or a socket error but this should set the state(status) to 'error'. However we then call Finish which calls the user provided -command procedure and the tkchat one will cleanup the token. I think whats going on is an error in connection sets an error status, calls the application command procedure which cleanup and then the vwait gets a chance to run and the http::wait finishes but with a deleted array. If this is correct I think you should be seeing a tk_messageBox with a "Fetch URL error: ..." message from the tkchat command procedure at around the same time. - login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"