Skip to content
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

manga-ocr can't read file - permision denied #8

Closed
dodorexi opened this issue Mar 22, 2022 · 2 comments
Closed

manga-ocr can't read file - permision denied #8

dodorexi opened this issue Mar 22, 2022 · 2 comments

Comments

@dodorexi
Copy link

After installing both manga-ocr and shareX (Windows 10) using the recommended settings on shareX I get the following error after capturing a region :
WARNING | manga_ocr.run:run:112 - Error while reading file C:\Users\dat\Documents\ShareX\Screenshots\Screenshots\2022-03: [Errno 13] Permission denied: 'C:\Users\dat\Documents\ShareX\Screenshots\Screenshots\2022-03'

I run manga-ocr from the command prompt as my user. installed python 3.9 from their website.

@kha-white
Copy link
Owner

The path you're launching with should point to a directory, which contains images as direct children (without subdirectories). You've probably launched it with 'C:\Users\dat\Documents\ShareX\Screenshots\Screenshots, try C:\Users\dat\Documents\ShareX\Screenshots\Screenshots\2022-03 instead.

In the next version I might add recursive directory scanning, which would make it work in such cases.

@dodorexi
Copy link
Author

Can confirm changing the path as you suggested fixed the issue. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants