Tcl Library Source Code

Artifact [2d25af1bc0]
Login

Artifact 2d25af1bc0edfa50c5ea864931c606b496cc8b5d34f9b989680eda1dcdfed872:

Ticket change [2d25af1bc0] - New ticket [b01462dff791ba84|b01462dff7] <i>untar: expected integer but got a list</i>. by anonymous 2025-01-10 08:20:17.
D 2025-01-10T08:20:17.970
J assignee nobody
J closer nobody
J comment Hello,\r\n\r\nI\sam\susing\sMagicsplat\sdistribution\sfor\squite\ssome\stime.\r\n\r\nOne\sof\sthe\soptions\smy\slittle\sapp\soffers\sis\sto\suntar\sbugreport.tar.gz\sfiles\sgenerated\sby\sAndroid\sOS.\r\n\r\nIt\sseems\sI\shad\sno\sissues\swith\sMagicsplat\sbased\son\sTcl/Tk\s8.6,\sbut\swhen\sI\sswitched\sto\sthe\slatest\sversion\sbased\son\s9.1,\sthe\suntar\sstopped\sworking.\r\n\r\nI\sthink\sthe\solder\sversions\sused\sTcllib\s1.2,\swhile\sthe\slatest\sone\sis\sbased\son\s2.0.\r\n\r\nI\smentioned\sthis\sissue\sto\sAshok\sand\she\ssuggest\sto\sopen\sa\sticket\shere.\r\n\r\nThe\serror\sI\ssee\sis\she\sfollowing:\r\n\r\nexpected\sinteger\sbut\sgot\sa\slist\r\n\s\s\s\swhile\sexecuting\r\n"format\s%d\s0[string\strim\s[set\s$x]\s"\s\\x00"]"\r\n\s\s\s\s(procedure\s"readHeader"\sline\s8)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"readHeader\s[read\s$fh\s512]"\r\n\s\s\s\s(procedure\s"::tar::untar"\sline\s22)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"::tar::untar\suntar-test.tar"\r\n\s\s\s\s(file\s"untar-test.tcl"\sline\s3)\s\r\n\r\nI\swas\sable\sto\sreproduce\sthe\sissue\swith\sthe\sfollowing\ssteps:\r\n\r\n1.\sDownloaded\sand\sunpacked\sthe\stcllib\s2.0\ssources\r\n2.\sTar-ed\sthe\sresulting\sfolder\s(used\sPeazip)\sinto\sa\suntar-test.tar\r\n3.\sTried\sto\suntar\swith\sa\stcl\sscript:\r\n\r\npackage\srequire\star\r\n\r\n::tar::untar\suntar-test.tar\r\n\r\nLooks\slike\sthe\suntar\scan\sunpack\sone\sfile\sand\sthen\sfails.\r\n\r\nPlease\slet\sme\sknow\sif\syou\shave\sany\squestions.\r\n\r\nThanks,\r\nMichael
J foundin 2.0
J is_private 0
J login anonymous
J mimetype text/x-fossil-plain
J priority 5\sMedium
J private_contact 8e4bf3cb2f930360a8cee0290ce4aebd8d476280
J resolution None
J severity Severe
J status Open
J submitter anonymous
J subsystem (unused)
J title untar:\sexpected\sinteger\sbut\sgot\sa\slist
J type Bug
K b01462dff791ba84ecf444d01281412d781bdfbb
U anonymous
Z 48fd26329ae1be4f98afee1a0d4f2f6f