Author Topic: PixInsight 1.8.4.1187 Prerelease  (Read 7131 times)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
PixInsight 1.8.4.1187 Prerelease
« on: 2015 October 30 18:07:18 »
Hi all,

Version 1.8.4.1187 is now available for Linux and OS X on Software Distribution. It should be also available for Windows during the weekend, and I hope to have a FreeBSD version ready in a few days.

I plan on making an official release next week, so it would be great if you could test this prerelease version. Please let me know of any problems you may encounter, or any suggestions for improvement you may have. Testing the OS X version is particularly important, especially to know how it can perform on high-dpi displays with OS X 10.9, 10.10 and 10.11.

For developers: This version requires PCL version 2.1.0.765, which I'll upload to the official GitHub repositories during this weekend.

Thank you so much in advance for your help.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: PixInsight 1.8.4.1187 Prerelease
« Reply #1 on: 2015 October 30 19:59:16 »
Hi Juan, thanks for the new version.

I have installed it in Linux and open a project with only one Image, its Lmask and HT tool on the workspace. It opens fine but with the following errors:

Code: [Select]
PixInsight Core 01.08.04.1187 Ripley (x64)
Copyright (C) 2003-2015 Pleiades Astrophoto
----------------------------------------------------------------------
Welcome to PixInsight. Started 2015/10/31 02:38:02 J2457326.60975 UTC

* Parallel processing enabled: Using 8 logical processors.
* Thread CPU affinity control enabled.
* Maximum number of simultaneous open files: 1024.
* PSM AutoSave enabled. Auto-save period: 30 seconds.

Installing 1 module(s):
/media/alejandro/Datos/PixInsight/En testeo/TGV-pxm.so
* Scripting resources updated.
1 of 1 module(s) installed.

open "file:///home/alejandro/Documents/Mask Project/untitled.xosm"
Reading 1 file(s):

Loading project:
/home/alejandro/Documents/Mask Project/untitled.xosm
* Project integrity verified, SHA1 checksum = e6e46287d48b9c01a9f6f3d68500ece59c0cce94
* Reading project metadata
Creation date ............... 2015-oct.-31 02:26:28 UTC
Core version ................ 01.08.04.1185
Author ...................... <* undefined *>
Project description ......... <* undefined *>
Project generation features:
XOSM version ................ 1.1
Include images .............. true
Include previews ............ true
Include view properties ..... true
Include interface states .... true
Only open interfaces ........ true
Include icons ............... true
Include text documents ...... true
Include thumbnail ........... true
Include all workspaces ...... true
File checksums (SHA1) ....... true
Sealed project .............. true
Purge existing files ........ false
Check space available ....... true
Offline storage threshold ... 4.000 KiB
Block compression ........... zlib+sh
Workspaces .................. Workspace01 Workspace02 Workspace03 Workspace04
Screen geometry ............. w=1920 h=1080
* Loading images
*** Error: Parsing 64-bit floating point expression: conversion error:
0?,001927127 (line=88,column=22)
Reading image: Image
*** Error: Parsing 64-bit floating point expression: conversion error:
0?,57990281 (line=119,column=29)
*** Error: Parsing 64-bit floating point expression: conversion error:
0?,018835967 (line=124,column=22)
Reading image: Image_L
* Loading interface states
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,50000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,50000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,50000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,99646851
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,99124854
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,50000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
* Regenerating masking relations
* Updating workspaces
** Warning: The project has been loaded partially with 3 error(s).

Let me know if you need the project.

Saludos, Alejandro

Offline herman

  • Newcomer
  • Posts: 19
Re: PixInsight 1.8.4.1187 Prerelease
« Reply #2 on: 2015 October 30 22:37:56 »
Thanks Juan.  The UI looks great Mac OS X (El Capitan) on a Retina display.  But I think the images are still being scaled.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PixInsight 1.8.4.1187 Prerelease
« Reply #3 on: 2015 October 31 00:50:11 »
Hi again,

Since some users have reported problems with the new version on OS X, I have blocked access in software distribution to prevent new users from installing it.

Thank you all for your help. I'll let you know when I have a new version for OS X ready for testing.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PixInsight 1.8.4.1187 Prerelease
« Reply #4 on: 2015 October 31 00:58:53 »
*** Error: Parsing 64-bit floating point expression: conversion error:
0?,57990281 (line=119,column=29)
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^

This happens because you are using a localized desktop environment (in Spanish of course). Some recent Linux distributions with GNOME and KDE have a bug in glibc that ignores the locales being used by applications, and force the system locale even for applications that have explicitly disabled it. PixInsight uses the standard C locale, where the period character is used as decimal separator. Your operating system caused this problem by forcing the Spanish locale when the project was generated, and hence commas where used as decimal separators. This should never happen.

I'll include a routine to enforce the C locale in some critical sections. If necessary, I'll include custom versions of the printf() and sprintf() families of functions to replace those provided by glibc on Linux. Sorry for the inconvenience.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PixInsight 1.8.4.1187 Prerelease
« Reply #5 on: 2015 October 31 03:11:03 »
Hi Alejandro,

Try replacing your PixInsight.sh launcher script with this:

Code: [Select]
#!/bin/bash
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
if [ "${dirname:0:1}" != "/" ]; then
  dirname=$PWD/$dirname
fi
LD_LIBRARY_PATH=$dirname/lib:$dirname
LC_ALL=en_US.utf8
QT_PLUGIN_PATH=$dirname/lib/qt-plugins
QT_QPA_PLATFORM_PLUGIN_PATH=$dirname/lib/qt-plugins/platforms
QT_QPA_PLATFORMTHEME=
QT_QPA_GENERIC_PLUGINS=
export LD_LIBRARY_PATH
export LC_ALL
export QT_PLUGIN_PATH
export QT_QPA_PLATFORM_PLUGIN_PATH
export QT_QPA_PLATFORMTHEME
export QT_QPA_GENERIC_PLUGINS
$dirname/$appname $*

