Re: [GNC-dev] Finance Quote 1.50 release candidate 1 is available

2021-03-07 Thread John Ralls


> On Mar 7, 2021, at 5:40 AM, Rainer Dorsch via gnucash-devel 
>  wrote:
> 
> Am Sonntag, 7. März 2021, 13:23:21 CET schrieb Rainer Dorsch:
>> Am Sonntag, 31. Januar 2021, 03:06:45 CET schrieb Vincent Lucarelli:
>>> Finance Quote 1.50-rc.1 is available at
>>> https://github.com/finance-quote/finance-quote/releases/tag/v1.50-rc.1
>>> 
>>> 
>>> If anyone is available to test out their favorite quote modules, please do
>>> so.  If you find any problems or have suggestions, please open an issue on
>>> GitHub so we can try address them before the final release.
>> 
>> Hi,
>> 
>> did somebody test this by chance?
>> 
>> I did some testing and run into one weird issue:
>> 
>> It seems that all funds get the same price, maybe the price of the first
>> fund queried? I used the fondsweb module.
>> 
> 
> Wanted to add the output of gnc-fq-dump. Although it says: 
> 
> ** This stock quote cannot be used by GnuCash!
> 
> I see that it works one fund inside gnucash, but not with multiple funds as 
> described before.
> 
> rd@h370:/usr/share/doc/libfinance-quote-perl/examples$ gnc-fq-dump fondsweb 
> LU0119891520
> Finance::Quote fields Gnucash uses:
>symbol: LU0119891520 (deduced) <=== required
>  date: 03/05/2021   <=== recommended
>  currency: EUR  <=== required
>  last: 708.99   <=\   
>   nav: 708.99   <=== one of these
> price:  <=/
>  timezone:  <=== optional
> 
> ** This stock quote cannot be used by GnuCash!
> 
> rd@h370:/usr/share/doc/libfinance-quote-perl/examples$
> 
> Do do not see the issue of identical quotes when running with more than one 
> symbol:
> 
> rd@h370:/usr/share/doc/libfinance-quote-perl/examples$ gnc-fq-dump fondsweb 
> LU0119891520 LU2027374805
> Finance::Quote fields Gnucash uses:
>symbol: LU0119891520 (deduced) <=== required
>  date: 03/05/2021   <=== recommended
>  currency: EUR  <=== required
>  last: 708.99   <=\   
>   nav: 708.99   <=== one of these
> price:  <=/
>  timezone:  <=== optional
> 
> ** This stock quote cannot be used by GnuCash!
> 
> =
> 
> Finance::Quote fields Gnucash uses:
>symbol: LU2027374805 (deduced) <=== required
>  date: 03/05/2021   <=== recommended
>  currency: USD  <=== required
>  last: 68.39<=\   
>   nav: 68.39<=== one of these
> price:  <=/
>  timezone:  <=== optional
> 
> ** This stock quote cannot be used by GnuCash!
> 
> rd@h370:/usr/share/doc/libfinance-quote-perl/examples$ 

You're on the wrong list, please use gnucash-user for this sort of question.

GnuCash can't use the quotes because Fondsweb.pm doesn't make a field "symbol" 
in its return array. You should raise an issue at 
https://github.com/financequote/financequote.

As for your complaint about duplicate prices, your pasted-in results don't show 
that.

Regards,
John Ralls

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Toolbar Style

2021-03-07 Thread Robert Fewell
Taull,

That setting is no longer valid for gtk3, have a look here...
https://developer.gnome.org/gtk3/stable/GtkSettings.html
look at the properties and find gtk-toolbar-style and you will see that if
set it is ignored.

Regards,
Bob

On Sun, 7 Mar 2021 at 12:52, Taull Boi  wrote:

