EasyABC
EasyABC copied to clipboard
Default ghostscript path in Linux (OpenSuSE Leap 15.5, Python 3.10)
Following @markblinkhorn 's fix for fluidsynth and the closure of #79 here is a fix to correct gs_path after a cold restart.
elif wx.Platform == '__WXGTK__':
try:
gs_path = subprocess.check_output(["which", "gs"])
# settings['gs_path'] = unicode(gs_path[0:-1])
settings['gs_path'] = gs_path[0:-1].decode()
Settings dialogue window. I also confirm that @mmehl 's changes to migrate rcsizer to wx.GridBagSizer here work for me: https://github.com/jwdj/EasyABC/issues/78#issuecomment-1866130190
I applied the changes from scratch to easy_abc.py in the snapshot of 1.3.8.7_on 230812 240312.
Attached is my easy_abc.py after these two changes, all commented #DR1 and #DR2 easy_abc.py.txt