Microsoft-Rewards-bot icon indicating copy to clipboard operation
Microsoft-Rewards-bot copied to clipboard

error when launching

Open ccapy opened this issue 2 years ago • 10 comments

whenever i launch it it gives me error

ccapy@heniu-PC:~/msrewards2/Microsoft-Rewards-bot$ sudo python3 ms_rewards_farmer.py --fast
sh: 1: color: not found

    ███╗   ███╗███████╗    ███████╗ █████╗ ██████╗ ███╗   ███╗███████╗██████╗
    ████╗ ████║██╔════╝    ██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝██╔══██╗
    ██╔████╔██║███████╗    █████╗  ███████║██████╔╝██╔████╔██║█████╗  ██████╔╝
    ██║╚██╔╝██║╚════██║    ██╔══╝  ██╔══██║██╔══██╗██║╚██╔╝██║██╔══╝  ██╔══██╗
    ██║ ╚═╝ ██║███████║    ██║     ██║  ██║██║  ██║██║ ╚═╝ ██║███████╗██║  ██║
    ╚═╝     ╚═╝╚══════╝    ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝╚═╝  ╚═╝
            by @Charlesbel upgraded by @Farshadz1997        version 2.1

[INFO] everyday: False
[INFO] headless: False
[INFO] session: False
[INFO] error: False
[INFO] fast: True
[INFO] telegram: None
[INFO] discord: None
[INFO] edge: False
[INFO] shutdown: None
[INFO] account_browser: None
[INFO] start_at: None

[LOGS] Logs loaded successfully.

********************myemailiscorrect_dw********************


Traceback (most recent call last):
  File "ms_rewards_farmer.py", line 1471, in farmer
    browser = browserSetup(False, PC_USER_AGENT)
  File "ms_rewards_farmer.py", line 88, in browserSetup
    browser = webdriver.Chrome(options=options)
  File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/chrome/webdriver.py", line 69, in __init__
    super().__init__(DesiredCapabilities.CHROME['browserName'], "goog",
  File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/chromium/webdriver.py", line 89, in __init__
    self.service.start()
  File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/common/service.py", line 98, in start
    self.assert_process_still_running()
  File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/common/service.py", line 110, in assert_process_still_running
    raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 1


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "ms_rewards_farmer.py", line 1602, in <module>
    main()
  File "ms_rewards_farmer.py", line 1588, in main
    farmer()
  File "ms_rewards_farmer.py", line 1548, in farmer
    browser.quit()
UnboundLocalError: local variable 'browser' referenced before assignment
ccapy@heniu-PC:~/msrewards2/Microsoft-Rewards-bot$

ccapy avatar Feb 11 '23 10:02 ccapy