Skip to content

CC Buchner download fails on Linux #43

@wollew

Description

@wollew

This is basically a reopen of #40. It reproducingly fails when converting the last page with "Error: Empty file":

Error: Empty file
    at readFileSync (/home/user/EbookDownloader/node_modules/image-size/dist/index.js:79:19)
    at imageSize (/home/user/EbookDownloader/node_modules/image-size/dist/index.js:116:23)
    at /home/user/EbookDownloader/src/downloader/clicknstudy.js:195:32
    at Array.forEach (<anonymous>)
    at /home/user/EbookDownloader/src/downloader/clicknstudy.js:190:24
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error while getting book - e503

I checked the file, it is definitely not empty, npx image-size out/xxx/0628-627.jpg gives a positive result.

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