Author Topic: Project load error  (Read 3057 times)

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Project load error
« on: 2014 December 08 16:56:20 »
On Win 7, PI 01.08.02.1098

Launch PI,
Open the raw cr2 image,
Save a project,
Exit PI,
Launch PI,
Load the project,
Load fails with error, image is not loaded.

The project element imageOptions has the value aperture="1.#IO". In the image's FITS header, the key "APTDIA" has value "0.00".

Console log:

Loading project:
C:/Users/Public/Documents/Astronomy/PixInsight/Scripts/UncalibratedFlatSNREstimator/SergioExample/ProjectLoadError/Project.xosm
* SHA-1 checksum: bee86b4fbcdf425df51cd0897da7c552cfd7d533
* Reading project metadata
Created .................... 2014-Dec-09 00:46:40 UTC
Project generation features:
Include images ............. true
Include previews ........... true
Include interface states ... true
Include icons .............. true
Include text documents ..... true
Include thumbnail .......... true
File checksums (SHA-1) ..... true
Purge existing files ....... false
Check space available ...... true
Workspaces ................. Workspace01 Workspace02 Workspace03 Workspace04
Screen geometry ............ W=2560 H=1440
* Loading images
*** Error: Parsing floating point expression: conversion error:
1.#IO
..^
** Warning: Skipping unknown 'fitsKeywords' project element.
** Warning: Skipping unknown 'geometry' project element.
** Warning: Skipping unknown 'viewport' project element.
** Warning: Skipping unknown 'MainView' project element.
* Regenerating masking relations
* Updating workspaces
** Warning: The project has been loaded partially with 1 error(s).

Zip has the raw cr2 and the project.

https://dl.dropboxusercontent.com/u/109232477/PixInsight/ProjectLoadError.zip

Mike

« Last Edit: 2014 December 08 17:57:16 by mschuster »

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Project load error
« Reply #1 on: 2014 December 08 18:10:54 »
Hi Mike,

Bug confirmed... and fixed! :)

Please update to 1.8.3.1123. I have just released an update to the DSLR_RAW module that fixes this problem.

You can repair the damaged project file very easily. Open the .xosm file with Script Editor, and go to the line where the problem is reported on the console. The error is not exactly at this line because the XML parser has already jumped to the end of the current element, so the reported line will probably be an </ImageWindow> ending tag. Near the beginning of the <ImageWindow> opening tag you'll find an <ImageOptions> tag similar to this:

<imageOptions bitsPerSample="16" ieeefpSampleFormat="false" complexSample="false" signedIntegers="false" metricResolution="false" readNormalized="true" embedICCProfile="false" embedMetadata="false" embedThumbnail="false" embedProperties="true" lowerRange="0.000000000000000" upperRange="65535.000000000000000" xResolution="100.00000000" yResolution="100.00000000" isoSpeed="1600" exposure="0.045" aperture="1.#IO" focalLength="50.000" cfaType="4"/>

Simply remove the aperture attribute (marked red above) and save the .xosm file.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Project load error
« Reply #2 on: 2014 December 08 18:12:07 »
Thank you Juan.