<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I finally (FINALLY) figured out what my problem was with py3 on macintosh MacOSX. I must have XQuartz running (an X windows application.) Whew!<div class=""><br class=""></div><div class="">It looks as if the Yaesu FT2D is at least partially working with GUI (I know it works with the CLI options.) Thanks. I’ll be trying it out RSN.</div><div class=""><br class=""></div><div class="">I can use the menus to get to recent files (File -> Open Recent). But I’ve run into a problem when I ask to open a file (File -> Open…) An error message shows up in my console indicating</div><div class=""><blockquote type="cite" class=""><div class=""> File "/Users/declan/chirp/chirp/wxui/main.py", line 814, in _menu_open</div><div class=""> with wx.FileDialog(self, _('Open a file'),</div><div class="">TypeError: FileDialog(): argument 3 has unexpected type ‘PosixPath’</div></blockquote>and no dialog box ensues.</div><div class=""><br class=""></div><div class="">The code in question is </div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class="">806 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class="">def</span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class=""><b class="">_menu_open</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">(self, event):</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(251, 30, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 807 </span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> formats = [_(</span><span style="font-variant-ligatures: no-common-ligatures" class="">'Chirp Image Files'</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">) + </span><span style="font-variant-ligatures: no-common-ligatures" class="">' (*.img)|*.img'</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 808 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> _(</span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">'All Files'</span><span style="font-variant-ligatures: no-common-ligatures" class="">) + </span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">' (*.*)|*.*'</span><span style="font-variant-ligatures: no-common-ligatures" class="">]</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 809 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class="">for</span><span style="font-variant-ligatures: no-common-ligatures" class=""> name, pattern, readonly </span><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class="">in</span><span style="font-variant-ligatures: no-common-ligatures" class=""> directory.AUX_FORMATS:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 810 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> formats.insert(</span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">1</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">'%s %s (%s)|%s'</span><span style="font-variant-ligatures: no-common-ligatures" class=""> % (</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 811 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> name, _(</span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">'Files'</span><span style="font-variant-ligatures: no-common-ligatures" class="">), pattern, pattern))</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(235, 239, 24);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 812 </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 813 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> wildcard = </span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">'|'</span><span style="font-variant-ligatures: no-common-ligatures" class="">.join(formats)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 814 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class="">with</span><span style="font-variant-ligatures: no-common-ligatures" class=""> wx.FileDialog(self, _(</span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">'Open a file'</span><span style="font-variant-ligatures: no-common-ligatures" class="">),</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 815 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> chirp_platform.get_platform().get_last_dir(),</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 816 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> wildcard=wildcard,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 817 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> style=wx.FD_OPEN | wx.FD_FILE_MUST_EXIST) </span><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class="">as</span><span style="font-variant-ligatures: no-common-ligatures" class=""> fd:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 818 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class="">if</span><span style="font-variant-ligatures: no-common-ligatures" class=""> fd.ShowModal() == wx.ID_CANCEL:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 819 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class="">return</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 820 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> filename = fd.GetPath()</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 821 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> d = fd.GetDirectory()</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 822 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> chirp_platform.get_platform().set_last_dir(d)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 823 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> CONF.set(</span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">'last_dir'</span><span style="font-variant-ligatures: no-common-ligatures" class="">, d, </span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">'state'</span><span style="font-variant-ligatures: no-common-ligatures" class="">)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 824 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> config._CONFIG.save()</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ebef18" class=""> 825 </span><span style="font-variant-ligatures: no-common-ligatures" class=""> self.open_file(</span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class=""><b class="">str</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">(filename))</span></div></blockquote></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">I’ve no clue where or how “PosixPath” shows up in here, so I’m supposing there’s something wrong with Python or chirp that I’ve caused to get things running. Has anybody any ideas to fix the File Open dialog on MacOS, please?</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><br class=""></div></body></html>