This should guarantee that no locale change can happen behind the scenes. This is a valid solution while I find another one less invasive with user settings.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: PixInsight 1.8.4.1187 Prerelease
« Reply #6 on: 2015 October 31 10:33:54 »
Hi Juan, no change. I replaced PixInsight.sh and open the same project:

Code: [Select]
PixInsight Core 01.08.04.1187 Ripley (x64)
Copyright (C) 2003-2015 Pleiades Astrophoto
----------------------------------------------------------------------
Welcome to PixInsight. Started 2015/10/31 17:24:54 J2457327.22563 UTC

* Parallel processing enabled: Using 8 logical processors.
* Thread CPU affinity control enabled.
* Maximum number of simultaneous open files: 1024.
* PSM AutoSave enabled. Auto-save period: 30 seconds.

open "file:///home/alejandro/Documents/Mask Project/untitled.xosm"
Reading 1 file(s):

Loading project:
/home/alejandro/Documents/Mask Project/untitled.xosm
* Project integrity verified, SHA1 checksum = e6e46287d48b9c01a9f6f3d68500ece59c0cce94
* Reading project metadata
Creation date ............... 2015-oct.-31 02:26:28 UTC
Core version ................ 01.08.04.1185
Author ...................... <* undefined *>
Project description ......... <* undefined *>
Project generation features:
XOSM version ................ 1.1
Include images .............. true
Include previews ............ true
Include view properties ..... true
Include interface states .... true
Only open interfaces ........ true
Include icons ............... true
Include text documents ...... true
Include thumbnail ........... true
Include all workspaces ...... true
File checksums (SHA1) ....... true
Sealed project .............. true
Purge existing files ........ false
Check space available ....... true
Offline storage threshold ... 4.000 KiB
Block compression ........... zlib+sh
Workspaces .................. Workspace01 Workspace02 Workspace03 Workspace04
Screen geometry ............. w=1920 h=1080
* Loading images
*** Error: Parsing 64-bit floating point expression: conversion error:
0?,001927127 (line=88,column=22)
Reading image: Image
*** Error: Parsing 64-bit floating point expression: conversion error:
0?,57990281 (line=119,column=29)
*** Error: Parsing 64-bit floating point expression: conversion error:
0?,018835967 (line=124,column=22)
Reading image: Image_L
* Loading interface states
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,50000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,50000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,50000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,99646851
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,99124854
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,50000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
0,00000000
.^
*** Error: Parsing 64-bit floating point expression: conversion error:
1,00000000
.^
* Regenerating masking relations
* Updating workspaces
** Warning: The project has been loaded partially with 3 error(s).

If I save and open again with version 1187 all works perfect:

Code: [Select]
Writing project:
/home/alejandro/Documents/Mask Project/untitled1187.xosm
* Estimated project size     : 385.768 MiB
* Available on target device : 79.339 GiB (42.084 %)
* Writing 2 image(s)
Writing image: Image
Writing image: Image_L
* Embedding 1 tool state(s)
* Writing 2 text document(s)
Writing text document: /opt/PixInsight/bin/PixInsight.sh
Writing text document: /opt/PixInsight/bin/PixInsight1.sh
* Embedding project thumbnail image
* Project seal generated, SHA1 checksum = 1d239ce0f593aca49d3b64129649b7d97062806e
* Project generated OK.

open "file:///home/alejandro/Documents/Mask Project/untitled1187.xosm"
Reading 1 file(s):

Loading project:
/home/alejandro/Documents/Mask Project/untitled1187.xosm
* Project integrity verified, SHA1 checksum = 1d239ce0f593aca49d3b64129649b7d97062806e
* Reading project metadata
Creation date ............... 2015-oct.-31 17:29:47 UTC
Core version ................ 01.08.04.1187
Author ...................... <* undefined *>
Project description ......... <* undefined *>
Project generation features:
XOSM version ................ 1.1
Include images .............. true
Include previews ............ true
Include view properties ..... true
Include interface states .... true
Only open interfaces ........ true
Include icons ............... true
Include text documents ...... true
Include thumbnail ........... true
Include all workspaces ...... true
File checksums (SHA1) ....... true
Sealed project .............. true
Purge existing files ........ false
Check space available ....... true
Offline storage threshold ... 4.000 KiB
Block compression ........... zlib+sh
Workspaces .................. Workspace01 Workspace02 Workspace03 Workspace04
Screen geometry ............. w=1920 h=1080
* Loading images
Reading image: Image
Reading image: Image_L
* Loading interface states
* Loading text documents
Reading text document: /opt/PixInsight/bin/PixInsight.sh
Reading text document: /opt/PixInsight/bin/PixInsight1.sh
* Regenerating masking relations
* Updating workspaces
* Project loaded successfully.

Saludos, Alejandro.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PixInsight 1.8.4.1187 Prerelease
« Reply #7 on: 2015 October 31 12:53:29 »
Hi Alejandro,

The damaged project has no solution; it will always generate the same errors and cannot be loaded---I hope you have a backup, or that you can regenerate it otherwise! The new launcher script will prevent the same problem from happening again.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: PixInsight 1.8.4.1187 Prerelease
« Reply #8 on: 2015 November 01 05:32:35 »
Thanks Juan!, the project was not important, do not worry. I have already replaced the luncher.
Saludos, Alejandro.