[chirp_devel] New developer - some obstacles

Bernhard Hailer
Sun Dec 22 19:06:29 PST 2019


Hello Chirp team,

I'm playing with the Chirp code for the Yaesu VX- 8 driver for about two 
weeks now, and I think I have fixes for issues #1615 (NFM not working),  
#129 and #1735 (incorrect initializations causing frequency offsets). 
Using "python chirpw", these fixes appear to work.

However, I can't get past two items before I commit my first patches.

1) I'm not able to run tox. The output on freshly downloaded from 
repository Chirp code is:

    F:\Programming\CHiRP\chirp.hg\chirp>tox
    GLOB sdist-make: F:\Programming\CHiRP\chirp.hg\setup.py
    unit inst-nodeps:
    F:\Programming\CHiRP\chirp.hg\.tox\.tmp\package\1\UNKNOWN-0.0.0.zip
    ERROR: invocation failed (exit code 1), logfile:
    F:\Programming\CHiRP\chirp.hg\.tox\unit\log\unit-7.log
    ================================== log start
    ==================================
    DEPRECATION: Python 2.7 will reach the end of its life on January
    1st, 2020. Please upgrade your Python as Python 2.7 won't be
    maintained after that date. A future version of pip will drop
    support for Python 2.7. More details about Python 2 support in pip,
    can be found at
    https://pip.pypa.io/en/latest/development/release-process/#python-2-support
    Processing
    f:\programming\chirp\chirp.hg\.tox\.tmp\package\1\unknown-0.0.0.zip
         ERROR: Command errored out with exit status 1:
          command:
    'F:\Programming\CHiRP\chirp.hg\.tox\unit\Scripts\python.EXE' -c
    'import sys, setuptools, tokenize; sys.argv[0] =
    '"'"'c:\\users\\dl4mhk\\appdata\\local\\temp\\pip-req-build-6t1qd5\\setup.py'"'"';
    __file__='"'"'c:\\users\\dl4mhk\\appdata\\local\\temp\\pip-req-build-6t1qd5\\setup.py'"'"';f=getattr(tokenize,
    '"'"'open'"'"',
    open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
    '"'"'\n'"'"');f.close();exec(compile(code, __file__,
    '"'"'exec'"'"'))' egg_info --egg-base
    'c:\users\dl4mhk\appdata\local\temp\pip-req-build-6t1qd5\pip-egg-info'
              cwd: c:\users\dl4mhk\appdata\local\temp\pip-req-build-6t1qd5\
         Complete output (5 lines):
         Traceback (most recent call last):
           File "<string>", line 1, in <module>
           File
    "c:\users\dl4mhk\appdata\local\temp\pip-req-build-6t1qd5\setup.py",
    line 5, in <module>
             from chirp import CHIRP_VERSION
         ImportError: No module named chirp
         ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py
    egg_info Check the logs for full command output.

    =================================== log end
    ===================================
    driver inst-nodeps:
    F:\Programming\CHiRP\chirp.hg\.tox\.tmp\package\1\UNKNOWN-0.0.0.zip
    ERROR: invocation failed (exit code 1), logfile:
    F:\Programming\CHiRP\chirp.hg\.tox\driver\log\driver-7.log
    ================================== log start
    ==================================
    DEPRECATION: Python 2.7 will reach the end of its life on January
    1st, 2020. Please upgrade your Python as Python 2.7 won't be
    maintained after that date. A future version of pip will drop
    support for Python 2.7. More details about Python 2 support in pip,
    can be found at
    https://pip.pypa.io/en/latest/development/release-process/#python-2-support
    Processing
    f:\programming\chirp\chirp.hg\.tox\.tmp\package\1\unknown-0.0.0.zip
         ERROR: Command errored out with exit status 1:
          command:
    'F:\Programming\CHiRP\chirp.hg\.tox\driver\Scripts\python.EXE' -c
    'import sys, setuptools, tokenize; sys.argv[0] =
    '"'"'c:\\users\\dl4mhk\\appdata\\local\\temp\\pip-req-build-ddeyne\\setup.py'"'"';
    __file__='"'"'c:\\users\\dl4mhk\\appdata\\local\\temp\\pip-req-build-ddeyne\\setup.py'"'"';f=getattr(tokenize,
    '"'"'open'"'"',
    open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
    '"'"'\n'"'"');f.close();exec(compile(code, __file__,
    '"'"'exec'"'"'))' egg_info --egg-base
    'c:\users\dl4mhk\appdata\local\temp\pip-req-build-ddeyne\pip-egg-info'
              cwd: c:\users\dl4mhk\appdata\local\temp\pip-req-build-ddeyne\
         Complete output (5 lines):
         Traceback (most recent call last):
           File "<string>", line 1, in <module>
           File
    "c:\users\dl4mhk\appdata\local\temp\pip-req-build-ddeyne\setup.py",
    line 5, in <module>
             from chirp import CHIRP_VERSION
         ImportError: No module named chirp
         ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py
    egg_info Check the logs for full command output.

    =================================== log end
    ===================================
    style inst-nodeps:
    F:\Programming\CHiRP\chirp.hg\.tox\.tmp\package\1\UNKNOWN-0.0.0.zip
    ERROR: invocation failed (exit code 1), logfile:
    F:\Programming\CHiRP\chirp.hg\.tox\style\log\style-7.log
    ================================== log start
    ==================================
    DEPRECATION: Python 2.7 will reach the end of its life on January
    1st, 2020. Please upgrade your Python as Python 2.7 won't be
    maintained after that date. A future version of pip will drop
    support for Python 2.7. More details about Python 2 support in pip,
    can be found at
    https://pip.pypa.io/en/latest/development/release-process/#python-2-support
    Processing
    f:\programming\chirp\chirp.hg\.tox\.tmp\package\1\unknown-0.0.0.zip
         ERROR: Command errored out with exit status 1:
          command:
    'F:\Programming\CHiRP\chirp.hg\.tox\style\Scripts\python.EXE' -c
    'import sys, setuptools, tokenize; sys.argv[0] =
    '"'"'c:\\users\\dl4mhk\\appdata\\local\\temp\\pip-req-build-rk6uht\\setup.py'"'"';
    __file__='"'"'c:\\users\\dl4mhk\\appdata\\local\\temp\\pip-req-build-rk6uht\\setup.py'"'"';f=getattr(tokenize,
    '"'"'open'"'"',
    open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
    '"'"'\n'"'"');f.close();exec(compile(code, __file__,
    '"'"'exec'"'"'))' egg_info --egg-base
    'c:\users\dl4mhk\appdata\local\temp\pip-req-build-rk6uht\pip-egg-info'
              cwd: c:\users\dl4mhk\appdata\local\temp\pip-req-build-rk6uht\
         Complete output (5 lines):
         Traceback (most recent call last):
           File "<string>", line 1, in <module>
           File
    "c:\users\dl4mhk\appdata\local\temp\pip-req-build-rk6uht\setup.py",
    line 5, in <module>
             from chirp import CHIRP_VERSION
         ImportError: No module named chirp
         ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py
    egg_info Check the logs for full command output.

    =================================== log end
    ===================================
    ___________________________________ summary
    ___________________________________
    ERROR:   unit: InvocationError for command
    'F:\Programming\CHiRP\chirp.hg\.tox\unit\Scripts\python.EXE' -m pip
    install --no-deps -U '.tox\.tmp\package\1\UNKNOWN-0.0.0.zip' (exited
    with code 1)
    ERROR:   driver: InvocationError for command
    'F:\Programming\CHiRP\chirp.hg\.tox\driver\Scripts\python.EXE' -m
    pip install --no-deps -U '.tox\.tmp\package\1\UNKNOWN-0.0.0.zip'
    (exited with code 1)
    ERROR:   style: InvocationError for command
    'F:\Programming\CHiRP\chirp.hg\.tox\style\Scripts\python.EXE' -m pip
    install --no-deps -U '.tox\.tmp\package\1\UNKNOWN-0.0.0.zip' (exited
    with code 1)

No module named chirp? What did I miss to do?

2) When trying to create a Windows executable using "run 
./build/make_Win32_build.sh", it fails: this script is not present.


Running Python 2.7.17 on Windows 10.


Any input would be appreciated!

73,
Bernhard AE6YN


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20191222/8f6911e2/attachment-0001.html 


More information about the chirp_devel mailing list