jmason86 / MinXSS_Beacon_Decoder

Beacon decoder for the MinXSS CubeSat in space; MinXSS-2 launch on 2018-11-19
http://lasp.colorado.edu/home/minxss
GNU General Public License v3.0
11 stars 6 forks source link

Image file path syntax results in no images displayed in GUI #16

Closed K4KDR closed 7 years ago

K4KDR commented 7 years ago

This has been an issue since day-1 for me but I had been manually editing ui_mainWindow.py as a work-around.

In ui_mainWindow.py, image file paths show with ":/".

Only by changing these paths to start with "./" do I see images in the GUI. Obviously this is a work-around on my part; if there is a more proper fix, information on how to configure my system to not require this manual editing would be appreciated. I am not aware if this issue is specific to my system only, or common for everyone.

Thank you!

GUI with code as delivered:

screenshot from 2017-04-25 22-56-23

GUI with image file paths modified:

screenshot from 2017-04-25 22-59-32

jmason86 commented 7 years ago

Others have the same issue. If you look at the screenshots on twitter, most don't have the icons and images unless they've done the same as you. It even happens to me until I tried your patch. I know what the issue is: need to do pyside-rcc in addition to the pyside-uic that generates the code. I've had this as a task to work out also since day 1. I spent some time on it initially but it didn't work so I've gotta figure out the idiosyncrasies.

I have no idea why pyside-uic generates :/ instead of ./. Seems like a wacky default.

Note to self: at worst I can have another make.sh style file that calls pyside-uic, removes the _rc line of code in the .py, and replaces the :/ with ./ in the .py.

jmason86 commented 7 years ago

Alright.. should be fixed! ce1c731. Let me know if it works. For the record, this was the problem and solution: http://stackoverflow.com/questions/28480902/pyside-rcc-dyld-library-not-loaded/28502438

K4KDR commented 7 years ago

Confirmed good w/ Ubuntu 16.04 - great work! With no file modifications, images appear on Connect Bar and other tabs.

screenshot from 2017-04-26 13-07-45

jmason86 commented 7 years ago

Sweet!! That one was a long time coming. Closing the issue.

jmason86 commented 7 years ago

Did we already send you a MinXSS polo shirt?

K4KDR commented 7 years ago

No, wasn't aware there was any such thing. Very kind of you to ask.

I'm sure that any number of amateurs are anxious to help; of course I'm very happy to have been setup to give you some feedback and am anxious to do anything that I can as the project continues. All these years in I.T. should be good for something!

If I can be so bold as to take your question as an offer, I would be an "XL". :) , and thank you.

======================

On Wed, Apr 26, 2017 at 10:11 PM, James Mason notifications@github.com wrote:

Did we already send you a MinXSS polo shirt?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jmason86/MinXSS_Beacon_Decoder/issues/16#issuecomment-297591822, or mute the thread https://github.com/notifications/unsubscribe-auth/AS9xIOl3G4nERDUkSpYwQRVhetvY3a7Uks5rz_lvgaJpZM4NITuR .

jmason86 commented 7 years ago

For sure. If you email me (james.mason@lasp.colorado.edu) an address, you'll have a shirt arrive in a week or two!