Closed pllim closed 8 years ago
Does the banner otherwise show up ok?
Yes.
I traced this to a line in ImageView.zoom_fit()
:
wwidth, wheight = self.get_window_size()
where wwidth
and wheight
are both zeroes, which resulted in scalefactor
, scale_x
, and scale_y
all being zeroes. For the record, width
and height
are both 1075.
All I did was starting Ginga with the banner, nothing else.
Also self.t_['scale_min']
is 1e-5.
With the latest dev version, the error is gone, but the banner is shown at a scale of 1/1075.00x
by default, which effectively shows a blank screen on the main image display (although you can still see smaller versions of it under Info
and Thumbs
.
The banner seems to be showing up ok (at correct scale) in the latest versions of ginga. Is this still an issue, @pllim ?
Not an issue anymore. I fixed it in #244. Thanks for checking!
In
~/.ginga/general.cfg
:Here is the error log: