Hi,

I noticed this afternoon using WSJT on my Mac that when I updated the
CALL3.TXT file from the MMMonVHF site, the lockup breaks and in the console
I also start getting the "Error when searching CALL3.TXT, or no such file
present" issue. Older versions of the same file in the SVN works without
problems.

I traced this down to some invalid utf-8 values in the updated CALL3.TXT
file.

To fix this, I just changed the file open statement as follows:

From:
  f=open(appdir+'/CALL3.TXT','r')

To:
    f=open(appdir+'/CALL3.TXT','r',encoding='utf-8', errors='ignore')

And then the lookups work fine.

Keith
ZS6TW
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to