> Geert,
>
> Thanks for your reply. I haven't programmed with Gtk for a long time but I
> must be missing something: if the calls to set the style and icon size in
> the toolbar were removed, wouldn't the gtk (or user) defaults be used
> anyway? Alternatively, could we use the gtk settings to initialize the
> toolbar?
>
> Thanks
>
> On Sun, Mar 7, 2021 at 4:29 AM Geert Janssens 
> wrote:
>
> > Hi,
> >
> > The configuration option you reference to is a Gtk configuration option.
> > The
> > Gtk project has dropped this option with Gtk3. It now puts responsibility
> > with
> > the projects using Gtk3 to decide which toolbar style to use.
> >
> > So when GnuCash switched to  Gtk3, the possibility to configure this as a
> > user
> > was lost. After a few trials with what should be the best hard-coded
> > style, we
> > ended up with the small icons+text as the best compromise.
> >
> > Regards,
> >
> > Geert
> >
> > Op zaterdag 6 maart 2021 15:25:00 CET schreef Taull Boi:
> > > Hi,
> > >
> > > I am using gnucash 4.4 on Windows. I find that the gnucash toolbar
> style
> > > does not change even though I have correctly configured the toolbar
> style
> > > settings in gtk-3.0/Settings.ini as follows:
> > >
> > > [Settings]
> > > gtk-toolbar-style = GTK_TOOLBAR_TEXT
> > >
> > > This problem appears to have been discussed below:
> > >
> > >
> >
> http://gnucash.1415818.n4.nabble.com/GNC-Toolbar-ignoring-gtk-toolbar-style-
> >
> > setting-in-Ubuntu-18-04-Bionic-tt4699591.html
> > >
> > > I was looking at the gnucash source code and the toolbar style seems to
> > be
> > > hardcoded in the following locations:
> > >
> > > ./gnome/window-reconcile.c:1699:gtk_toolbar_set_style
> > > (GTK_TOOLBAR(widget),
> > > ./gnome-utils/gnc-embedded-window.c:302:gtk_toolbar_set_style
> > > (GTK_TOOLBAR(priv->toolbar),
> > > ./gnome-utils/gnc-main-window.c:3964:gtk_toolbar_set_style
> > > (GTK_TOOLBAR(priv->toolbar),
> > >
> > > I was wondering why this is done.
> > >
> > > Thanks for your time.
> > > ___
> > > gnucash-devel mailing list
> > > gnucash-devel@gnucash.org
> > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> >
> >
> >
> >
> >
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Finance Quote 1.50 release candidate 1 is available

2021-03-07 Thread Rainer Dorsch via gnucash-devel
Am Sonntag, 7. März 2021, 13:23:21 CET schrieb Rainer Dorsch:
> Am Sonntag, 31. Januar 2021, 03:06:45 CET schrieb Vincent Lucarelli:
> > Finance Quote 1.50-rc.1 is available at
> > https://github.com/finance-quote/finance-quote/releases/tag/v1.50-rc.1
> > 
> > 
> > If anyone is available to test out their favorite quote modules, please do
> > so.  If you find any problems or have suggestions, please open an issue on
> > GitHub so we can try address them before the final release.
> 
> Hi,
> 
> did somebody test this by chance?
> 
> I did some testing and run into one weird issue:
> 
> It seems that all funds get the same price, maybe the price of the first
> fund queried? I used the fondsweb module.
> 

Wanted to add the output of gnc-fq-dump. Although it says: 

** This stock quote cannot be used by GnuCash!

I see that it works one fund inside gnucash, but not with multiple funds as 
described before.

rd@h370:/usr/share/doc/libfinance-quote-perl/examples$ gnc-fq-dump fondsweb 
LU0119891520
Finance::Quote fields Gnucash uses:
symbol: LU0119891520 (deduced) <=== required
  date: 03/05/2021   <=== recommended
  currency: EUR  <=== required
  last: 708.99   <=\   
   nav: 708.99   <=== one of these
 price:  <=/
  timezone:  <=== optional

** This stock quote cannot be used by GnuCash!

rd@h370:/usr/share/doc/libfinance-quote-perl/examples$

Do do not see the issue of identical quotes when running with more than one 
symbol:

rd@h370:/usr/share/doc/libfinance-quote-perl/examples$ gnc-fq-dump fondsweb 
LU0119891520 LU2027374805
Finance::Quote fields Gnucash uses:
symbol: LU0119891520 (deduced) <=== required
  date: 03/05/2021   <=== recommended
  currency: EUR  <=== required
  last: 708.99   <=\   
   nav: 708.99   <=== one of these
 price:  <=/
  timezone:  <=== optional

** This stock quote cannot be used by GnuCash!

=

Finance::Quote fields Gnucash uses:
symbol: LU2027374805 (deduced) <=== required
  date: 03/05/2021   <=== recommended
  currency: USD  <=== required
  last: 68.39<=\   
   nav: 68.39<=== one of these
 price:  <=/
  timezone:  <=== optional

** This stock quote cannot be used by GnuCash!

rd@h370:/usr/share/doc/libfinance-quote-perl/examples$ 

Thanks
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Toolbar Style

2021-03-07 Thread Taull Boi
Geert,

Thanks for your reply. I haven't programmed with Gtk for a long time but I
must be missing something: if the calls to set the style and icon size in
the toolbar were removed, wouldn't the gtk (or user) defaults be used
anyway? Alternatively, could we use the gtk settings to initialize the
toolbar?

Thanks

On Sun, Mar 7, 2021 at 4:29 AM Geert Janssens 
wrote:

> Hi,
>
> The configuration option you reference to is a Gtk configuration option.
> The
> Gtk project has dropped this option with Gtk3. It now puts responsibility
> with
> the projects using Gtk3 to decide which toolbar style to use.
>
> So when GnuCash switched to  Gtk3, the possibility to configure this as a
> user
> was lost. After a few trials with what should be the best hard-coded
> style, we
> ended up with the small icons+text as the best compromise.
>
> Regards,
>
> Geert
>
> Op zaterdag 6 maart 2021 15:25:00 CET schreef Taull Boi:
> > Hi,
> >
> > I am using gnucash 4.4 on Windows. I find that the gnucash toolbar style
> > does not change even though I have correctly configured the toolbar style
> > settings in gtk-3.0/Settings.ini as follows:
> >
> > [Settings]
> > gtk-toolbar-style = GTK_TOOLBAR_TEXT
> >
> > This problem appears to have been discussed below:
> >
> >
> http://gnucash.1415818.n4.nabble.com/GNC-Toolbar-ignoring-gtk-toolbar-style->
> setting-in-Ubuntu-18-04-Bionic-tt4699591.html
> >
> > I was looking at the gnucash source code and the toolbar style seems to
> be
> > hardcoded in the following locations:
> >
> > ./gnome/window-reconcile.c:1699:gtk_toolbar_set_style
> > (GTK_TOOLBAR(widget),
> > ./gnome-utils/gnc-embedded-window.c:302:gtk_toolbar_set_style
> > (GTK_TOOLBAR(priv->toolbar),
> > ./gnome-utils/gnc-main-window.c:3964:gtk_toolbar_set_style
> > (GTK_TOOLBAR(priv->toolbar),
> >
> > I was wondering why this is done.
> >
> > Thanks for your time.
> > ___
> > gnucash-devel mailing list
> > gnucash-devel@gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>
>
>
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Finance Quote 1.50 release candidate 1 is available

2021-03-07 Thread Rainer Dorsch via gnucash-devel
Am Sonntag, 31. Januar 2021, 03:06:45 CET schrieb Vincent Lucarelli:
> Finance Quote 1.50-rc.1 is available at
> https://github.com/finance-quote/finance-quote/releases/tag/v1.50-rc.1
> 
> 
> If anyone is available to test out their favorite quote modules, please do
> so.  If you find any problems or have suggestions, please open an issue on
> GitHub so we can try address them before the final release.
> 

Hi,

did somebody test this by chance?

I did some testing and run into one weird issue:

It seems that all funds get the same price, maybe the price of the first fund 
queried? I used the fondsweb module.

Did anybody see something similar?

Thanks
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Toolbar Style

2021-03-07 Thread Geert Janssens
Hi,

The configuration option you reference to is a Gtk configuration option. The 
Gtk project has dropped this option with Gtk3. It now puts responsibility with 
the projects using Gtk3 to decide which toolbar style to use.

So when GnuCash switched to  Gtk3, the possibility to configure this as a user 
was lost. After a few trials with what should be the best hard-coded style, we 
ended up with the small icons+text as the best compromise.

Regards,

Geert

Op zaterdag 6 maart 2021 15:25:00 CET schreef Taull Boi:
> Hi,
> 
> I am using gnucash 4.4 on Windows. I find that the gnucash toolbar style
> does not change even though I have correctly configured the toolbar style
> settings in gtk-3.0/Settings.ini as follows:
> 
> [Settings]
> gtk-toolbar-style = GTK_TOOLBAR_TEXT
> 
> This problem appears to have been discussed below:
> 
> http://gnucash.1415818.n4.nabble.com/GNC-Toolbar-ignoring-gtk-toolbar-style-> 
> setting-in-Ubuntu-18-04-Bionic-tt4699591.html
> 
> I was looking at the gnucash source code and the toolbar style seems to be
> hardcoded in the following locations:
> 
> ./gnome/window-reconcile.c:1699:gtk_toolbar_set_style
> (GTK_TOOLBAR(widget),
> ./gnome-utils/gnc-embedded-window.c:302:gtk_toolbar_set_style
> (GTK_TOOLBAR(priv->toolbar),
> ./gnome-utils/gnc-main-window.c:3964:gtk_toolbar_set_style
> (GTK_TOOLBAR(priv->toolbar),
> 
> I was wondering why this is done.
> 
> Thanks for your time.
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel




___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel