<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 -&gt; Open Recent). But I’ve run into a problem when I ask to open a file (File -&gt; Open…) An error message shows up in my console indicating</div><div class=""><blockquote type="cite" class=""><div class="">&nbsp; File "/Users/declan/chirp/chirp/wxui/main.py", line 814, in _menu_open</div><div class="">&nbsp; &nbsp; 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&nbsp;</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="">&nbsp; &nbsp; </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="">&nbsp;807 </span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">&nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;808&nbsp;</span><span style="font-variant-ligatures: no-common-ligatures" class=""> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(</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="">&nbsp;809 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; </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="">&nbsp;810 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;811 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;812&nbsp;</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="">&nbsp;813 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;814 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; </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="">&nbsp;815&nbsp;</span><span style="font-variant-ligatures: no-common-ligatures" class=""> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;816&nbsp;</span><span style="font-variant-ligatures: no-common-ligatures" class=""> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;817&nbsp;</span><span style="font-variant-ligatures: no-common-ligatures" class=""> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;818 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </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="">&nbsp;819 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </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="">&nbsp;820 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;821 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;822 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;823 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;824 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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="">&nbsp;825 </span><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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 &nbsp;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>