KgBC / just-dice-bot

Hi, this is a flexible betting bot for just-dice.com. Feel free to use it under GPL. If you want to donate some Beer/Satoshis: 1CDjWb7zupTfQihc6sMeDvPmUHkfeMhC83 Thanks. The ACES branch is considered stable, use this if you don't want to develop and do not need latest features: https://github.com/KgBC/just-dice-bot/tree/aces
GNU General Public License v2.0
18 stars 6 forks source link

Webdriver: Message: 'The browser appears to have exited before we could connect. after 2h run. Why? #11

Closed KgBC closed 10 years ago

KgBC commented 10 years ago

Traceback (most recent call last): File "just-dice-bot.py", line 335, in JustDiceBet() File "just-dice-bot.py", line 73, in init self.setUp() File "just-dice-bot.py", line 226, in setUp self.driver = webdriver.Firefox() File "/usr/local/lib/python2.7/dist-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/firefox/webdriver.py", line 61, in init self.binary, timeout), File "/usr/local/lib/python2.7/dist-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/firefox/extension_connection.py", line 47, in init self.binary.launch_browser(self.profile) File "/usr/local/lib/python2.7/dist-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/firefox/firefox_binary.py", line 51, in launch_browser self._wait_until_connectable() File "/usr/local/lib/python2.7/dist-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/firefox/firefox_binary.py", line 90, in _wait_until_connectable self._get_firefox_output()) selenium.common.exceptions.WebDriverException: Message: 'The browser appears to have exited before we could connect. The output was: Error: cannot open display: :2842\n'

KgBC commented 10 years ago

The output was: Error: cannot open display: :2842

So this is an X-forwarding issue not related to the bot.