-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CBZ extracting error #312
Comments
Thank you for your feedback and suggestions. Please note that the author might only respond on weekends, so we kindly ask for your patience and understanding. |
Have you tried other cbz files, do they open? Issue might be file specific. |
Those cbz files are perfectly fine. I can't upload them here because of their size. EDIT: Forgot to add something. |
If other cbz are working fine then either this one is corrupted/invalid file or it has character in its name that are not supported on windows. Did you try renaming it to .zip and extracting it? |
I did and it worked totally fine. |
Did you have ConstrainedLanguage mode on? To check it open powershell and run the following command; |
It says "ConstrainedLanguage". What does that mean? |
Basically it's a mode that limits a lot powershell capabilities. Capabilities that can be exploited from malware. I don't know if there is a way to perform archive extraction with this mode. |
The extraction library I use uses PowerShell(windows) and unzip(linux) behind it. I selected it at that time because I didnt want to code for each OS differently and didnt want to have dependencies. My plan was to use it PowerShell for .rar format as well but it didnt work out. So few months ago I implemented WinRAR, and after that I considered using it as main file extractor, but it was somehow slower compared to PowerShell so I didnt. I will add option to use WinRAR for all extraction when possible. |
Is there a specific reason for ts? I'm not familiar with ts, that's why I'm asking^^ |
do you mean the reason why it uses powershell? It's just a library (basically code written by another person) |
By ts, do you mean typescript? |
Yes. Just curious^^ |
If you mean typescript over javascript, then its because its a lot better compared to using javascript in almost everything. If you are asking why typescript/javascript, then in short, its because Im using electronJS as backend and reactJS for the UI. It was a lot easier to make UI in react because I already knew js when I started building this app. I tried doing it using other frameworks and languages but they didnt provide enough freedom for what I wanted. Some had high RAM usage while other had high idle CPU usage. |
I see i see, that sounds logical. Thanks for this summary. |
Type of installation
Setup (.exe)
Type of reader (if reader related)
image
Steps to reproduce
Try to read a cbz.
✔️ Expected Behavior
Extracting should work normally and you should be able to see the image.
❌ Actual Behavior
Getting an error as shown in the picture.
The text was updated successfully, but these errors were encountered: