electron-instaPy-GUI icon indicating copy to clipboard operation
electron-instaPy-GUI copied to clipboard

"chromedriver is missing!" in GUI even though the newest chromedriver is in \assets

Open michaloslav opened this issue 7 years ago • 29 comments

I installed the GUI, cloned InstaPy and directed the GUI to the folder. I then downloaded the newest version of chromedriver from the website and put it in the \assets folder but the GUI still says that it's missing. When I try to run it anyway, I get this: "Error: SyntaxError: EOL while scanning string literal" I tried googling around but I didn't find anyone with a similar problem so I decided to ask here. (I know a bit about programming but I mainly focus on web and game development so please, keep it simple for me, thx) (I first posted this as an InstaPy issue but they told me to put it here)

michaloslav avatar Oct 28 '17 23:10 michaloslav

can you upload your assets folder screenshot?

ahmadudin avatar Oct 29 '17 02:10 ahmadudin

assets

michaloslav avatar Oct 29 '17 08:10 michaloslav

Oh, I forgot to mention that I have a 64 system but the chromedriver is for win32. The chromedriver website said that it doesn't matter but I should probably mention it.

michaloslav avatar Oct 29 '17 11:10 michaloslav

I have the same problem.

Damny89 avatar Oct 30 '17 06:10 Damny89

Hmm, i still cannot reproduce the error.

ahmadudin avatar Oct 31 '17 00:10 ahmadudin

The error we got is : chromedriver is missing. I placed the newest Chrome Driver (2.33) in the assets folder. But they InstaPy GUI cant find it.

Oliky avatar Oct 31 '17 01:10 Oliky

jop

Oliky avatar Oct 31 '17 01:10 Oliky

@Oliky Have you tried closing and reopening the GUI?

timgrossmann avatar Oct 31 '17 01:10 timgrossmann

@timgrossmann Yea Ofc

Oliky avatar Oct 31 '17 10:10 Oliky

same problem to me

erny83 avatar Nov 03 '17 14:11 erny83

@erny83pd with exact same environtment setup?

ahmadudin avatar Nov 04 '17 10:11 ahmadudin

@ahmadudin yes

erny83 avatar Nov 06 '17 12:11 erny83

I have the same issue. @alwayslivid How exactly did you manage to get it working?

idontgnu avatar Dec 14 '17 06:12 idontgnu

having the same issue, anyone has made it work, please?

ghost avatar Dec 19 '17 00:12 ghost

Okay Got it working Go to the scripts folder and right click on "windows.ps1" and select "Run as administrator". (Apparently, it needs the unix executable and not the windows one.)

Then it should work

ldevalbray avatar Dec 19 '17 12:12 ldevalbray

Not working !! @Idevalbray

rawalbhavik avatar Jan 16 '18 06:01 rawalbhavik

A bit more details would be appreciated if you want help ;)

ldevalbray avatar Jan 16 '18 10:01 ldevalbray

The solution mentioned by you. Windows.ps1 when run it flashes command prompt and closes.

rawalbhavik avatar Jan 16 '18 12:01 rawalbhavik

Okay Got it working Go to the scripts folder and right click on "windows.ps1" and select "Run as administrator". (Apparently, it needs the unix executable and not the windows one.)

Then it should work

That worked for me!

constantinosbou avatar Jan 26 '18 00:01 constantinosbou

same problem to me image

Edit: Run ps1 as administer . The instaPy GUI is working now.

bloggerpact avatar Jan 26 '18 17:01 bloggerpact

Can anyone elaborate on how this is working ? I ran the ps1 file as an administrator but still the gui can't spot the chromedriver

Partha-PC avatar Feb 03 '18 23:02 Partha-PC

solution for me (win 10 pro x64) ; without file extension for "chromedriver.exe" wrong file name=chromedriver.exe correct file name=chromedriver excusme for my english.

teymi avatar Feb 15 '18 20:02 teymi

rename the file chromedriver.exe to chromedriver in the "\assets" folder of InstaPy. InstaPy will detect the file.

sharpdroid avatar Mar 12 '18 01:03 sharpdroid

I'm using a MAC though... screen shot 2018-03-24 at 9 43 26 pm what's the solution for that then?

k1rrawanha avatar Mar 25 '18 02:03 k1rrawanha

@sharpdroid rofl, .. .yeah works so far for that error.. lolz bug. SOLVED

realmane avatar Jun 21 '18 16:06 realmane

It's an easy fix: Go to the assets folder and click on view, image Validate that file name extension is marked. If the chromedriver file contains an ending of .exe rename it and delete the .exe. Now it will work

KingKorSin avatar Jul 02 '18 12:07 KingKorSin

well this sucks because i cannot run as admin that ps1 file and my chromedriver file is writen correctly (not .exe) Could someone please help me? :(

EDIT: please dont mind this comment. I solved the problem by running windows.ps1 with powershell and changing the permissions trhought threre. Not my idea btw, i readed in a post.

juanjoayala01 avatar Aug 18 '18 17:08 juanjoayala01

Not working

enadgermani avatar May 20 '19 20:05 enadgermani

Oh, I forgot to mention that I have a 64 system but the chromedriver is for win32. The chromedriver website said that it doesn't matter but I should probably mention it.

rename the chromedriver.exe to chromedriver it will work

silexxx avatar Apr 19 '20 08:04 silexxx