PixInsight Forum (historical)
PixInsight => General => Topic started by: FlyingBeagles on 2018 July 26 21:09:22
-
Hi All,
After changing the name of a directory on my iMac, Pixinsight can 'see' the files (double clicking the workspace etc) but won't load them. The error I get is:
eading 4 image(s):
/Users/astromac/Pictures/Astrophotography Work/20180727 Tarantula Nebula New Process /MASTER_LIGHT_Blue_Cped_PS.xisf
<* failed *>
*** PixInsight API Error: MetaFileFormat: XISF: Invalid or nonexistent directory: /Users/astromac/Pictures/Astrophotography Work/20180727 Tarantula Nebula New Process /MASTER_LIGHT_Blue_Cped_PS.xisf
/Users/astromac/Pictures/Astrophotography Work/20180727 Tarantula Nebula New Process /MASTER_LIGHT_Green_Cped_PS.xisf
<* failed *>
*** PixInsight API Error: MetaFileFormat: XISF: Invalid or nonexistent directory: /Users/astromac/Pictures/Astrophotography Work/20180727 Tarantula Nebula New Process /MASTER_LIGHT_Green_Cped_PS.xisf
/Users/astromac/Pictures/Astrophotography Work/20180727 Tarantula Nebula New Process /MASTER_LIGHT_Lum_Cped_PS.xisf
<* failed *>
*** PixInsight API Error: MetaFileFormat: XISF: Invalid or nonexistent directory: /Users/astromac/Pictures/Astrophotography Work/20180727 Tarantula Nebula New Process /MASTER_LIGHT_Lum_Cped_PS.xisf
/Users/astromac/Pictures/Astrophotography Work/20180727 Tarantula Nebula New Process /MASTER_LIGHT_Red_Cped_PS.xisf
<* failed *>
*** PixInsight API Error: MetaFileFormat: XISF: Invalid or nonexistent directory: /Users/astromac/Pictures/Astrophotography Work/20180727 Tarantula Nebula New Process /MASTER_LIGHT_Red_Cped_PS.xisf
Worked fine before renaming the directory. I have similar directories for other work and can access with no issues and I can open any other file in that directory, just not those masters.
Thoughts as to what might be causing this?
Pete
***Solved***. There was a space at the end of the directory that Pixinsight did not like. That said, interesting how it could open other files in that directory, just not those four.
-
Pete
I don't use a Mac but I would bet that the space at the end of the directory name "/20180727 Tarantula Nebula New Process /" is a likely problem. In general spaces in directory names can be problems for some programs and a space at the end of the name is probably much worse.
Mike
-
Absolutely on the money Mike.
Just curious that all others in that directory opened no probs.
-
Probably odd compiler issue with parsing names maybe and the first name executed. It's so hard to say but from day one of computers spaces in naming conventions have been a problem. While modern OS's can handle names with spaces it can still create the odd problem from time to time. Best practice is just avoid it with critical data.
Mike
-
Agreed and more a mistake on my part.
Appreciate the input Mike, my thanks
Pete