Zubdata / Google-Maps-Scraper

Google maps scraper with gui
https://zubdata.com/tools/google-maps-scraper/
GNU General Public License v3.0
61 stars 23 forks source link

error install #9

Closed PauloBoaventura closed 11 months ago

PauloBoaventura commented 1 year ago

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 commented 1 year 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.

italianjesus commented 1 year ago

but there is no scraper in the main directory? image

mzubairtahir commented 1 year ago

Screenshot 2023-10-20 064056

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