Skip to content

Instantly share code, notes, and snippets.

@santiycr
Created December 14, 2010 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save santiycr/740893 to your computer and use it in GitHub Desktop.
Save santiycr/740893 to your computer and use it in GitHub Desktop.
./go test_firefox_py 16:01
(in /Users/sso/Dev/proyectos_OS/selenium/trunk)
No Gecko sdk detected. Install xulrunner-dev to compile 64-bit Firefox extension.No srcs specified for selenium-core
virtualenv --no-site-packages build/python
New python executable in build/python/bin/python
Installing setuptools............done.
build/python/bin/pip install simplejson py pytest
Downloading/unpacking py
Downloading py-1.4.0.zip (222Kb): 222Kb downloaded
Running setup.py egg_info for package py
Downloading/unpacking pytest
Downloading pytest-2.0.0.zip (245Kb): 245Kb downloaded
Running setup.py egg_info for package pytest
Downloading/unpacking simplejson
Downloading simplejson-2.1.2.tar.gz (131Kb): 131Kb downloaded
Running setup.py egg_info for package simplejson
Installing collected packages: py, pytest, simplejson
Running setup.py install for py
Running setup.py install for pytest
Installing py.test script to /Users/sso/Dev/proyectos_OS/selenium/trunk/build/python/bin
Installing py.test-2.6 script to /Users/sso/Dev/proyectos_OS/selenium/trunk/build/python/bin
Running setup.py install for simplejson
building 'simplejson._speedups' extension
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c simplejson/_speedups.c -o build/temp.macosx-10.6-universal-2.6/simplejson/_speedups.o
gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc -arch x86_64 build/temp.macosx-10.6-universal-2.6/simplejson/_speedups.o -o build/lib.macosx-10.6-universal-2.6/simplejson/_speedups.so
Successfully installed py pytest simplejson
Cleaning up...
Compiling: //common:common as build/common/common.jar
Compiling: //remote/common:common as build/remote/common/common.jar
Compiling: //remote/client:client as build/remote/client/client.jar
Building: //firefox:command_processor_xpt as build/firefox/nsICommandProcessor.xpt
dyld: Library not loaded: /opt/local/lib/libIDL-2.0.dylib
Referenced from: /Users/sso/Dev/proyectos_OS/selenium/trunk/third_party/gecko-1.9.0.11/mac/bin/xpidl
Reason: image not found
Falling back to firefox/prebuilt/nsICommandProcessor.xpt
Building: //firefox:httpd_xpt as build/firefox/nsIHttpServer.xpt
dyld: Library not loaded: /opt/local/lib/libIDL-2.0.dylib
Referenced from: /Users/sso/Dev/proyectos_OS/selenium/trunk/third_party/gecko-1.9.0.11/mac/bin/xpidl
Reason: image not found
Falling back to firefox/prebuilt/nsIHttpServer.xpt
Building: //firefox:native_events_xpt as build/firefox/nsINativeEvents.xpt
dyld: Library not loaded: /opt/local/lib/libIDL-2.0.dylib
Referenced from: /Users/sso/Dev/proyectos_OS/selenium/trunk/third_party/gecko-1.9.0.11/mac/bin/xpidl
Reason: image not found
Falling back to firefox/prebuilt/nsINativeEvents.xpt
Building: //firefox:response_handler_xpt as build/firefox/nsIResponseHandler.xpt
dyld: Library not loaded: /opt/local/lib/libIDL-2.0.dylib
Referenced from: /Users/sso/Dev/proyectos_OS/selenium/trunk/third_party/gecko-1.9.0.11/mac/bin/xpidl
Reason: image not found
Falling back to firefox/prebuilt/nsIResponseHandler.xpt
Falling back to copy of: firefox/prebuilt/Win32/Release/webdriver-firefox.dll
Falling back to copy of: firefox/prebuilt/linux/Release/libwebdriver-firefox.so
Falling back to copy of: firefox/prebuilt/linux64/Release/libwebdriver-firefox.so
Compiling: //firefox:atoms as build/firefox/atoms.js
Compiling: //firefox:utils as build/firefox/utils.js
Preparing: //firefox:webdriver as build/firefox/webdriver.xpi
Compiling: //firefox:noblur as build/firefox/i386/libnoblur.so
Falling back to firefox/prebuilt/i386/libnoblur.so
Compiling: //firefox:noblur64 as build/firefox/amd64/libnoblur64.so
Falling back to firefox/prebuilt/amd64/libnoblur64.so
Compiling: //firefox:firefox as build/firefox/firefox.jar
cp build/firefox/webdriver.xpi py/selenium/webdriver/firefox/
build/python/bin/python setup.py build
running build
running build_py
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'src_root'
warnings.warn(msg)
creating build/lib
creating build/lib/selenium
copying py/selenium/__init__.py -> build/lib/selenium
copying py/selenium/selenium.py -> build/lib/selenium
creating build/lib/selenium/test
copying py/test/__init__.py -> build/lib/selenium/test
creating build/lib/selenium/test/selenium
copying py/test/selenium/__init__.py -> build/lib/selenium/test/selenium
copying py/test/selenium/selenium_test_suite.py -> build/lib/selenium/test/selenium
copying py/test/selenium/selenium_test_suite_headless.py -> build/lib/selenium/test/selenium
copying py/test/selenium/test_default_server.py -> build/lib/selenium/test/selenium
copying py/test/selenium/test_google.py -> build/lib/selenium/test/selenium
copying py/test/selenium/test_i18n.py -> build/lib/selenium/test/selenium
creating build/lib/selenium/test/selenium/webdriver
copying py/test/selenium/webdriver/__init__.py -> build/lib/selenium/test/selenium/webdriver
creating build/lib/selenium/test/selenium/webdriver/chrome
copying py/test/selenium/webdriver/chrome/__init__.py -> build/lib/selenium/test/selenium/webdriver/chrome
copying py/test/selenium/webdriver/chrome/test_chrome_api.py -> build/lib/selenium/test/selenium/webdriver/chrome
copying py/test/selenium/webdriver/chrome/test_chrome_children_finding.py -> build/lib/selenium/test/selenium/webdriver/chrome
copying py/test/selenium/webdriver/chrome/test_chrome_correct_event_firing.py -> build/lib/selenium/test/selenium/webdriver/chrome
copying py/test/selenium/webdriver/chrome/test_chrome_driver_element_finding.py -> build/lib/selenium/test/selenium/webdriver/chrome
copying py/test/selenium/webdriver/chrome/test_chrome_implicit_waits.py -> build/lib/selenium/test/selenium/webdriver/chrome
creating build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/__init__.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/api_examples.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/children_finding_tests.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/cookie_tests.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/correct_event_firing_tests.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/driver_element_finding_test.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/example2.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/google_one_box.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/implicit_waits_tests.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/page_loader.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/results_page.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/utils.py -> build/lib/selenium/test/selenium/webdriver/common
copying py/test/selenium/webdriver/common/webserver.py -> build/lib/selenium/test/selenium/webdriver/common
creating build/lib/selenium/test/selenium/webdriver/firefox
copying py/test/selenium/webdriver/firefox/__init__.py -> build/lib/selenium/test/selenium/webdriver/firefox
copying py/test/selenium/webdriver/firefox/profile_tests.py -> build/lib/selenium/test/selenium/webdriver/firefox
copying py/test/selenium/webdriver/firefox/test_ff_api.py -> build/lib/selenium/test/selenium/webdriver/firefox
copying py/test/selenium/webdriver/firefox/test_ff_children_finding.py -> build/lib/selenium/test/selenium/webdriver/firefox
copying py/test/selenium/webdriver/firefox/test_ff_cookie.py -> build/lib/selenium/test/selenium/webdriver/firefox
copying py/test/selenium/webdriver/firefox/test_ff_correct_event_firing.py -> build/lib/selenium/test/selenium/webdriver/firefox
copying py/test/selenium/webdriver/firefox/test_ff_driver_element_finding.py -> build/lib/selenium/test/selenium/webdriver/firefox
copying py/test/selenium/webdriver/firefox/test_ff_implicit_waits.py -> build/lib/selenium/test/selenium/webdriver/firefox
copying py/test/selenium/webdriver/firefox/test_ff_launcher.py -> build/lib/selenium/test/selenium/webdriver/firefox
creating build/lib/selenium/test/selenium/webdriver/ie
copying py/test/selenium/webdriver/ie/__init__.py -> build/lib/selenium/test/selenium/webdriver/ie
copying py/test/selenium/webdriver/ie/test_ie_api.py -> build/lib/selenium/test/selenium/webdriver/ie
copying py/test/selenium/webdriver/ie/test_ie_children_finding.py -> build/lib/selenium/test/selenium/webdriver/ie
copying py/test/selenium/webdriver/ie/test_ie_correct_event_firing.py -> build/lib/selenium/test/selenium/webdriver/ie
copying py/test/selenium/webdriver/ie/test_ie_driver_element_finding.py -> build/lib/selenium/test/selenium/webdriver/ie
copying py/test/selenium/webdriver/ie/test_ie_implicit_waits.py -> build/lib/selenium/test/selenium/webdriver/ie
creating build/lib/selenium/test/selenium/webdriver/remote
copying py/test/selenium/webdriver/remote/__init__.py -> build/lib/selenium/test/selenium/webdriver/remote
copying py/test/selenium/webdriver/remote/test_remote_api.py -> build/lib/selenium/test/selenium/webdriver/remote
copying py/test/selenium/webdriver/remote/test_remote_children_finding.py -> build/lib/selenium/test/selenium/webdriver/remote
copying py/test/selenium/webdriver/remote/test_remote_correct_firing_tests.py -> build/lib/selenium/test/selenium/webdriver/remote
copying py/test/selenium/webdriver/remote/test_remote_driver_element_finding.py -> build/lib/selenium/test/selenium/webdriver/remote
copying py/test/selenium/webdriver/remote/test_remote_implicit_waits.py -> build/lib/selenium/test/selenium/webdriver/remote
creating build/lib/selenium/webdriver
copying py/selenium/webdriver/__init__.py -> build/lib/selenium/webdriver
creating build/lib/selenium/webdriver/chrome
copying py/selenium/webdriver/chrome/__init__.py -> build/lib/selenium/webdriver/chrome
copying py/selenium/webdriver/chrome/driver.py -> build/lib/selenium/webdriver/chrome
copying py/selenium/webdriver/chrome/webdriver.py -> build/lib/selenium/webdriver/chrome
creating build/lib/selenium/webdriver/common
copying py/selenium/webdriver/common/__init__.py -> build/lib/selenium/webdriver/common
copying py/selenium/webdriver/common/exceptions.py -> build/lib/selenium/webdriver/common
creating build/lib/selenium/webdriver/firefox
copying py/selenium/webdriver/firefox/__init__.py -> build/lib/selenium/webdriver/firefox
copying py/selenium/webdriver/firefox/extensionconnection.py -> build/lib/selenium/webdriver/firefox
copying py/selenium/webdriver/firefox/firefox_profile.py -> build/lib/selenium/webdriver/firefox
copying py/selenium/webdriver/firefox/firefoxlauncher.py -> build/lib/selenium/webdriver/firefox
copying py/selenium/webdriver/firefox/utils.py -> build/lib/selenium/webdriver/firefox
copying py/selenium/webdriver/firefox/webdriver.py -> build/lib/selenium/webdriver/firefox
copying py/selenium/webdriver/firefox/webelement.py -> build/lib/selenium/webdriver/firefox
creating build/lib/selenium/webdriver/ie
copying py/selenium/webdriver/ie/__init__.py -> build/lib/selenium/webdriver/ie
copying py/selenium/webdriver/ie/webdriver.py -> build/lib/selenium/webdriver/ie
creating build/lib/selenium/webdriver/remote
copying py/selenium/webdriver/remote/__init__.py -> build/lib/selenium/webdriver/remote
copying py/selenium/webdriver/remote/command.py -> build/lib/selenium/webdriver/remote
copying py/selenium/webdriver/remote/errorhandler.py -> build/lib/selenium/webdriver/remote
copying py/selenium/webdriver/remote/remote_connection.py -> build/lib/selenium/webdriver/remote
copying py/selenium/webdriver/remote/utils.py -> build/lib/selenium/webdriver/remote
copying py/selenium/webdriver/remote/webdriver.py -> build/lib/selenium/webdriver/remote
copying py/selenium/webdriver/remote/webelement.py -> build/lib/selenium/webdriver/remote
running egg_info
writing requirements to selenium.egg-info/requires.txt
writing selenium.egg-info/PKG-INFO
writing top-level names to selenium.egg-info/top_level.txt
writing dependency_links to selenium.egg-info/dependency_links.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.zip' under directory 'py/selenium/webdriver/chrome'
warning: no files found matching '*.py' under directory 'py/test/selenium/webdiver/chrome'
warning: no files found matching '*.dll' under directory 'py/selenium/webdriver/ie'
warning: no files found matching '__init__.py'
writing manifest file 'selenium.egg-info/SOURCES.txt'
copying py/selenium/webdriver/firefox/webdriver.xpi -> build/lib/selenium/webdriver/firefox
build/python/bin/py.test build/lib/selenium/test/selenium/webdriver/firefox
Traceback (most recent call last):
File "/Users/sso/Dev/proyectos_OS/selenium/trunk/build/python/bin/py.test", line 8, in <module>
load_entry_point('pytest==2.0.0', 'console_scripts', 'py.test')()
File "/Users/sso/Dev/proyectos_OS/selenium/trunk/build/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 318, in load_entry_point
File "/Users/sso/Dev/proyectos_OS/selenium/trunk/build/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 2221, in load_entry_point
File "/Users/sso/Dev/proyectos_OS/selenium/trunk/build/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 1954, in load
File "/Users/sso/Dev/proyectos_OS/selenium/trunk/build/python/lib/python2.6/site-packages/pytest.py", line 7, in <module>
from _pytest.core import main, UsageError, _preloadplugins
File "/Users/sso/Dev/proyectos_OS/selenium/trunk/build/python/lib/python2.6/site-packages/_pytest/core.py", line 10, in <module>
assert py.__version__.split(".")[:2] >= ['1', '4'], ("installation problem: "
AttributeError: 'module' object has no attribute '__version__'
go aborted!
Command failed with status (1): [build/python/bin/py.test build/lib/seleniu...]
/Users/sso/Dev/proyectos_OS/selenium/trunk/Rakefile:420:in `(root)'
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment