Author Topic: XPSM file problem  (Read 3470 times)

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
XPSM file problem
« on: 2010 November 14 22:19:38 »
Hello.

I have trouble to Load Process Icons. XPSM in attachment.
I try to load the XPSM from other PC. PixInsight version is same, but i not sure about all module/script version.

Best regards,
Nikolay.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: XPSM file problem
« Reply #1 on: 2010 November 15 02:27:40 »
Hi Nikolay,

This is a confirmed bug in version 1.6.1, all platforms. Thanks for catching it.

The bug is that ImageContainer icons write the "start" and "span" attributes of their "time" XML tags incorrectly. The workaround is as follows:

- Open the Script Editor window.

- From Script Editor, select File > Open.

- On the Open Editor Files dialog, select the "XML Files" file filter.

- Browse your filesystem to locate the .xpsm file that is causing problems, and open it.

- On the editor, locate the line and column of the offending XML tag.

- Edit the XPSM file to fix the invalid "span" attribute. In your example, line #34 contains the following:

      <time start="2010/11/13 15:32:07" span="543.934 s"/>

Both the start and span attributes are incorrect. However, only the span attribute causes a stopping problem. Just edit the line to suppress the " s" suffix:

      <time start="2010/11/13 15:32:07" span="543.934"/>

Alternatively, you can also delete the offending line completely, as the time XML element is only informative and not required.

- Save the XPSM file.

Sorry for the inconvenience. This bug is now fixed for the next version of PixInsight.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: XPSM file problem
« Reply #2 on: 2010 November 15 02:35:26 »
Juan, Thank you.