[chirp_devel] py3 File Open problem

Dan Smith
Wed Dec 14 16:06:25 PST 2022


> [boucha at esqueleto chirp (py3 u=)]$ ./chirpwx.py
> Gtk-Message: 16:55:54.177: Failed to load module "xapp-gtk3-module"
> Traceback (most recent call last):
>   File "/home/boucha/repos/chirp/chirp/wxui/main.py", line 812, in _menu_open
>     with wx.FileDialog(self, _('Open a file'),
> TypeError: FileDialog(): argument 3 has unexpected type 'PosixPath'

Yep, turned out to be broken for all the systems that use UnixPlatform. This should fix it:

https://github.com/kk7ds/chirp/pull/251

If you guys can test that real quick that'd be great, else I'll just put it in.

Good catch, I hadn't seen this because I have an existing config and only fresh users would hit it. Thanks!

--Dan


More information about the chirp_devel mailing list