PixInsight Forum (historical)

PixInsight => Bug Reports => Topic started by: Thorsten Lockert on 2009 April 12 12:07:37

Title: Handling of file names with multiple periods
Post by: Thorsten Lockert on 2009 April 12 12:07:37
If a file name has multiple periods in it, PixInsight is unable to open it.

One example of such a file name is "DO Dra V.12345.11h43m48.04s,-71d41m20s.FIT"

PixInsight apparently looks for the first period to find the file extension instead of the last, and then says it does not have a handler that knows how to open files of type ".12345.11h43m48.04s,-71d41m20s.FIT".

If the file is renamed such that only the last period is part of the file name, it will open it successfully.

Perhaps use strrchr/rindex to find the last period in the file name?

Thorsten
Title: Handling of file names with multiple periods
Post by: Juan Conejero on 2009 April 13 11:38:11
Hi Thorsten,

This is a known bug in version 1.4 (see for example http://pixinsight.com/forum/viewtopic.php?t=1053). It has been fixed in version 1.5, which will be released very soon.

Thank you for your report.