[chirp_devel] py3 File Open problem

Martin Cooper
Wed Dec 14 16:05:45 PST 2022


FYI, I'm using Python 3.7.0 on MacOS 10.13.6 and not running into any
issues running chirpwx.py from the command line.

Martin.
KD6YAM

On Wed, Dec 14, 2022 at 3:56 PM Dan Smith via chirp_devel <
chirp_devel at intrepid.danplanet.com> wrote:

> > PosixPath comes from pathlib:
> >
> >>>>> import pathlib
> >>>>> pathlib.PosixPath
> >> <class 'pathlib.PosixPath'>
> >
> > But I don't think you should be seeing it in this section of code,
> unless there's some confusion between chirp's platform module and the
> python one. Not sure how or why you're seeing that though.
>
> Gah, sorry, I forgot @vishwin introduced Path to our platform module here:
>
> https://github.com/kk7ds/chirp/pull/196
>
> I'll need to go dig into that to see if we should be doing something else.
> Perhaps you're on an older python and importlib_resources behaves
> differently than my native one in python 3.10. So yeah, let me know which
> macos you're on and where you got python (and which version) so I can try
> to narrow it down.
>
> PosixPath can be str()'d to get just a path string, so perhaps that's all
> we need to do there.
>
> --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/20221214/a48936b4/attachment-0001.html 


More information about the chirp_devel mailing list