[kstars] [Bug 389960] Fits Open fails for files with parenthesis in path or name

2018-02-09 Thread Jasem Mutlaq
https://bugs.kde.org/show_bug.cgi?id=389960

Jasem Mutlaq  changed:

   What|Removed |Added

   Version Fixed In||2.9.3
 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/kst
   ||ars/f79a51cb1883eb2e222f7e0
   ||afe13fc4acc5ad56a
 Status|CONFIRMED   |RESOLVED

--- Comment #4 from Jasem Mutlaq  ---
Git commit f79a51cb1883eb2e222f7e0afe13fc4acc5ad56a by Jasem Mutlaq.
Committed on 09/02/2018 at 10:01.
Pushed by mutlaqja into branch 'master'.

Use fits_open_diskfile to enable reading filename that may contain paranthesis
and brackets.
FIXED-IN:2.9.3

M  +22   -1kstars/ekos/align/align.cpp
M  +33   -1kstars/fitsviewer/fitsdata.cpp
M  +16   -0kstars/indi/indiccd.cpp

https://commits.kde.org/kstars/f79a51cb1883eb2e222f7e0afe13fc4acc5ad56a

-- 
You are receiving this mail because:
You are watching all bug changes.

[kstars] [Bug 389960] Fits Open fails for files with parenthesis in path or name

2018-02-09 Thread Jasem Mutlaq
https://bugs.kde.org/show_bug.cgi?id=389960

Jasem Mutlaq  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #3 from Jasem Mutlaq  ---
KStars uses fits_open_image not fits_open_file.. so if fits_open_diskfile is
used, we need to move manually to image HDU which can be done. Will see if this
can be implemented later on.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kstars] [Bug 389960] Fits Open fails for files with parenthesis in path or name

2018-02-08 Thread schwim
https://bugs.kde.org/show_bug.cgi?id=389960

--- Comment #2 from schwim  ---
(In reply to Jasem Mutlaq from comment #1)
> It seems you can't have filenames with brackets or parentheses since they
> have special meanings in the FITS extended file syntax.
> 
> More information here:
> https://heasarc.gsfc.nasa.gov/docs/software/fitsio/filters.html
> 
> Not sure if we can have a workaround for this.

Confirmed that files with brackets cause the same problem.  The workaround
above does not work appear to work on OSX due to how the OSX software handles
links.

I see the CFITSIO docs specify fits_open_diskfile as a possible solution where
such characters are used. Not sure if this would help:

https://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/node35.html

-- 
You are receiving this mail because:
You are watching all bug changes.

[kstars] [Bug 389960] Fits Open fails for files with parenthesis in path or name

2018-02-07 Thread Jasem Mutlaq
https://bugs.kde.org/show_bug.cgi?id=389960

--- Comment #1 from Jasem Mutlaq  ---
It seems you can't have filenames with brackets or parentheses since they have
special meanings in the FITS extended file syntax.

More information here:
https://heasarc.gsfc.nasa.gov/docs/software/fitsio/filters.html

Not sure if we can have a workaround for this.

-- 
You are receiving this mail because:
You are watching all bug changes.