Closed PauloBoaventura closed 11 months ago
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.
but there is no scraper in the main directory?
your directory structure should be like this when running the frontend.py file
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