[APBeta] Script errors-Skymap Pro
Paul Rodman
paul at ilanga.com
Thu Jul 9 11:06:25 PDT 2009
On Jul 8, 2009, at 4:15 PM, David Crum wrote:
> Paul, I have sent it along with an email to you.
There turned out to be various problems with both the script and the
application. The observations are being added by the script, but not
associated sessions, so the observations are not visible in the
Observation window. This can be resolved by going to the Observation
preferences and using the button to rebuild the sessions. This problem
has been fixed in the script (uploaded).
Another problem is with displaying the correct numbers in the Obs
column. This is a bug in the app. You can get around this by going to
the Observation preferences and using the button to rebuild the Cross-
indices. This has been fixed for 2.0b46.
There's another problem that hasn't been addressed (yet), and that's
what happens if you run the script on the same import file? Currently
you'll get duplicate observations being imported. What I should do is
change the script to see if an observation already exists, and ignore
it where necessary (i.e. don't add a duplicate). This is tricky, based
on your sample import file. However, I suppose I should add it to the
script as a fail-safe.
My suggestion to you is to wait for 2.0b46 before running the script.
However, your database is probably already riddled with duplicate
observations. You might want to do the session trick mentioned in the
first paragraph above, and do some weeding.
Paul R.
More information about the APBeta
mailing list