Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

More error tracing fun

 [1/2] from: mat::eurogamer::net at: 21-Nov-2000 1:42


Folks, Sorry to revisit an old issue, but I've got this really odd one. I've got a script that uploads logfiles from a game server and it generally works pretty good for about a day. Then it blows out. Here's the bit of concern; print ["+ Uploading local file" filen "as" ftpfilename] if error? set/any 'bleet try [ write ftp-to/:ftpfilename filebuff ] [ print [ "* Error uploading file, restoring original!" ] write fullfilez filebuff probe disarm bleet return false ] But my output in the log is; + Uploading local file L1120002.log as L1121003.log * Error uploading file, restoring original! make object! [ code: 303 type: 'script id: 'expect-arg arg1: 'find arg2: 'series arg3: [series! port! bitset!] near: [if not find/match/any server-said respons e] where: none ] This means some sort of script error but the probed error just doesn't seem to make any sense to me. And the fact it doesn't say where? There's no script of mine that matches the stuff in that near: statement there - so I assume that's some internal stuff. I sort of thought the only place I could GET an error is in the try statement or the script would bomb out. Furthermore, the copy to the FTP URL is working fine, absolutely no errors with that. Is there a better way of tracking this error? -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com

 [2/2] from: mat:eurogamer at: 21-Nov-2000 16:47


Heya Mat, I said earlier; MB> make object! [ MB> code: 303 MB> type: 'script MB> id: 'expect-arg MB> arg1: 'find MB> arg2: 'series MB> arg3: [series! port! bitset!] MB> near: [if not find/match/any server-said respons MB> e] MB> where: none MB> ] I guess no one has much of an idea. Assuming this is some internal stuff, could it be related to the fact that I have two rebol scripts working on the same ftp site? Perhaps there's an obscure internal error there? -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com