John,
Have still been unable to get Gnucash to write to Terminal using  
/Applications/Gnucash.app/Contents/MacOS/Gnucash to open with the variable you 
provided.  Was able to see trace file by following  
"/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/T/gnucash.traceā€ path in Finder 
rood directory.  First time there was no .trace file.  Opened GC and file was 
immediately created, but it was empty.  I made some changes and saved GC and 
closed.  The file then contained data.  I have attached the file in hopes it 
will show what is wrong with scheduled transactions being created but not 
posting to the register.
On another thought, I am running GC4.8.  If I install GC4.9 will whatever the 
scheduled transaction issue carry over to the new version (ie is it in my data 
file) or will it resolve because instructions for scheduled transactions are in 
the program?
Thanks



On Mar 7, 2022, at 22:27, john <[email protected]<mailto:[email protected]>> 
wrote:



On Mar 7, 2022, at 7:03 PM, [email protected]<mailto:[email protected]> 
wrote:

I also opened GnuCash in the Terminal hoping to see what happened when it 
opened.  Gnucash opened, but I got no output using command:

open -a Gnucash.app

Is there something else I need to add to this command to get terminal output 
when opening Gnucash from Terminal?


Using the `open` command in Terminal is the same as double-clicking its icon in 
Finder: It tells Launch Services to start GnuCash either with no stdin, stdout, 
or stderr or with stdout and stderr connected to Console.app depending on macOS 
version. To have a stdin, stdout, and stderr connection to the shell running in 
Terminal you must run GnuCash directly; if you installed it in /Applicattions 
you'd use
  /Applications/Gnucash.app/Contents/MacOS/Gnucash

By default GnuCash writes its log to a file named gnucash.trace. This is most 
easily accessed using an environment variable $TMPDIR, so you could use
  less $TMPDIR/gnucash.trace
to read it. On macOS and other unix platforms it is overwritten with every 
launch of GnuCash. You can read more about it at 
https://wiki.gnucash.org/wiki/Tracefile.

To get GnuCash to write to the terminal, pass --logto=stderr on the terminal 
command above. More information about how to configure logging may be found at 
https://wiki.gnucash.org/wiki/Logging.

Regards,
John Ralls


Attachment: 'Gnucash.trace file Data 3-9-22 1003.pdf
Description: 'Gnucash.trace file Data 3-9-22 1003.pdf

_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to