Re: [GNC] Problems upgrading to 4.8a

2022-09-09 Thread Geert Janssens
Op vrijdag 9 september 2022 22:19:08 CEST schreef Phil Wolff:
> dellbert@dellbert:~$ gsettings get org.gnucash.GnuCash.general.register
> double-line-mode true
> dellbert@dellbert:~$
> 
> But when I run gnucash all of my registers are single-line.
> 
> 
The only explanation I can come up with is that gnucash runs in a different 
environment 
than gsettings.

How do you start gnucash exactly ? From the command line or from the Ubuntu 
menus ?

And to test for the most relevant environment variable wrt to settings, can you 
add create a 
file named "config-user.scm" in $HOME/.config/gnucash
with this contents:
(use-modules (gnucash utilities)) 
(gnc:warn "XDG__DATA_DIRS=" (getenv "XDG_DATA_DIRS"))

The next time you run gnucash this will add a line at the top of your 
gnucash.trace file 
showing the value of environment variable "XDG_DATA_DIRS".

I'd like to know what this is. And can you compare it to what XDG_DATA_DIRS is 
set to in your 
terminal ?

Regards,

Geert
___
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.


Re: [GNC] Problems upgrading to 4.8a

2022-09-09 Thread Phil Wolff via gnucash-user
   On 9/9/22 09:17, Geert Janssens wrote:

   Weird, my answer got stripped from the mail as it returned from the
   mailing list... I'll send again below for reference.

   Geert

   Op vrijdag 9 september 2022 17:23:36 CEST schreef Phil Wolff:

   > Schema files should be compiled at install time before gnucash can
   use them.

   > That's more or less the answer to your question whether they should
   be

   > created at install time. Perhaps this went wrong for some reason.

   >

   >

   >

   >

   > Can you run the following command to test this?

   >

   > strings /usr/share/glib-2.0/schemas/gschemas.compiled | grep

   > org.gnucash.general

   >

   >

   >

   >

   > Just post the output here.

   >

   >

   >

   > [1]dellbert@dellbert:/usr/local/share/glib-2.0/schemas$ strings

   > /usr/share/glib-2.0/schemas/gschemas.compiled | grep
   org.gnucash.general

   > (())org.gnucash.general.report

   > /org/gnucash/general/report/

   > org.gnucash.general.report.pdf-export

   > org.gnucash.general

   > org.gnucash.general.report

   > org.gnucash.general.register

   > /org/gnucash/general/

   > (i)org.gnucash.general.finance-quote

   > /org/gnucash/general/finance-quote/

   > org.gnucash.general.register

   > /org/gnucash/general/register/

   > (s(yau))org.gnucash.general.report.pdf-export

   > (s).path/org/gnucash/general/report/pdf-export/

   > general/org.gnucash.general

   > [2]dellbert@dellbert:/usr/local/share/glib-2.0/schemas$

   >

   The output is slightly different from mine, but that's not abnormal.

   Another test would be to run

   gsettings list-schemas | grep org.gnucash.general

   gsettings is the interface gnucash uses to access the preferences, so
   contrary to dconf-editor this should use the same code internally as
   gnucash.

   dellbert@dellbert:~$ gsettings get org.gnucash.GnuCash.general.register
   double-line-mode
   true
   dellbert@dellbert:~$
   But when I run gnucash all of my registers are single-line.

 Does this command return the org.gnucash.general schema (together
 with a few others) ?

 Lastly to verify if compilation was completely successful you can
 also run

 sudo glib-compile-schemas --strict /usr/share/glib-2.0/schemas

 And check the result for errors. If compilation didn't result in any
 errors you could recheck if gnucash now works without the GSettings
 warnings in gnucash.trace.

 Regards,

 Geert

   --
   What was that about a rising tide lifting all boats? What if you don't
   have a boat?
  — Eugene Robinson

References

   1. mailto:dellbert@dellbert:/usr/local/share/glib-2.0/schemas$
   2. mailto:dellbert@dellbert:/usr/local/share/glib-2.0/schemas$
___
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.


Re: [GNC] Problems upgrading to 4.8a

2022-09-09 Thread Phil Wolff via gnucash-user
   On 9/9/22 08:34, Geert Janssens wrote:

   Op vrijdag 9 september 2022 17:23:36 CEST schreef Phil Wolff:

   > On 9/9/22 07:49, Geert Janssens wrote:

   >

   >

   > Hi Phill,

   >

   >

   >

   >

   > I'm trying to remember how everything panned out exactly back when
   4.8 was

   > released. There was a critical issue with the preference migration
   causing

   > gnucash to crash on startup in certain situations. This has been
   fixed in

   > 4.8a, which is what you have installed.

   >

   >

   >

   >

   > It is slightly odd that gnucash itself fails to load these schema
   files

   > while dconf-editor sees them just fine. But I don't know the
   internals of

   > dconf-editor so perhaps it uses a different method of scanning for
   schema

   > files than gnucash does.

   >

   >

   >

   >

   > As to your feedback:

   >

   > The gschema files you have found are the correct ones and it's good
   the old

   > ones are not present anywhere on the system.

   >

   >

   >

   >

   > The list of missing gsettings schemas you report is probably not
   exhaustive.

   > The warnings will only be emitted when the schema is queried. Not all

   > preferences are queried at once at startup.

   >

   >

   >

   >

   > What we can state is that the source files for these schema
   definitions are

   > installed. That the list of gschema files you report.

   >

   > It's worth to check if the missing schemas are actually defined in
   these

   > source files. For exmple the schema "org.gnucash.general" should be
   found

   > in

   >

   >
   /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.deprecated.gschema.xml

   >

   > Can you verify this ?

   >

   >

   >

   >

   > Schema files should be compiled at install time before gnucash can
   use them.

   > That's more or less the answer to your question whether they should
   be

   > created at install time. Perhaps this went wrong for some reason.

   >

   >

   >

   >

   > Can you run the following command to test this?

   >

   > strings /usr/share/glib-2.0/schemas/gschemas.compiled | grep

   > org.gnucash.general

   >

   >

   >

   >

   > Just post the output here.

   >

   >

   >

   > [1]dellbert@dellbert:/usr/local/share/glib-2.0/schemas$ strings

   > /usr/share/glib-2.0/schemas/gschemas.compiled | grep
   org.gnucash.general

   > (())org.gnucash.general.report

   > /org/gnucash/general/report/

   > org.gnucash.general.report.pdf-export

   > org.gnucash.general

   > org.gnucash.general.report

   > org.gnucash.general.register

   > /org/gnucash/general/

   > (i)org.gnucash.general.finance-quote

   > /org/gnucash/general/finance-quote/

   > org.gnucash.general.register

   > /org/gnucash/general/register/

   > (s(yau))org.gnucash.general.report.pdf-export

   > (s).path/org/gnucash/general/report/pdf-export/

   > general/org.gnucash.general

   > [2]dellbert@dellbert:/usr/local/share/glib-2.0/schemas$

   >

   >

   The output is slightly different from mine, but that's not abnormal.

   Another test would be to run

   gsettings list-schemas | grep org.gnucash.general

   gsettings is the interface gnucash uses to access the preferences, so
   contrary to dconf-editor this should use the same code internally as
   gnucash.

   Does this command return the org.gnucash.general schema (together with
   a few others) ?
   dellbert@dellbert:~$ gsettings list-schemas | grep org.gnucash.general
   org.gnucash.general
   org.gnucash.general.finance-quote
   org.gnucash.general.register
   org.gnucash.general.report
   org.gnucash.general.report.pdf-export
   dellbert@dellbert:~$

 Lastly to verify if compilation was completely successful you can
 also run

 sudo glib-compile-schemas --strict /usr/share/glib-2.0/schemas

 And check the result for errors. If compilation didn't result in any
 errors you could recheck if gnucash now works without the GSettings
 warnings in gnucash.trace.

   dellbert@dellbert:~$ sudo glib-compile-schemas --strict
   /usr/share/glib-2.0/schemas
   [sudo] password for dellbert:
   dellbert@dellbert:~$ rm /tmp/gnucash.trace
   dellbert@dellbert:~$ rm -v /tmp/gnucash.trace
   rm: cannot remove '/tmp/gnucash.trace': No such file or directory
   
   dellbert@dellbert:~$ ll /tmp/gnucash.trace
   -rw--- 1 dellbert dellbert 294114 Sep  9 11:15 /tmp/gnucash.trace
   dellbert@dellbert:~$ cat /tmp/gnucash.trace
   * 11:14:57 ERROR  g_settings_new_full: assertion 'schema !=
   NULL' failed
   * 11:14:57  WARN 
   [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
   gsettings schema org.gnucash.GnuCash.general
   * 11:14:57 ERROR  GVariant*
   gnc_gsettings_get_user_value(const gchar*, const gchar*): assertion
   'G_IS_SETTINGS (settings_ptr)' failed
   * 11:14:57 ERROR  g_settings_new_full: assertion 'schema !=
   NULL' failed
   * 11:14:57  WARN 
   [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
   gsettings 

Re: [GNC] Using aqbanking with Bank of the West?

2022-09-09 Thread Glenn Serre via gnucash-user
Good morning again,

> On Wed, Sep 7, 2022 at 12:57 PM Glenn Serre  wrote:
[...]
> > Anyone have any luck using aqbanking with Bank of the West?
[...]

Summary:

I can list accounts and download transactions from Bank of the West:

emulation: quicken 2020
url: https://ofx.bankofthewest.com/process.ofx
fid: 15130
app_id: QWIN
app_version: 2700
ofx version: 103
client uid: copied from what Quicken used (generated by Quicken I think).

Notes:

- I suspect the client uid can be one you generate on first login, but
I haven't tested yet.
I tried generating a new one and using that instead, but the server
returned an error.
I will test out the client uid boundary conditions a bit with a different login.

- I will try to update ofxhome.com since it seems to be under new ownership.

- I will also attempt to update the gnucash wiki entry

- In order to get things working on my decades old gnucash data file,
I had to completely delete my old aqbanking users and accounts,
restart, then create the new online accounts manually, even though
lisiting the accounts worked. Using a brand new test data file was
smooth going.  This is in gnucash 4.4, the version in debian 11.

-- Glenn S.
___
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.


[GNC] Price update works but complains a lot

2022-09-09 Thread David G. Pickett via gnucash-user
I update prices nightly from Yahoo as JSON with a cron job, and it logs an ugly 
error or two as it does its work, successfully.  Any suggestions?


flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get 
/home/dgp/GnuCash/ubuntu-DGPickett.gnucashF: X11 socket /tmp/.X11-unix/X0 does 
not exist in filesystem, trying to use abstract socket instead.
** (process:12833): WARNING **: 00:01:04.766: Failed to connect to bus: Could 
not connect: Connection refusedFound Finance::Quote version 1.49.

___
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.


Re: [GNC] Problems upgrading to 4.8a

2022-09-09 Thread Geert Janssens
Weird, my answer got stripped from the mail as it returned from the mailing 
list... I'll send 
again below for reference.

Geert

Op vrijdag 9 september 2022 17:23:36 CEST schreef Phil Wolff:
> Schema files should be compiled at install time before gnucash can use them.
> That's more or less the answer to your question whether they should be
> created at install time. Perhaps this went wrong for some reason.
> 
> 
> 
> 
> Can you run the following command to test this?
> 
> strings /usr/share/glib-2.0/schemas/gschemas.compiled | grep
> org.gnucash.general
> 
> 
> 
> 
> Just post the output here.
> 
> 
> 
> dellbert@dellbert:/usr/local/share/glib-2.0/schemas$ strings
> /usr/share/glib-2.0/schemas/gschemas.compiled | grep org.gnucash.general
> (())org.gnucash.general.report
> /org/gnucash/general/report/
> org.gnucash.general.report.pdf-export
> org.gnucash.general
> org.gnucash.general.report
> org.gnucash.general.register
> /org/gnucash/general/
> (i)org.gnucash.general.finance-quote
> /org/gnucash/general/finance-quote/
> org.gnucash.general.register
> /org/gnucash/general/register/
> (s(yau))org.gnucash.general.report.pdf-export
> (s).path/org/gnucash/general/report/pdf-export/
> general/org.gnucash.general
> dellbert@dellbert:/usr/local/share/glib-2.0/schemas$
> 

The output is slightly different from mine, but that's not abnormal.


Another test would be to run
gsettings list-schemas | grep org.gnucash.general

gsettings is the interface gnucash uses to access the preferences, so contrary 
to dconf-editor 
this should use the same code internally as gnucash.


Does this command return the org.gnucash.general schema (together with a few 
others) ?


Lastly to verify if compilation was completely successful you can also run


sudo glib-compile-schemas --strict /usr/share/glib-2.0/schemas


And check the result for errors. If compilation didn't result in any errors you 
could recheck if 
gnucash now works without the GSettings warnings in gnucash.trace.


Regards,


Geert
___
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.


Re: [GNC] Problems upgrading to 4.8a

2022-09-09 Thread Geert Janssens
Op vrijdag 9 september 2022 17:23:36 CEST schreef Phil Wolff:
> On 9/9/22 07:49, Geert Janssens wrote:
> 
> 
> Hi Phill,
> 
> 
> 
> 
> I'm trying to remember how everything panned out exactly back when 4.8 was
> released. There was a critical issue with the preference migration causing
> gnucash to crash on startup in certain situations. This has been fixed in
> 4.8a, which is what you have installed.
> 
> 
> 
> 
> It is slightly odd that gnucash itself fails to load these schema files
> while dconf-editor sees them just fine. But I don't know the internals of
> dconf-editor so perhaps it uses a different method of scanning for schema
> files than gnucash does.
> 
> 
> 
> 
> As to your feedback:
> 
> The gschema files you have found are the correct ones and it's good the old
> ones are not present anywhere on the system.
> 
> 
> 
> 
> The list of missing gsettings schemas you report is probably not exhaustive.
> The warnings will only be emitted when the schema is queried. Not all
> preferences are queried at once at startup.
> 
> 
> 
> 
> What we can state is that the source files for these schema definitions are
> installed. That the list of gschema files you report.
> 
> It's worth to check if the missing schemas are actually defined in these
> source files. For exmple the schema "org.gnucash.general" should be found
> in
> 
> /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.deprecated.gschema.xml
> 
> Can you verify this ?
> 
> 
> 
> 
> Schema files should be compiled at install time before gnucash can use them.
> That's more or less the answer to your question whether they should be
> created at install time. Perhaps this went wrong for some reason.
> 
> 
> 
> 
> Can you run the following command to test this?
> 
> strings /usr/share/glib-2.0/schemas/gschemas.compiled | grep
> org.gnucash.general
> 
> 
> 
> 
> Just post the output here.
> 
> 
___
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.


Re: [GNC] Problems upgrading to 4.8a

2022-09-09 Thread Phil Wolff via gnucash-user
   On 9/9/22 07:49, Geert Janssens wrote:

   Hi Phill,

   I'm trying to remember how everything panned out exactly back when 4.8
   was released. There was a critical issue with the preference migration
   causing gnucash to crash on startup in certain situations. This has
   been fixed in 4.8a, which is what you have installed.

   It is slightly odd that gnucash itself fails to load these schema files
   while dconf-editor sees them just fine. But I don't know the internals
   of dconf-editor so perhaps it uses a different method of scanning for
   schema files than gnucash does.

   As to your feedback:

   The gschema files you have found are the correct ones and it's good the
   old ones are not present anywhere on the system.

   The list of missing gsettings schemas you report is probably not
   exhaustive. The warnings will only be emitted when the schema is
   queried. Not all preferences are queried at once at startup.

   What we can state is that the source files for these schema definitions
   are installed. That the list of gschema files you report.

   It's worth to check if the missing schemas are actually defined in
   these source files. For exmple the schema "org.gnucash.general" should
   be found in

   /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.deprecated.gschema.xml

   Can you verify this ?

   Schema files should be compiled at install time before gnucash can use
   them. That's more or less the answer to your question whether they
   should be created at install time. Perhaps this went wrong for some
   reason.

   Can you run the following command to test this?

   strings /usr/share/glib-2.0/schemas/gschemas.compiled | grep
   org.gnucash.general

   Just post the output here.
   [1]dellbert@dellbert:/usr/local/share/glib-2.0/schemas$ strings
   /usr/share/glib-2.0/schemas/gschemas.compiled | grep
   org.gnucash.general
   (())org.gnucash.general.report
   /org/gnucash/general/report/
   org.gnucash.general.report.pdf-export
   org.gnucash.general
   org.gnucash.general.report
   org.gnucash.general.register
   /org/gnucash/general/
   (i)org.gnucash.general.finance-quote
   /org/gnucash/general/finance-quote/
   org.gnucash.general.register
   /org/gnucash/general/register/
   (s(yau))org.gnucash.general.report.pdf-export
   (s).path/org/gnucash/general/report/pdf-export/
   general/org.gnucash.general
   [2]dellbert@dellbert:/usr/local/share/glib-2.0/schemas$

 Regards,

 Geert

 Op vrijdag 9 september 2022 16:12:46 CEST schreef Phil Wolff:

 > On 9/8/22 13:28, Geert Janssens wrote:

 >

 > Op woensdag 7 september 2022 21:54:17 CEST schreef Phil Wolff:

 > > Geert ~

 > >

 > >

 > >

 > > Before doing anything, I looked at the current trace file. Lots
 of WARNs

 > > and

 > >

 > > ERRORs like

 > >

 > >

 > >

 > > * 12:03:55  WARN 

 > >

 > > [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access
 unknown

 > >

 > > gsettings schema org.gnucash.GnuCash.general * 12:03:55 ERROR

 > >

 > >  gboolean gnc_gsettings_get_bool(const gchar*,
 const

 > >

 > > gchar*): assertion 'G_IS_SETTINGS (settings_ptr)' failed

 >

 > This is probably the core of your problem. For some reason gnucash
 can't

 > find the schema definitions for our preferences. If I remember
 correctly in

 > most cases this is because it finds another location with the old
 schemas

 > (starting with org.gnucash and no extra .GnuCash in the path). The
 most

 > common candidate for this would be in
 /usr/local/share/glib-2.0/schemas/

 >

 > Can you search your system for other such files ?

 >

 >

 >

 >

 > Regards,

 >

 >

 >

 >

 > Geert

 >

 >

 >

 >

 > i repeated the search using "sudo find /  -xdev -name

 > org.gnucash.\*.gschema.xml" and got the same list as appears below
 this

 > comment. I then copied all of the org.gnucash files from

 > /usr/share/glib-2.0/schemas to /usr/local/share/glib-2.0/schema,
 deleted

 > /tmp/gnucash.trace (just to be sure), ran gnucash, and looked at
 the new

 > trace file. Same story. So I looked in the package manager's
 record of

 > files that were originally installed. That list exactly matches
 the results

 > of the "find" operation below.

 > > So I took a look for schema files:

 > >

 > >

 > >

 > > dellbert@dellbert:~$ sudo find /  -xdev -name

 > >

 > > org.gnucash.GnuCash\*.gschema.xml

 > >

 > >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.business.gsc
 hema.x

 > > m

 > >

 > > l
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.totd.gschema
 .xml

 > >

 > >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.import.csv.g
 schema

 > > .

 

Re: [GNC] Problems upgrading to 4.8a

2022-09-09 Thread Geert Janssens
Hi Phill,

I'm trying to remember how everything panned out exactly back when 4.8 was 
released. 
There was a critical issue with the preference migration causing gnucash to 
crash on startup 
in certain situations. This has been fixed in 4.8a, which is what you have 
installed.

It is slightly odd that gnucash itself fails to load these schema files while 
dconf-editor sees 
them just fine. But I don't know the internals of dconf-editor so perhaps it 
uses a different 
method of scanning for schema files than gnucash does.

As to your feedback:
The gschema files you have found are the correct ones and it's good the old 
ones are not 
present anywhere on the system.

The list of missing gsettings schemas you report is probably not exhaustive. 
The warnings 
will only be emitted when the schema is queried. Not all preferences are 
queried at once at 
startup.

What we can state is that the source files for these schema definitions are 
installed. That the 
list of gschema files you report.
It's worth to check if the missing schemas are actually defined in these source 
files. For 
exmple the schema "org.gnucash.general" should be found in
/usr/share/glib-2.0/schemas/org.gnucash.GnuCash.deprecated.gschema.xml
Can you verify this ?

Schema files should be compiled at install time before gnucash can use them. 
That's more or 
less the answer to your question whether they should be created at install 
time. Perhaps this 
went wrong for some reason.

Can you run the following command to test this?
strings /usr/share/glib-2.0/schemas/gschemas.compiled | grep org.gnucash.general

Just post the output here.

Regards,

Geert


Op vrijdag 9 september 2022 16:12:46 CEST schreef Phil Wolff:
> On 9/8/22 13:28, Geert Janssens wrote:
> 
> Op woensdag 7 september 2022 21:54:17 CEST schreef Phil Wolff:
> > Geert ~
> > 
> > 
> > 
> > Before doing anything, I looked at the current trace file. Lots of WARNs
> > and
> > 
> > ERRORs like
> > 
> > 
> > 
> > * 12:03:55  WARN 
> > 
> > [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
> > 
> > gsettings schema org.gnucash.GnuCash.general * 12:03:55 ERROR
> > 
> >  gboolean gnc_gsettings_get_bool(const gchar*, const
> > 
> > gchar*): assertion 'G_IS_SETTINGS (settings_ptr)' failed
> 
> This is probably the core of your problem. For some reason gnucash can't
> find the schema definitions for our preferences. If I remember correctly in
> most cases this is because it finds another location with the old schemas
> (starting with org.gnucash and no extra .GnuCash in the path). The most
> common candidate for this would be in /usr/local/share/glib-2.0/schemas/
> 
> Can you search your system for other such files ?
> 
___
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.


Re: [GNC] Problems upgrading to 4.8a

2022-09-09 Thread Phil Wolff via gnucash-user
   On 9/8/22 13:28, Geert Janssens wrote:

   Op woensdag 7 september 2022 21:54:17 CEST schreef Phil Wolff:

   > Geert ~

   >

   > Before doing anything, I looked at the current trace file. Lots of
   WARNs and

   > ERRORs like

   >

   > * 12:03:55  WARN 

   > [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown

   > gsettings schema org.gnucash.GnuCash.general * 12:03:55 ERROR

   >  gboolean gnc_gsettings_get_bool(const gchar*, const

   > gchar*): assertion 'G_IS_SETTINGS (settings_ptr)' failed

   >

   This is probably the core of your problem. For some reason gnucash
   can't find the schema definitions for our preferences. If I remember
   correctly in most cases this is because it finds another location with
   the old schemas (starting with org.gnucash and no extra .GnuCash in the
   path). The most common candidate for this would be in
   /usr/local/share/glib-2.0/schemas/

   Can you search your system for other such files ?

   Regards,

   Geert

   i repeated the search using "sudo find /  -xdev -name
   org.gnucash.\*.gschema.xml" and got the same list as appears below this
   comment. I then copied all of the org.gnucash files from
   /usr/share/glib-2.0/schemas to /usr/local/share/glib-2.0/schema,
   deleted /tmp/gnucash.trace (just to be sure), ran gnucash, and looked
   at the new trace file. Same story. So I looked in the package manager's
   record of files that were originally installed. That list exactly
   matches the results of the "find" operation below.

 > So I took a look for schema files:

 >

 > dellbert@dellbert:~$ sudo find /  -xdev -name

 > org.gnucash.GnuCash\*.gschema.xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.business.gsc
 hema.xm

 > l
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.totd.gschema
 .xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.import.csv.g
 schema.

 > xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.general.finance-quot
 e.gsche

 > ma.xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.window.pages.gschema
 .xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.warnings.gschema.xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.history.gschema.xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.reconcile.gs
 chema.x

 > ml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.export.csv.g
 schema.

 > xml
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.gschema.xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.deprecated.gschema.x
 ml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.import.hbci.
 gschema

 > .xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.flicker.gsch
 ema.xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.checkprintin
 g.gsche

 > ma.xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.import.gener
 ic.gsch

 > ema.xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.commodities.
 gschema

 > .xml
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.sxs.gschema.
 xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.import.ofx.g
 schema.

 > xml /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.gschema.xml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.dialogs.import.qif.g
 schema.x

 > ml

 >
 /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.window.pages.account
 .tree.g

 > schema.xml dellbert@dellbert:~$

 >

 >

   I extracted from the trace files all of the lines containing "Ignoring
   attempt to access unknown gsettings schema" and eliminated the
   duplicates.  Here are the missing schemas:

   * 06:30:51  WARN 
   [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
   gsettings schema org.gnucash.general
   * 06:30:56  WARN 
   [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
   gsettings schema org.gnucash.GnuCash.dialogs.business.bill
   * 06:30:52  WARN 
   [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
   gsettings schema org.gnucash.GnuCash.dialogs.business.invoice
   * 06:30:51  WARN 
   [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
   gsettings schema org.gnucash.GnuCash.dialogs.import.hbci
   * 06:30:52  WARN 
   [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
   gsettings schema org.gnucash.GnuCash.dialogs.open-save
   * 06:30:56  WARN 
   [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
   gsettings schema org.gnucash.GnuCash.dialogs.sxs.since-last-run
   * 06:30:51  WARN 
   [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown
   gsettings schema 

Re: [GNC] Mutual Fund Dividend After Sale

2022-09-09 Thread Jack Frillman via gnucash-user
I tried entering it like this for half an hour and  could not get to 
enter the values let alone finish the transaction.


But I did stumble on a way of doing it and it works for my needs anyway.

At least your example pointed me in the right direction to find a solution.

So not all wasted.

Thanks,
Jack

On 9/7/22 10:35 AM, John Layman wrote:

See attached clip.

-Original Message-


I tried something like that but couldn't get it work right.
Could you send a example screen shot?


--
Old Unix programmers never die, they just mv to /dev/null
- Anonymous

___
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.