PList errors again

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

PList errors again

Joshua Tan
Hello,

We are trying to set-up AstroImageJ for students and have run into the old problem of not being able to update the Info.plist attributes when updating to the latest build (apparently necessary for getting Astrometry.net capabilities to work). I think this may be due to some issues with Xcode 10, but it is unclear to me and I haven't really been able to find a workaround since it's not clear what is happening under the hood. Likely this could be resolved with an intelligent alias being made in the relevant directory, but so far a solution like that has eluded us.

Thanks for any ideas or help you may have for this.
Reply | Threaded
Open this post in threaded view
|

Re: PList errors again

karenacollins
Administrator
Hi Joshua,

Are you using the update option in the program to update to the new version? I expect that is the case since I haven't released a full package for the latest version.

If I recall correctly, I made a change that updates the info.plist file when updating from within the program. I'll need to dig into that to see if something is not working correctly. I'll get back as soon as I can.

Karen

On 8/13/2019 12:23 PM, Joshua Tan [via AstroImageJ] wrote:
Hello,

We are trying to set-up AstroImageJ for students and have run into the old problem of not being able to update the Info.plist attributes when updating to the latest build (apparently necessary for getting Astrometry.net capabilities to work). I think this may be due to some issues with Xcode 10, but it is unclear to me and I haven't really been able to find a workaround since it's not clear what is happening under the hood. Likely this could be resolved with an intelligent alias being made in the relevant directory, but so far a solution like that has eluded us.

Thanks for any ideas or help you may have for this.


If you reply to this email, your message will be added to the discussion below:
http://astroimagej.1065399.n5.nabble.com/PList-errors-again-tp1206.html
To start a new topic under AstroImageJ, email [hidden email]
To unsubscribe from AstroImageJ, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: PList errors again

karenacollins
Administrator
In reply to this post by Joshua Tan
HI Joshua,

Some additional questions:
- Are you updating to 3.3.1 or the daily build. As far as I can tell, the 3.3.1 version should be updating the info.plist file, but the daily build release numbers in info.plist may not match the values reported by the program. Version 3.3.1 should have all the fixes you need in it.

- Are you getting an error message? What is the trigger that let's you know something is not updating as expected?

Karen


On 8/13/2019 12:23 PM, Joshua Tan [via AstroImageJ] wrote:
Hello,

We are trying to set-up AstroImageJ for students and have run into the old problem of not being able to update the Info.plist attributes when updating to the latest build (apparently necessary for getting Astrometry.net capabilities to work). I think this may be due to some issues with Xcode 10, but it is unclear to me and I haven't really been able to find a workaround since it's not clear what is happening under the hood. Likely this could be resolved with an intelligent alias being made in the relevant directory, but so far a solution like that has eluded us.

Thanks for any ideas or help you may have for this.


If you reply to this email, your message will be added to the discussion below:
http://astroimagej.1065399.n5.nabble.com/PList-errors-again-tp1206.html
To start a new topic under AstroImageJ, email [hidden email]
To unsubscribe from AstroImageJ, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: PList errors again

Joshua Tan
karenacollins wrote
HI Joshua,

Some additional questions:
- Are you updating to 3.3.1 or the daily build. As far as I can tell, the 3.3.1 version should be updating the info.plist file, but the daily build release numbers in info.plist may not match the values reported by the program. Version 3.3.1 should have all the fixes you need in it.
We were trying 3.3.1, but I was thinking of attempting with the daily build as well.

Are you getting an error message? What is the trigger that let's you know something is not updating as expected?
We are getting an error message that says that the update to info.plist failed and that the file is not found. Then AIJ quits.

Reply | Threaded
Open this post in threaded view
|

Re: PList errors again

Joshua Tan
In reply to this post by karenacollins
karenacollins wrote
Hi Joshua,

Are you using the update option in the program to update to the new version? I expect that is the case since I haven't released a full package for the latest version.
Indeed.
Reply | Threaded
Open this post in threaded view
|

Re: PList errors again

karenacollins
Administrator
In reply to this post by Joshua Tan
Can you see the actual info.plist file in the application folder structure? It should be at AstroImageJ.app/Contents/Info.plist.

I just tried an update here on my Mac and version 3.3.1 installed correctly and updated the info.plist file without an error message.

These are five possible error info.plist related error messages that you might see:

"AIJ version number not updated in Info.plist. File not found"

"AIJ version number not updated in Info.plist. No read access"

"AIJ version number not updated in Info.plist. No write access:"

"AIJ version number not updated in Info.plist. Error reading"

"AIJ version number not updated in Info.plist. Error writing"

I think it is the first one you are seeing according to your note below. In that case, I expect that the info.plist file is somehow missing from your system, so you would either need to copy the info.plist file from another machine, or worse case reinstall from the last full install version of AIJ and then upgrade to 3.3.1.

As a final note, the info.plist update is the last thing that happens, so the code should have otherwise updated correctly to 3.3.1 as you have found.

Karen

On 8/15/2019 10:03 PM, Joshua Tan [via AstroImageJ] wrote:
karenacollins wrote
HI Joshua,

Some additional questions:
- Are you updating to 3.3.1 or the daily build. As far as I can tell, the 3.3.1 version should be updating the info.plist file, but the daily build release numbers in info.plist may not match the values reported by the program. Version 3.3.1 should have all the fixes you need in it.
We were trying 3.3.1, but I was thinking of attempting with the daily build as well.

Are you getting an error message? What is the trigger that let's you know something is not updating as expected?
We are getting an error message that says that the update to info.plist failed and that the file is not found. Then AIJ quits.




If you reply to this email, your message will be added to the discussion below:
http://astroimagej.1065399.n5.nabble.com/PList-errors-again-tp1206p1212.html
To start a new topic under AstroImageJ, email [hidden email]
To unsubscribe from AstroImageJ, click here.
NAML