[GNC] previous issue with gnucash-cli on macOS
Jim DeLaHunt
list+gnucash at jdlh.com
Tue Dec 31 16:08:20 EST 2024
Hello, KCBurns:
On 2024-12-31 12:52, gnucash at kcburns.com wrote:
> Last login: Tue Dec 31 15:24:15 on console
> kcburns at Mac001 ~ %
> /Applications/GnuCash.app/Contents/MacOS/gnucash-cli -Q get
> /Users/kcburns/GnuCash/KCBurns.gnucash
>
> Application Path /Applications/GnuCash.app/Contents/MacOS/gnucash-cli
> Missing data file parameter
>
> gnucash-cli [options] [datafile] - GnuCash, accounting for personal
> and small business finance:
... [help text elided] ...
> --output-file arg Output file for report
>
>
> zsh: exec format error: /Users/kcburns/GnuCash/KCBurns.gnucash
> kcburns at Mac001 ~ %
>
It looks like your command is now spelled correctly, but it is broken
into two lines in the email message. Is that just an artifact of email
line wrapping, or is there in fact a linefeed character in your command
line?
I see that Gnucash says, "Missing data file parameter", as if all it saw
was "/App…/gnucash-cli -Q get". Then the Terminal shell ("zsh") says,
"zsh: exec format error: /Users/kcburns/GnuCash/KCBurns.gnucash", as if
it was trying to run "/Users/kcburns/GnuCash/KCBurns.gnucash" as a command.
Perhaps try to enter the command again, but being careful of the
spelling and spacing?
e.g. Copy "/Applications/GnuCash.app/Contents/MacOS/gnucash-cli -Q get"
from your previous command, then type a space character, then copy
"/Users/kcburns/GnuCash/KCBurns.gnucash" from your previous command,
then press Return. See if that gets interpreted as a single command.
Best regards,
—Jim DeLaHunt
More information about the gnucash-user
mailing list