No cover when using local manga #932

Closed
opened 2017-08-14 05:10:48 +00:00 by diksm8 · 25 comments
diksm8 commented 2017-08-14 05:10:48 +00:00 (Migrated from github.com)

No cover when using local manga. Changing the cover using the edit button updates the cover.png file but the cover does not update. Tried rebooting phone and using the app for a while but it still does not show.

Version: 0.6.1
OxygenOS 4.5.8 Android 7.1.1

No cover when using local manga. Changing the cover using the edit button updates the cover.png file but the cover does not update. Tried rebooting phone and using the app for a while but it still does not show. Version: 0.6.1 OxygenOS 4.5.8 Android 7.1.1
averms commented 2017-09-13 02:24:21 +00:00 (Migrated from github.com)

I had the same problem, same OS. Reinstalling the app fixed it for me.

I had the same problem, same OS. Reinstalling the app fixed it for me.
Basha0 commented 2017-09-28 15:05:42 +00:00 (Migrated from github.com)

U can fix that by choosing the Manga with no cover, go then to info and refresh the info, the the cover gets updated and it will be shown.

U can fix that by choosing the Manga with no cover, go then to info and refresh the info, the the cover gets updated and it will be shown.
arkon commented 2020-03-09 21:17:39 +00:00 (Migrated from github.com)

As mentioned in #2681:

  1. Unbookmark the manga / remove it from your library (Optionally move the manga out of the local manga folder.
  2. Clear Database in advanced settings
  3. Re-add the manga from local manga

This would be a method to fully remove the manga from the internal database so it can be added with a fresh cover.

As mentioned in #2681: 1. Unbookmark the manga / remove it from your library (Optionally move the manga out of the local manga folder. 1. Clear Database in advanced settings 1. Re-add the manga from local manga This would be a method to fully remove the manga from the internal database so it can be added with a fresh cover.
arkon commented 2020-03-09 21:19:52 +00:00 (Migrated from github.com)

Related PR: #1669

Related PR: #1669
Neshura87 commented 2020-05-18 10:57:05 +00:00 (Migrated from github.com)

Local Manga Cover not showing up in Library, cover.jpg is inside the manga directory, path is Phone/Tachiyomi/local/Manga/cover.jpg so I hope that is the correct one.
Followed the Trouble Shooting steps but this did not solve the issue

Local Manga Cover not showing up in Library, cover.jpg is inside the manga directory, path is Phone/Tachiyomi/local/Manga/cover.jpg so I hope that is the correct one. Followed the Trouble Shooting steps but this did not solve the issue
scb261 commented 2020-10-02 15:19:10 +00:00 (Migrated from github.com)

There was PR with attempt to fix it (and was closed for some reason) so I'm not sure if the source of the problem was found, but here are steps to reproduce the issue:

  1. Create folder /Tachiyomi/local/Manga.
  2. Leave the folder empty or create wrong structure that Tachiyomi doesn't understand (for example add pages directly in the manga folder without chapter folders). Don't add any cover.jpg.
  3. Go to Local source and see blank cover (since there isn't any cover.jpg and the app doesn't see any chapters to take cover from it).
  4. Now fix the manga folder: add cover.jpg and/or add chapter folders with images
  5. Go back to the manga in the app. You can also try to reopen the app hoping that will reload covers.

Expected behavior: the app loads cover from cover.jpg or from first chapter.

Actual behavior: the cover stays blank and you need to clear database to fix it.

There was PR with attempt to fix it (and was closed for some reason) so I'm not sure if the source of the problem was found, but here are steps to reproduce the issue: 1. Create folder `/Tachiyomi/local/Manga`. 1. Leave the folder empty or create wrong structure that Tachiyomi doesn't understand (for example add pages directly in the manga folder without chapter folders). Don't add any `cover.jpg`. 1. Go to *Local source* and see blank cover (since there isn't any `cover.jpg` and the app doesn't see any chapters to take cover from it). 1. Now fix the manga folder: add `cover.jpg` and/or add chapter folders with images 1. Go back to the manga in the app. You can also try to reopen the app hoping that will reload covers. Expected behavior: the app loads cover from `cover.jpg` or from first chapter. Actual behavior: the cover stays blank and you need to clear database to fix it.
naxil commented 2021-01-14 18:06:24 +00:00 (Migrated from github.com)

Fix for me the "refresh manga cover" on advanced settings

Fix for me the "refresh manga cover" on advanced settings
sQVe commented 2021-09-10 04:31:49 +00:00 (Migrated from github.com)

I saw this issue as and had to downgrade to 0.11.1 for it to work again and generate the proper covers.

I saw this issue as and had to downgrade to 0.11.1 for it to work again and generate the proper covers.
raniesantos commented 2021-10-02 06:51:17 +00:00 (Migrated from github.com)

So this is a bug where the cause of it is just unknown???????

So this is a bug where the cause of it is just unknown???????
Nonamow commented 2021-10-03 15:31:46 +00:00 (Migrated from github.com)

I cleaned the database(after removing bookmarks), but this error remained.

I cleaned the database(after removing bookmarks), but this error remained.
Nonamow commented 2021-10-03 18:22:07 +00:00 (Migrated from github.com)

Well... I tried to create a new totally clean emulator. It still doesn't work.

image
image

Well... I tried to create a new totally clean emulator. It still doesn't work. ![image](https://user-images.githubusercontent.com/46028249/135766316-294f241a-c5eb-4607-9710-10df5a8a1934.png) ![image](https://user-images.githubusercontent.com/46028249/135766502-710de268-f1d2-457a-ab79-bfcebd8b715b.png)
Nonamow commented 2021-10-03 18:38:02 +00:00 (Migrated from github.com)

Ok. I manually created cover and then clicked "refresh library manga covers" (actually the manga wasn't in the library). It works. Win? I don't think so.

Ok. I manually created cover and then clicked "refresh library manga covers" (actually the manga wasn't in the library). It works. Win? I don't think so.
Nonamow commented 2021-10-03 19:13:02 +00:00 (Migrated from github.com)

Or maybe you should use both refresh lib and clear db after manually creating the cover.

Or maybe you should use both refresh lib and clear db after manually creating the cover.
it0na72 commented 2021-10-18 19:50:10 +00:00 (Migrated from github.com)

Tried everything in this page that was suggested - including the guidelines on the website and still didn't work. What worked was downloading the preview version, clicking on a random picture and "set as cover" inside the app. However, it only worked for 1 manga, then stopped working. Any info on this?

Tried everything in this page that was suggested - including the guidelines on the website and still didn't work. What worked was downloading the preview version, clicking on a random picture and "set as cover" inside the app. However, it only worked for 1 manga, then stopped working. Any info on this?
Nonamow commented 2021-10-18 20:08:09 +00:00 (Migrated from github.com)

Ok. Maybe you make some little mistakes. So for repeat and sum up. This works for me:

  1. (Manga not at the library)
  2. Create correct cover file.
  3. Clear db and refresh lib's covers from the same menu.
  4. Now you can see your cover.
  5. And then if you need:
    Use set as cover
    Refresh covers from menu or restart app
Ok. Maybe you make some little mistakes. So for repeat and sum up. This works for me: 1. (Manga not at the library) 2. Create correct cover file. 3. Clear db and refresh lib's covers from the same menu. 4. Now you can see your cover. 5. And then if you need: Use set as cover Refresh covers from menu or restart app
sQVe commented 2021-10-18 20:48:03 +00:00 (Migrated from github.com)

@it0na72 I've been struggling for this for quite some time and, for me, there's no real good work-around. The only thing that consistently works for me it to use the version listed here: https://github.com/tachiyomiorg/tachiyomi/issues/932#issuecomment-916622994

@it0na72 I've been struggling for this for quite some time and, for me, there's no real good work-around. The only thing that consistently works for me it to use the version listed here: https://github.com/tachiyomiorg/tachiyomi/issues/932#issuecomment-916622994
it0na72 commented 2021-10-18 21:31:13 +00:00 (Migrated from github.com)

@Nonamow yea that worked, however that only worked when I downgraded to the version @sQVe mentioned. Everything seems to be sorted now. Hopefully this gets fixed eventually in the next versions. Thanks guys.

@Nonamow yea that worked, however that only worked when I downgraded to the version @sQVe mentioned. Everything seems to be sorted now. Hopefully this gets fixed eventually in the next versions. Thanks guys.
Nonamow commented 2021-10-18 21:42:50 +00:00 (Migrated from github.com)

This situation...
I must automatized my solution! Run this python script at "Tachiyomi/local" and it will copy cover from "default cover" (you should create it) to all folder without cover.jpg (only jpg?! not ok. But just for now):

import os
import shutil

def default_cover_error(err_code):
    print(err_code)
    
def main():
    if os.path.isdir("default cover"):
        if os.path.isfile("default cover/cover.jpg"):
            for obj in os.listdir():
                if (os.path.isdir(obj) and not (obj == "default cover") and not (os.path.isfile(obj+"/cover.jpg"))):
                    shutil.copy("default cover/cover.jpg", obj+"/cover.jpg")
                    
        else:
            default_cover_error("cover")
    else:
        default_cover_error("dir")
    
if __name__ == "__main__":
    main()
This situation... I must automatized my solution! Run this python script at "Tachiyomi/local" and it will copy cover from "default cover" (you should create it) to all folder without cover.jpg (only jpg?! not ok. But just for now): ``` import os import shutil def default_cover_error(err_code): print(err_code) def main(): if os.path.isdir("default cover"): if os.path.isfile("default cover/cover.jpg"): for obj in os.listdir(): if (os.path.isdir(obj) and not (obj == "default cover") and not (os.path.isfile(obj+"/cover.jpg"))): shutil.copy("default cover/cover.jpg", obj+"/cover.jpg") else: default_cover_error("cover") else: default_cover_error("dir") if __name__ == "__main__": main()
Nonamow commented 2021-10-18 21:43:54 +00:00 (Migrated from github.com)

And you still should manually do 3-5.

And you still should manually do 3-5.
Nonamow commented 2021-10-18 21:52:42 +00:00 (Migrated from github.com)

So if I create an android app that can copy really cover, not just default, it will make it easier. And then it turns out that there is a bug in my application... So someone will create app to fix bug...

So if I create an android app that can copy really cover, not just default, it will make it easier. And then it turns out that there is a bug in my application... So someone will create app to fix bug...
pea-ppod commented 2021-10-25 11:24:01 +00:00 (Migrated from github.com)

I installed 0.10.12 (from 0.12.3) and it works just fine, covers and all

I installed 0.10.12 (from 0.12.3) and it works just fine, covers and all
arkon commented 2021-10-30 16:18:05 +00:00 (Migrated from github.com)

Potentially fixed by #6127. Please open another issue (if there isn't one) if the issue still persists in the next preview/stable build.

Potentially fixed by #6127. Please open another issue (if there isn't one) if the issue still persists in the next preview/stable build.
sQVe commented 2021-10-30 19:51:31 +00:00 (Migrated from github.com)

@arkon Great news 🎉

How do I know if this fix is included in a preview releases? 🤔

@arkon Great news 🎉 How do I know if this fix is included in a preview releases? 🤔
arkon commented 2021-10-30 21:16:17 +00:00 (Migrated from github.com)
It's in the most recent release: https://github.com/tachiyomiorg/tachiyomi-preview/releases/tag/r3931
sQVe commented 2021-10-31 06:57:36 +00:00 (Migrated from github.com)

@arkon Covers are working fine for me on latest preview after nuking cache etc! 🥳

@arkon Covers are working fine for me on latest preview after nuking cache etc! 🥳
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tachiyomi/tachiyomi#932
No description provided.