JuliaAstro / FITSIO.jl

Flexible Image Transport System (FITS) file support for Julia
http://juliaastro.org/FITSIO.jl/
MIT License
55 stars 29 forks source link

ERROR: FITSFile not defined #32

Closed fabienbaron closed 9 years ago

fabienbaron commented 9 years ago

With the FITSIO package installed and Pkg.update() done, I get the following error on Kubuntu 15.04. Not sure what's going on...

Julia Version 0.3.2, x86_64-linux-gnu julia> using OIFITS Warning: could not import FITSIO.fits_get_errstatus into OIFITS ERROR: FITSFile not defined in eval at ./no file in include212 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so in include_from_node11801 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so in include212 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so in include_from_node11801 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so in include212 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so in include_from_node11801 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so in reload_path at ./loading.jl:152 in _require at ./loading.jl:67 in require at ./loading.jl:52 while loading /home/baron/.julia/v0.3/OIFITS/src/fix-fitsio.jl, in expression starting on line 127 while loading /home/baron/.julia/v0.3/OIFITS/src/oifile.jl, in expression starting on line 17 while loading /home/baron/.julia/v0.3/OIFITS/src/OIFITS.jl, in expression starting on line 51

kbarbary commented 9 years ago

The latest version of FITSIO.jl has a breaking API change (see NEWS.md and the latest docs) and OIFITS hasn't caught up yet. Sorry!

cc: @emmt Any plans for an updated OIFITS asap?

kbarbary commented 9 years ago

Closing for now, as this is downstream of FITSIO.

emmt commented 9 years ago

I have made the modifications to have OIFITS.jl working with FITSIO.jl v0.6 Fabien can you check whether it is functionnal for you before I bump the version number? Thanks!

fabienbaron commented 9 years ago

Works perfectly (Julia 0.3.8) ! Thanks Eric !