mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[GH-ISSUE #773] empty epub #372
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#372
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pocelka on GitHub (Nov 2, 2023).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/773
Data
Describe the bug / actual behavior
When I download article as an ebook, downloaded file is empty.
Expected behavior
eBook is created with size greater then 0 bytes.
To Reproduce
Steps to reproduce the behavior:
0. Save link: https://blogs.oracle.com/cloud-infrastructure/post/adv-terraform-stack-logic-oracle-resource-manager
Screenshots
EDIT:

Seems like it also creates a copy of ebook in the mounted docker volume. Not sure if that is correct since it downloaded also file to my host machine:
@pocelka commented on GitHub (Nov 2, 2023):
I did one more try and I removed the epub file from the docker mounted volume. Then during the epub donwload I'm getting:

So maybe it is related to the reported issue. Because I have seen the error also the first time, but 2nd time when I tried to download ebook it went fine, it just created empty file.
In docker logs I have this:
@fmartingr commented on GitHub (Nov 5, 2023):
Hey @pocelka, does your article have content in the reader view?
@pocelka commented on GitHub (Nov 5, 2023):
I’m not really sure what you mean by reader mode but I’ll say, yes it has. I included also link so you could test if that is article related or something else.
@fmartingr commented on GitHub (Nov 5, 2023):
Sorry, I missed that. Just tried the URL in 1.5.5 and latest master. 1.5.5 fails but latest master creates an ebook successfully though with missing images it seems, there are some network errors while trying to fetch things from oracle.com.
What is happening is that in 1.5.5 the server just crashes and don't continue, but in 1.6.0 we will be more fault tolerant.
@Monirzadeh commented on GitHub (Nov 5, 2023):
@fmartingr in your final epub do you have image too?
in long term i like to use image from local image in archive version but i should wait until #481 merge than try to use files inside local file instead of download them twice.
@fmartingr commented on GitHub (Nov 11, 2023):
It didn't had images, they failed to download.