Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Flag > Corrupt ZIP-File #8

Open
notesjor opened this issue Jun 4, 2024 · 2 comments
Open

Missing Flag > Corrupt ZIP-File #8

notesjor opened this issue Jun 4, 2024 · 2 comments

Comments

@notesjor
Copy link

notesjor commented Jun 4, 2024

If I run this command (from README) under Windows:
docker run --rm \ -v ${PWD}/example:/data:z korap/kalamar:latest-conv \ tei2korapxml \ --inline-tokens '!cmc#morpho' \ --input /data/dck-part1.i5.xml > dck.zip
I get an error message, that --no-tokenizer flag is missing.
If I add this flag - the dck.zip is corrupt.

idsgerrit pushed a commit that referenced this issue Jun 6, 2024
Uploaded patch set 1.

Patch-set: 1
Change-id: I8bfcde32ab198cf178bf8fa3f037f67a0c05df90
Subject: Add --no-tokenizer to tei2korapxml description (fixes #8)
Branch: refs/heads/master
Status: new
Topic: 
Commit: 8adce77
Tag: autogenerated:gerrit:newPatchSet
Groups: 8adce77
Private: false
Work-in-progress: false
@Akron
Copy link
Member

Akron commented Jun 10, 2024

Can you explain what you mean by broken? Isn't it possible to work with the generated zip in the follow up commands? Isn't it possible to open the file using the windows zip tools?

@notesjor
Copy link
Author

If I try to convert this ZIP file to JSON via korapxml2krill - you get an error. After some tests I recognize, that the ZIP-File is corrupt - tried to open the ZIP file on the host (Windows) show "7ZIP: File isn't an archive"
dck.zip

@Akron Akron reopened this Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants