D 2014-10-09T20:37:25.744
J comment The\scommand\shttp::geturl\s-channel\sis\sbroken\son\sMacOS\s10.9.5\s(and\slikely\sother\sversions).\sTransfers\sfail\swhile\swriting\sto\sthe\schannel\swith\s"resource\stemporarily\sunavailable".\sTransfers\sseem\sto\swork\sif\s-channel\snot\sspecified.\sHere\sis\san\sexample:\r\n\r\npackage\srequire\shttp\r\n\r\nset\soutname\s"saturn.jpg"\r\nset\surl\s"http://apod.nasa.gov/apod/image/1409/saturnequinox_cassini_7227.jpg"\r\nset\sout\s[open\s$outname\sw]\r\nset\stoken\s[::http::geturl\s$url\s-channel\s$out]\r\nclose\s$out\r\npackage\srequire\shttp\r\n\r\nOn\sMacOS\swith\sActiveState\sTcl\s8.5.16\sI\ssee:\r\nError\sin\sstartup\sscript:\serror\sreading\s"sock8":\sresource\stemporarily\sunavailable\r\n\s\s\s\swhile\sexecuting\r\n"::http::geturl\s$url\s-channel\s$out"\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"set\stoken\s[::http::geturl\s$url\s-channel\s$out]"\r\n\s\s\s\s(file\s"tcl\shttp\sexample.tcl"\sline\s6)\r\nlocalhost$\swish\stcl\\\shttp\\\sexample.tcl
J icomment I\ssee\sthe\sproblem\son\severy\ssite\sI\shave\stried\s(I\sused\sAPOD\sas\sa\spublic\splace\sto\sget\sa\slarge\simage).\r\n\r\nI'm\spretty\ssure\sthe\serror\sis\sin\swriting\sthe\sfile.\sbased\son\serror\smessages\sI\ssee\swhen\srunning\ssimilar\scode\sin\sPython\susing\sTkinter\s(which\sis\swhere\sI\sfirst\sran\sinto\sthe\sproblem\s--\sI\sprimarily\scode\sPython,\shence\ssome\sof\sthe\sclumsiness\sin\smy\scode\sexample).
J login anonymous
J mimetype text/plain
K ed29c4da21f4c0a7858a0f5ae4aae20dd42fc818
U anonymous
Z 5b1cda1223c5257c3119795fd8f4863e