[chirp_devel] python2/3 MemoryMap?

Dan Clemmensen
Sun Feb 17 20:16:26 PST 2019


I got ttat error, but the fix was  trivial and my test does not use that
module.

On Sun, Feb 17, 2019 at 4:06 PM Dan Smith via chirp_devel <
chirp_devel at intrepid.danplanet.com> wrote:

> > now I'm confused (my usual state...) I am in fact running the identical
> driver on both branches and it is running as part of chirpw and chirpc. I
> fixed the syntax errors in run_tests on the py3 branch and stripped almost
> all drivers out of the drivers directory.
>
> Yeah, something must be confused. There shouldn't be syntax errors in
> run_tests.py on the py3 branch:
>
> > $ hg id
> > 3f7c8255f0d1 (py3) tip
> > $ python3 -c 'from tests import run_tests' >/dev/null
> > $ hg checkout default
> > 92 files updated, 0 files merged, 10 files removed, 0 files unresolved
> > $ python3 -c 'from tests import run_tests' >/dev/null
> > Traceback (most recent call last):
> >   File "<string>", line 1, in <module>
> >   File "/danplanet/users/dan/dev/py3chirp/tests/__init__.py", line 8, in
> <module>
> >     from chirp import directory
> >   File "/danplanet/users/dan/dev/py3chirp/chirp/directory.py", line 21,
> in <module>
> >     from chirp.drivers import icf, rfinder
> >   File "/danplanet/users/dan/dev/py3chirp/chirp/drivers/icf.py", line 112
> >     except errors.InvalidDataError, e:
> >                                   ^
> > SyntaxError: invalid syntax
>
> --Dan
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20190217/2df20042/attachment-0001.html 


More information about the chirp_devel mailing list