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

Can't use Dangerzone: Unknown error code '0' #1025

Closed
rtfmkiesel opened this issue Dec 8, 2024 · 3 comments
Closed

Can't use Dangerzone: Unknown error code '0' #1025

rtfmkiesel opened this issue Dec 8, 2024 · 3 comments
Labels
bug Something isn't working needs info This issue is blocked, waiting input from somebody

Comments

@rtfmkiesel
Copy link

What happened?

Every file I try to pass through dangerzone results in "error code '0'". I've tried the filetypes pdf, doc, docx and png.

Linux distribution

Ubuntu 22.04 LTS via Pop!_OS

Dangerzone version

0.8.0

Podman info

No response

Document conversion logs

dangerzone-cli --output-filename test.pdf test.doc
 
╭──────────────────────────╮
│           ▄██▄           │
│          ██████          │
│         ███▀▀▀██         │
│        ███   ████        │
│       ███   ██████       │
│      ███   ▀▀▀▀████      │
│     ███████  ▄██████     │
│    ███████ ▄█████████    │
│   ████████████████████   │
│    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀    │
│                          │
│    Dangerzone v0.8.0     │
│ https://dangerzone.rocks │
╰──────────────────────────╯
Assigning ID 'gbl7Su' to doc '/home/me/Downloads/test.doc'

Converting document to safe PDF
> /usr/bin/podman run --log-driver none --security-opt no-new-privileges --security-opt seccomp=/usr/share/dangerzone/seccomp.gvisor.json --cap-drop all --cap-add SYS_CHROOT --security-opt label=type:container_engine_t --network=none -u dangerzone --rm -i --name dangerzone-doc-to-pixels-gbl7Su dangerzone.rocks/dangerzone /usr/bin/python3 -m dangerzone.conversion.doc_to_pixels
[doc gbl7Su] 0% Converting page 1/1 from pixels to PDF
ERROR [doc gbl7Su] 0% Unknown error code '0'

Failed to convert document(s)
/home/me/Downloads/test.doc


### Additional info

+ Happens on the version installed via `apt` and on a self-built version using the dev env guide.
+ Happens on the GUI and the CLI. 
@rtfmkiesel rtfmkiesel added the bug Something isn't working label Dec 8, 2024
@almet
Copy link
Contributor

almet commented Dec 9, 2024

Hi, and thanks for opening a bug report here.

Can you please include the result of the following podman commands?

podman version
podman info -f 'json'
podman images
podman run hello-world

We support Ubuntu, but do not explicitly support Pop!OS (which is based on Ubuntu), so it might be that you're encountering a situation where the podman configuration there is the culprit.

@almet almet added the needs info This issue is blocked, waiting input from somebody label Dec 9, 2024
@rtfmkiesel
Copy link
Author

Would have to censor a lot from podman info, as quite a few things in this output are sensitive. That's why I did not include it from the beginning.

podman version give the same output as inside an Ubuntu VM.
podman images just list all the images including Dangerzone.
podman run hello-world works as expected.

Closing this issue, apparently a Pop!OS issue, works on Fedora as expected.

@github-project-automation github-project-automation bot moved this from Todo to Done in Dangerzone ✨ Dec 10, 2024
@almet
Copy link
Contributor

almet commented Dec 11, 2024

Okay, if you can, check that you're not using the VFS driver, as it's known to be buggy (see #1011)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs info This issue is blocked, waiting input from somebody
Projects
Status: Done
Development

No branches or pull requests

2 participants