[chirp_devel] CHIRP build, TOX tests on Mac

Nicolas Pike
Fri Feb 16 15:44:20 PST 2018


Hi,

I installed the standard CHIRP daily build which works fine.

I have now installed Mercurial. The CHIRP repo, pip modules for TOX,  lxml
and serial
resolved various errors, and python path issues.

python chirp-0.3.0dev.py works

When I try and run the box test I get the results below. it seems no CHIRP
modules are found and /UNKNOWN-0.0.0.zip can't be right...

also

nicolass-Mac-mini:tests nicolas$ python run_tests.py

Traceback (most recent call last):

  File "run_tests.py", line 27, in <module>

    from serial import Serial

ImportError: cannot import name Serial

What part of the setup have I missed?

Any suggestions?

Thanks Nicolas

nicolass-Mac-mini:chirp.hg nicolas$ tox -e driver -- -d Icom_IC-2820H

*GLOB sdist-make: /Users/nicolas/Documents/FT70CHIRP/chirp.hg/setup.py*

*driver inst-nodeps:
/Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/dist/UNKNOWN-0.0.0.zip*

ERROR: invocation failed (exit code 1), logfile:
/Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/driver/log/driver-7.log

ERROR: actionid: driver

msg: installpkg

cmdargs:
['/Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/driver/bin/pip',
'install', '-U', '--no-deps',
'/Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/dist/UNKNOWN-0.0.0.zip']


Processing ./.tox/dist/UNKNOWN-0.0.0.zip

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File
"/private/var/folders/yf/rh0gfjk57pzfvdls7z6nwnmr0000gn/T/pip-Ld1kvY-build/setup.py",
line 5, in <module>

        from chirp import CHIRP_VERSION

    ImportError: No module named chirp



    ----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in
/private/var/folders/yf/rh0gfjk57pzfvdls7z6nwnmr0000gn/T/pip-Ld1kvY-build/


*driver installed:
future==0.16.0,iso8601==0.1.12,libxml2-python==2.9.7,lxml==4.1.1,mercurial==4.5,pluggy==0.6.0,py==1.5.2,pycairo==1.15.3,PyYAML==3.12,serial==0.0.38,six==1.11.0,tox==2.9.1,virtualenv==15.1.0*

___________________________________ summary
____________________________________

ERROR:   driver: InvocationError:
/Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/driver/bin/pip install -U
--no-deps
/Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/dist/UNKNOWN-0.0.0.zip
(see
/Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/driver/log/driver-7.log)

nicolass-Mac-mini:chirp.hg nicolas$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20180216/de0c1265/attachment-0001.html 


More information about the chirp_devel mailing list