Please Help: Osascript Crash

Henry Weaver

Please Help: Osascript Crash

Reply Threaded More More options
Print post
Permalink
I've recently downloaded GNU Cash 2.9.3, I'm running OS X 10.4.11.
I've installed the program, however when I run it I get the message
"osascript requires that you type your password", I do this. Then GNU
Cash quits and will not load. This happens repeatedly. Does anyone
know the cure? What is osascript?
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
John Ralls-2

Re: Please Help: Osascript Crash

Reply Threaded More More options
Print post
Permalink

On Dec 8, 2009, at 3:18 PM, Henry Weaver wrote:

> I've recently downloaded GNU Cash 2.9.3, I'm running OS X 10.4.11.
> I've installed the program, however when I run it I get the message
> "osascript requires that you type your password", I do this. Then GNU
> Cash quits and will not load. This happens repeatedly. Does anyone
> know the cure? What is osascript?

Osascript is a program that runs Applescripts. The script it's running is trying to create a link from your Gnucash.app bundle's Resources directory to /opt/gnucash-2.2.9, which is a path hard-coded into a bunch of places.

Open /Applications/Utilities/Console and look at the Console Log to see what the specific error is.

Regards,
John Ralls
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
David T.

Re: Please Help: Osascript Crash

Reply Threaded More More options
Print post
Permalink
If I recall correctly, the OP said they were a) new to Mac and b) were double-clicking on the Gnucash.app icon in the DMG file.

I suspect the OP needs to drag the app file into his Applications folder and try running from there. It sounds like it's trying to link into the dmg.

David

--- On Mon, 12/14/09, John Ralls <[hidden email]> wrote:

> From: John Ralls <[hidden email]>
> Subject: Re: Please Help: Osascript Crash
> To: "Henry Weaver" <[hidden email]>
> Cc: [hidden email]
> Date: Monday, December 14, 2009, 9:13 AM
>
> On Dec 8, 2009, at 3:18 PM, Henry Weaver wrote:
>
> > I've recently downloaded GNU Cash 2.9.3, I'm running
> OS X 10.4.11.
> > I've installed the program, however when I run it I
> get the message
> > "osascript requires that you type your password", I do
> this. Then GNU
> > Cash quits and will not load. This happens repeatedly.
> Does anyone
> > know the cure? What is osascript?
>
> Osascript is a program that runs Applescripts. The script
> it's running is trying to create a link from your
> Gnucash.app bundle's Resources directory to
> /opt/gnucash-2.2.9, which is a path hard-coded into a bunch
> of places.
>
> Open /Applications/Utilities/Console and look at the
> Console Log to see what the specific error is.
>
> Regards,
> John Ralls
> _______________________________________________
> gnucash-devel mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>


     
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
John Ralls-2

Re: Please Help: Osascript Crash

Reply Threaded More More options
Print post
Permalink

On Dec 14, 2009, at 10:26 AM, David T. wrote:

> If I recall correctly, the OP said they were a) new to Mac and b) were double-clicking on the Gnucash.app icon in the DMG file.
>
> I suspect the OP needs to drag the app file into his Applications folder and try running from there. It sounds like it's trying to link into the dmg.

It's quite OK to run Gnucash from the .dmg. I do it all the time for testing. (But one does want to drag the app bundle somewhere else for normal use.)

Regards,
John Ralls

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
John Ralls-2

Re: Please Help: Osascript Crash

Reply Threaded More More options
Print post
Permalink
In reply to this post by John Ralls-2

On Dec 14, 2009, at 1:14 PM, Henry Weaver wrote:

> John and David,
>
> thank you very much for your email. I was really surprised that
> someone replied! How kind!
>
> I did what John instructed and got the following output from Console Log:
>
> -------------
> Linking /Applications/GNU Cash/Gnucash.app/Contents/Resources to
> /opt/gnucash-2.2.9
> Dec 14 21:14:32 Henry-Weavers-G4 authexec: executing
> /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/uid
> 0:123: execution error: ln: /opt/gnucash-2.2.9: No such file or directory (1)
> Failed to execute message bus daemon
> /opt/gnucash-2.2.9/bin/dbus-daemon: No such file or directory.  Will
> try again without full path.
> Failed to start message bus: Failed to open "/Applications/GNU": No
> such file or directory
> EOF in dbus-launch reading address from bus daemon
> /Applications/GNU Cash/Gnucash.app/Contents/MacOS/Gnucash: line 176:
> /Applications/GNU Cash/Gnucash.app/Contents/MacOS/GNU-bin: No such
> file or directory
> /Applications/GNU Cash/Gnucash.app/Contents/MacOS/Gnucash: line 176:
> exec: /Applications/GNU Cash/Gnucash.app/Contents/MacOS/GNU-bin:
> cannot execute: No such file or directory
> ------------
>
> I presume I now have to create the files or tweak the folder routes.
> How do I do this? Any suggestions?
>


Please remember to CC the list when you reply. BTW, gnucash-devel is for the Gnucash developers to discuss gnucash internals, not for
support; the correct list for that is gnucash-user.

The space in "GNU Cash" is tripping up the launcher script. The highest-confidence solution would be to rename it to GNU_Cash if you really insist on having an extra directory layer... but Gnucash.app is a self-contained bundle, so nothing else is going to go in that extra folder, it probably makes more sense to not have it and just keep Gnucash.app directly in /Applications.


_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel