Skip to content

When I try to iterate over the entries of the attached file, nothing happens #318

Description

@JetForMe

Summary

The attached .3mf file is a zip archive with this directory structure:

GO-M8010-6-P1 copy
├── 3D
│   └── 3dmodel.model
├── [Content_Types].xml
└── _rels

I'm able to partially inspect this

let archive = Archive(ur: url, accessMode: .read)
print(archive.totalNumberOfEntriesInCentralDirectory)         // prints "3"

But I can’t enumerate those top level items:

for entry in archive {
    print("Entry: \(entry)")
}

Prints nothing. Attempting to get archive["3D"] returns nil.

Version
0.9.19

I had to zip the file to get Github to accept it. Unzip it, then try to load the resulting file using Arhive().

GO-M8010-6-P1.3mf.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions