You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/bin/diffengine", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/diffengine/__init__.py", line 460, in main
version = entry.get_latest()
File "/usr/local/lib/python3.6/site-packages/diffengine/__init__.py", line 175, in get_latest
diff.generate()
File "/usr/local/lib/python3.6/site-packages/diffengine/__init__.py", line 271, in generate
self._generate_diff_images()
File "/usr/local/lib/python3.6/site-packages/diffengine/__init__.py", line 297, in _generate_diff_images
self.browser = webdriver.PhantomJS(phantomjs)
File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/phantomjs/webdriver.py", line 52, in __init__
self.service.start()
File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/common/service.py", line 102, in start
raise WebDriverException("Can not connect to the Service %s" % self.path)
selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service phantomjs
I see some people reporting errors like this with the phantomjs that's in apt on Ubuntu. Does installing the binary somewhere and setting the path explicitly in your diffengine config help?
https://github.com/DocNow/diffengine/blob/master/diffengine/__init__.py#L297
Maybe we should catch this and retry after waiting? Not sure exactly what's causing it (and if retrying would help or not).
The text was updated successfully, but these errors were encountered: