Gnucash binary 2.2.9.3 for PPC crashes
Santiago Fernandez
lists.sf at plan71.com
Fri Dec 18 13:44:14 EST 2009
On Dec 18, 2009, at 7:15 PM, John Ralls wrote:
>
> 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.
>
I didn't get an ARGS entry in the console log.
So, what I did was to add the following line:
echo ARGS $* > $HOME/args.txt
Then, when I run Gnucash.app from the Finder the file $HOME/args.txt
is not created.
Such file is created only when I run the Gnucash script from the
terminal.
I would say the Gnucash script is not called when running Gnucash.app
from the Finder... ?
What do you reckon?
Santi
More information about the gnucash-user
mailing list