V2.5.0.1 - Sequence lost when applying profile


#1

For some strange reason, sometimes when I reapply a changed Equipment profile to an existing sequence I get an out of range index error (presumably to do with my 5 way filter wheel) then the currently open Sequence is reset and then saved. Unfortunately this looses the sequence on disk as well.

I think this has already been filed as a bug in 2.4

Many thanks
Robert


#2

Thanks for the report. Unfortunately there isn’t much we can do about this issue without reproduction steps.


#3

It’s repeatable once it starts so I’ll get as much info as possible next time.

Many thanks
Robert


#4

Ok I’ve just retried to reapply an equipment profile to my sequence and get the error message window with a big red X saying:

Error creating sequence from profile “RH200-QSI583WSG-NB”. InvalidArgument=Value of ‘5’ is not valid for ‘SelectedIndex’.
Parameter name: SelectedIndex.

My filter wheel has the following:

Use FW# Filter Name AF Expose Focus pt
ticked 1 Ha3nm 20.0 1908
ticked 2 OIII3nm 20.0 1913
ticked 3 SII3nm 20.0 1909
unticked 4 Lum 5.0 1050 (line is greyed out)
ticked 5 Ha5nm 18.0 1909

The existing sequence has the same settings as checked with the Control Panel with that sequence loaded.

When I click ‘OK’ on the Error dialogue the sequence (IC443_NB.sgf) window is reset to a blank sequence and that is saved to the sgf file on disk blanking that out too; this is done without operator intervention.

These are the log entries for that time:

[22/01/2016 21:56:29] [DEBUG] [Main Thread] Performing deserialize…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] Loading custom filter names…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] ReflectDataModel: Transferring data model to the view…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] Retreiving new equipment objects…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New camera object (No Camera) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New filter wheel object (No Filter Wheel) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New environment device object (No Environment Device) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New focuser object (No Focuser) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New telescope object (No Telescope) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New rotator object (No Rotator) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New dome object (No Observatory) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New flat box object (No Flat Box) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New safety monitor object (No Safety Monitor) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New auto guider object (No Auto Guider) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] New plate solver object (No Plate Solver) dispatched…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] Populating the form controls…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] Added row 0…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] Added row 1…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] Added row 2…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] Added row 3…
[22/01/2016 21:56:29] [DEBUG] [Main Thread] Added row 4…
…end of log…

I think it’s down to the ‘unticked’ 4th filter in the Equipment Profile. If I enable it then it works as expected. I think the following would reproduce the error:

  1. Create an Equipment Profile with 5 filters.
  2. Create a Sequence and apply the Equipment Profile.
  3. Disable filter 4 in the Equipment Profile.
  4. Re-apply the equipment profile to the sequence.

Hopefully this can help you get to the bottom of the issue.

Many thanks
Robert


#5

Excellent. Thanks for that. Could I ask one more favor? Can you send the sgp file you are trying to load? If you have not changed the directory where your profiles are stored, you can find it by going to Help -> Open Log Directory, then double click on the “Sequence Generator Pro” folder and find the file called RH200-QSI583WSG-NB.sgp


#6

Sorry… and also the sgf to which you applying the profile to would be helpful.


#7

Never mind. I was able to re-create this. Looking into it.


www.mainsequencesoftware.com