Quote:
Originally Posted by strindberg
I have a couple of epub files that refuse to convert using kepubify. The problem seems to be that they contain too many files. Is this a known problem?
Example output:
❯*kepubify -i -v --smarten-punctuation .
Kepubify 3.0.0
[ 1/ 1] Converting Mastering PostgreSQL 9.6 - Hans-Jurgen Schonig.epub
=> Mastering PostgreSQL 9.6 - Hans-Jurgen Schonig.kepub.epub
Error: transform content: open content file "/var/folders/0k/j_n2m4x1489ck97y60vbkqvm0000gn/T/kepubify415134906/unpacked/b9a63f89-743e-4c02-a803-d3eddf192558.xhtml": open /var/folders/0k/j_n2m4x1489ck97y60vbkqvm0000gn/T/kepubify415134906/unpacked/b9a63f89-743e-4c02-a803-d3eddf192558.xhtml: too many open files
1 total: 0 converted, 0 skipped, 1 errored
Errors:
"Mastering PostgreSQL 9.6 - Hans-Jurgen Schonig.epub"
=> "Mastering PostgreSQL 9.6 - Hans-Jurgen Schonig.kepub.epub"
Error: <nil>
|
If you are on Linux you could try to increase the number of allowed opened files for your user.
Consult your distribution documentation, but it should be something similar to next example:
In file
/etc/security/limits.conf add a new line near the end:
Code:
<username> soft nofile 1000
and change that 1000 with a bigger number.