EPUB to PDF Conversion fails for large EPUB
What happened?
Dangerzone hangs, then displays "Conversion to PDF with LibreOffice failed" when attempting to convert large EPUBs.
operating system version
Windows 11 Pro, Version 23H2 (0S Build 22631.4541)
Dangerzone version
0.8.0
Docker info
Client:
Version: 27.3.1
API version: 1.47
Go version: go1.22.7
Git commit: ce12230
Built: Fri Sep 20 11:42:27 2024
OS/Arch: windows/amd64
Context: desktop-linux
Server: Docker Desktop 4.36.0 (175267)
Engine:
Version: 27.3.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.7
Git commit: 41ca978
Built: Fri Sep 20 11:41:11 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.21
GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111
runc:
Version: 1.1.13
GitCommit: v1.1.13-0-g58aa920
docker-init:
Version: 0.19.0
GitCommit: de40ad0
{"ID":"95779f67-70ea-4721-aab8-4df2c429e8c3","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":1,"Driver":"overlayfs","DriverStatus":[["driver-type","io.containerd.snapshotter.v1"]],"Plugins":{"Volume":["local"],"Network":["bridge","host","ipvlan","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","local","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemoryTCP":true,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":true,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":false,"NFd":53,"OomKillDisable":true,"NGoroutines":78,"SystemTime":"2024-12-07T22:37:30.039381853Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","CgroupVersion":"1","NEventsListener":15,"KernelVersion":"5.15.167.4-microsoft-standard-WSL2","OperatingSystem":"Docker Desktop","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":[],"Secure":true,"Official":true},"hubproxy.docker.internal:5555":{"Name":"hubproxy.docker.internal:5555","Mirrors":[],"Secure":false,"Official":false}},"Mirrors":null},"NCPU":24,"MemTotal":33201590272,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"http.docker.internal:3128","HttpsProxy":"http.docker.internal:3128","NoProxy":"hubproxy.docker.internal","Name":"docker-desktop","Labels":["com.docker.desktop.address=npipe://\\\\.\\pipe\\docker_cli"],"ExperimentalBuild":false,"ServerVersion":"27.3.1","Runtimes":{"io.containerd.runc.v2":{"path":"runc","status":{"org.opencontainers.runtime-spec.features":"{\"ociVersionMin\":\"1.0.0\",\"ociVersionMax\":\"1.0.2-dev\",\"hooks\":[\"prestart\",\"createRuntime\",\"createContainer\",\"startContainer\",\"poststart\",\"poststop\"],\"mountOptions\":[\"acl\",\"async\",\"atime\",\"bind\",\"defaults\",\"dev\",\"diratime\",\"dirsync\",\"exec\",\"iversion\",\"lazytime\",\"loud\",\"mand\",\"noacl\",\"noatime\",\"nodev\",\"nodiratime\",\"noexec\",\"noiversion\",\"nolazytime\",\"nomand\",\"norelatime\",\"nostrictatime\",\"nosuid\",\"nosymfollow\",\"private\",\"ratime\",\"rbind\",\"rdev\",\"rdiratime\",\"relatime\",\"remount\",\"rexec\",\"rnoatime\",\"rnodev\",\"rnodiratime\",\"rnoexec\",\"rnorelatime\",\"rnostrictatime\",\"rnosuid\",\"rnosymfollow\",\"ro\",\"rprivate\",\"rrelatime\",\"rro\",\"rrw\",\"rshared\",\"rslave\",\"rstrictatime\",\"rsuid\",\"rsymfollow\",\"runbindable\",\"rw\",\"shared\",\"silent\",\"slave\",\"strictatime\",\"suid\",\"symfollow\",\"sync\",\"tmpcopyup\",\"unbindable\"],\"linux\":{\"namespaces\":[\"cgroup\",\"ipc\",\"mount\",\"network\",\"pid\",\"user\",\"uts\"],\"capabilities\":[\"CAP_CHOWN\",\"CAP_DAC_OVERRIDE\",\"CAP_DAC_READ_SEARCH\",\"CAP_FOWNER\",\"CAP_FSETID\",\"CAP_KILL\",\"CAP_SETGID\",\"CAP_SETUID\",\"CAP_SETPCAP\",\"CAP_LINUX_IMMUTABLE\",\"CAP_NET_BIND_SERVICE\",\"CAP_NET_BROADCAST\",\"CAP_NET_ADMIN\",\"CAP_NET_RAW\",\"CAP_IPC_LOCK\",\"CAP_IPC_OWNER\",\"CAP_SYS_MODULE\",\"CAP_SYS_RAWIO\",\"CAP_SYS_CHROOT\",\"CAP_SYS_PTRACE\",\"CAP_SYS_PACCT\",\"CAP_SYS_ADMIN\",\"CAP_SYS_BOOT\",\"CAP_SYS_NICE\",\"CAP_SYS_RESOURCE\",\"CAP_SYS_TIME\",\"CAP_SYS_TTY_CONFIG\",\"CAP_MKNOD\",\"CAP_LEASE\",\"CAP_AUDIT_WRITE\",\"CAP_AUDIT_CONTROL\",\"CAP_SETFCAP\",\"CAP_MAC_OVERRIDE\",\"CAP_MAC_ADMIN\",\"CAP_SYSLOG\",\"CAP_WAKE_ALARM\",\"CAP_BLOCK_SUSPEND\",\"CAP_AUDIT_READ\",\"CAP_PERFMON\",\"CAP_BPF\",\"CAP_CHECKPOINT_RESTORE\"],\"cgroup\":{\"v1\":true,\"v2\":true,\"systemd\":true,\"systemdUser\":true},\"seccomp\":{\"enabled\":true,\"actions\":[\"SCMP_ACT_ALLOW\",\"SCMP_ACT_ERRNO\",\"SCMP_ACT_KILL\",\"SCMP_ACT_KILL_PROCESS\",\"SCMP_ACT_KILL_THREAD\",\"SCMP_ACT_LOG\",\"SCMP_ACT_NOTIFY\",\"SCMP_ACT_TRACE\",\"SCMP_ACT_TRAP\"],\"operators\":[\"SCMP_CMP_EQ\",\"SCMP_CMP_GE\",\"SCMP_CMP_GT\",\"SCMP_CMP_LE\",\"SCMP_CMP_LT\",\"SCMP_CMP_MASKED_EQ\",\"SCMP_CMP_NE\"],\"archs\":[\"SCMP_ARCH_AARCH64\",\"SCMP_ARCH_ARM\",\"SCMP_ARCH_MIPS\",\"SCMP_ARCH_MIPS64\",\"SCMP_ARCH_MIPS64N32\",\"SCMP_ARCH_MIPSEL\",\"SCMP_ARCH_MIPSEL64\",\"SCMP_ARCH_MIPSEL64N32\",\"SCMP_ARCH_PPC\",\"SCMP_ARCH_PPC64\",\"SCMP_ARCH_PPC64LE\",\"SCMP_ARCH_RISCV64\",\"SCMP_ARCH_S390\",\"SCMP_ARCH_S390X\",\"SCMP_ARCH_X32\",\"SCMP_ARCH_X86\",\"SCMP_ARCH_X86_64\"]},\"apparmor\":{\"enabled\":true},\"selinux\":{\"enabled\":true}},\"annotations\":{\"io.github.seccomp.libseccomp.version\":\"2.5.4\",\"org.opencontainers.runc.checkpoint.enabled\":\"true\",\"org.opencontainers.runc.commit\":\"v1.1.13-0-g58aa920\",\"org.opencontainers.runc.version\":\"1.1.13\"}}"}},"nvidia":{"path":"nvidia-container-runtime","status":{"org.opencontainers.runtime-spec.features":"{\"ociVersionMin\":\"1.0.0\",\"ociVersionMax\":\"1.0.2-dev\",\"hooks\":[\"prestart\",\"createRuntime\",\"createContainer\",\"startContainer\",\"poststart\",\"poststop\"],\"mountOptions\":[\"acl\",\"async\",\"atime\",\"bind\",\"defaults\",\"dev\",\"diratime\",\"dirsync\",\"exec\",\"iversion\",\"lazytime\",\"loud\",\"mand\",\"noacl\",\"noatime\",\"nodev\",\"nodiratime\",\"noexec\",\"noiversion\",\"nolazytime\",\"nomand\",\"norelatime\",\"nostrictatime\",\"nosuid\",\"nosymfollow\",\"private\",\"ratime\",\"rbind\",\"rdev\",\"rdiratime\",\"relatime\",\"remount\",\"rexec\",\"rnoatime\",\"rnodev\",\"rnodiratime\",\"rnoexec\",\"rnorelatime\",\"rnostrictatime\",\"rnosuid\",\"rnosymfollow\",\"ro\",\"rprivate\",\"rrelatime\",\"rro\",\"rrw\",\"rshared\",\"rslave\",\"rstrictatime\",\"rsuid\",\"rsymfollow\",\"runbindable\",\"rw\",\"shared\",\"silent\",\"slave\",\"strictatime\",\"suid\",\"symfollow\",\"sync\",\"tmpcopyup\",\"unbindable\"],\"linux\":{\"namespaces\":[\"cgroup\",\"ipc\",\"mount\",\"network\",\"pid\",\"user\",\"uts\"],\"capabilities\":[\"CAP_CHOWN\",\"CAP_DAC_OVERRIDE\",\"CAP_DAC_READ_SEARCH\",\"CAP_FOWNER\",\"CAP_FSETID\",\"CAP_KILL\",\"CAP_SETGID\",\"CAP_SETUID\",\"CAP_SETPCAP\",\"CAP_LINUX_IMMUTABLE\",\"CAP_NET_BIND_SERVICE\",\"CAP_NET_BROADCAST\",\"CAP_NET_ADMIN\",\"CAP_NET_RAW\",\"CAP_IPC_LOCK\",\"CAP_IPC_OWNER\",\"CAP_SYS_MODULE\",\"CAP_SYS_RAWIO\",\"CAP_SYS_CHROOT\",\"CAP_SYS_PTRACE\",\"CAP_SYS_PACCT\",\"CAP_SYS_ADMIN\",\"CAP_SYS_BOOT\",\"CAP_SYS_NICE\",\"CAP_SYS_RESOURCE\",\"CAP_SYS_TIME\",\"CAP_SYS_TTY_CONFIG\",\"CAP_MKNOD\",\"CAP_LEASE\",\"CAP_AUDIT_WRITE\",\"CAP_AUDIT_CONTROL\",\"CAP_SETFCAP\",\"CAP_MAC_OVERRIDE\",\"CAP_MAC_ADMIN\",\"CAP_SYSLOG\",\"CAP_WAKE_ALARM\",\"CAP_BLOCK_SUSPEND\",\"CAP_AUDIT_READ\",\"CAP_PERFMON\",\"CAP_BPF\",\"CAP_CHECKPOINT_RESTORE\"],\"cgroup\":{\"v1\":true,\"v2\":true,\"systemd\":true,\"systemdUser\":true},\"seccomp\":{\"enabled\":true,\"actions\":[\"SCMP_ACT_ALLOW\",\"SCMP_ACT_ERRNO\",\"SCMP_ACT_KILL\",\"SCMP_ACT_KILL_PROCESS\",\"SCMP_ACT_KILL_THREAD\",\"SCMP_ACT_LOG\",\"SCMP_ACT_NOTIFY\",\"SCMP_ACT_TRACE\",\"SCMP_ACT_TRAP\"],\"operators\":[\"SCMP_CMP_EQ\",\"SCMP_CMP_GE\",\"SCMP_CMP_GT\",\"SCMP_CMP_LE\",\"SCMP_CMP_LT\",\"SCMP_CMP_MASKED_EQ\",\"SCMP_CMP_NE\"],\"archs\":[\"SCMP_ARCH_AARCH64\",\"SCMP_ARCH_ARM\",\"SCMP_ARCH_MIPS\",\"SCMP_ARCH_MIPS64\",\"SCMP_ARCH_MIPS64N32\",\"SCMP_ARCH_MIPSEL\",\"SCMP_ARCH_MIPSEL64\",\"SCMP_ARCH_MIPSEL64N32\",\"SCMP_ARCH_PPC\",\"SCMP_ARCH_PPC64\",\"SCMP_ARCH_PPC64LE\",\"SCMP_ARCH_RISCV64\",\"SCMP_ARCH_S390\",\"SCMP_ARCH_S390X\",\"SCMP_ARCH_X32\",\"SCMP_ARCH_X86\",\"SCMP_ARCH_X86_64\"]},\"apparmor\":{\"enabled\":true},\"selinux\":{\"enabled\":true}},\"annotations\":{\"io.github.seccomp.libseccomp.version\":\"2.5.4\",\"org.opencontainers.runc.checkpoint.enabled\":\"true\",\"org.opencontainers.runc.commit\":\"v1.1.13-0-g58aa920\",\"org.opencontainers.runc.version\":\"1.1.13\"}}"}},"runc":{"path":"runc","status":{"org.opencontainers.runtime-spec.features":"{\"ociVersionMin\":\"1.0.0\",\"ociVersionMax\":\"1.0.2-dev\",\"hooks\":[\"prestart\",\"createRuntime\",\"createContainer\",\"startContainer\",\"poststart\",\"poststop\"],\"mountOptions\":[\"acl\",\"async\",\"atime\",\"bind\",\"defaults\",\"dev\",\"diratime\",\"dirsync\",\"exec\",\"iversion\",\"lazytime\",\"loud\",\"mand\",\"noacl\",\"noatime\",\"nodev\",\"nodiratime\",\"noexec\",\"noiversion\",\"nolazytime\",\"nomand\",\"norelatime\",\"nostrictatime\",\"nosuid\",\"nosymfollow\",\"private\",\"ratime\",\"rbind\",\"rdev\",\"rdiratime\",\"relatime\",\"remount\",\"rexec\",\"rnoatime\",\"rnodev\",\"rnodiratime\",\"rnoexec\",\"rnorelatime\",\"rnostrictatime\",\"rnosuid\",\"rnosymfollow\",\"ro\",\"rprivate\",\"rrelatime\",\"rro\",\"rrw\",\"rshared\",\"rslave\",\"rstrictatime\",\"rsuid\",\"rsymfollow\",\"runbindable\",\"rw\",\"shared\",\"silent\",\"slave\",\"strictatime\",\"suid\",\"symfollow\",\"sync\",\"tmpcopyup\",\"unbindable\"],\"linux\":{\"namespaces\":[\"cgroup\",\"ipc\",\"mount\",\"network\",\"pid\",\"user\",\"uts\"],\"capabilities\":[\"CAP_CHOWN\",\"CAP_DAC_OVERRIDE\",\"CAP_DAC_READ_SEARCH\",\"CAP_FOWNER\",\"CAP_FSETID\",\"CAP_KILL\",\"CAP_SETGID\",\"CAP_SETUID\",\"CAP_SETPCAP\",\"CAP_LINUX_IMMUTABLE\",\"CAP_NET_BIND_SERVICE\",\"CAP_NET_BROADCAST\",\"CAP_NET_ADMIN\",\"CAP_NET_RAW\",\"CAP_IPC_LOCK\",\"CAP_IPC_OWNER\",\"CAP_SYS_MODULE\",\"CAP_SYS_RAWIO\",\"CAP_SYS_CHROOT\",\"CAP_SYS_PTRACE\",\"CAP_SYS_PACCT\",\"CAP_SYS_ADMIN\",\"CAP_SYS_BOOT\",\"CAP_SYS_NICE\",\"CAP_SYS_RESOURCE\",\"CAP_SYS_TIME\",\"CAP_SYS_TTY_CONFIG\",\"CAP_MKNOD\",\"CAP_LEASE\",\"CAP_AUDIT_WRITE\",\"CAP_AUDIT_CONTROL\",\"CAP_SETFCAP\",\"CAP_MAC_OVERRIDE\",\"CAP_MAC_ADMIN\",\"CAP_SYSLOG\",\"CAP_WAKE_ALARM\",\"CAP_BLOCK_SUSPEND\",\"CAP_AUDIT_READ\",\"CAP_PERFMON\",\"CAP_BPF\",\"CAP_CHECKPOINT_RESTORE\"],\"cgroup\":{\"v1\":true,\"v2\":true,\"systemd\":true,\"systemdUser\":true},\"seccomp\":{\"enabled\":true,\"actions\":[\"SCMP_ACT_ALLOW\",\"SCMP_ACT_ERRNO\",\"SCMP_ACT_KILL\",\"SCMP_ACT_KILL_PROCESS\",\"SCMP_ACT_KILL_THREAD\",\"SCMP_ACT_LOG\",\"SCMP_ACT_NOTIFY\",\"SCMP_ACT_TRACE\",\"SCMP_ACT_TRAP\"],\"operators\":[\"SCMP_CMP_EQ\",\"SCMP_CMP_GE\",\"SCMP_CMP_GT\",\"SCMP_CMP_LE\",\"SCMP_CMP_LT\",\"SCMP_CMP_MASKED_EQ\",\"SCMP_CMP_NE\"],\"archs\":[\"SCMP_ARCH_AARCH64\",\"SCMP_ARCH_ARM\",\"SCMP_ARCH_MIPS\",\"SCMP_ARCH_MIPS64\",\"SCMP_ARCH_MIPS64N32\",\"SCMP_ARCH_MIPSEL\",\"SCMP_ARCH_MIPSEL64\",\"SCMP_ARCH_MIPSEL64N32\",\"SCMP_ARCH_PPC\",\"SCMP_ARCH_PPC64\",\"SCMP_ARCH_PPC64LE\",\"SCMP_ARCH_RISCV64\",\"SCMP_ARCH_S390\",\"SCMP_ARCH_S390X\",\"SCMP_ARCH_X32\",\"SCMP_ARCH_X86\",\"SCMP_ARCH_X86_64\"]},\"apparmor\":{\"enabled\":true},\"selinux\":{\"enabled\":true}},\"annotations\":{\"io.github.seccomp.libseccomp.version\":\"2.5.4\",\"org.opencontainers.runc.checkpoint.enabled\":\"true\",\"org.opencontainers.runc.commit\":\"v1.1.13-0-g58aa920\",\"org.opencontainers.runc.version\":\"1.1.13\"}}"}}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"472731909fa34bd7bc9c087e4c27943f9835f111","Expected":"472731909fa34bd7bc9c087e4c27943f9835f111"},"RuncCommit":{"ID":"v1.1.13-0-g58aa920","Expected":"v1.1.13-0-g58aa920"},"InitCommit":{"ID":"de40ad0","Expected":"de40ad0"},"SecurityOptions":["name=seccomp,profile=unconfined"],"CDISpecDirs":[],"Containerd":{"Address":"/run/containerd/containerd.sock","Namespaces":{"Containers":"moby","Plugins":"plugins.moby"}},"Warnings":["WARNING: No blkio throttle.read_bps_device support","WARNING: No blkio throttle.write_bps_device support","WARNING: No blkio throttle.read_iops_device support","WARNING: No blkio throttle.write_iops_device support","WARNING: daemon is not using the default seccomp profile"],"ClientInfo":{"Debug":false,"Version":"27.3.1","GitCommit":"ce12230","GoVersion":"go1.22.7","Os":"windows","Arch":"amd64","BuildTime":"Fri Sep 20 11:42:27 2024","Context":"desktop-linux","Plugins":[{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v0.1.0","ShortDescription":"Ask Gordon - Docker Agent","Name":"ai","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-ai.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-ai.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v0.18.0-desktop.2","ShortDescription":"Docker Buildx","Name":"buildx","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-buildx.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-buildx.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v2.30.3-desktop.1","ShortDescription":"Docker Compose","Name":"compose","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-compose.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-compose.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"0.0.37","ShortDescription":"Get a shell into any image or container","Name":"debug","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-debug.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-debug.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v0.0.15","ShortDescription":"Docker Desktop commands (Alpha)","Name":"desktop","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-desktop.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-desktop.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v0.1.2","ShortDescription":"Docker Dev Environments","Name":"dev","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-dev.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-dev.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v0.2.27","ShortDescription":"Manages Docker extensions","Name":"extension","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-extension.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-extension.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v1.0.5","ShortDescription":"Provide feedback, right in your terminal!","Name":"feedback","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-feedback.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-feedback.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v1.4.0","ShortDescription":"Creates Docker-related starter files for your project","Name":"init","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-init.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-init.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Anchore Inc.","Version":"0.6.0","ShortDescription":"View the packaged-based Software Bill Of Materials (SBOM) for an image","URL":"https://github.com/docker/sbom-cli-plugin","Name":"sbom","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-sbom.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-sbom.exe"]},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v1.15.0","ShortDescription":"Docker Scout","Name":"scout","Path":"C:\\Users\\Ashley Green\\.docker\\cli-plugins\\docker-scout.exe","ShadowedPaths":["C:\\Program Files\\Docker\\cli-plugins\\docker-scout.exe"]}],"Warnings":null}}
REPOSITORY TAG IMAGE ID CREATED SIZE
dangerzone.rocks/dangerzone latest 08ad768f7087 5 weeks ago 1.57GB
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c1ec31eb5944: Download complete
Digest: sha256:305243c734571da2d100c8c8b3c3167a098cab6049c9a5b066b6021a60fcb966
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
Document conversion logs
'C:\Program Files (x86)\Dangerzone\dangerzone-cli.exe' 'C:\Users\Ashley Green\Desktop\V1.epub\
ParserError:
Line |
1 | … am Files (x86)\Dangerzone\dangerzone-cli.exe" C:\Users\Ashley Green\D …
| ~~~~~~~~~~~~~~~
| Unexpected token 'C:\Users\Ashley Green\Desktop\V1.epub' in expression or statement.
Additional info
No response
Hm, I think the conversion command failed because you did not close the ' quote character, and used a separator \ instead. Could you try again with:
'C:\Program Files (x86)\Dangerzone\dangerzone-cli.exe' 'C:\Users\Ashley Green\Desktop\V1.epub'
Also, how many pages is your EPUB file? If we're talking about thousands of pages, it may be the case that you're running out of RAM, since the rasterized version of each page is much large than the text source.
Also, I just ran Dangerzone against a very large .epub file, and I see this error message:
Number of pages exceeds maximum (10000)
If you see something similar, then that's expected I'm afraid. We have some sane limits for the number of pages in a document, so that you don't end up with a PDF that is in the order of gigabytes :face_with_diagonal_mouth: (if the conversion process completes at all).
Hm, I think the conversion command failed because you did not close the
'quote character, and used a separator\instead. Could you try again with:'C:\Program Files (x86)\Dangerzone\dangerzone-cli.exe' 'C:\Users\Ashley Green\Desktop\V1.epub'Also, how many pages is your EPUB file? If we're talking about thousands of pages, it may be the case that you're running out of RAM, since the rasterized version of each page is much large than the text source.
Still get: 'C:\Program Files (x86)\Dangerzone\dangerzone-cli.exe' 'C:\Users\Ashley Green\Desktop\V1.epub' ParserError: Line | 1 | … angerzone\dangerzone-cli.exe' 'C:\Users\Ashley Green\Desktop\V1.epub' | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Unexpected token ''C:\Users\Ashley Green\Desktop\V1.epub'' in expression or statement.
It's 210 pages.
Also, I just ran Dangerzone against a very large .epub file, and I see this error message:
Number of pages exceeds maximum (10000)If you see something similar, then that's expected I'm afraid. We have some sane limits for the number of pages in a document, so that you don't end up with a PDF that is in the order of gigabytes 🫤 (if the conversion process completes at all).
Yeah those limits are fair enough lol. Strangely though, when using the desktop app I'm getting the error "Conversion to PDF with LibreOffice failed." I don't really see anything in the documentation about it. I have LibreOffice installed if that matters.
It may just be this specific file. Saved a copy of it with Calibre and Dangerzone converts that just fine.
I'm getting the error "Conversion to PDF with LibreOffice failed."
... damn. I missed this error message on your first post. Well, the LibreOffice that you see in the message is actually installed in the Dangerzone container image. What's weird though is that LibreOffice is not supposed to be used internally when converting EPUB files. Most likely this file has a signature (MIME type) that confused Dangerzone. If we could find out the MIME type of the file (see example), it would help for future files.
Hi @Hitmanforrent, I hope you had a great end of year. If you are able to get us the MIME type you're using, that would be helpful for us to debug further and eventually fix this issue for other users in the future.
Don't hesitate if you need some help on how to get this information (if the link provided by @apyrgio isn't clear enough for instance).
Hi @Hitmanforrent, I hope you had a great end of year. If you are able to get us the MIME type you're using, that would be helpful for us to debug further and eventually fix this issue for other users in the future.
Don't hesitate if you need some help on how to get this information (if the link provided by @apyrgio isn't clear enough for instance).
Ah! My sincere apologies, I spaced on this. Here's the MIME type:
trid -v "C:\Users\Ashley Green\Desktop\test.epub"
TrID/32 - File Identifier v2.24 - (C) 2003-16 By M.Pontello
Definitions found: 18699
Analyzing...
Collecting data from file: C:\Users\Ashley Green\Desktop\test.epub
88.2% (.EPUB) Open Publication Structure eBook (30000/1/6)
Mime type : application/epub+zip
Related URL: https://en.wikipedia.org/wiki/EPUB
Definition : epub.trid.xml
Files : 31
Author : Marco Pontello
E-Mail : [email protected]
Home Page : https://mark0.net
11.7% (.ZIP) ZIP compressed archive (4000/1)
Mime type : application/zip
Related URL: http://en.wikipedia.org/wiki/Zip_(file_format)
Definition : ark-zip.trid.xml
Files : 23
Author : Marco Pontello
E-Mail : [email protected]
Home Page : http://mark0.net
Marking this issue as stale because it has been open for 30 days with no activity. It will be closed in 14 days if there's no activity, or if the stale label is not removed. Does anyone want to add something?
Actually this is on us. Removing the "stale" label, it is something actionable on our side!
Sorry, I didn't comment here, because I don't have something super concrete, I'm afraid. The scanner you used shows that the signature of this file is associated with the application/epub+zip and application/zip MIME types. The more frequent association is the application/epub+zip one.
In Dangerzone, we use LibreOffice when we detect a file that has application/zip MIME type:
https://github.com/freedomofpress/dangerzone/blob/88a6b377708a56e88173da83bfa9b8ec6ddfa988/dangerzone/conversion/doc_to_pixels.py#L129-L136
So, the most likely explanation is that the code in our container image detected the file as application/zip instead of application/epub+zip and thus LibreOffice was used incorrectly. We can probably do better here (maybe offer type hints, have better error reporting), but these tasks would have a bit of a low priority, because we haven't encountered this MIME type confusion before.
We can leave this issue open until we implement one of the above mitigations.
Hi @Hitmanforrent! Just an FYI, we have a new Dangerzone release candidate that is based on a more fresh container image, that hopefully won't have the same MIME confusion. Check it out if you want, and let us know how it goes.