Is solved!!
Note the command I am using does not have the "file:" in it, because it
fails when that is included.
Thanks to everybody involved.
Ken
On 12/31/24 9:08 PM, gnuc...@kcburns.com wrote:
Jim DeLaHunt, I think you have a BINGO!
Last login: Tue Dec 31 15:47:12 on ttys000
kcburns@Mac001 ~ % /Applications/GnuCash.app/Contents/MacOS/gnucash-cli
-Q get /Users/kcburns/GnuCash/KCBurns.gnucash
Application Path /Applications/GnuCash.app/Contents/MacOS/gnucash-cli
Found Finance::Quote version 1.64.
kcburns@Mac001 ~ %
That is the result I expected to see!
I think I was had by the copy & paste.
I have already updated my quotes for this evening, so I will verify it
on Thursday after the market reopens.
Thanks,
Ken
On 12/31/24 4:45 PM, gnucash-user-requ...@gnucash.org wrote:
Hello, KCBurns:
On 2024-12-31 12:52,gnuc...@kcburns.com wrote:
Last login: Tue Dec 31 15:24:15 on console
kcburns@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@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.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.