Author Topic: PI crahses when opening an empty text file  (Read 4256 times)

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
PI crahses when opening an empty text file
« on: 2009 July 05 07:56:34 »
A small bug:

Create a new text file (empty, size 0 bytes)
Open PI
Script /Edit Script / Open the empty text file.
-> PCL Win 32 exception

Vista 32 bits,  PI 1.05.02.0503, dual core

bitli

Offline Cheyenne

  • PixInsight Addict
  • ***
  • Posts: 146
    • Link to Picasa gallery of my astronomy photos
Re: PI crahses when opening an empty text file
« Reply #1 on: 2009 July 05 08:15:36 »
Same error under linux signal 11 segment violation
Cheyenne Wills
Takahashi 130 TOA
Losmandy G11
SBIG STF8300M
Canon 20Da
SBIG ST-i + openPHD for autoguiding

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Re: PI crahses when opening an empty text file
« Reply #2 on: 2009 August 03 02:37:25 »
This seems to have been fixed somewhere between the reported version and 1.5.6:

Code: [Select]
Reading 1 image(s):
/home/hue/foo.jpg
*** PCL Exception: PCL JPEG Format Support: Empty input file: /home/hue/foo.jpg
<* failed *>
*** Error: Unable to open file: /home/hue/foo.jpg
--
 David Serrano