HitchTest is the main hitch plugin containing all of the core components required to run a test.
It is installed into every .hitch virtualenv by the bootstrapper.
Loosely coupled testing framework
License: GNU Affero General Public License v3.0
HitchTest is the main hitch plugin containing all of the core components required to run a test.
It is installed into every .hitch virtualenv by the bootstrapper.
I trying the stub.test but get this:
[ Setup Postgres] /home/usr/.hitchpkg/postgresql-9.4.5/postgresql-9.4.5/bin/pg_ctl -D /home/usr/pq/tests/.hitch/pgdata -l logfile start
[ Err Setup Postgres] WARNING: enabling "trust" authentication for local connections
[ Err Setup Postgres] You can change this by editing pg_hba.conf or using the option -A, or
[ Err Setup Postgres] --auth-local and --auth-host, the next time you run initdb.
[ Hitch] Starting Postgres
[ Hitch] Directory: /home/usr/pq/tests/.hitch
[ Hitch] Command: /home/usr/.hitchpkg/postgresql-9.4.5/postgresql-9.4.5/bin/postgres -p 15432 -D /home/usr/pq/tests/.hitch/pgdata --unix_socket_directories=/home/usr/pq/tests/.hitch/pgdata --log_destination=stderr
[ Err Postgres] LOG: database system was shut down at 2016-01-18 21:46:01 CET
[ Err Postgres] LOG: MultiXact member wraparound protections are now enabled
[ Err Postgres] LOG: database system is ready to accept connections
[ Hitch] Postgres Loaded.
[ Err Postgres] LOG: autovacuum launcher started
[ Post Postgres] Creating users and databases...
[ Post Postgres] CREATE ROLE
[ Post Postgres] CREATE DATABASE
[ Setup Django] Running migrations...
[ Hitch] Starting Celery
[ Hitch] Directory: /home/usr/pq
[ Hitch] Command: /home/usr/pq/tests/.hitch/py3.4.3/bin/python -u -m celery worker --app=remindme --loglevel=INFO --concurrency=2
[ Err Celery] /home/usr/pq/tests/.hitch/py3.4.3/bin/python: No module named celery
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
Python 3.4.3 (default, Sep 15 2015, 12:35:19)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Exception occurred in "Stub" setup
/home/usr/pq/tests/stub.test --tags feature-name
/home/usr/pq/tests/engine.py
100 : )
101 :
--> 102 : self.services.startup(interactive=False)
103 :
104 : # Docs : https://hitchtest.readthedocs.org/en/latest/plugins/hitchcli.html
/home/usr/pq/tests/.hitch/virtualenv/lib/python3.4/site-packages/hitchserve/service_bundle.py
194 : if interactive:
195 : self.start_interactive_mode()
--> 196 : raise what_happened
197 : else:
198 : if interactive:
hitchserve.hitch_exception.ServiceSuddenStopException
Service 'Celery' stopped suddenly.
In 1:
If hitch init fails and left with a .hitch directory but no virtual env, then hitch clean will fail
hitcher@jenkins:/home/django/django-remindme/django-remindme-tests$ hitch clean
Traceback (most recent call last):
File "/usr/local/bin/hitch", line 11, in
sys.exit(commandline.run())
File "/usr/local/lib/python2.7/dist-packages/hitch/commandline.py", line 207, in run
path.join(hitchdir.get_hitch_directory(), "virtualenv", "bin")
OSError: [Errno 2] No such file or directory: '/home/django/django-remindme/django-remindme-tests/.hitch/virtualenv/bin'
Solution is to manually delete .hitch
Problem reported here: hitchtest/django-remindme-tests#3 and here: #8
I tried to upload files with the fill_form step..
According to the docs I should be able to upload by sending the file path as keys to the type='file' field.
http://selenium-python.readthedocs.org/faq.html#how-to-upload-files-into-file-inputs
If the file does not exist.. the upload field shows the file name as if selected and submitting tells me that the file is empty. So in general the mechanics do work.
If the given file is a real file - in this case an image file - (I tried multiple different images) ..I get a json decoder error on the triggered file upload.
Here is the stack trace:
In [4]: self.driver.find_element_by_id(element).send_keys('static/tests/images/Carolina.png')
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/Users/myuser/path_to_project/tests/engine.py in <module>()
----> 1 self.driver.find_element_by_id(element).send_keys('static/tests/images/Carolina.png')
/Users/myuser/path_to_project/tests/.hitch/virtualenv/lib/python3.4/site-packages/selenium/webdriver/remote/webelement.py in send_keys(self, *value)
313 local_file = self.parent.file_detector.is_local_file(*value)
314 if local_file is not None:
--> 315 value = self._upload(local_file)
316
317 typing = []
/Users/myuser/path_to_project/tests/.hitch/virtualenv/lib/python3.4/site-packages/selenium/webdriver/remote/webelement.py in _upload(self, filename)
507 try:
508 return self._execute(Command.UPLOAD_FILE,
--> 509 {'file': content})['value']
510 except WebDriverException as e:
511 if "Unrecognized command: POST" in e.__str__():
/Users/myuser/path_to_project/tests/.hitch/virtualenv/lib/python3.4/site-packages/selenium/webdriver/remote/webelement.py in _execute(self, command, params)
452 params = {}
453 params['id'] = self._id
--> 454 return self._parent.execute(command, params)
455
456 def find_element(self, by=By.ID, value=None):
/Users/myuser/path_to_project/tests/.hitch/virtualenv/lib/python3.4/site-packages/selenium/webdriver/remote/webdriver.py in execute(self, driver_command, params)
199 response = self.command_executor.execute(driver_command, params)
200 if response:
--> 201 self.error_handler.check_response(response)
202 response['value'] = self._unwrap_value(
203 response.get('value', None))
/Users/myuser/path_to_project/tests/.hitch/virtualenv/lib/python3.4/site-packages/selenium/webdriver/remote/errorhandler.py in check_response(self, response)
100 if value_json and isinstance(value_json, basestring):
101 import json
--> 102 value = json.loads(value_json)
103 status = value['error']
104 message = value['message']
/usr/local/opt/pyenv/versions/3.4.1/lib/python3.4/json/__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
316 parse_int is None and parse_float is None and
317 parse_constant is None and object_pairs_hook is None and not kw):
--> 318 return _default_decoder.decode(s)
319 if cls is None:
320 cls = JSONDecoder
/usr/local/opt/pyenv/versions/3.4.1/lib/python3.4/json/decoder.py in decode(self, s, _w)
341
342 """
--> 343 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
344 end = _w(s, end).end()
345 if end != len(s):
/usr/local/opt/pyenv/versions/3.4.1/lib/python3.4/json/decoder.py in raw_decode(self, s, idx)
359 obj, end = self.scan_once(s, idx)
360 except StopIteration as err:
--> 361 raise ValueError(errmsg("Expecting value", s, err.value)) from None
362 return obj, end
ValueError: Expecting value: line 1 column 1 (char 0)
In [5]:
I do not know what to do.
Is this a problem with python 3.4 in combination with selenium?
Can you possibly help be fix that? Or give he hints what I could try or where to search?
Best,
Eraldo
I just saw the following error:
File "/home/talkur/programming/turkey/tests/.hitch/virtualenv/lib/python3.4/site-packages/hitchserve/hitch_service.py", line 6, in
import commandlib
ImportError: No module named 'commandlib'
This was after running: hitch install hitchselenium==0.5.2
The hitch virtualenv currently has (from pip list AFTER the install):
click (6.2)
colorama (0.3.7)
decorator (4.0.6)
docopt (0.6.2)
faketime (0.9.6.3)
hitchpostgres (0.7.0)
hitchpython (0.5.2)
hitchquickstart (0.1.4)
hitchselenium (0.5.2)
hitchserve (0.4.9)
hitchsmtp (0.2.1)
hitchsystem (0.1.2)
hitchtest (0.9.6)
humanize (0.5.1)
ipython (4.0.3)
ipython-genutils (0.1.0)
Jinja2 (2.8)
MarkupSafe (0.23)
path.py (8.1.2)
patool (1.12)
pexpect (4.0.1)
pickleshare (0.6)
pip (8.1.0)
psutil (4.1.0)
ptyprocess (0.5)
pykwalify (1.5.0)
python-build (0.2.12)
python-dateutil (2.4.2)
pyuv (1.2.0)
PyYAML (3.11)
requests (2.9.1)
selenium (2.53.2)
setuptools (20.2.2)
simplegeneric (0.8.1)
six (1.10.0)
tblib (1.3.0)
traitlets (4.1.0)
unixpackage (0.4.0)
hitch needs a CI process that will run the tests and report any problems, lessening contribution friction and allowing more PRs to be easily submitted.
Since this is a testing framework, explaining how to run hitch on CI services is crucial.
Hi,
I'm trying to run hitchtest on OS X El Capitan. Your docs say that this version has not been tested yet and it doesn't seem to work.
I've got two different bug reports. Running your example project (https://github.com/hitchtest/django-remindme-tests) and following the installation, I get the following error:
django-remindme-error.txt
Running hitch on a newly created cookiecutter-django project, I get the following:
cookiecutter-hitch-error.txt
It seems like hitch tries to access the python 2.7.11 interpreter or even replace out-dated system-wide python packages? Not quite sure if I'm doing anything wrong. Just updated brew, upgraded all things and made sure python3 and python2 are up-to-date.
Like the previous issue, I rushed into installing hitch into an existing virtualenv for an existing project. project uses python 2.7
Pip install hitch worked fine
hitch init gives this error
Traceback (most recent call last):
File "/home/django/virtualenvs/board/bin/hitch", line 5, in <module>
from pkg_resources import load_entry_point
File "/home/django/virtualenvs/board/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 2707, in <module>
working_set.require(__requires__)
File "/home/django/virtualenvs/board/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/django/virtualenvs/board/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: click
but click is installed and up to date
pip install click
Requirement already satisfied (use --upgrade to upgrade): click in /home/django/virtualenvs/board/lib/python2.7/site-packages
So I tried install outside the virtualenv:
Running setup.py install for psutil
Complete output from command /home/django/tcphb/tests/.hitch/virtualenv/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip-build-ho7u3a/psutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-8iug73-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/django/tcphb/tests/.hitch/virtualenv/include/site/python3.2/psutil:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.2
creating build/lib.linux-x86_64-3.2/psutil
copying psutil/init.py -> build/lib.linux-x86_64-3.2/psutil
copying psutil/_psosx.py -> build/lib.linux-x86_64-3.2/psutil
copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.2/psutil
copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.2/psutil
copying psutil/_psposix.py -> build/lib.linux-x86_64-3.2/psutil
copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.2/psutil
copying psutil/_compat.py -> build/lib.linux-x86_64-3.2/psutil
copying psutil/_common.py -> build/lib.linux-x86_64-3.2/psutil
copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.2/psutil
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-x86_64-3.2
creating build/temp.linux-x86_64-3.2/psutil
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -DPSUTIL_VERSION=311 -I/usr/include/python3.2mu -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-3.2/psutil/_psutil_linux.o
psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/home/django/tcphb/tests/.hitch/virtualenv/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-ho7u3a/psutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8iug73-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/django/tcphb/tests/.hitch/virtualenv/include/site/python3.2/psutil" failed with error code 1 in /tmp/pip-build-ho7u3a/psutil
r
I don't want to use python 3 generally as some modules I'm using are not compatible, so I'd rather find a way to install using python 2.7
Going to try installing on osx now as this looks like just what I need.
Thank you for all the work on this project. I am trying to run hitch in a python3.5 container. I get the following error on hitch init. I am getting a key error: debian-.
hitch_1 | Installing collected packages: unixpackage, click, hitchsystem hitch_1 | Successfully installed click-6.6 hitchsystem-0.1.4 unixpackage-0.4.2 hitch_1 | Traceback (most recent call last): hitch_1 | File "/app/tests/.hitch/virtualenv/bin/hitchsystem", line 11, in <module> hitch_1 | sys.exit(commandline.run()) hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/hitchsystem/commandline.py", line 94, in run hitch_1 | cli() hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/click/core.py", line 716, in __call__ hitch_1 | return self.main(*args, **kwargs) hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/click/core.py", line 696, in main hitch_1 | rv = self.invoke(ctx) hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/click/core.py", line 1060, in invoke hitch_1 | return _process_result(sub_ctx.command.invoke(sub_ctx)) hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/click/core.py", line 889, in invoke hitch_1 | return ctx.invoke(self.callback, **ctx.params) hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/click/core.py", line 534, in invoke hitch_1 | return callback(*args, **kwargs) hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/hitchsystem/commandline.py", line 65, in installpackages hitch_1 | unixpackage.install(_all_required_packages(), polite=True) hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/unixpackage/api.py", line 48, in install hitch_1 | install(generic_packages[10:], polite=polite) hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/unixpackage/api.py", line 51, in install hitch_1 | package_group = package_group_for_my_distro()(generic_packages) hitch_1 | File "/app/tests/.hitch/virtualenv/lib/python3.5/site-packages/unixpackage/package_group.py", line 238, in package_group_for_my_distro hitch_1 | this_distro, utils.lsb_release_codename().lower() hitch_1 | KeyError: 'debian-' hitch_1 | hitch_1 | Error initializing hitch. Problem checklist: hitch_1 | hitch_1 | * Was there a problem with your internet? hitch_1 | * Was there a python package being installed that couldn't compile? hitch_1 | hitch_1 | hitch_1 | Try searching for any errors printed above or raising an issue at: hitch_1 | http://github.com/hitchtest/hitch/issues/
I will try to put together a quick PR for this
I am not sure if this should work or not in GitBash but I have a Windows PC and want to try the example project. Can you let me know what I need to do. Limiting systems that can run this project is not a good business practice.
$ curl -sSL https://hitchtest.com/init.sh > init.sh ; chmod +x init.sh ; ./init.sh
Installing and initializing hitch...
Hitch has not been tested on MINGW64_NT-10.0.
If this is a UNIX system and you think it probably should work,
please raise an issue at https://github.com/hitchtest/hitch/issues/
If you need help or you think this script has a problem, please raise an issue at https://github.com/hitchtest/hitch/issues
Not sure if this is due to an updated version of firefox, or even some other peculiarity of my system, but I now seem to be experiencing the following error trying to run any tests with Selenium:
194 : if interactive:
195 : self.start_interactive_mode()
--> 196 : raise what_happened
197 : else:
198 : if interactive:
hitchserve.hitch_exception.ServiceSuddenStopException
Service 'Firefox' stopped suddenly.
FAILED IN 33.7 seconds
Is this a known (recent) issue?
Hi,
I might have just missed it in the docs, but I'm trying to create a test that something is not present on the page under certain conditions- basically:
Is there currently a simple way to do this, or to say "Click but reverse failure and success conditions"?
Following the example from http://hitchtest.com/, there are multiple during the hitch init
stage:
Failed building wheel for MarkupSafe
...
Failed building wheel for psutil
...
Failed building wheel for pyuv
...
Failed building wheel for PyYAML
...
Failed building wheel for tornado
...
Failed to build MarkupSafe psutil pyuv PyYAML tornado
Full log:
Installing and initializing hitch...
Package 'python' is installed
Package 'python3' is installed
Requirement already up-to-date: pip in /Users/kevin/dev/venvs/hitchtest/lib/python2.7/site-packages
Collecting setuptools
Using cached setuptools-19.2-py2.py3-none-any.whl
Collecting virtualenv
Using cached virtualenv-13.1.2-py2.py3-none-any.whl
Installing collected packages: setuptools, virtualenv
Found existing installation: setuptools 18.2
Uninstalling setuptools-18.2:
Successfully uninstalled setuptools-18.2
Successfully installed setuptools-19.2 virtualenv-13.1.2
Collecting hitch
Installing collected packages: hitch
Successfully installed hitch-0.5.7
No hitch directory found. Doing nothing.
Running virtualenv with interpreter /Library/Frameworks/Python.framework/Versions/3.5/bin/python3
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.5'
New python executable in .hitch/virtualenv/bin/python3
Also creating executable in .hitch/virtualenv/bin/python
Installing setuptools, pip, wheel...done.
Requirement already up-to-date: pip in ./.hitch/virtualenv/lib/python3.5/site-packages
Collecting setuptools
Using cached setuptools-19.2-py2.py3-none-any.whl
Installing collected packages: setuptools
Found existing installation: setuptools 18.2
Uninstalling setuptools-18.2:
Successfully uninstalled setuptools-18.2
Successfully installed setuptools-19.2
Collecting unixpackage
Collecting hitchsystem
Collecting click (from hitchsystem)
Using cached click-6.2-py2.py3-none-any.whl
Installing collected packages: unixpackage, click, hitchsystem
Successfully installed click-6.2 hitchsystem-0.1.2 unixpackage-0.4.0
Downloading and caching correct package names for: node-less...
Already installed: libtool, cmake, automake, rsync, python-dev, python3-dev, libpq-dev, firefox, node-less
Collecting click==5.1 (from -r hitchreqs.txt (line 1))
Downloading click-5.1-py2.py3-none-any.whl (65kB)
100% |████████████████████████████████| 65kB 2.8MB/s
Collecting colorama==0.3.3 (from -r hitchreqs.txt (line 2))
Collecting decorator==4.0.4 (from -r hitchreqs.txt (line 3))
Using cached decorator-4.0.4-py2.py3-none-any.whl
Collecting docopt==0.6.2 (from -r hitchreqs.txt (line 4))
Collecting faketime==0.9.6.3 (from -r hitchreqs.txt (line 5))
Collecting hitchcron==0.2 (from -r hitchreqs.txt (line 6))
Collecting hitchelasticsearch==0.2.2 (from -r hitchreqs.txt (line 7))
Downloading hitchelasticsearch-0.2.2.tar.gz
Collecting hitchpostgres==0.6.6 (from -r hitchreqs.txt (line 8))
Downloading hitchpostgres-0.6.6.tar.gz
Collecting hitchpython==0.5.0 (from -r hitchreqs.txt (line 9))
Collecting hitchredis==0.4.4 (from -r hitchreqs.txt (line 10))
Downloading hitchredis-0.4.4.tar.gz
Collecting hitchselenium==0.4.7 (from -r hitchreqs.txt (line 11))
Downloading hitchselenium-0.4.7.tar.gz
Collecting hitchserve==0.4.5 (from -r hitchreqs.txt (line 12))
Downloading hitchserve-0.4.5.tar.gz
Collecting hitchsmtp==0.2.1 (from -r hitchreqs.txt (line 13))
Collecting hitchsystem==0.1.1 (from -r hitchreqs.txt (line 14))
Collecting hitchtest==0.9.0 (from -r hitchreqs.txt (line 15))
Downloading hitchtest-0.9.0.tar.gz
Collecting humanize==0.5.1 (from -r hitchreqs.txt (line 16))
Collecting ipykernel==4.1.0 (from -r hitchreqs.txt (line 17))
Downloading ipykernel-4.1.0-py2.py3-none-any.whl (90kB)
100% |████████████████████████████████| 94kB 4.1MB/s
Collecting ipython==4.0.0 (from -r hitchreqs.txt (line 18))
Downloading ipython-4.0.0-py3-none-any.whl (730kB)
100% |████████████████████████████████| 733kB 727kB/s
Collecting ipython-genutils==0.1.0 (from -r hitchreqs.txt (line 19))
Using cached ipython_genutils-0.1.0-py2.py3-none-any.whl
Collecting Jinja2==2.8 (from -r hitchreqs.txt (line 20))
Using cached Jinja2-2.8-py2.py3-none-any.whl
Collecting jupyter-client==4.1.1 (from -r hitchreqs.txt (line 21))
Downloading jupyter_client-4.1.1-py2.py3-none-any.whl (70kB)
100% |████████████████████████████████| 73kB 4.3MB/s
Collecting jupyter-console==4.0.3 (from -r hitchreqs.txt (line 22))
Downloading jupyter_console-4.0.3-py2.py3-none-any.whl
Collecting jupyter-core==4.0.6 (from -r hitchreqs.txt (line 23))
Downloading jupyter_core-4.0.6-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 77kB 4.0MB/s
Collecting MarkupSafe==0.23 (from -r hitchreqs.txt (line 24))
Using cached MarkupSafe-0.23.tar.gz
Collecting path.py==8.1.2 (from -r hitchreqs.txt (line 25))
Using cached path.py-8.1.2-py2.py3-none-any.whl
Collecting patool==1.8 (from -r hitchreqs.txt (line 26))
Collecting pexpect==4.0.1 (from -r hitchreqs.txt (line 27))
Collecting pickleshare==0.5 (from -r hitchreqs.txt (line 28))
Collecting psutil==3.2.2 (from -r hitchreqs.txt (line 29))
Downloading psutil-3.2.2.tar.gz (253kB)
100% |████████████████████████████████| 253kB 1.6MB/s
Collecting ptyprocess==0.5 (from -r hitchreqs.txt (line 30))
Collecting pykwalify==1.5.0 (from -r hitchreqs.txt (line 31))
Collecting python-build==0.2.5 (from -r hitchreqs.txt (line 32))
Downloading python-build-0.2.5.tar.gz (426kB)
100% |████████████████████████████████| 430kB 1.3MB/s
Collecting python-dateutil==2.4.2 (from -r hitchreqs.txt (line 33))
Using cached python_dateutil-2.4.2-py2.py3-none-any.whl
Collecting pyuv==1.2.0 (from -r hitchreqs.txt (line 34))
Using cached pyuv-1.2.0.tar.gz
Collecting PyYAML==3.11 (from -r hitchreqs.txt (line 35))
Using cached PyYAML-3.11.tar.gz
Collecting pyzmq==14.7.0 (from -r hitchreqs.txt (line 36))
Downloading pyzmq-14.7.0-cp35-cp35m-macosx_10_6_intel.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 528kB/s
Collecting requests==2.8.0 (from -r hitchreqs.txt (line 37))
Downloading requests-2.8.0-py2.py3-none-any.whl (476kB)
100% |████████████████████████████████| 479kB 1.1MB/s
Collecting selenium==2.48.0 (from -r hitchreqs.txt (line 38))
Collecting simplegeneric==0.8.1 (from -r hitchreqs.txt (line 39))
Collecting six==1.10.0 (from -r hitchreqs.txt (line 40))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting tblib==1.1.0 (from -r hitchreqs.txt (line 41))
Using cached tblib-1.1.0-py3-none-any.whl
Collecting tornado==4.2.1 (from -r hitchreqs.txt (line 42))
Downloading tornado-4.2.1.tar.gz (434kB)
100% |████████████████████████████████| 438kB 1.4MB/s
Collecting traitlets==4.0.0 (from -r hitchreqs.txt (line 43))
Using cached traitlets-4.0.0-py2.py3-none-any.whl
Collecting unixpackage==0.3.7 (from -r hitchreqs.txt (line 44))
Downloading unixpackage-0.3.7.tar.gz (65kB)
100% |████████████████████████████████| 65kB 3.6MB/s
Collecting appnope (from ipython==4.0.0->-r hitchreqs.txt (line 18))
Using cached appnope-0.1.0-py2.py3-none-any.whl
Collecting gnureadline (from ipython==4.0.0->-r hitchreqs.txt (line 18))
Using cached gnureadline-6.3.3-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Building wheels for collected packages: hitchelasticsearch, hitchpostgres, hitchredis, hitchselenium, hitchserve, hitchtest, MarkupSafe, psutil, python-build, pyuv, PyYAML, tornado, unixpackage
Running setup.py bdist_wheel for hitchelasticsearch
Stored in directory: /Users/kevin/Library/Caches/pip/wheels/34/1a/85/0b0c69576b63c8c7874b537a835e90d3a20f8cef3d14f08e18
Running setup.py bdist_wheel for hitchpostgres
Stored in directory: /Users/kevin/Library/Caches/pip/wheels/3e/18/0b/6b87031049bdfd043cd75fec30df516a41a9b0b74570d637cf
Running setup.py bdist_wheel for hitchredis
Stored in directory: /Users/kevin/Library/Caches/pip/wheels/58/8d/96/97ca438e2c89fe9e90de6ea8e51091e3ed5583cf4f079a5250
Running setup.py bdist_wheel for hitchselenium
Stored in directory: /Users/kevin/Library/Caches/pip/wheels/5a/b8/8f/32baab6f4bad0d167ebe51de83010f075b8cf74d10e23fa4b0
Running setup.py bdist_wheel for hitchserve
Stored in directory: /Users/kevin/Library/Caches/pip/wheels/10/58/e7/86880dbbb5d3553cafbd5612e0b51fceb32017a90b68f00c66
Running setup.py bdist_wheel for hitchtest
Stored in directory: /Users/kevin/Library/Caches/pip/wheels/02/66/2c/beb81413bf9694c6516dfe60a554eededf3f0251b4cf3ced78
Running setup.py bdist_wheel for MarkupSafe
Complete output from command /Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/bin/python3 -c "import setuptools;__file__='/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/MarkupSafe/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/tmp7jsd2s4dpip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.5
creating build/lib.macosx-10.6-intel-3.5/markupsafe
copying markupsafe/__init__.py -> build/lib.macosx-10.6-intel-3.5/markupsafe
copying markupsafe/_compat.py -> build/lib.macosx-10.6-intel-3.5/markupsafe
copying markupsafe/_constants.py -> build/lib.macosx-10.6-intel-3.5/markupsafe
copying markupsafe/_native.py -> build/lib.macosx-10.6-intel-3.5/markupsafe
copying markupsafe/tests.py -> build/lib.macosx-10.6-intel-3.5/markupsafe
running egg_info
writing top-level names to MarkupSafe.egg-info/top_level.txt
writing dependency_links to MarkupSafe.egg-info/dependency_links.txt
writing MarkupSafe.egg-info/PKG-INFO
warning: manifest_maker: standard file '-c' not found
reading manifest file 'MarkupSafe.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'MarkupSafe.egg-info/SOURCES.txt'
copying markupsafe/_speedups.c -> build/lib.macosx-10.6-intel-3.5/markupsafe
running build_ext
building 'markupsafe._speedups' extension
creating build/temp.macosx-10.6-intel-3.5
creating build/temp.macosx-10.6-intel-3.5/markupsafe
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c markupsafe/_speedups.c -o build/temp.macosx-10.6-intel-3.5/markupsafe/_speedups.o
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.5/markupsafe/_speedups.o -o build/lib.macosx-10.6-intel-3.5/markupsafe/_speedups.cpython-35m-darwin.so
installing to build/bdist.macosx-10.6-intel/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-intel
creating build/bdist.macosx-10.6-intel/wheel
creating build/bdist.macosx-10.6-intel/wheel/markupsafe
copying build/lib.macosx-10.6-intel-3.5/markupsafe/__init__.py -> build/bdist.macosx-10.6-intel/wheel/markupsafe
copying build/lib.macosx-10.6-intel-3.5/markupsafe/_compat.py -> build/bdist.macosx-10.6-intel/wheel/markupsafe
copying build/lib.macosx-10.6-intel-3.5/markupsafe/_constants.py -> build/bdist.macosx-10.6-intel/wheel/markupsafe
copying build/lib.macosx-10.6-intel-3.5/markupsafe/_native.py -> build/bdist.macosx-10.6-intel/wheel/markupsafe
copying build/lib.macosx-10.6-intel-3.5/markupsafe/_speedups.c -> build/bdist.macosx-10.6-intel/wheel/markupsafe
copying build/lib.macosx-10.6-intel-3.5/markupsafe/_speedups.cpython-35m-darwin.so -> build/bdist.macosx-10.6-intel/wheel/markupsafe
copying build/lib.macosx-10.6-intel-3.5/markupsafe/tests.py -> build/bdist.macosx-10.6-intel/wheel/markupsafe
running install_egg_info
Copying MarkupSafe.egg-info to build/bdist.macosx-10.6-intel/wheel/MarkupSafe-0.23-py3.5.egg-info
running install_scripts
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/MarkupSafe/setup.py", line 120, in <module>
try_building_extension()
File "/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/MarkupSafe/setup.py", line 99, in try_building_extension
run_setup(True)
File "/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/MarkupSafe/setup.py", line 93, in run_setup
ext_modules=ext_modules,
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 213, in run
archive_basename = self.get_archive_basename()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 161, in get_archive_basename
impl_tag, abi_tag, plat_tag = self.get_tag()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 155, in get_tag
assert tag == supported_tags[0]
AssertionError
----------------------------------------
Failed building wheel for MarkupSafe
Running setup.py bdist_wheel for psutil
Complete output from command /Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/bin/python3 -c "import setuptools;__file__='/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/psutil/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/tmp9t5_wbfzpip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.5
creating build/lib.macosx-10.6-intel-3.5/psutil
copying psutil/__init__.py -> build/lib.macosx-10.6-intel-3.5/psutil
copying psutil/_common.py -> build/lib.macosx-10.6-intel-3.5/psutil
copying psutil/_compat.py -> build/lib.macosx-10.6-intel-3.5/psutil
copying psutil/_psbsd.py -> build/lib.macosx-10.6-intel-3.5/psutil
copying psutil/_pslinux.py -> build/lib.macosx-10.6-intel-3.5/psutil
copying psutil/_psosx.py -> build/lib.macosx-10.6-intel-3.5/psutil
copying psutil/_psposix.py -> build/lib.macosx-10.6-intel-3.5/psutil
copying psutil/_pssunos.py -> build/lib.macosx-10.6-intel-3.5/psutil
copying psutil/_pswindows.py -> build/lib.macosx-10.6-intel-3.5/psutil
running build_ext
building 'psutil._psutil_osx' extension
creating build/temp.macosx-10.6-intel-3.5
creating build/temp.macosx-10.6-intel-3.5/psutil
creating build/temp.macosx-10.6-intel-3.5/psutil/arch
creating build/temp.macosx-10.6-intel-3.5/psutil/arch/osx
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSUTIL_VERSION=322 -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c psutil/_psutil_osx.c -o build/temp.macosx-10.6-intel-3.5/psutil/_psutil_osx.o
psutil/_psutil_osx.c:311:48: warning: format specifies type 'unsigned long' but the argument has type 'vm_address_t' (aka 'unsigned int') [-Wformat]
sprintf(addr_str, "%016lx-%016lx", address, address + size);
~~~~~~ ^~~~~~~
%016x
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
psutil/_psutil_osx.c:311:57: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
sprintf(addr_str, "%016lx-%016lx", address, address + size);
~~~~~~ ^~~~~~~~~~~~~~
%016x
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
psutil/_psutil_osx.c:665:19: warning: comparison of integers of different signs: 'int' and 'natural_t' (aka 'unsigned int') [-Wsign-compare]
for (i = 0; i < cpu_count; i++) {
~ ^ ~~~~~~~~~
psutil/_psutil_osx.c:915:19: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
for (j = 0; j < thread_count; j++) {
~ ^ ~~~~~~~~~~~~
psutil/_psutil_osx.c:1039:20: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (nb < sizeof(vi)) {
~~ ^ ~~~~~~~~~~
psutil/_psutil_osx.c:1161:20: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (nb < sizeof(si)) {
~~ ^ ~~~~~~~~~~
6 warnings generated.
psutil/_psutil_osx.c:665:19: warning: comparison of integers of different signs: 'int' and 'natural_t' (aka 'unsigned int') [-Wsign-compare]
for (i = 0; i < cpu_count; i++) {
~ ^ ~~~~~~~~~
psutil/_psutil_osx.c:915:19: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
for (j = 0; j < thread_count; j++) {
~ ^ ~~~~~~~~~~~~
psutil/_psutil_osx.c:1039:20: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (nb < sizeof(vi)) {
~~ ^ ~~~~~~~~~~
psutil/_psutil_osx.c:1161:20: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (nb < sizeof(si)) {
~~ ^ ~~~~~~~~~~
4 warnings generated.
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSUTIL_VERSION=322 -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c psutil/_psutil_common.c -o build/temp.macosx-10.6-intel-3.5/psutil/_psutil_common.o
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -DPSUTIL_VERSION=322 -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c psutil/arch/osx/process_info.c -o build/temp.macosx-10.6-intel-3.5/psutil/arch/osx/process_info.o
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.5/psutil/_psutil_osx.o build/temp.macosx-10.6-intel-3.5/psutil/_psutil_common.o build/temp.macosx-10.6-intel-3.5/psutil/arch/osx/process_info.o -o build/lib.macosx-10.6-intel-3.5/psutil/_psutil_osx.cpython-35m-darwin.so -framework CoreFoundation -framework IOKit
building 'psutil._psutil_posix' extension
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c psutil/_psutil_posix.c -o build/temp.macosx-10.6-intel-3.5/psutil/_psutil_posix.o
psutil/_psutil_posix.c:141:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (n = 0; n < len; ++n) {
~ ^ ~~~
1 warning generated.
psutil/_psutil_posix.c:141:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (n = 0; n < len; ++n) {
~ ^ ~~~
1 warning generated.
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.5/psutil/_psutil_posix.o -o build/lib.macosx-10.6-intel-3.5/psutil/_psutil_posix.cpython-35m-darwin.so
installing to build/bdist.macosx-10.6-intel/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-intel
creating build/bdist.macosx-10.6-intel/wheel
creating build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/__init__.py -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_common.py -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_compat.py -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_psbsd.py -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_pslinux.py -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_psosx.py -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_psposix.py -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_pssunos.py -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_psutil_osx.cpython-35m-darwin.so -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_psutil_posix.cpython-35m-darwin.so -> build/bdist.macosx-10.6-intel/wheel/psutil
copying build/lib.macosx-10.6-intel-3.5/psutil/_pswindows.py -> build/bdist.macosx-10.6-intel/wheel/psutil
running install_egg_info
running egg_info
writing top-level names to psutil.egg-info/top_level.txt
writing dependency_links to psutil.egg-info/dependency_links.txt
writing psutil.egg-info/PKG-INFO
warning: manifest_maker: standard file '-c' not found
reading manifest file 'psutil.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: manifest_maker: MANIFEST.in, line 18: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
writing manifest file 'psutil.egg-info/SOURCES.txt'
Copying psutil.egg-info to build/bdist.macosx-10.6-intel/wheel/psutil-3.2.2-py3.5.egg-info
running install_scripts
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/psutil/setup.py", line 253, in <module>
main()
File "/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/psutil/setup.py", line 250, in main
setup(**setup_args)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 213, in run
archive_basename = self.get_archive_basename()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 161, in get_archive_basename
impl_tag, abi_tag, plat_tag = self.get_tag()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 155, in get_tag
assert tag == supported_tags[0]
AssertionError
----------------------------------------
Failed building wheel for psutil
Running setup.py bdist_wheel for python-build
Stored in directory: /Users/kevin/Library/Caches/pip/wheels/a7/52/56/a9ab14f7d8db6ddc25e7f976a388ec617b8210bfec5e54505e
Running setup.py bdist_wheel for pyuv
Complete output from command /Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/bin/python3 -c "import setuptools;__file__='/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/pyuv/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/tmppwk2u4m6pip-wheel-:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/pyuv/setup.py", line 1
# coding=utf-8
^
SyntaxError: invalid character in identifier
----------------------------------------
Failed building wheel for pyuv
Running setup.py bdist_wheel for PyYAML
Complete output from command /Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/bin/python3 -c "import setuptools;__file__='/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/PyYAML/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/tmpd_9higarpip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.5
creating build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/__init__.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/composer.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/constructor.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/cyaml.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/dumper.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/emitter.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/error.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/events.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/loader.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/nodes.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/parser.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/reader.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/representer.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/resolver.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/scanner.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/serializer.py -> build/lib.macosx-10.6-intel-3.5/yaml
copying lib3/yaml/tokens.py -> build/lib.macosx-10.6-intel-3.5/yaml
running build_ext
creating build/temp.macosx-10.6-intel-3.5
checking if libyaml is compilable
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c build/temp.macosx-10.6-intel-3.5/check_libyaml.c -o build/temp.macosx-10.6-intel-3.5/check_libyaml.o
build/temp.macosx-10.6-intel-3.5/check_libyaml.c:2:10: fatal error: 'yaml.h' file not found
#include <yaml.h>
^
1 error generated.
libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
specify the option --include-dirs or uncomment and
modify the parameter include_dirs in setup.cfg)
installing to build/bdist.macosx-10.6-intel/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-intel
creating build/bdist.macosx-10.6-intel/wheel
creating build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/__init__.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/composer.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/constructor.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/cyaml.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/dumper.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/emitter.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/error.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/events.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/loader.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/nodes.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/parser.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/reader.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/representer.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/resolver.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/scanner.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/serializer.py -> build/bdist.macosx-10.6-intel/wheel/yaml
copying build/lib.macosx-10.6-intel-3.5/yaml/tokens.py -> build/bdist.macosx-10.6-intel/wheel/yaml
running install_egg_info
running egg_info
creating lib3/PyYAML.egg-info
writing lib3/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib3/PyYAML.egg-info/top_level.txt
writing manifest file 'lib3/PyYAML.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'lib3/PyYAML.egg-info/SOURCES.txt'
writing manifest file 'lib3/PyYAML.egg-info/SOURCES.txt'
Copying lib3/PyYAML.egg-info to build/bdist.macosx-10.6-intel/wheel/PyYAML-3.11-py3.5.egg-info
running install_scripts
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/PyYAML/setup.py", line 342, in <module>
'test': test,
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 213, in run
archive_basename = self.get_archive_basename()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 161, in get_archive_basename
impl_tag, abi_tag, plat_tag = self.get_tag()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 155, in get_tag
assert tag == supported_tags[0]
AssertionError
----------------------------------------
Failed building wheel for PyYAML
Running setup.py bdist_wheel for tornado
Complete output from command /Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/bin/python3 -c "import setuptools;__file__='/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/tornado/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/tmplrtrrg_tpip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.5
creating build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/__init__.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/auth.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/autoreload.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/concurrent.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/curl_httpclient.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/escape.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/gen.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/http1connection.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/httpclient.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/httpserver.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/httputil.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/ioloop.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/iostream.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/locale.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/locks.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/log.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/netutil.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/options.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/process.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/queues.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/simple_httpclient.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/stack_context.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/tcpclient.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/tcpserver.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/template.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/testing.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/util.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/web.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/websocket.py -> build/lib.macosx-10.6-intel-3.5/tornado
copying tornado/wsgi.py -> build/lib.macosx-10.6-intel-3.5/tornado
creating build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/__init__.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/__main__.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/asyncio_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/auth_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/concurrent_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/curl_httpclient_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/escape_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/gen_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/httpclient_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/httpserver_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/httputil_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/import_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/ioloop_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/iostream_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/locale_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/locks_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/log_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/netutil_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/options_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/process_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/queues_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/resolve_test_helper.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/runtests.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/simple_httpclient_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/stack_context_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/tcpclient_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/tcpserver_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/template_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/testing_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/twisted_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/util.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/util_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/web_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/websocket_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/wsgi_test.py -> build/lib.macosx-10.6-intel-3.5/tornado/test
creating build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/__init__.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/asyncio.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/auto.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/caresresolver.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/common.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/epoll.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/interface.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/kqueue.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/posix.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/select.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/twisted.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
copying tornado/platform/windows.py -> build/lib.macosx-10.6-intel-3.5/tornado/platform
creating build/lib.macosx-10.6-intel-3.5/tornado/test/csv_translations
copying tornado/test/csv_translations/fr_FR.csv -> build/lib.macosx-10.6-intel-3.5/tornado/test/csv_translations
creating build/lib.macosx-10.6-intel-3.5/tornado/test/gettext_translations
creating build/lib.macosx-10.6-intel-3.5/tornado/test/gettext_translations/fr_FR
creating build/lib.macosx-10.6-intel-3.5/tornado/test/gettext_translations/fr_FR/LC_MESSAGES
copying tornado/test/gettext_translations/fr_FR/LC_MESSAGES/tornado_test.mo -> build/lib.macosx-10.6-intel-3.5/tornado/test/gettext_translations/fr_FR/LC_MESSAGES
copying tornado/test/gettext_translations/fr_FR/LC_MESSAGES/tornado_test.po -> build/lib.macosx-10.6-intel-3.5/tornado/test/gettext_translations/fr_FR/LC_MESSAGES
copying tornado/test/options_test.cfg -> build/lib.macosx-10.6-intel-3.5/tornado/test
creating build/lib.macosx-10.6-intel-3.5/tornado/test/static
copying tornado/test/static/robots.txt -> build/lib.macosx-10.6-intel-3.5/tornado/test/static
creating build/lib.macosx-10.6-intel-3.5/tornado/test/static/dir
copying tornado/test/static/dir/index.html -> build/lib.macosx-10.6-intel-3.5/tornado/test/static/dir
copying tornado/test/static_foo.txt -> build/lib.macosx-10.6-intel-3.5/tornado/test
creating build/lib.macosx-10.6-intel-3.5/tornado/test/templates
copying tornado/test/templates/utf8.html -> build/lib.macosx-10.6-intel-3.5/tornado/test/templates
copying tornado/test/test.crt -> build/lib.macosx-10.6-intel-3.5/tornado/test
copying tornado/test/test.key -> build/lib.macosx-10.6-intel-3.5/tornado/test
running build_ext
building 'tornado.speedups' extension
creating build/temp.macosx-10.6-intel-3.5
creating build/temp.macosx-10.6-intel-3.5/tornado
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c tornado/speedups.c -o build/temp.macosx-10.6-intel-3.5/tornado/speedups.o
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.5/tornado/speedups.o -o build/lib.macosx-10.6-intel-3.5/tornado/speedups.cpython-35m-darwin.so
installing to build/bdist.macosx-10.6-intel/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-intel
creating build/bdist.macosx-10.6-intel/wheel
creating build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/__init__.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/auth.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/autoreload.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/concurrent.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/curl_httpclient.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/escape.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/gen.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/http1connection.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/httpclient.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/httpserver.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/httputil.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/ioloop.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/iostream.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/locale.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/locks.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/log.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/netutil.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/options.py -> build/bdist.macosx-10.6-intel/wheel/tornado
creating build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/__init__.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/asyncio.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/auto.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/caresresolver.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/common.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/epoll.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/interface.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/kqueue.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/posix.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/select.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/twisted.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/platform/windows.py -> build/bdist.macosx-10.6-intel/wheel/tornado/platform
copying build/lib.macosx-10.6-intel-3.5/tornado/process.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/queues.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/simple_httpclient.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/speedups.cpython-35m-darwin.so -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/stack_context.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/tcpclient.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/tcpserver.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/template.py -> build/bdist.macosx-10.6-intel/wheel/tornado
creating build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/__init__.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/__main__.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/asyncio_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/auth_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/concurrent_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
creating build/bdist.macosx-10.6-intel/wheel/tornado/test/csv_translations
copying build/lib.macosx-10.6-intel-3.5/tornado/test/csv_translations/fr_FR.csv -> build/bdist.macosx-10.6-intel/wheel/tornado/test/csv_translations
copying build/lib.macosx-10.6-intel-3.5/tornado/test/curl_httpclient_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/escape_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/gen_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
creating build/bdist.macosx-10.6-intel/wheel/tornado/test/gettext_translations
creating build/bdist.macosx-10.6-intel/wheel/tornado/test/gettext_translations/fr_FR
creating build/bdist.macosx-10.6-intel/wheel/tornado/test/gettext_translations/fr_FR/LC_MESSAGES
copying build/lib.macosx-10.6-intel-3.5/tornado/test/gettext_translations/fr_FR/LC_MESSAGES/tornado_test.mo -> build/bdist.macosx-10.6-intel/wheel/tornado/test/gettext_translations/fr_FR/LC_MESSAGES
copying build/lib.macosx-10.6-intel-3.5/tornado/test/gettext_translations/fr_FR/LC_MESSAGES/tornado_test.po -> build/bdist.macosx-10.6-intel/wheel/tornado/test/gettext_translations/fr_FR/LC_MESSAGES
copying build/lib.macosx-10.6-intel-3.5/tornado/test/httpclient_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/httpserver_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/httputil_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/import_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/ioloop_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/iostream_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/locale_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/locks_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/log_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/netutil_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/options_test.cfg -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/options_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/process_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/queues_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/resolve_test_helper.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/runtests.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/simple_httpclient_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/stack_context_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
creating build/bdist.macosx-10.6-intel/wheel/tornado/test/static
creating build/bdist.macosx-10.6-intel/wheel/tornado/test/static/dir
copying build/lib.macosx-10.6-intel-3.5/tornado/test/static/dir/index.html -> build/bdist.macosx-10.6-intel/wheel/tornado/test/static/dir
copying build/lib.macosx-10.6-intel-3.5/tornado/test/static/robots.txt -> build/bdist.macosx-10.6-intel/wheel/tornado/test/static
copying build/lib.macosx-10.6-intel-3.5/tornado/test/static_foo.txt -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/tcpclient_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/tcpserver_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/template_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
creating build/bdist.macosx-10.6-intel/wheel/tornado/test/templates
copying build/lib.macosx-10.6-intel-3.5/tornado/test/templates/utf8.html -> build/bdist.macosx-10.6-intel/wheel/tornado/test/templates
copying build/lib.macosx-10.6-intel-3.5/tornado/test/test.crt -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/test.key -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/testing_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/twisted_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/util.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/util_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/web_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/websocket_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/test/wsgi_test.py -> build/bdist.macosx-10.6-intel/wheel/tornado/test
copying build/lib.macosx-10.6-intel-3.5/tornado/testing.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/util.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/web.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/websocket.py -> build/bdist.macosx-10.6-intel/wheel/tornado
copying build/lib.macosx-10.6-intel-3.5/tornado/wsgi.py -> build/bdist.macosx-10.6-intel/wheel/tornado
running install_egg_info
running egg_info
writing top-level names to tornado.egg-info/top_level.txt
writing dependency_links to tornado.egg-info/dependency_links.txt
writing tornado.egg-info/PKG-INFO
warning: manifest_maker: standard file '-c' not found
reading manifest file 'tornado.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/build'
warning: no files found matching 'tornado/test/README'
writing manifest file 'tornado.egg-info/SOURCES.txt'
Copying tornado.egg-info to build/bdist.macosx-10.6-intel/wheel/tornado-4.2.1-py3.5.egg-info
running install_scripts
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/pip-build-z3znr4g4/tornado/setup.py", line 173, in <module>
**kwargs
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 213, in run
archive_basename = self.get_archive_basename()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 161, in get_archive_basename
impl_tag, abi_tag, plat_tag = self.get_tag()
File "/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 155, in get_tag
assert tag == supported_tags[0]
AssertionError
----------------------------------------
Failed building wheel for tornado
Running setup.py bdist_wheel for unixpackage
Stored in directory: /Users/kevin/Library/Caches/pip/wheels/08/b9/1a/3817edf53ed957e61ebd1bb2fb0ae30f24b74032abcae7b66f
Successfully built hitchelasticsearch hitchpostgres hitchredis hitchselenium hitchserve hitchtest python-build unixpackage
Failed to build MarkupSafe psutil pyuv PyYAML tornado
Installing collected packages: click, colorama, decorator, docopt, faketime, humanize, psutil, pyuv, six, tblib, hitchserve, hitchcron, MarkupSafe, Jinja2, PyYAML, simplegeneric, appnope, path.py, pickleshare, gnureadline, ptyprocess, pexpect, ipython-genutils, traitlets, ipython, patool, requests, python-dateutil, pykwalify, unixpackage, hitchtest, hitchelasticsearch, hitchpostgres, python-build, hitchpython, hitchredis, selenium, hitchselenium, hitchsmtp, hitchsystem, pyzmq, jupyter-core, jupyter-client, ipykernel, jupyter-console, tornado
Found existing installation: click 6.2
Uninstalling click-6.2:
Successfully uninstalled click-6.2
Running setup.py install for psutil
Running setup.py install for pyuv
Running setup.py install for MarkupSafe
Running setup.py install for PyYAML
Found existing installation: unixpackage 0.4.0
Uninstalling unixpackage-0.4.0:
Successfully uninstalled unixpackage-0.4.0
Found existing installation: hitchsystem 0.1.2
Uninstalling hitchsystem-0.1.2:
Successfully uninstalled hitchsystem-0.1.2
Running setup.py install for tornado
Successfully installed Jinja2-2.8 MarkupSafe-0.23 PyYAML-3.11 appnope-0.1.0 click-5.1 colorama-0.3.3 decorator-4.0.4 docopt-0.6.2 faketime-0.9.6.3 gnureadline-6.3.3 hitchcron-0.2 hitchelasticsearch-0.2.2 hitchpostgres-0.6.6 hitchpython-0.5.0 hitchredis-0.4.4 hitchselenium-0.4.7 hitchserve-0.4.5 hitchsmtp-0.2.1 hitchsystem-0.1.1 hitchtest-0.9.0 humanize-0.5.1 ipykernel-4.1.0 ipython-4.0.0 ipython-genutils-0.1.0 jupyter-client-4.1.1 jupyter-console-4.0.3 jupyter-core-4.0.6 path.py-8.1.2 patool-1.8 pexpect-4.0.1 pickleshare-0.5 psutil-3.2.2 ptyprocess-0.5 pykwalify-1.5.0 python-build-0.2.5 python-dateutil-2.4.2 pyuv-1.2.0 pyzmq-14.7.0 requests-2.8.0 selenium-2.48.0 simplegeneric-0.8.1 six-1.10.0 tblib-1.1.0 tornado-4.2.1 traitlets-4.0.0 unixpackage-0.3.7
Already installed: zlib1g-dev, libtool, libbz2-dev, libreadline6-dev
Already installed: python-dev, libxml2, xserver-xorg, python3-dev, node-less, cmake, patch, xvfb, sqlite3, firefox
Downloading and caching correct package names for: openjdk-7-jre...
Already installed: libsqlite3-dev, xauth, ca-certificates, automake, libssl-dev, libpq-dev, dbus-x11, libreadline6, openjdk-7-jre, libxml2-dev
RUNNING TEST Sign up, create reminder and wait for email reminder to arrive in python 2.7.10
Downloading Python-2.7.10.tgz...
-> https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
Installing Python-2.7.10...
patching file ./Lib/site.py
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
Please consult to the Wiki page to fix the problem.
https://github.com/yyuu/pyenv/wiki/Common-build-problems
BUILD FAILED (OS X 10.11.2 using python-build 20150519)
Inspect or clean up the working tree at /var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/python-build.20160112085157.5325
Results logged to /var/folders/yg/klpr77m52n30hylvbcrhjb8h0000gn/T/python-build.20160112085157.5325.log
Last 10 log lines:
rm -f /Users/kevin/.hitchpkg/python2.7.10/share/man/man1/python.1
(cd /Users/kevin/.hitchpkg/python2.7.10/share/man/man1; ln -s python2.1 python.1)
if test "xno" != "xno" ; then \
case no in \
upgrade) ensurepip="--upgrade" ;; \
install|*) ensurepip="" ;; \
esac; \
./python.exe -E -m ensurepip \
$ensurepip --root=/ ; \
fi
Exception occurred in "Sign up, create reminder and wait for email reminder to arrive in python 2.7.10" setup
/Users/kevin/dev/prj/hitchtest/django-remindme/django-remindme-tests/simple_reminder.test --tags py2.7.10
hitchpython.python_package.HitchPythonBuildError
Error occurred when trying to build python.
If the cause is not obvious, please raise an issue at https://github.com/hitchtest/hitchpython/issues detailing:
Your OS, OS version and package manager. Please also copy and paste everything above this exception.
FAILED IN 75.6 seconds
Related to #17
PythonPackage should do an environment check and make sure that PIP_REQUIRE_VIRTUALENV is not set to true. Fail with a clear error message if it is.
It would be good to have a tutorial on how to use Hitch with an existing Django project. The current tutorial is fairly confusing for someone trying to use it as part of an existing project that already has tests.
I hope the above is some use. I'm personally stuck and I'm off to try a couple of other test frameworks but I'll check back as lots of things about hitch look promising.
Since end to end tests are usually time consuming, the ability to run the tests concurrently will help shortening each test cycle.
Hi,
I'm trying to get Hitch setup on my machine but it's blowing up just as it's finishing the init.
Given the output I thought it might have something to do with click
versions so I tried downgrading, but stepping down until version 3.3 didn't change anything.
Any suggestions for what to try out? :)
The output given:
$ hitch init
[…]
Collecting ipython-genutils (from traitlets->ipython->hitchtest)
Using cached ipython_genutils-0.1.0-py2.py3-none-any.whl
Collecting path.py (from pickleshare->ipython->hitchtest)
Using cached path.py-7.6-py2.py3-none-any.whl
Installing collected packages: MarkupSafe, jinja2, psutil, pyyaml, colorama, requests, simplegeneric, ipython-genutils, decorator, traitlets, path.py, pickleshare, gnureadline, pexpect, appnope, ipython, patool, click, hitchtest
Successfully installed MarkupSafe-0.23 appnope-0.1.0 click-4.1 colorama-0.3.3 decorator-4.0.2 gnureadline-6.3.3 hitchtest-0.7 ipython-4.0.0 ipython-genutils-0.1.0 jinja2-2.8 path.py-7.6 patool-1.8 pexpect-3.3 pickleshare-0.5 psutil-3.1.1 pyyaml-3.11 requests-2.7.0 simplegeneric-0.8.1 traitlets-4.0.0
Traceback (most recent call last):
File "/Users/ba/.pyenv/versions/3.4.2/bin/hitch", line 9, in <module>
load_entry_point('hitch==0.4.7', 'console_scripts', 'hitch')()
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/hitch/commandline.py", line 198, in run
cli()
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 664, in __call__
return self.main(*args, **kwargs)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 644, in main
rv = self.invoke(ctx)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 464, in invoke
return callback(*args, **kwargs)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/hitch/commandline.py", line 52, in init
hitchreqs_handle.write(pip_freeze)
TypeError: must be str, not bytes
$ hitch
Traceback (most recent call last):
File "/Users/ba/.pyenv/versions/3.4.2/bin/hitch", line 9, in <module>
load_entry_point('hitch==0.4.7', 'console_scripts', 'hitch')()
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/hitch/commandline.py", line 198, in run
cli()
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 664, in __call__
return self.main(*args, **kwargs)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 643, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 560, in make_context
self.parse_args(ctx, args)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 951, in parse_args
echo(ctx.get_help(), color=ctx.color)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 416, in get_help
return self.command.get_help(self)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 772, in get_help
self.format_help(ctx, formatter)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 787, in format_help
self.format_options(ctx, formatter)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 892, in format_options
self.format_commands(ctx, formatter)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/core.py", line 947, in format_commands
formatter.write_dl(rows)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/formatting.py", line 178, in write_dl
widths = measure_table(rows)
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/formatting.py", line 11, in measure_table
widths[idx] = max(widths.get(idx, 0), term_len(col))
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/_compat.py", line 531, in term_len
return len(strip_ansi(x))
File "/Users/ba/.pyenv/versions/3.4.2/lib/python3.4/site-packages/click/_compat.py", line 468, in strip_ansi
return _ansi_re.sub('', value)
TypeError: can't use a string pattern on a bytes-like object
Am trying to get hitch running with the example project and having a few issues:
Had this problem running hitch init in django-reminder example:
Building wheels for collected packages: pyuv
Running setup.py bdist_wheel for pyuv
Complete output from command /home/django/django-remindme/django-remindme-tests/.hitch/virtualenv/bin/python3 -c "import setuptools;__file__='/tmp/pip-build-tn3snbqg/pyuv/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpnfbxm6rcpip-wheel-:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-tn3snbqg/pyuv/setup.py", line 1
# coding=utf-8
^
SyntaxError: invalid character in identifier
----------------------------------------
Failed building wheel for pyuv
Have managed to install it globally with help from SO but hitch is not recognising that.
Dear maintainer,
When browsing to the hitch documentation, ReadTheDocs returns HTTP 404 for https://hitchtest.readthedocs.io/ and all its subsequent URLs. This seriously impacts the usability of the project.
Bests.
I know
I do know that I have access to the django service:
self.services['Django'] = hitchpython.DjangoService(...
I want
I want to use this to define assumptions for my tests instead of using fixtures.
(However I have not tried using fixtures either nor do I now how that would go about)
I envision
I figured the easiest way would be to use my test factories to create the wanted models and update them according to the test assumptions.
next steps
Any suggestions or ideas on how to go about?
personal context
Today.. I will give a talk about ATDD with hitch at the Berlin Django User Group..
So I decided, that I want to know more to help hitch get more users and thus as a bonus improve my test engine of choice. ;)
Your help is appreciated. :D
Similar to #5, easily enough solved by a hitch clean + hitch init, but it gives a confusing error.
Hi!
When running the initial hitch stub test the Python build fails on openSSL. OpenSSL is installed through Homebrew.
The link to the common build problems with pyenv mention that the compiler might need to be told about the openssl package location, but I wouldn't know how to do this in this context.
I have Hitch version 0.5.7 and am running Mac OS 10.11.1
Any help or guiding information would be much appreciated!
Thanks!
RUNNING TEST Stub
Downloading Python-3.4.3.tgz...
-> https://yyuu.github.io/pythons/4281ff86778db65892c05151d5de738d
Installing Python-3.4.3...
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
Please consult to the Wiki page to fix the problem.
https://github.com/yyuu/pyenv/wiki/Common-build-problems
BUILD FAILED (OS X 10.11.1 using python-build 20150519)
Inspect or clean up the working tree at /var/folders/jh/t9h17bh93sl3n9zx4w70ws0w0000gn/T/python-build.20151126183925.81916
Results logged to /var/folders/jh/t9h17bh93sl3n9zx4w70ws0w0000gn/T/python-build.20151126183925.81916.log
Last 10 log lines:
(cd /Users/gerbenneven/.hitchpkg/python3.4.3/share/man/man1; ln -s python3.4.1 python3.1)
if test "xupgrade" != "xno" ; then \
case upgrade in \
upgrade) ensurepip="--upgrade" ;; \
install|*) ensurepip="" ;; \
esac; \
./python.exe -E -m ensurepip \
$ensurepip --root=/ ; \
fi
Ignoring ensurepip failure: pip 6.0.8 requires SSL/TLS
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
Python 3.4.3 (default, Aug 11 2015, 08:57:25)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Exception occurred in "Stub" setup
/Users/gerbenneven/Projects/[projectname]/tests/stub.test --tags feature-name
[0]: function 'set_up' ( self.stacktrace[0].ipython() )
/Users/gerbenneven/Projects/[projectname]/tests/engine.py
20 : python_version=self.settings['python_version']
21 : )
--> 22 : python_package.build()
23 : python_package.verify()
24 :
[1]: function 'build' ( self.stacktrace[1].ipython() )
/Users/gerbenneven/Projects/[projectname]/tests/.hitch/virtualenv/lib/python3.4/site-packages/hitchpython/python_package.py
77 : shutil.rmtree(self.directory)
78 : raise HitchPythonBuildError((
--> 79 : "Error occurred when trying to build python.\n"
80 : "If the cause is not obvious, please raise an issue at "
81 : "https://github.com/hitchtest/hitchpython/issues detailing:\n"
hitchpython.python_package.HitchPythonBuildError
Error occurred when trying to build python.
If the cause is not obvious, please raise an issue at https://github.com/hitchtest/hitchpython/issues detailing:
Your OS, OS version and package manager. Please also copy and paste everything above this exception.
Os: OSX 10.11
Pyenv: pyenv 20150719
Note: For most projects I use virtualenvwrapper.
Running hitch test .
seems to not use any virtualenv!
RUNNING TEST Stub 3.4.1
Downloading Python-3.4.1.tgz...
-> https://yyuu.github.io/pythons/8d007e3ef80b128a292be101201e75dec5480e5632e994771e7c231d17720b66
Installing Python-3.4.1...
Installed Python-3.4.1 to /Users/eraldo/.hitchpkg/python3.4.1
Searching for setuptools
Reading https://pypi.python.org/simple/setuptools/
Best match: setuptools 18.4
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-18.4.zip#md5=38d5cd321ca9de2cdb1dafcac4cb7007
Processing setuptools-18.4.zip
Writing /var/folders/80/ll3j3w29481cttgv3_p2_xy80000gn/T/easy_install-g0jxm6dr/setuptools-18.4/setup.cfg
Running setuptools-18.4/setup.py -q bdist_egg --dist-dir /var/folders/80/ll3j3w29481cttgv3_p2_xy80000gn/T/easy_install-g0jxm6dr/setuptools-18.4/egg-dist-tmp-lja_p9l5
Adding setuptools 18.4 to easy-install.pth file
Installing easy_install script to /Users/eraldo/.hitchpkg/python3.4.1/bin
Installing easy_install-3.4 script to /Users/eraldo/.hitchpkg/python3.4.1/bin
Installed /Users/eraldo/.hitchpkg/python3.4.1/lib/python3.4/site-packages/setuptools-18.4-py3.4.egg
Processing dependencies for setuptools
Finished processing dependencies for setuptools
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 7.1.2
Downloading https://pypi.python.org/packages/source/p/pip/pip-7.1.2.tar.gz#md5=3823d2343d9f3aaab21cf9c917710196
Processing pip-7.1.2.tar.gz
Writing /var/folders/80/ll3j3w29481cttgv3_p2_xy80000gn/T/easy_install-ea1bbi5x/pip-7.1.2/setup.cfg
Running pip-7.1.2/setup.py -q bdist_egg --dist-dir /var/folders/80/ll3j3w29481cttgv3_p2_xy80000gn/T/easy_install-ea1bbi5x/pip-7.1.2/egg-dist-tmp-95ahgm2w
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching 'pip/_vendor/Makefile'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'dev-requirements.txt'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
creating /Users/eraldo/.hitchpkg/python3.4.1/lib/python3.4/site-packages/pip-7.1.2-py3.4.egg
Extracting pip-7.1.2-py3.4.egg to /Users/eraldo/.hitchpkg/python3.4.1/lib/python3.4/site-packages
Adding pip 7.1.2 to easy-install.pth file
Installing pip3 script to /Users/eraldo/.hitchpkg/python3.4.1/bin
Installing pip3.4 script to /Users/eraldo/.hitchpkg/python3.4.1/bin
Installing pip script to /Users/eraldo/.hitchpkg/python3.4.1/bin
Installed /Users/eraldo/.hitchpkg/python3.4.1/lib/python3.4/site-packages/pip-7.1.2-py3.4.egg
Processing dependencies for pip
Finished processing dependencies for pip
Could not find an activated virtualenv (required).
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
Python 3.4.1 (default, Jun 13 2014, 00:03:47)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Exception occurred in Stub 3.4.1 (/Users/eraldo/Documents/CoLegend/colegend_project/tests/stub.test) setup.
[0]: function 'set_up' ( self.stacktrace[0].ipython() )
/Users/eraldo/Documents/CoLegend/colegend_project/tests/engine.py
22 : python_version=self.preconditions['python_version']
23 : )
--> 24 : python_package.build()
25 : python_package.verify()
26 :
[1]: function 'build' ( self.stacktrace[1].ipython() )
/Users/eraldo/Documents/CoLegend/colegend_project/tests/.hitch/virtualenv/lib/python3.4/site-packages/hitchpython/python_package.py
61 : call([path.join(self.base_python_bin_directory, "pip"), "install", "virtualenv", "-U"])
62 : if not path.exists(self.directory):
--> 63 : call([path.join(self.base_python_bin_directory, "virtualenv"), self.directory])
64 : self.bin_directory = path.join(self.directory, "bin")
65 :
[2]: function 'call' ( self.stacktrace[2].ipython() )
/usr/local/opt/pyenv/versions/3.4.1/lib/python3.4/subprocess.py
535 : retcode = call(["ls", "-l"])
536 : """
--> 537 : with Popen(*popenargs, **kwargs) as p:
538 : try:
539 : return p.wait(timeout=timeout)
[3]: function '__init__' ( self.stacktrace[3].ipython() )
/usr/local/opt/pyenv/versions/3.4.1/lib/python3.4/subprocess.py
856 : c2pread, c2pwrite,
857 : errread, errwrite,
--> 858 : restore_signals, start_new_session)
859 : except:
860 : # Cleanup if the child failed starting.
[4]: function '_execute_child' ( self.stacktrace[4].ipython() )
/usr/local/opt/pyenv/versions/3.4.1/lib/python3.4/subprocess.py
1454 : else:
1455 : err_msg += ': ' + repr(orig_executable)
--> 1456 : raise child_exception_type(errno_num, err_msg)
1457 : raise child_exception_type(err_msg)
1458 :
builtins.FileNotFoundError
[Errno 2] No such file or directory: '/Users/eraldo/.hitchpkg/python3.4.1/bin/virtualenv'
In [1]:
I have set my system python to only allow pip install from within a virtualenv.. I guess that is why this line shows up:
"Could not find an activated virtualenv (required)."
I have spent hours trying to find out what to do.. but I am stuck and would love to get some feedback/directions.
I have not given up on the matter yet! :D
Feel free to ask for further context information.
Kind regards,
Eraldo
WARNING: IPython GUI event loop requires ctypes, %gui will not be available
Failed to initialize cpython support: ImportError('/home/user/project/tests.hitch/virtualenv/lib/python3.4/lib-dynload/_ctypes.cpython-34m-x86_64-linux-gnu.so: undefined symbol: _PyTraceback_Add',)Traceback (most recent call last):
File "/home/user/project/tests.hitch/virtualenv/bin/hitchtest", line 11, in <module>
sys.exit(commandline.run())
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchtest/commandline.py", line 108, in run
cli()
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/click/core.py", line 700, in __call__
return self.main(*args, **kwargs)
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/click/core.py", line 680, in main
rv = self.invoke(ctx)
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/click/core.py", line 873, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/click/core.py", line 508, in invoke
return callback(*args, **kwargs)
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchtest/commandline.py", line 80, in cli
test_modules.append(module.Module(filename, settings_dict))
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchtest/module.py", line 70, in __init__
Test(test_yaml, self.settings, self.filename, "{} {}".format(self.title, i))
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchtest/test.py", line 33, in __init__
engine_module = imp.load_source("engine", module_source)
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/imp.py", line 171, in load_source
module = methods.load()
File "<frozen importlib._bootstrap>", line 1220, in load
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1448, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/home/user/project/testsengine.py", line 5, in <module>
import hitchpython
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchpython/__init__.py", line 1, in <module>
from hitchpython.django_service import DjangoService
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchpython/django_service.py", line 1, in <module>
from hitchserve import Service
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchserve/__init__.py", line 2, in <module>
from hitchserve.service_bundle import ServiceBundle
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchserve/service_bundle.py", line 5, in <module>
from hitchserve.test_engine import TestEngine
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchserve/test_engine.py", line 1, in <module>
from hitchserve.service_handle import ServiceHandle
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/hitchserve/service_handle.py", line 2, in <module>
from tblib import pickling_support
File "/home/user/project/tests.hitch/virtualenv/lib/python3.4/site-packages/tblib/__init__.py", line 11, in <module>
raise ImportError("Cannot use tblib. Runtime not supported.")
ImportError: Cannot use tblib. Runtime not supported.
Possible cause:
Version of python3 being upgraded, invalidating the virtualenv hitch tests run in.
Current workaround:
hitch clean
hitch init
I'm getting the following error when trying to run the first test from the docs:-
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
Python 3.5.2 (default, Jun 29 2016, 13:43:58)
Type "copyright", "credits" or "license" for more information.
IPython 4.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Exception occurred in "Stub" setup
<path to>/stub.test --tags feature-name
[0]: function 'set_up' ( self.stacktrace[0].ipython() )
<path to>/engine.py
30 :
31 : postgres_package = hitchpostgres.PostgresPackage(
--> 32 : version=self.settings["postgres_version"],
33 : )
34 : postgres_package.build()
builtins.IndexError
When creating a test like this:
- name : Login test
scenario:
- Load my website
- Fill form:
usernameInput: [email protected]
passwordInput: password
- Click submit
In the function fill_form from engine.py
The id is received as usernameinput instead of usernameInput.
I'm trying to install hitch by following the instructions here:
https://hitchtest.readthedocs.org/en/latest/quickstart/index.html
I've gotten to the point of running the stub test:
$ hitch test stub.test --settings tdd.settings
And it keeps failing with the following error. It seems like it's trying to install/update pip and not finding a file it expects. I followed all the direction on the page prior to this, so I don't know if this is because I should have installed something, or if hitch was supposed to auto-install somethign and didn't. Any help would be appreciated!
RUNNING TEST Stub
Could not open requirements file: [Errno 2] No such file or directory: '/home/vagrant/requirements.txt'
Python 3.4.3+ (default, Oct 14 2015, 16:03:50)
Type "copyright", "credits" or "license" for more information.IPython 4.0.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.Exception occurred in "Stub" setup
/home/vagrant/test/stub.test --tags feature-name[0]: function 'set_up' ( self.stacktrace[0].ipython() )
/home/vagrant/test/engine.py27 : check_call([ 28 : python_package.pip, "install", "-r",
--> 29 : path.join(PROJECT_DIRECTORY, "requirements.txt")
30 : ])
31 :[1]: function 'check_call' ( self.stacktrace[1].ipython() )
/usr/lib/python3.4/subprocess.py559 : if cmd is None: 560 : cmd = popenargs[0]
--> 561 : raise CalledProcessError(retcode, cmd)
562 : return 0
563 :subprocess.CalledProcessError
Command '['/home/vagrant/test/.hitch/py3.4.3/bin/pip', 'install', '-r', '/home/vagrant/requirements.txt']' returned non-zero exit status 1
FAILED IN 56.4 seconds
The comand hitch init
fail on Ubuntu 16.04 when try to install libzmq3.
`The following command must be run to continue. I am attempting to run it now:
sudo apt-get install -y libzmq3
You can also run this command in another window and then hit Ctrl-C to continue.
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete libzmq3
WARNING : Command 'sudo apt-get install -y libzmq3' returned error code
Package installation of libzmq failed. Try again with: 'sudo apt-get install -y libzmq3'
`
$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
I am trying to get an element (button styled link) that is not initially visible because it comes into vision via a javascript animation.
The default engine click method looked like this:
def click(self, on):
"""Click on HTML id."""
self.driver.find_element_by_id(on).click()
Using these test lines:
- Load website
- Click: join-explorer
I get this error:
selenium.common.exceptions.ElementNotVisibleException
I tried to alter the engine method like this:
def click(self, on):
"""Click on HTML id."""
try:
self.driver.find_element_by_id(on).click()
except ElementNotVisibleException:
self.find_element_by_xpath("//a[@id = '{}']".format(on)).click()
Problem 1: I do not know how to import ElementNotVisibleException
since it is part of selenium
not hitchselenium
.
Problem 2: Somehow the try except block is ignored during the test. That is.. even this triggers the error:
def click(self, on):
"""Click on HTML id."""
try:
self.driver.find_element_by_id(on).click()
except: # should not be used
pass
Any ideas on how to approach this?
Greetings from Berlin..
Eraldo
Docker can be used to run the different components that are being tested.
It will help with installation and with running the test suite more consistently.
I want to fully install powerline for a cool terminal, however when I try to install the generic requeriments (https://powerline.readthedocs.io/en/latest/installation.html), I constantly get this message when I try to install pyuv:
$ pip install pyuv
Collecting pyuv
Using cached pyuv-1.3.0.tar.gz
Building wheels for collected packages: pyuv
Running setup.py bdist_wheel for pyuv ... error
Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-build-71gj8p/pyuv/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/tmpsXzzb3pip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.11-x86_64-2.7
creating build/lib.macosx-10.11-x86_64-2.7/pyuv
copying pyuv/init.py -> build/lib.macosx-10.11-x86_64-2.7/pyuv
copying pyuv/_version.py -> build/lib.macosx-10.11-x86_64-2.7/pyuv
running build_ext
libuv needs to be compiled.
Building libuv...
error: Got return value 127 while executing "sh autogen.sh", output was:
stderr:
autogen.sh: line 28: automake: command not found
autogen.sh: line 33: test: : integer expression expected
autogen.sh: line 34: test: : integer expression expected
Failed building wheel for pyuv
Running setup.py clean for pyuv
Failed to build pyuv
Installing collected packages: pyuv
Running setup.py install for pyuv ... error
Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-build-71gj8p/pyuv/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-snLqKy-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.11-x86_64-2.7
creating build/lib.macosx-10.11-x86_64-2.7/pyuv
copying pyuv/init.py -> build/lib.macosx-10.11-x86_64-2.7/pyuv
copying pyuv/_version.py -> build/lib.macosx-10.11-x86_64-2.7/pyuv
running build_ext
libuv needs to be compiled.
Building libuv...
error: Got return value 127 while executing "sh autogen.sh", output was:
stderr:
autogen.sh: line 28: automake: command not found
autogen.sh: line 33: test: : integer expression expected
autogen.sh: line 34: test: : integer expression expected
+ glibtoolize --copy
autogen.sh: line 43: glibtoolize: command not found
stdout:
----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-build-71gj8p/pyuv/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-snLqKy-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-build-71gj8p/pyuv/
I´m really new in programming staff plus im not a english native speaker so If you could help me in anyway, i would be really gratefull.
Having run hitch init as my hitch user I run hitch test simple_reminder.test and get these errors. Not sure if they are related. Same errors occurr for both python 2.7 and 3.
RUNNING TEST Sign up, create reminder and wait for email reminder to arrive in python 2.7.10
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
File "/home/django/django-remindme/pyv2.7.10/bin/pip", line 7, in <module>
from pip import main
File "/home/django/django-remindme/pyv2.7.10/lib/python2.7/site-packages/pip/__init__.py", line 2, in <module>
from __future__ import absolute_import
ImportError: No module named __future__
RUNNING TEST Sign up, create reminder and wait for email reminder to arrive in python 2.7.10
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
File "/home/django/django-remindme/pyv2.7.10/bin/pip", line 7, in <module>
from pip import main
File "/home/django/django-remindme/pyv2.7.10/lib/python2.7/site-packages/pip/__init__.py", line 2, in <module>
from __future__ import absolute_import
ImportError: No module named __future__
and then...
[ Err Firefox] Traceback (most recent call last):
[ Err Firefox] File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
[ Err Firefox] "__main__", mod_spec)
[ Err Firefox] File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
[ Err Firefox] exec(code, run_globals)
[ Err Firefox] File "/home/django/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.4/site-packages/hitchselenium/server.py", line 30, in <module>
[ Err Firefox] run()
[ Err Firefox] File "/home/django/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.4/site-packages/hitchselenium/server.py", line 14, in run
[ Err Firefox] driver = webdriver.Firefox(firefox_profile=Profile())
[ Err Firefox] File "/home/django/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.4/site-packages/selenium/webdriver/firefox/webdriver.py", line 77, in __init__
[ Err Firefox] self.binary, timeout),
[ Err Firefox] File "/home/django/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.4/site-packages/selenium/webdriver/firefox/extension_connection.py", line 49, in __init__
[ Err Firefox] self.binary.launch_browser(self.profile)
[ Err Firefox] File "/home/django/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.4/site-packages/selenium/webdriver/firefox/firefox_binary.py", line 68, in launch_browser
[ Err Firefox] self._wait_until_connectable()
[ Err Firefox] File "/home/django/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.4/site-packages/selenium/webdriver/firefox/firefox_binary.py", line 98, in _wait_until_connectable
[ Err Firefox] raise WebDriverException("The browser appears to have exited "
[ Err Firefox] selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details.
and later:
Exception occurred in Sign up, create reminder and wait for email reminder to arrive in python 3.4.3 (/home/django/django-remindme/django-remindme-tests/simple_reminder.test) setup.
[0]: function 'set_up' ( self.stacktrace[0].ipython() )
/home/django/django-remindme/django-remindme-tests/engine.py
98 : )
99 :
--> 100 : self.services.startup(interactive=False)
101 :
102 : # Configure selenium driver
[1]: function 'startup' ( self.stacktrace[1].ipython() )
/home/django/django-remindme/django-remindme-tests/.hitch/virtualenv/lib/python3.4/site-packages/hitchserve/service_bundle.py
180 : if interactive:
181 : self.start_interactive_mode()
--> 182 : raise what_happened
183 : else:
184 : if interactive:
hitchserve.hitch_exception.ServiceSuddenStopException
Service 'Firefox' stopped suddenly.
In [1]: exit
[ WARNING] Celery stopped prematurely.
[ WARNING] Django stopped prematurely.
[ Hitch] Stopping Postgres
[ WARNING] Cron stopped prematurely.
[ Hitch] Stopping Redis
[ Hitch] Stopping HitchSMTP
[ WARNING] Firefox stopped prematurely.
[ Hitch] Celery Stopped
[ Hitch] Postgres Stopped
[ Hitch] Redis Stopped
[ Hitch] Firefox Stopped
[ Hitch] Django Stopped
[ Hitch] HitchSMTP Stopped
[ Hitch] Cron Stopped
[ Hitch] Shutdown successful in 0.1 seconds
looking for the firefox log, I came across the stdout directory:
drwxrwxr-x 2 hitcher hitcher 4096 Sep 15 09:10 ./
drwxrwxr-x 5 hitcher hitcher 4096 Sep 15 09:10 ../
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 celery_poststart.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 celery_poststart.out
-rw-rw-r-- 1 hitcher hitcher 280 Sep 15 09:10 celery_setup.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 celery_setup.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 cron_poststart.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 cron_poststart.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 cron_setup.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 cron_setup.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 django_poststart.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 django_poststart.out
-rw-rw-r-- 1 hitcher hitcher 280 Sep 15 09:10 django_setup.err
-rw-rw-r-- 1 hitcher hitcher 27 Sep 15 09:10 django_setup.out
-rw-rw-r-- 1 hitcher hitcher 14 Sep 15 09:10 driver.err
-rw-rw-r-- 1 hitcher hitcher 14 Sep 15 09:10 driver.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 firefox_poststart.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 firefox_poststart.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 firefox_setup.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 firefox_setup.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 hitchsmtp_poststart.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 hitchsmtp_poststart.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 hitchsmtp_setup.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 hitchsmtp_setup.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 postgres_poststart.err
-rw-rw-r-- 1 hitcher hitcher 60 Sep 15 09:10 postgres_poststart.out
-rw-rw-r-- 1 hitcher hitcher 194 Sep 15 09:10 postgres_setup.err
-rw-rw-r-- 1 hitcher hitcher 1587 Sep 15 09:10 postgres_setup.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 redis_poststart.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 redis_poststart.out
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 redis_setup.err
-rw-rw-r-- 1 hitcher hitcher 0 Sep 15 09:10 redis_setup.out
checking the contents of these files:
more celery_setup.err
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
more django_setup.err
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
stdlog# more django_setup.out
Checking Django version...
stdlog# more driver.err
stdlog# more postgres_poststart.out
Creating users and databases...
CREATE ROLE
CREATE DATABASE
stdlog#
stdlog# more postgres_setup.err
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Havn't managed to find firefox log, if there is one. A bit of googling suggests maybe an incompatibility between the versions of firefox and selenium? Am happy to keep researching this but reporting it in case there is an easy solution.
Hi Colm, I was trying out hitch following the Quickstart docs but got an error during hitch init
.
I'm on a Mac OS X High Sierra using Python 3.6.5 installed via pyenv, no virtualenv active:
hitch init
errors with pyenv: virtualenv: command not found
pip install virtualenv
hitch init
creates a virtualenv, updates pip
and setuptool
but errors with the following traceback:Traceback (most recent call last):
File "/Users/yeray/temp/.hitch/virtualenv/bin/hitchsystem", line 11, in <module>
sys.exit(commandline.run())
File "/Users/yeray/temp/.hitch/virtualenv/lib/python3.6/site-packages/hitchsystem/commandline.py", line 96, in run
cli()
File "/Users/yeray/temp/.hitch/virtualenv/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Users/yeray/temp/.hitch/virtualenv/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/yeray/temp/.hitch/virtualenv/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/yeray/temp/.hitch/virtualenv/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/yeray/temp/.hitch/virtualenv/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Users/yeray/temp/.hitch/virtualenv/lib/python3.6/site-packages/hitchsystem/commandline.py", line 67, in installpackages
unixpackage.install(_all_required_packages(), polite=True)
File "/Users/yeray/temp/.hitch/virtualenv/lib/python3.6/site-packages/hitchsystem/commandline.py", line 41, in _all_required_packages
_hitchpackage_specified_packages() + \
File "/Users/yeray/temp/.hitch/virtualenv/lib/python3.6/site-packages/hitchsystem/commandline.py", line 17, in _hitchpackage_specified_packages
for name in [dist.key for dist in pip.get_installed_distributions()]:
AttributeError: module 'pip' has no attribute 'get_installed_distributions'
Any pointers?
Lovely docs by the way 👍
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.