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

error install #9

Closed
PauloBoaventura opened this issue Oct 4, 2023 · 3 comments
Closed

error install #9

PauloBoaventura opened this issue Oct 4, 2023 · 3 comments
Assignees

Comments

@PauloBoaventura
Copy link

PauloBoaventura commented Oct 4, 2023

I thought this error was the problem...
rodei =

$ python3 frontend.py

Traceback (most recent call last):
File "/home/swky/Documentos/niteroi_city_map/Google-Maps-Scraper/scraper/frontend.py", line 264, in
app = Frontend()
^^^^^^^^^^
File "/home/swky/Documentos/niteroi_city_map/Google-Maps-Scraper/scraper/frontend.py", line 21, in init
icon = tk.PhotoImage(file=self.pathmaker("images/GMS.png"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^
File "/usr/lib/python3.11/tkinter/init.py", line 4130, in init
Image.init(self, 'photo', name, cnf, master, **kw)
File "/usr/lib/python3.11/tkinter/init.py", line 4075, in init
self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: couldn't open "/home/swky/Documentos/niteroi_city_map/Google-Maps-Scraper/scraper/images/GMS.png": no such file or directory

I copied the /images directory into /scraper

Then...

Not worked!!!

@mzubairtahir
Copy link
Contributor

Hello PauloBoaventura!

It appears that you may have accidentally run the "frontend.py" file from the subdirectory "scraper" instead of the main directory "Google Map Scraper." To correctly execute the scraper, please make sure to run it from the main directory.

@italianjesus
Copy link

but there is no scraper in the main directory?
image

@mzubairtahir
Copy link
Contributor

Screenshot 2023-10-20 064056

your directory structure should be like this when running the frontend.py file

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

3 participants