Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 3f53038503367182b52bfbca8bb99b9c82671d5da234556916182896d9213ea0
Ticket: b01462dff791ba84ecf444d01281412d781bdfbb
untar: expected integer but got a list
User & Date: anonymous 2025-01-14 00:35:33
Changes

  1. icomment:
    I just tested using the following file
    
    https://corpus.canterbury.ac.nz/resources/cantrbry.tar.gz
    
    from here:
    
    https://corpus.canterbury.ac.nz/descriptions/
    
    Just ungziped it and then tried to untar using the tcl script.
    
    Here is the error I get this time:
    
    expected integer but got "0à♥♥☻"
        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)
    
    untar was able to extract the first file and then failed
    
  2. login: "anonymous"
  3. mimetype: "text/plain"