Re: New Big Re: Fwd: [find_orb] Fwd: Update observatory list

Bill Gray Jul 11, 2018

Hi all,

OK, think I've got things sorted out.

The bug Jost mentioned affects both the 32 and 64-bit version.
It could clobber the first object loaded, either giving it a garbage
name or doing nothing or causing it to be missing. I only saw the
issue when running in Wine on the 64-bit flavor, but that's because
it was an uninitialized variable problem; it could have arisen at
any time on any platform (I test Find_Orb on Linux/Wine, Win8, and
recently Win10.)

So I fixed that. I also found a problem with clipboard handling.
(Dunno if everyone is aware of this, but you can right-click on the
orbital elements or the observation info and put those data into the
clipboard. You can also right-click in either of those and tell Find_Orb
to get observations from the clipboard, and compute elements from them.
And you can put ephemerides into the clipboard.)

All of these various clipboard functions could, under the right
conditions, fail. Somewhat embarrassingly, I'd made very similar
bug fixes in a different program about a year ago; I mostly just had
to cut and paste my own work. On the bright side, because I've made
the fixes before, I do know they work nicely.

And finally, after a lot of research on how the 'file open/save'
dialog is used in Windows software, I _think_ I've fixed the file
opening problem. The API documentation has some confusing (to me) bits
to it. But I made some small revisions to the code and it does seem
to work now, again on all platforms and for 32-bit and 64-bit versions.

As before, the current versions are posted at

https://www.projectpluto.com/devel/find_o32.zip
https://www.projectpluto.com/devel/find_o64.zip

Anyone see bugs now? (If I don't hear of anything serious, and do
hear some reports of success, I'll move this from 'devel' and update
the Find_Orb page to announce the new version.)

Thanks! -- Bill

On 2018-07-09 10:55, Jost Jahn Yahoo@... [find_orb] wrote:
> Hi,
>
> the 32-bit version has a new bug.
>
> If you have only 1 object in the file, the object is not listed in the object list (list is empty), so that changes in data needs a re-opening by file-selection.
>
> Jost
>
> On 08.07.2018 21:55, Bill Gray pluto@... [find_orb] wrote:
>>
>>
>> Hi Steve, all,
>>
>> I'd like to blame Win10 for this. And I _can_ blame it for a number
>> of things not related to Find_Orb. But Find_Orb really ought to work on
>> any flavor of Windows from Win95 on, regardless of updates.
>>
>> I've been unable to replicate the error. I decided it was about
>> time for me to post an update to include new observatory codes and
>> information, the ability to read the new ADES format, and a few
>> bug fixes that (I'm reasonably sure) are not related to this particular
>> problem. You can download the results at
>>
>> https://www.projectpluto.com/devel/find_o32.zip
>> https://www.projectpluto.com/devel/find_o64.zip
>>
>
>
> ------------------------------------
> Posted by: Jost Jahn <yahoo@...>
> ------------------------------------
>
>
> ------------------------------------
>
> Yahoo Groups Links
>
>
>