ham-radio-software / D-Rats

D-Rats program for D-Star Ham Radios
https://iz2lxi.jimdofree.com/
Other
41 stars 12 forks source link

Info popup error on Windows MobaXTerm #278

Closed maurizioandreotti closed 8 months ago

maurizioandreotti commented 8 months ago

On D-Rats under mobaxterm , opening the info I get error of missing image of the d.-rats logo:

Traceback (most recent call last):

  File "/drives/c/Users/mauri/AppData/Roaming/MobaXterm/home/d-rats-git/d_rats/mainwindow.py", line 258, in _activate_about
    logo = GdkPixbuf.Pixbuf.new_from_file_at_size("images/d-rats2.png", 64, 64)

gi.repository.GLib.GError: g-file-error-quark: Failed to open file 'images/d-rats2.png': No such file or directory (4)
wb8tyw commented 8 months ago

Not specifically a MobaXterm issue. The about dialog is using a relative path to the current working directory.

It shows up on MobaXterm because the current working directory is not the d-rats checkout, which is similar to the issue that on MobaXterm the git version detection is also failing.

This issue should also show up for pip installed release python eggs that have the about dialog on any platform.