Setup a new Windows 7 or 8 Workstation
This is a list of base software used after installing a fresh new Windows developer's workstation. I use Windows 7 Ultimate 64-bit which I got upgraded for free by Microsoft after being victim of counterfeit...
Just another Yipp.ca Blogs site
This is a list of base software used after installing a fresh new Windows developer's workstation. I use Windows 7 Ultimate 64-bit which I got upgraded for free by Microsoft after being victim of counterfeit...
Problem ==> machine1: Error: Execution of '/usr/local/bin/pip install -q pycrypto' returned 1: Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-uN48ao/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-p66n7t-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1...
D:\vagrant\vagrant-puppet-phantomjs-python>vagrant destroy machine1: Are you sure you want to destroy the 'machine1' VM? [y/N] y There are errors in the configuration of this machine. Please fix the following errors and try again: SSH: *...
/usr/lib/node_modules/phantomjs/lib/phantom/bin/phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory Solution sudo apt-get install libfontconfig1
Running setup.py install for lxml ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file /setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', ' all --record /tmp/pip-PDRsRl-record/install-record.txt --single-version-externally-managed Building lxml version 3.5.0. Building without Cython. ERROR: /bin/sh:...
No module named SSHLibrary Solution pip install robotframework-sshlibrary
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ - r/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o src/MD2.c:31:20: fatal error: Python.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit...
==> phantomjs: Checking for guest additions in VM... phantomjs: The guest additions on this VM do not match the installed version of phantomjs: VirtualBox! In most cases this is fine, but in rare cases...
Spooky ! Short term solution $> ps -ef | grep phantom | grep -v grep | awk '{print $2}' | xargs kill -9 Better long-term solution Using driver.quit() : driver = webdriver.PhantomJS(service_args=['--ignore-ssl-errors=true', '--ssl-protocol=any']) driver.get('https://'...
Selenium on Python http://selenium-python.readthedocs.org/api.html The WebDriver API http://selenium-python.readthedocs.org/api.html?highlight=phantom#module-selenium.webdriver.remote.webdriver jQuery http://api.jquery.com/ PHP http://php.net/docs.php which what I consider A-class documentation with user-submitted sample code at bottom of doc pages as a bonus.
Recent Comments