Gnucash binary 2.2.9.3 for PPC crashes
John Ralls
jralls at ceridwen.us
Fri Dec 18 13:15:35 EST 2009
On Dec 18, 2009, at 9:41 AM, Santiago Fernandez wrote:
>
> On Dec 18, 2009, at 6:30 PM, John Ralls wrote:
>
>>
>> On Dec 18, 2009, at 9:02 AM, Santiago Fernandez wrote:
>>
>>>
>>> Hi John,
>>>
>>> I am still unable to get gnucash running a second time. The console log shows the same message as before:
>>>
>>> 12/18/09 5:47:56 PM [0x0-0x42042].org.gnucash.Gnucash[356] * 17:47:55 WARN <gnc.bin> Error parsing command line arguments: [Unknown option -psn_0_270402]; try `gnucash --help` for available options.
>>> 12/18/09 5:47:56 PM com.apple.launchd[65] ([0x0-0x42042].org.gnucash.Gnucash[356]) Exited with exit code: 1
>>>
>>> Any clue?
>>>
>>> I see in the readme file that you've included other fixes in the bundle too. That's nice.
>>> Thank you very much,
>>> Santi
>>
>> What happens if you open Terminal.app and issue the following?
>> /Path/to/Gnucash.app/Contents/MacOS/Gnucash
>> (Obviously, replace /Path/to with wherever you dragged Gnucash.app)
>
> Gnucash starts just fine.
>
>> Is the unknown option the same every time?
>
> It isn't. In my tests the number after "-psn_0_" increases.
>
>> What is the path to Gnucash.app?
>
> /Applications/Gnucash.app/Contents/MacOS/Gnucash
OK, a bit of googling turns up what it is (it's the process number), but the Gnucash shell script is supposed to remove it.
Try this: Open /Applications/Gnucash.app/Contents/MacOS/Gnucash in TextEdit.app and add the line
echo ARGS $*
near the top of the file, save, and launch Gnucash.app from Finder.
The console log entry will now have a line ARGS followed by the arguments (including the -psn_0_...) passed in by launchd. I'm hoping that the problem is that -psn_0_... isn't the first one and that's causing the launcher script to not filter it out.
Regards,
John Ralls
More information about the gnucash-user
mailing list