Overview
Artifact ID: | 2d25af1bc0edfa50c5ea864931c606b496cc8b5d34f9b989680eda1dcdfed872 |
---|---|
Ticket: | b01462dff791ba84ecf444d01281412d781bdfbb
untar: expected integer but got a list |
User & Date: | anonymous 2025-01-10 08:20:17 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- comment changed to:
Hello, I am using Magicsplat distribution for quite some time. One of the options my little app offers is to untar bugreport.tar.gz files generated by Android OS. It seems I had no issues with Magicsplat based on Tcl/Tk 8.6, but when I switched to the latest version based on 9.1, the untar stopped working. I think the older versions used Tcllib 1.2, while the latest one is based on 2.0. I mentioned this issue to Ashok and he suggest to open a ticket here. The error I see is he following: expected integer but got a list while executing "format %d 0[string trim [set $x] " \x00"]" (procedure "readHeader" line 8) invoked from within "readHeader [read $fh 512]" (procedure "::tar::untar" line 22) invoked from within "::tar::untar untar-test.tar" (file "untar-test.tcl" line 3) I was able to reproduce the issue with the following steps: 1. Downloaded and unpacked the tcllib 2.0 sources 2. Tar-ed the resulting folder (used Peazip) into a untar-test.tar 3. Tried to untar with a tcl script: package require tar ::tar::untar untar-test.tar Looks like the untar can unpack one file and then fails. Please let me know if you have any questions. Thanks, Michael
- foundin changed to: "2.0"
- is_private changed to: "0"
- login: "anonymous"
- mimetype: "text/x-fossil-plain"
- priority changed to: "5 Medium"
- private_contact changed to: "8e4bf3cb2f930360a8cee0290ce4aebd8d476280"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "(unused)"
- title changed to: "untar: expected integer but got a list"
- type changed to: "Bug"