[Xastir] Xastir v2.0.0 has been released
Jeremy McDermond
mcdermj at xenotropic.com
Tue Oct 26 17:55:06 EDT 2010
On Oct 26, 2010, at 2:25 PM, Bob Nielsen wrote:
>
> On Oct 26, 2010, at 1:05 PM, Jeremy McDermond wrote:
>
>> On Oct 26, 2010, at 9:14 AM, Bob Nielsen wrote:
>>
>>> Thanks, that wasn't the problem but it got me closer. When I run xastir from a command line, I get:
>>>
>>> Error! can not find color file: /Applications/Xastir.app/Contents/MacOS/Resources/share/xastir/config/xastir.rgb
>>> Error in Color file! Exiting...
>>>
>>> The xastir.rgb file exists in that location.
>>
>> It shouldn't exist in that location, and that's not the path where it should be looking. It should be in:
>>
>> /Applications/Xastir.app/Contents/Resources/share/xastir/config/xastir.rgb
>>
>> Instead of trying to execute it on the command line, try double clicking it, and looking in /var/log/system.log. It will contain any output off of stderr. I have a feeling that where you're executing it on the command line is changing what @executable_path is.
>
> xastir.rgb IS where it should be
I'm sure it is, but notice the path you posted, and the path I posted are different:
/Applications/Xastir.app/Contents/MacOS/Resources/share/xastir/config/xastir.rgb <---- Your Path
/Applications/Xastir.app/Contents/Resources/share/xastir/config/xastir.rgb <---- My Path
If you want to see things on the command line:
cd /Applications/Xastir.app/Contents
MacOS/xastir
This will make sure that @executable_path is set right.
> and when I double click, I don't get that error message, just the normal startup stuff (but the xastir display still doesn't come up).
You can try Curt's suggestion, but like this:
cd /Applications/Xastir.app/Contents
MacOS/xastir -v 4095
The code for my MacOS binary is modified (xa_config.c line 425 or so. Patches available on my web site) so that it uses _NSGetExecutablePath at runtime to figure out where the config directory is. In retrospect, I may want to change this since when I first implemented it, I wasn't aware that Xastir hard coded paths into the config file. Technically, most of this stuff should be in ~/Library/Application Support/Xastir, but this is going to require extensive modifications to the "run for the fist time" code to install the share directory into there, or use some sort of nasty installer.
> Bob N7XY
>
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>
--
Jeremy McDermond (NH6Z)
Xenotropic Systems
mcdermj at xenotropic.com
More information about the Xastir
mailing list