hyperspyUI
hyperspyUI copied to clipboard
Some gui windows are empty
Probably related to #76, on Mac some features that (I suspect) open GUIs show a tiny empty window:

An example of a dialog that does this is the "set signal range" option on a model. Terminal only reports the following, but does do so reliably.
QPixmap::scaled: Pixmap is a null pixmap
Can you give an example of an action that opens such a window? :)
Definitely set_signal_range when right clicking on a model in the data view window. Trying to find others.
I think those are supposed to be traitsui windows from hyperspy. The UI tries to capture them and make them child windows. Which version of traitsui do you have?
'5.0.0'
I've just upgraded to 5.1.0 as well as upgrading a few other bits and bobs. Will test again.
hyperspyui is not recognising my repository develop install of hyperspy:
pkg_resources.DistributionNotFound: The 'hyperspy>=1.1.1' distribution was not found and is required by hyperspyUI
Any thoughts on a solution?
No change upon update of packages.
The repository install thing might be because of versioning. I'm not sure what the version string of the develop install is, but it fails to compare successfully as 1.1.1 or greater.
Does the same happen if you execute the following in the console:
m = ui.get_selected_model()
m.set_signal_range()
Sorry, I'll try to get back to this later - for now I'm too busy with the thesis.
Sure, just keep reporting anything you see as well. I have a decent chance of getting my hands on a mac for testing. Are you using system python, a conda install, or something else?
I’m using conda-develop path-to-repo at the moment, which links the repository but doesn’t install dependencies (I only realised the latter when trying to use it on my friends computer on Monday). I think it’s essentially equivalent of conda install for these purposes.
Very happily closing this :)
Did you figure out what was wrong?
Ehm, my bad. I thought this was the other issue that you fixed overnight. I'm afraid this one still stands.