Closed dityb closed 1 year ago
Ah didn't want to close yet...
Your first issue with Tranga stopping should be resolved. The second issue with downloaded chapters not appearing: Is it only on Bato that they are not in the download folder, or everywhere else as well? If it's on all connector, you might want to check your docker-compose, maybe your downloadfolder is not mounted properly.
Only Bato, other connectors work perfect.
On Sat, Oct 21, 2023, 9:47 AM Glax @.***> wrote:
Your first issue with Tranga stopping should be resolved. The second issue with downloaded chapters not appearing: Is it only on Bato that they are not in the download folder, or everywhere else as well? If it's on all connector, you might want to check your docker-compose, maybe your downloadfolder is not mounted properly.
— Reply to this email directly, view it on GitHub https://github.com/C9Glax/tranga/issues/72#issuecomment-1773796540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AREQY3YUDD2R2RHEUPMHOR3YAPG5VAVCNFSM6AAAAAA6JFXKP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTG44TMNJUGA . You are receiving this because you authored the thread.Message ID: @.***>
That is odd, as all chapter-downloads run on the same function... Could you post a log-output of a whole chapter download?
I don't have access to my server over this weekend but I will as soon as I can
I'm not too sure how to post a log-output of a whole chapter download but as I monitor the logs in portainer, it says the usual: v
until:
[10/23/2023 02:42:49.4 ] Bato | /Manga/Taming My Villainous Little Brother/Taming My Villainous Little Brother - Ch.4 - 4.cbz 082/082 OK
[10/23/2023 02:42:49.4 ] Bato | Downloading image 082/082
[10/23/2023 02:42:49.4 ] HttpDownloadC | Waiting 0.9989445 seconds
[10/23/2023 02:42:50.127] HttpDownloadC | Request-Error Forbidden: Forbidden
[10/23/2023 02:42:50.127] Bato | /Manga/Taming My Villainous Little Brother/Taming My Villainous Little Brother - Ch.4 - 4.cbz 083/082 Forbidden
[10/23/2023 02:42:50.215] JobBoss | Removing Tranga.Jobs.DownloadChapter-dGFtaW5nbXl2aWxsYWlub3VzbGl0dGxlYnJvdGhlcjIwMjI=-4 Chapter: Chapter Taming My Villainous Little Brother dGFtaW5nbXl2aWxsYWlub3VzbGl0dGxlYnJvdGhlcjIwMjI= 4 4
[10/23/2023 02:42:50.215] DownloadChapt | Cancelling Tranga.Jobs.DownloadChapter-dGFtaW5nbXl2aWxsYWlub3VzbGl0dGxlYnJvdGhlcjIwMjI=-4 Chapter: Chapter Taming My Villainous Little Brother dGFtaW5nbXl2aWxsYWlub3VzbGl0dGxlYnJvdGhlcjIwMjI= 4 4
[10/23/2023 02:42:50.216] JobBoss | Deleting Job-file /usr/share/tranga-api/jobs/Tranga.Jobs.DownloadChapter-dGFtaW5nbXl2aWxsYWlub3VzbGl0dGxlYnJvdGhlcjIwMjI=-4.json
Looks like it's trying to download a page past the end of the chapter and then fails. Same issue with this one from Bato where if I go to the folder then nothing is in there.
Okay there is nothing there because the download didn't finish successfully. The download didn't finish successfully, because as you said, it's trying to load something that doesn't exist. And that was because sometimes the formatting was different from what was expected on the urls.
I tried to fix it, let's see.
It was working fine for a while and then stopped working again, not sure if it's because it somehow reverted to an older image or a different issue with a similar symptom appeared:
[10/25/2023 03:08:20.54 ] Bato | Got 75 chapters. Publication The Ice Guy and His Cool Female Colleague (Official) dGhlaWNlZ3V5YW5kaGlzY29vbGZlbWFsZWNvbGxlYWd1ZW9mZmljaWFsMjAxOQ==
Unhandled exception. System.FormatException: The input string '' was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, ReadOnlySpan`1 value, TypeCode type)
at System.Convert.ToSingle(String value, IFormatProvider provider)
at Tranga.MangaConnectors.Bato.<>c.<GetChapters>b__5_0(Chapter chapter) in /src/Tranga/MangaConnectors/Bato.cs:line 125
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.ComputeMap(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
at System.Linq.OrderedEnumerable`1.SortedMap(Buffer`1 buffer)
at System.Linq.OrderedEnumerable`1.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Tranga.MangaConnectors.Bato.GetChapters(Manga manga, String language) in /src/Tranga/MangaConnectors/Bato.cs:line 125
at Tranga.MangaConnectors.MangaConnector.GetNewChapters(Manga manga, String language) in /src/Tranga/MangaConnectors/MangaConnector.cs:line 59
at Tranga.Jobs.DownloadNewChapters.ExecuteReturnSubTasksInternal() in /src/Tranga/Jobs/DownloadNewChapters.cs:line 36
at Tranga.Jobs.Job.ExecuteReturnSubTasks() in /src/Tranga/Jobs/Job.cs:line 87
at Tranga.Jobs.JobBoss.CheckJobs() in /src/Tranga/Jobs/JobBoss.cs:line 256
at Tranga.Tranga.<StartJobBoss>b__10_0() in /src/Tranga/Tranga.cs:line 74
Okay this is the first manga i have seen with volume numbers. So that broke things.
cuttingedge
should now work for Manga with volumes as well.
Seems to be working good now, I'm going to close this issue now but if I experience any more issues with Bato I'll reopen it.
What is broken?
Attempted to download Taming my Villainous Little Brother from Bato and it seemed to brick everything. The website connection to the API is unstable (sometimes connects, sometimes doesn't), and it's not looking like it's downloading any other manga but without the website connecting I can't really tell.
Log-output
Additional stuff
I also noticed that it got through downloading The Ice Guy and His Cool Female Colleague from Bato but there isn't anything in the download folder.