From: Harald O. <har...@el...> - 2015-08-18 14:43:52
|
Pan, thank you for the message, sorry for the experience. I have no idea for the reason but this smells like a bug. Could you please open a bug ticket at: core.tcl.tk/tcl ? (login anonymously first) So, this meight be discussed there. Thank you, Harald Am 18.08.2015 um 16:24 schrieb Pan Chai: > Hello Tcl Core Team, > > I am having an issue with http 2.7+, with Tcl 8.5+. > > First, if you put this url string in browser (Chrome, firefox, IE, etc,): > “http://skyview.gsfc.nasa.gov/cgi-bin/pskcall <http://skyview.gsfc.nasa.gov/cgi-bin/pskcall>?VCOORD=ETA%20Carinae&SURVEY=DSS&SCOORD=Equatorial&SFACTR=Default&PIXELX=300&PIXELY=300” > > It will produce a data file (astronomical data file.) The data file is correct and being our test benchmark. > > But if you tried these commands under TCLSH: > > package require http > set skyviewout [open “test.fits” w] > set token [::http:: geturl “http://skyview.gsfc.nasa.gov/cgi-bin/pskcall <http://skyview.gsfc.nasa.gov/cgi-bin/pskcall>” -channel $skyviewout -query “VCOORD=ETA%20Carinae&SURVEY=DSS&SCOORD=Equatorial&SFACTR=Default&PIXELX=300&PIXELY=300”] > close $skyviewout > > It then produces a corrupted data file that has some in-deciphiable strings at beginning of the data file, a line consists of “400^M" and maybe somewhere else in the data file (like break line with “5000^M”) too. > > These TCLSH commands used to work fine. Just as soon as we upgrade to http package 2.7+, it suddenly produced strange results, and it is making reading those astronomical data files impossible. > > Can you help? > > Thank you, > Pan > > Pan Chai > Pan...@na... <mailto:Pan...@na...> > 301.286.8099/1215 (voice/fax) > Code 662.0, NASA/GSFC > Greenbelt, MD 20771 > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Tcl-Core mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-core > -- ELMICRON Dr. Harald Oehlmann GmbH Koesener Str. 85 06618 Naumburg Germany Phone: +49 (0)3445 78112-0 Fax: +49 (0)3445 78112-19 www.Elmicron.de German legal references: Geschaeftsfuehrer: Dr. Harald Oehlmann, Jens Oehlmann UST Nr. / VAT ID No.: DE206105272 HRB 212803 Stendal |