Closed gijzelaerr closed 10 years ago
Original comment thread migrated from bugzilla
When I press the middle button to see a cross-section, I get:
Moreover, if I press the left button, I get:
Tony did an update recently, that must've broken it. Reassigning to him. You can try rolling back to an earlier version with
cd LOFAR/Timba/PyApps cvs up -D "16 Mar" (or maybe 15 Mar)
Hum
I just deleted all python code in PyApps/src and PyApps/src/Plugins, then did a 'cvs up' in PyApps/src. I then loaded a spectrum array, and successfully used the middle mouse button to produce cross sections. Possibly you have a code inconsistency somewhere?
No, Jan's source is completely up-to-date with cvs right now, and it still doesn't work. Are you sure everything's checked in? Tony, try to sync your other packages to see if maybe something else is breaking the plotter.
I cannot reproduce this bug.
1) I logged into lofar9 and ran the browser with my current python code. No problem with left, middle or right mouse buttons when interacting with images. Histogram plot also worked, so there is no problem with version of numarray on lofar9.
2) I deleted my current LOFAR/Timba system and did a complete new 'cvs co' of LOFAR/Timba, followed by a complete system rebuild.
3) I then repeated 1) with same result.
So, Oleg, as the next step I can only suggest a 'virgin' build of Jan's system.
Cheers
Tony
Ah-Ha!
OK -now I see it. It has something to do with visualization of the 'flags' arrays. When I said I couldn't see the bug I was just looking at regular arrays.
Fixed
There is a 'self._plot_type' variable in display_image.py which was not being given a default instantiation, but the system was testing if we had a 'histogram' plot type in order to suppress mouse interaction with the histogram at the moment.
at 2005-03-16 11:38:16 Jan Noordam reported:
Mouse middle button does not work any more