azuravian / cbz_jpg-to-webp

Convert cbz files that contain jpg images to webp images.
MIT License
11 stars 2 forks source link

probably problem with temporary folder (Linux) #4

Closed iGom closed 1 year ago

iGom commented 2 years ago

I use 5.15.0-2-MANJARO, python 3.9

The script identifies cbz and then creates a temporary folder \\?\ in the same folder as the script and tries to extracts the first comic there, but fails with the error as it cannot find the directory.

  1. in a Linux Terminal, run "py cbz_JPG-to-WEBP.py"
  2. set "scan" folder to /home/roro/Downloads/test/
  3. this folder contains 11 cbz archives
  4. set the "converted" folder to /home/roro/Downloads/test2/
  5. set the "corrupt" folder to /home/roro/Downloads/test3/
  6. watch the first cbz is extracted then fails

image

the temporary folder \\?\ image

azuravian commented 2 years ago

Yep, I wrote this originally for Windows. Let me look through it and see if I can implement an OS check. There is a path conversion that is required for Windows and I can hopefully just skip that for Linux and make this go away.

azuravian commented 1 year ago

This should be resolved