ahaggard2013 / Reddit-Account-Generator-and-Mass-Upvoter

Automatically generate reddit accounts and use them for vote manipulation
65 stars 18 forks source link

OSError #1

Open CubedWorldNET opened 7 years ago

CubedWorldNET commented 7 years ago

Hey, not sure what I have done wrong but I followed all the steps and receive this error:

[+] creating account for R8AD19NP0RXXV1Q with password PJWHPJ7S89ILY4C Traceback (most recent call last): File "creator.py", line 79, in main() File "creator.py", line 59, in main account_created = create_account(username, password) File "creator.py", line 21, in create_account browser = webdriver.Firefox(firefox_profile=profile) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 142, in init self.service.start() File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 74, in start stdout=self.log_file, stderr=self.log_file) File "/usr/lib/python2.7/subprocess.py", line 710, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 8] Exec format error

ahaggard2013 commented 7 years ago

seems like something to do with permissions, I'd try running it as super user if you haven't. Does selenium work at all? Try running this in another file.

from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://google.com')

Will likely find more info in the log file generated too.

CubedWorldNET commented 7 years ago

Hey,

Appears you are right about Selenium not working at all.

Traceback (most recent call last): File "test.py", line 2, in browser = webdriver.Firefox() File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 142, in init self.service.start() File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 74, in start stdout=self.log_file, stderr=self.log_file) File "/usr/lib/python2.7/subprocess.py", line 710, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 8] Exec format error

Also the geckodriver.log file is actually empty, thanks for providing help :)

EDIT: I also tried pip3 install selenium and ran the script in python3 but had the same error.

ahaggard2013 commented 7 years ago

Did you try running it with sudo?

CubedWorldNET commented 7 years ago

Hey, yes I did

Mihaitafox11 commented 7 years ago

I got the same error and I'm on windows. Help :(