You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Program Files\OpenComic\resources\app.asar\scripts\queue.js:68 TypeError: Cannot read properties of undefined (reading 'detail')
at Object.compressedError (C:\Program Files\OpenComic\resources\app.asar\scripts\dom.js:902:17)
at processTheQueue (C:\Program Files\OpenComic\resources\app.asar\scripts\queue.js:20:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
(anonymous) @ C:\Program Files\OpenComic\resources\app.asar\scripts\queue.js:68
2C:\Program Files\OpenComic\resources\app.asar\scripts\file-manager.js:1694 Timer 'readZip' already exists
readZip @ C:\Program Files\OpenComic\resources\app.asar\scripts\file-manager.js:1694
C:\Program Files\OpenComic\resources\app.asar\scripts\dom.js:2082 Uncaught (in promise) undefined
C:\Program Files\OpenComic\resources\app.asar\scripts\dom.js:1029 Uncaught (in promise) undefined
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/index.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/Parser.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/Tokenizer.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/decode.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/decode-data-html.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/decode-data-xml.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/decode_codepoint.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/index.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/stringify.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/index.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/encode.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/encode-html.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/escape.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/traversal.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/manipulation.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/querying.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/legacy.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/helpers.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///C:/Program%20Files/OpenComic/resources/app.asar/templates/feeds.js.map: Unexpected end of JSON input
Additional Information
I initially thought the problem was only caused by special characters (error log 1), in specific (#), and I was able to read one particular chapter in the reader when I removed the character from the filenames inside the archive.
But then I got the same error (error log 2) with another chapter, and I tried removing the characters (_) and (-) from their filenames but this time, it didn't work.
Also, when this particular error occurs, then the thumbnail generator stops working, but it will generate the thumbnails for the poster if I successfully open the comic with the reader. If I can't open the comic, then sometimes it will not allow me to open other comics. I sometimes even have to restart the application in order to keep reading normally
when you remove the problematic chapter.cbz from the comic folder, everything else works as intended after a restart.
The compressed chapters themselves can be read by other software without issue.
I am having this exact same issue, on a Windows 11 Canary Insiders build. I don't have anything particularly new to add, I just would like to confirm I am getting these same series of errors in debug. If there is anything that would be helpful to provide, please let me know. Large folder of cbz files surely with all manner of characters in filename. For what it's worth, it BRIEFLY sidestepped this issue when unchecking "enable javascript source maps" in the debug tool settings. It loaded all thumbnails almost immediately as I would expect it to, but it returned to these errors as soon as I loaded settings page.
Can you confirm if the error still occurs in v1.2.0? The extraction of zip files has been changed to 7zip d07feac and it could be that this bug is fixed.
Preflight Checklist
OpenComic Version
1.1.0
Operating System
Windows 10 Pro N 22H2 19045.4046
Steps to reproduce
Expected Behavior
it should load the thumbnails(posters) from the archive into OpenComic, and then when clicking on the comic it should open it in the reader
Actual Behavior
it sometimes doesn't load the thumbnail for these archives,
![image](https://camo.githubusercontent.com/0f746d99b6def1c48da944274bd606332fc512ef9e0066e37d6d2175feadafbc/68747470733a2f2f692e696d6775722e636f6d2f6b6b41545855422e6a706567)
![image](https://camo.githubusercontent.com/6b2181231d8b9bdc08874d837e84119a11dcad34f4527caf687d7e4749554164/68747470733a2f2f692e696d6775722e636f6d2f52487a6e3065552e6a706567)
and then when trying to open the comic it gets stuck on a loading screen
Error message
from the devtools console:
first error:
2nd error:
Additional Information
I initially thought the problem was only caused by special characters (error log 1), in specific (#), and I was able to read one particular chapter in the reader when I removed the character from the filenames inside the archive.
But then I got the same error (error log 2) with another chapter, and I tried removing the characters (_) and (-) from their filenames but this time, it didn't work.
Also, when this particular error occurs, then the thumbnail generator stops working, but it will generate the thumbnails for the poster if I successfully open the comic with the reader. If I can't open the comic, then sometimes it will not allow me to open other comics. I sometimes even have to restart the application in order to keep reading normally
when you remove the problematic chapter.cbz from the comic folder, everything else works as intended after a restart.
The compressed chapters themselves can be read by other software without issue.
I also noticed that all these chapters that are giving me trouble trigger a specific well-known warning message when extracting them with 7zip. This might change this issue into an edge case, but I figured I would make the report because this specific warning message is super common with 7zip (I'm using the last version of 7zip btw).
Sample file
Here are two small chapters in which this error occurs (slightly nsfw):
https://mega.nz/file/DdQmCZhR#_EytpV4n7tLpkVNF0nSMByM4b0zM7fOYk2rQpu4aiaA
https://mega.nz/file/eJR3lQ4a#033CpM7F4bGOuQ17tOD6q64q9s0kU_IgbwWKQDyc_RU
The text was updated successfully, but these errors were encountered: