WinXP Pro SP3 (32bit)
Python v3.4.3
PIP 8.1.2
Selenium 3.0.0
Firefox v49.0.1
geckodriver.exe v 0.11.1
Yesterday I accidentally upgraded Selenium to v3.0.0, and of course it doesn't work on my ancient PC.
Yesterday I was using FF v47.0.1 & Selenium 2.53.1 and an older version of PIP(didn't take note of it). Everything worked fine. No Errors.
Today I'm stuck trying to undo my mistake and get Selenium 3.0.0 & FF v49.0.1 to work:
Error 1 - geckodriver.exe not found in PATH
So I downloaded geckodriver v0.11.1.zip expanded it, and transferred geckodriver.exe to valid PATH (C:\Python34)
Error 2 - selenium.common.exceptions.WebDriverException:
Message: Service geckodriver unexpectedly exited. Status code was: 3221225781
Question 1 - How can I fix Error 2?
Question 2 - How can I rollback to selenium v2.53.1 (also tried v2.53.0 - same error resulted)?
I can tell you that I tried to rollback doing the following, two different ways, but both failed.
Method 1 -
1. downloaded win32-selenium-2.53.1.zip (131Mb, not IE driver server version 1Mb) & expanded it.
2. opened command prompt and changed DIR to location of .\selenium-2.53.1\setup.py
3. ran command: python setup.py install - FAILED.
Output:
running install
running bdist_egg
running egg_info
writing top-level names to selenium.egg-info\top_level.txt
writing selenium.egg-info\PKG-INFO
writing dependency_links to selenium.egg-info\dependency_links.txt
reading manifest file 'selenium.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'selenium.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
installing package data to build\bdist.win32\egg
running install_data
warning: no files found matching '*.xpi' under directory 'py\selenium\webdriver\firefox'
warning: no files found matching '*.json' under directory 'py\selenium\webdriver\firefox'
warning: no files found matching '*.so' under directory 'py\selenium\webdriver\firefox\x86'
warning: no files found matching '*.so' under directory 'py\selenium\webdriver\firefox\amd64'
error: can't copy 'py\selenium\webdriver\firefox\x86\x_ignore_nofocus.so': doesn't exist or not a regular file
Method 2 - This was an attempt to use PIP to install my local copy of v2.53.1
command: pip install "C:\DocsAndSettings\me\...\selenium-2.53.1"
Output =
Processing c:\documents and settings\me\my documents\downloads\selenium-2.53.1\selenium-2.53.1
Installing collected packages: selenium
Running setup.py install for selenium ... error
Complete output from command C:\Python34\python.exe -u -c "import setuptools, tokenize;__file__='C:\\DOCUME~1\\me\\LOCALS~1\\Temp\\pip-frmu16l2-build\\setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record C:\DOCUME~1\me\LOCALS~1\Temp\pip-gd8gcrid-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
running egg_info
writing dependency_links to selenium.egg-info\dependency_links.txt
writing top-level names to selenium.egg-info\top_level.txt
writing selenium.egg-info\PKG-INFO
warning: manifest_maker: standard file '-c' not found
reading manifest file 'selenium.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.xpi' under directory 'py\selenium\webdriver\firefox'
warning: no files found matching '*.json' under directory 'py\selenium\webdriver\firefox'
warning: no files found matching '*.so' under directory 'py\selenium\webdriver\firefox\x86'
warning: no files found matching '*.so' under directory 'py\selenium\webdriver\firefox\amd64'
writing manifest file 'selenium.egg-info\SOURCES.txt'
running install_lib
creating C:\Python34\Lib\site-packages\selenium\common
copying build\lib\selenium\common\exceptions.py -> C:\Python34\Lib\site-packages\selenium\common
copying build\lib\selenium\common\__init__.py -> C:\Python34\Lib\site-packages\selenium\common
creating C:\Python34\Lib\site-packages\selenium\webdriver
creating C:\Python34\Lib\site-packages\selenium\webdriver\android
copying build\lib\selenium\webdriver\android\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\android
copying build\lib\selenium\webdriver\android\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\android
creating C:\Python34\Lib\site-packages\selenium\webdriver\blackberry
copying build\lib\selenium\webdriver\blackberry\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\blackberry
copying build\lib\selenium\webdriver\blackberry\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\blackberry
creating C:\Python34\Lib\site-packages\selenium\webdriver\chrome
copying build\lib\selenium\webdriver\chrome\options.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
copying build\lib\selenium\webdriver\chrome\remote_connection.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
copying build\lib\selenium\webdriver\chrome\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
copying build\lib\selenium\webdriver\chrome\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
copying build\lib\selenium\webdriver\chrome\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
creating C:\Python34\Lib\site-packages\selenium\webdriver\common
copying build\lib\selenium\webdriver\common\action_chains.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
copying build\lib\selenium\webdriver\common\alert.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
copying build\lib\selenium\webdriver\common\by.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
copying build\lib\selenium\webdriver\common\desired_capabilities.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
creating C:\Python34\Lib\site-packages\selenium\webdriver\common\html5
copying build\lib\selenium\webdriver\common\html5\application_cache.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common\html5
copying build\lib\selenium\webdriver\common\html5\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common\html5
copying build\lib\selenium\webdriver\common\keys.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
copying build\lib\selenium\webdriver\common\proxy.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
copying build\lib\selenium\webdriver\common\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
copying build\lib\selenium\webdriver\common\touch_actions.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
copying build\lib\selenium\webdriver\common\utils.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
copying build\lib\selenium\webdriver\common\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
creating C:\Python34\Lib\site-packages\selenium\webdriver\edge
copying build\lib\selenium\webdriver\edge\options.py -> C:\Python34\Lib\site-packages\selenium\webdriver\edge
copying build\lib\selenium\webdriver\edge\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\edge
copying build\lib\selenium\webdriver\edge\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\edge
copying build\lib\selenium\webdriver\edge\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\edge
creating C:\Python34\Lib\site-packages\selenium\webdriver\firefox
copying build\lib\selenium\webdriver\firefox\extension_connection.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
copying build\lib\selenium\webdriver\firefox\firefox_binary.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
copying build\lib\selenium\webdriver\firefox\firefox_profile.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
copying build\lib\selenium\webdriver\firefox\options.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
copying build\lib\selenium\webdriver\firefox\remote_connection.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
copying build\lib\selenium\webdriver\firefox\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
copying build\lib\selenium\webdriver\firefox\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
copying build\lib\selenium\webdriver\firefox\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
creating C:\Python34\Lib\site-packages\selenium\webdriver\ie
copying build\lib\selenium\webdriver\ie\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\ie
copying build\lib\selenium\webdriver\ie\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\ie
copying build\lib\selenium\webdriver\ie\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\ie
creating C:\Python34\Lib\site-packages\selenium\webdriver\opera
copying build\lib\selenium\webdriver\opera\options.py -> C:\Python34\Lib\site-packages\selenium\webdriver\opera
copying build\lib\selenium\webdriver\opera\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\opera
copying build\lib\selenium\webdriver\opera\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\opera
creating C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs
copying build\lib\selenium\webdriver\phantomjs\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs
copying build\lib\selenium\webdriver\phantomjs\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs
copying build\lib\selenium\webdriver\phantomjs\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs
creating C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\command.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\errorhandler.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\file_detector.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\mobile.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\remote_connection.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\switch_to.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\utils.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\webelement.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
copying build\lib\selenium\webdriver\remote\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
creating C:\Python34\Lib\site-packages\selenium\webdriver\safari
copying build\lib\selenium\webdriver\safari\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\safari
copying build\lib\selenium\webdriver\safari\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\safari
copying build\lib\selenium\webdriver\safari\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\safari
creating C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\support\abstract_event_listener.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\support\color.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\support\events.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\support\event_firing_webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\support\expected_conditions.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\support\select.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\support\ui.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\support\wait.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\support\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
copying build\lib\selenium\webdriver\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver
copying build\lib\selenium\__init__.py -> C:\Python34\Lib\site-packages\selenium
byte-compiling C:\Python34\Lib\site-packages\selenium\common\exceptions.py to exceptions.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\common\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\android\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\android\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\blackberry\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\blackberry\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\options.py to options.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\remote_connection.py to remote_connection.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\service.py to service.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\action_chains.py to action_chains.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\alert.py to alert.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\by.py to by.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\desired_capabilities.py to desired_capabilities.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\html5\application_cache.py to application_cache.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\html5\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\keys.py to keys.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\proxy.py to proxy.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\service.py to service.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\touch_actions.py to touch_actions.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\utils.py to utils.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\edge\options.py to options.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\edge\service.py to service.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\edge\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\edge\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\extension_connection.py to extension_connection.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\firefox_binary.py to firefox_binary.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\firefox_profile.py to firefox_profile.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\options.py to options.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\remote_connection.py to remote_connection.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\service.py to service.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\ie\service.py to service.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\ie\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\ie\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\opera\options.py to options.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\opera\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\opera\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs\service.py to service.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\command.py to command.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\errorhandler.py to errorhandler.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\file_detector.py to file_detector.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\mobile.py to mobile.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\remote_connection.py to remote_connection.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\switch_to.py to switch_to.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\utils.py to utils.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\webelement.py to webelement.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\safari\service.py to service.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\safari\webdriver.py to webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\safari\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\abstract_event_listener.py to abstract_event_listener.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\color.py to color.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\events.py to events.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\event_firing_webdriver.py to event_firing_webdriver.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\expected_conditions.py to expected_conditions.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\select.py to select.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\ui.py to ui.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\wait.py to wait.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\__init__.py to __init__.cpython-34.pyc
byte-compiling C:\Python34\Lib\site-packages\selenium\__init__.py to __init__.cpython-34.pyc
running install_data
creating C:\Python34\Lib\site-packages\selenium\webdriver\firefox\x86
error: can't copy 'py\selenium\webdriver\firefox\x86\x_ignore_nofocus.so': doesn't exist or not a regular file
----------------------------------------
Command "C:\Python34\python.exe -u -c "import setuptools, tokenize;
__file__='C:\\DOCUME~1\\me\\LOCALS~1\\Temp\\pip-frmu16l2-build\\setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record C:\DOCUME~1\me\LOCALS~1\Temp\pip-gd8gcrid-record\install-record.txt --single-version-externally-managed
--compile" failed with error code 1 in C:\DOCUME~1\me\LOCALS~1\Temp\pip-frmu16l2-build\