andrei-zgirvaci / Twitch-Farmer

A bot that helps you to get more followers on Twitch
135 stars 38 forks source link

Error with windowspath #9

Closed cristiangutie closed 5 years ago

cristiangutie commented 5 years ago

Can anyone help me with this problem please?

Using proxy: [109.190.171.107:4145] Traceback (most recent call last): File "twitch_farmer.py", line 244, in main() File "twitch_farmer.py", line 135, in main run_driver(True) File "twitch_farmer.py", line 221, in run_driver executable_path=chrome_driver_path) File "C:\Users*\scoop\apps\python\current\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init self.service.start() File "C:\Users*\scoop\apps\python\current\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start stdin=PIPE) File "C:\Users*\scoop\apps\python\current\lib\subprocess.py", line 756, in init restore_signals, start_new_session) File "C:\Users*\scoop\apps\python\current\lib\subprocess.py", line 1100, in _execute_child args = list2cmdline(args) File "C:\Users**\scoop\apps\python\current\lib\subprocess.py", line 511, in list2cmdline needquote = (" " in arg) or ("\t" in arg) or not arg TypeError: argument of type 'WindowsPath' is not iterable

andrei-zgirvaci commented 5 years ago

@cristiangutie Thanks for informing me, I just push a new commit 4f94199 that should fix the problem.

Check and tell me if it is fixed.

cristiangutie commented 5 years ago

Hi @MD3XTER, now im getting this error.

Using proxy: [159.192.227.202:39060] Traceback (most recent call last): File "twitch_farmer.py", line 243, in main() File "twitch_farmer.py", line 134, in main run_driver(True) File "twitch_farmer.py", line 220, in run_driver executable_path=chrome_driver_path) File "C:\Users*\scoop\apps\python\current\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init self.service.start() File "C:\Users*\scoop\apps\python\current\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start stdin=PIPE) File "C:\Users*\scoop\apps\python\current\lib\subprocess.py", line 756, in init restore_signals, start_new_session) File "C:\Users*\scoop\apps\python\current\lib\subprocess.py", line 1155, in _execute_child startupinfo) OSError: [WinError 193] %1 is not a valid Win32 application

Thanks for your help!

andrei-zgirvaci commented 5 years ago

@cristiangutie It should be fixed now 7daa27a, let me know if it still doesn't work!

cristiangutie commented 5 years ago

@MD3XTER Thanks, its working now.

andrei-zgirvaci commented 5 years ago

@cristiangutie Great! Let me know if you have any more issues!