[GNC] Scheduled Transactions creating but not posting in register

smada46 at hotmail.com smada46 at hotmail.com
Tue Mar 8 16:55:53 EST 2022


John,

I attempted to open GC and having it write to Terminal using  /Applications/Gnucash.app/Contents/MacOS/Gnucash --logto=stderr.  GC   opened and SLR showed two Scheduled Transactions (STs) had been created but were not in the register.  There was nothing really written to Terminal as shown below: 

dwa1 at dwa1 ~ % /Applications/Gnucash.app/Contents/MacOS/Gnucash --logto=stderr
Application Path /Applications/Gnucash.app/Contents/MacOS/Gnucash

(process:18916): gnc.gui-WARNING **: 13:44:02.529: [mac_set_languages()] Language list: en:en_US:C
Found Finance::Quote version 1.51.

Thought maybe I needed “pass" in front of —logto=stderr so ran: /Applications/Gnucash.app/Contents/MacOS/Gnucash pass --logto=stderr. Got an error and GC didn’t open.  Terminal output is below:

dwa1 at dwa1 ~ % /Applications/Gnucash.app/Contents/MacOS/Gnucash pass --logto=stderr
Application Path /Applications/Gnucash.app/Contents/MacOS/Gnucash

(process:19454): gnc.gui-WARNING **: 13:55:48.928: [mac_set_languages()] Language list: en:en_US:C
Found Finance::Quote version 1.51.
* 13:55:51  WARN <gnc.core-utils> create new file /Users/dwa1/Library/Application Support/GnuCash/data/pass
* 13:55:51  WARN <gnc.backend.dbi> [GncDbiBackend<DbType::DBI_SQLITE>::session_begin()] Sqlite3 file /Users/dwa1/Library/Application Support/GnuCash/data/pass not found
dwa1 at dwa1 ~ % 

Earlier I used the command find /var/folders $TMPDIR/gnucash.trace to find the path to the .trace file with the following results (I removed all the purely Apple stuff as there were pages of it)

dwa1 at dwa1 ~ % find /var/folders $TMPDIR/gnucash.trace  
/var/folders
/var/folders/ms
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/0
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/0/com.apple.nsurlsessiond-launchd

(A lot of Apple Stuff)

/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/T/gnucash.trace

(A lot of Apple Stuff)

/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/16777237_525065
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/16777237_525065/functions.data
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/16777237_525065/functions.list
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/libraries.maps
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/31001
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/31001/libraries.list
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/31001/libraries.data
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/3902
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/3902/libraries.maps
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/3902/libraries1.data
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/3902/libraries1.maps
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/3902/libraries.data
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/Intel(R) Iris(TM) Graphics 6000
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/Intel(R) Iris(TM) Graphics 6000/functions1.data
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/Intel(R) Iris(TM) Graphics 6000/functions.maps
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/Intel(R) Iris(TM) Graphics 6000/functions.data
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/Intel(R) Iris(TM) Graphics 6000/functions1.maps
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metal/libraries.data
/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/C/org.gnucash.Gnucash/com.apple.metalfe

(A Lot of Apple stuff)

/var/folders/ms/pc_fwkwn16nds1fhz45ztmph0000gp/T//gnucash.trace
dwa1 at dwa1 ~ %

I have highlighted in red what I believe is the path to the trace file but have been unable to open it or read it in terminal as I do not know what command is needed to bring it up to read. In your e-mail you stated I could use the variable  less $TMPDIR/gnucash.trace to read the file but when I put that in Terminal I get the following:

dwa1 at dwa1 ~ %  less $TMPDIR/gnucash.trace

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
(END)

So I don’t know how that variable is supposed to work and with what command.  I am unsure where to go from here but I need the trace to send to figure out why ST is creating the transactions but not putting them in the register.  Appreciate your help.



> On Mar 7, 2022, at 22:27, john <jralls at ceridwen.us> wrote:
> 
> 
> 
>> On Mar 7, 2022, at 7:03 PM, smada46 at hotmail.com <mailto:smada46 at hotmail.com> 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 <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 <https://wiki.gnucash.org/wiki/Logging>.
> 
> Regards,
> John Ralls
> 



More information about the gnucash-user mailing list