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

File not found #3

Open
Lumisette opened this issue Oct 9, 2022 · 0 comments
Open

File not found #3

Lumisette opened this issue Oct 9, 2022 · 0 comments

Comments

@Lumisette
Copy link

Hello, I'm having an issue. It seems it cannot find the file or directory. My PDF file is located in the folder where the pdf scraper is located but when it creates the images, its inside the Downloads folder. When I load the said images, it returns an error stating it cannot find file or directory. Do you have any insights?

Time taken: 15.50197696685791 Not randomized Exception in Tkinter callback Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/tkinter/__init__.py", line 1921, in __call__ return self.func(*args) File "/Users/camille/Downloads/pdf-scraper-with-ocr-main11/pdf-scraper-with-ocr.py", line 196, in load_images img = Image.open(self.directory + '\\' + image) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/PIL/Image.py", line 3092, in open fp = builtins.open(filename, "rb") FileNotFoundError: [Errno 2] No such file or directory: '/Users/camille/Downloads/pdf-scraper-with-ocr-main11\\DS2\\DS0001-01.png'

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

1 participant