Re: [GNC] Decimal separator on Gnucash 3.2 Mac

2018-07-02 Thread Bert Riding
I don't know about Macs, but the POSIX locale categories for this are
LC_MONETARY for how monetary quantities are shown, and LC_NUMERIC for
other numbers, defining decimal and thousands seperators among other
things.  See locale(5).

On Mon, 2 Jul 2018 15:43:46 -0700
John Ralls  wrote:

> I tested this a bit in the debugger and I with French as the primary
> language and Canada as the country [currentlocale objectForKey:
> NSLocaleLanguageCode] insists that the code in en, not French. If I
> tell System Prefs I'm in France it gets the right answer, so it might
> be an Apple bug.
> 
> Unfortunately setting LANG in the environment, though it will set the
> interface language, doesn't seem to change the number display, so
> there doesn't seem to be a way to force it at present.
> 
> Regards,
> John Ralls
> 
> 
> > On Jul 2, 2018, at 2:59 PM, John Ralls  wrote:
> > 
> > If you run GnuCash from a Terminal prompt do you get the right
> > separator?
> > 
> > Regards,
> > John Ralls
> >   
> >> On Jul 2, 2018, at 1:42 PM, Yves Forget via gnucash-user
> >>  wrote:
> >> 
> >> System Preferences/Language and Region says Region = Canada and
> >> language = french.  Advanced shows decimal separator is comma and
> >> thousands separator is space.  (These are default values for
> >> French Canada). Environment variable LANG=fr_CA.UTF_8 OpenOffice
> >> correctly uses comma as decimal separator. Is Gnucash supposed to
> >> use the parameters from the locale ?  Is there a way to force it ?
> >> Thanks, Yves Forget
> >> 
> >>   Le lundi 2 juillet 2018 15h48, R. Victor Klassen
> >>  a écrit :
> >> 
> >> 
> >> Maybe in Quebec it is a comma.  In the rest of the country it is a
> >> period.  
> >> 
> >> There should be a different locale for fr-canada than for
> >> en-canada.  I don’t know what else would differ across locales
> >> though. 
> >>> On Jul 2, 2018, at 3:42 PM, Yves Forget via gnucash-user
> >>>  wrote:
> >>> 
> >>>  I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X
> >>> 10.13 Gnucash uses the period as decimal separator instead of my
> >>> locale’s separator.  Here in Canada it should be comma.
> >>>  Should Gnucash use the decimal separator of my locale, or is it
> >>> always period ?  Is there a way to configure it within GnuCash ?
> >>>  Thanks,
> >>>  Yves Forget
> >>> ___
> >>> gnucash-user mailing list
> >>> gnucash-user@gnucash.org
> >>> 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.  
> >> 
> >> 
> >> 
> >> ___
> >> gnucash-user mailing list
> >> gnucash-user@gnucash.org
> >> 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.  
> > 
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > 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.  
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> 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.

-- 
Bert Riding   
rerid...@xmission.com   
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Decimal separator on Gnucash 3.2 Mac

2018-07-02 Thread John Ralls
Yves,

No, unfortunately querying NSLocaleDecimalSeparator and friends  won’t help. 
GnuCash depends at least partly on libc functions like printf (and their C++ 
equivalents) for formatting, and those functions in turn depend on a locale 
being set in the environment. They use that locale to retrieve information like 
decimal separator from the files in /usr/share/locale. In the case at hand, 
LC_MONETARY. The fact that NSLocaleLanguageCode returns en_CA instead of fr_CA 
causes the wrong LC_MONETARY to be consulted.

Given that GnuCash needs to work on Windows and other Unixes besides MacOS, the 
only alternative that I know of is ICU. WebKit uses it so it’s already a 
dependency but it would be a lot of work to convert; the API would need to be 
made available to Scheme as well for the reports because Guile also uses libc 
localization. It’s likely a multi-year project for a single programmer. (Well, 
multi-month at 40 hours/week.) Wanna volunteer?

Regards,
John Ralls



> On Jul 2, 2018, at 7:36 PM, Yves Forget  wrote:
> 
> Hi John,
> 
> Running from the terminal I still get period.  In the terminal I got the 
> following trace.
> 
> (process:1976): gnc.gui-WARNING **: 18:35:55.003: [mac_set_languages()] 
> Language list: en:fr_CA:en_CA:C
> 
> I just downloaded the sources from GitHub, and looked at 
> [mac_set_languages()].  Foundation offers global variables 
> NsLocaleDecimalSeparator, NSLocaleGroupingSeparator and 
> NSLocaleCurrencySymbol, among others.  These variables would bring directly 
> the values mac_set_languages() is trying to get.  Furthermore, if a user 
> changes the decimal separator in the Advanced panel of the Language and 
> Region system preferences, gnu cash would get the expected separator instead 
> of the locale’s default separator.  Is it something that could be changed 
> without breaking a lot of things in the app ?
> 
> Please don’t hesitate to tell me if I’m completely wrong…
> 
> Thanks,
> 
> Yves
> 
>> Le 2 juill. 2018 à 18:43, John Ralls > > a écrit :
>> 
>> I tested this a bit in the debugger and I with French as the primary 
>> language and Canada as the country [currentlocale objectForKey:  
>> NSLocaleLanguageCode] insists that the code in en, not French. If I tell 
>> System Prefs I'm in France it gets the right answer, so it might be an Apple 
>> bug.
>> 
>> Unfortunately setting LANG in the environment, though it will set the 
>> interface language, doesn't seem to change the number display, so there 
>> doesn't seem to be a way to force it at present.
>> 
>> Regards,
>> John Ralls
>> 
>> 
>>> On Jul 2, 2018, at 2:59 PM, John Ralls >> > wrote:
>>> 
>>> If you run GnuCash from a Terminal prompt do you get the right separator?
>>> 
>>> Regards,
>>> John Ralls
>>> 
 On Jul 2, 2018, at 1:42 PM, Yves Forget via gnucash-user 
 mailto:gnucash-user@gnucash.org>> wrote:
 
 System Preferences/Language and Region says Region = Canada and language = 
 french.  Advanced shows decimal separator is comma and thousands separator 
 is space.  (These are default values for French Canada).
 Environment variable LANG=fr_CA.UTF_8
 OpenOffice correctly uses comma as decimal separator.
 Is Gnucash supposed to use the parameters from the locale ?  Is there a 
 way to force it ?
 Thanks,
 Yves Forget
 
  Le lundi 2 juillet 2018 15h48, R. Victor Klassen >>> > a écrit :
 
 
 Maybe in Quebec it is a comma.  In the rest of the country it is a period. 
  
 
 There should be a different locale for fr-canada than for en-canada.  I 
 don’t know what else would differ across locales though.
 
> On Jul 2, 2018, at 3:42 PM, Yves Forget via gnucash-user 
> mailto:gnucash-user@gnucash.org>> wrote:
> 
> I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X 10.13
> Gnucash uses the period as decimal separator instead of my locale’s
> separator.  Here in Canada it should be comma.
> Should Gnucash use the decimal separator of my locale, or is it always
> period ?  Is there a way to configure it within GnuCash ?
> Thanks,
> Yves Forget
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org 
> 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.
 
 
 
 ___
 gnucash-user mailing list
 gnucash-user@gnucash.org 
 To update your subscription preferences or to unsubscribe:

Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Thomas Forrester
Hmm.  In the past it seemed that was happening just by replying, but I see
it did not in this case.  Replying to you AND the list this time, because I
agree that the devs need feedback on issues like this.  Thanks for pointing
out the missed address.


On Sun, Jul 1, 2018 at 12:25 PM Stan Brown 
wrote:

> Thanks for your agreement, but t looks like you replied to me and not to
> the list. I think the devs need to see comments on this point -- the
> more they see, the more likely they'll actually fix it.
>
> --
> Regards,
> Stan Brown
> Tompkins County, New York, USA
> http://BrownMath.com
> http://OakRoadSystems.com
>
>
> On 2018-07-01 11:58, Thomas Forrester wrote:
> > Totally agree.  Windows in not entirely free of messy installers, far
> > from it, but the vast majority of installers take care of the
> > prerequisites, including suspending the installation waiting for the
> > user to close a program that's trying to upgrade itself.  At a minimum
> > any installer worth its salt should be able to check existing files
> > against a manifest of valid files for the currently installing version,
> > and delete anything conflicting.
> >
> >
> > On Sun, Jul 1, 2018 at 7:04 AM Stan Brown  > > wrote:
> >
> > Here's my take, for what it's worth. At least in the Windows world,
> the
> > assumption is that when you install a new version it either removes
> the
> > old version entirely, or leaves the old version functional but
> installs
> > the new version in parallel. (The latter is less common, but some
> > programs do it when the new version is a major change.) Leaving a few
> > old files behind as orphans is usually regarded as an error of the
> new
> > installer.
> >
> > I don't have a problem with the requirement to uninstall the old
> > version, but it was news to me, and I think would surprise many
> Windows
> > users. Surely the installer of the new version can uninstall the old
> > version itself -- and in my opinion, it should.
> >
> > --
> > Regards,
> > Stan Brown
> > Tompkins County, New York, USA
> > http://BrownMath.com
> > http://OakRoadSystems.com
> >
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org 
> > 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.
> >
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] Decimal separator on Gnucash 3.2 Mac

2018-07-02 Thread Yves Forget via gnucash-user
   Hi John,
   Running from the terminal I still get period.  In the terminal I got
   the following trace.
   (process:1976): gnc.gui-WARNING **: 18:35:55.003: [mac_set_languages()]
   Language list: en:fr_CA:en_CA:C
   I just downloaded the sources from GitHub, and looked
   at [mac_set_languages()].  Foundation offers global variables
   NsLocaleDecimalSeparator, NSLocaleGroupingSeparator and
   NSLocaleCurrencySymbol, among others.  These variables would bring
   directly the values mac_set_languages() is trying to get.  Furthermore,
   if a user changes the decimal separator in the Advanced panel of the
   Language and Region system preferences, gnu cash would get the expected
   separator instead of the locale’s default separator.  Is it something
   that could be changed without breaking a lot of things in the app ?
   Please don’t hesitate to tell me if I’m completely wrong…
   Thanks,
   Yves

   Le 2 juill. 2018 à 18:43, John Ralls <[1]jra...@ceridwen.us> a écrit :

   I tested this a bit in the debugger and I with French as the primary
   language and Canada as the country [currentlocale objectForKey:
   NSLocaleLanguageCode] insists that the code in en, not French. If I
   tell System Prefs I'm in France it gets the right answer, so it might
   be an Apple bug.
   Unfortunately setting LANG in the environment, though it will set the
   interface language, doesn't seem to change the number display, so there
   doesn't seem to be a way to force it at present.
   Regards,
   John Ralls

 On Jul 2, 2018, at 2:59 PM, John Ralls <[2]jra...@ceridwen.us>
 wrote:
 If you run GnuCash from a Terminal prompt do you get the right
 separator?
 Regards,
 John Ralls

 On Jul 2, 2018, at 1:42 PM, Yves Forget via gnucash-user
 <[3]gnucash-user@gnucash.org> wrote:
 System Preferences/Language and Region says Region = Canada and
 language = french.  Advanced shows decimal separator is comma and
 thousands separator is space.  (These are default values for French
 Canada).
 Environment variable LANG=fr_CA.UTF_8
 OpenOffice correctly uses comma as decimal separator.
 Is Gnucash supposed to use the parameters from the locale ?  Is
 there a way to force it ?
 Thanks,
 Yves Forget
  Le lundi 2 juillet 2018 15h48, R. Victor Klassen
 <[4]rvklas...@gmail.com> a écrit :
 Maybe in Quebec it is a comma.  In the rest of the country it is a
 period.
 There should be a different locale for fr-canada than for en-canada.
  I don’t know what else would differ across locales though.

 On Jul 2, 2018, at 3:42 PM, Yves Forget via gnucash-user
 <[5]gnucash-user@gnucash.org> wrote:
 I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X 10.13
 Gnucash uses the period as decimal separator instead of my locale’s
 separator.  Here in Canada it should be comma.
 Should Gnucash use the decimal separator of my locale, or is it
 always
 period ?  Is there a way to configure it within GnuCash ?
 Thanks,
 Yves Forget
 ___
 gnucash-user mailing list
 [6]gnucash-user@gnucash.org
 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.

 ___
 gnucash-user mailing list
 [7]gnucash-user@gnucash.org
 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.

 ___
 gnucash-user mailing list
 [8]gnucash-user@gnucash.org
 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.

References

   1. mailto:jra...@ceridwen.us
   2. mailto:jra...@ceridwen.us
   3. mailto:gnucash-user@gnucash.org
   4. mailto:rvklas...@gmail.com
   5. mailto:gnucash-user@gnucash.org
   6. mailto:gnucash-user@gnucash.org
   7. mailto:gnucash-user@gnucash.org
   8. mailto:gnucash-user@gnucash.org
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to 

Re: [GNC] Decimal separator on Gnucash 3.2 Mac

2018-07-02 Thread Yves Forget via gnucash-user
Hi John,

Running from the terminal I still get period.  In the terminal I got the 
following trace.

(process:1976): gnc.gui-WARNING **: 18:35:55.003: [mac_set_languages()] 
Language list: en:fr_CA:en_CA:C

I just downloaded the sources from GitHub, and looked at [mac_set_languages()]. 
 Foundation offers global variables NsLocaleDecimalSeparator, 
NSLocaleGroupingSeparator and NSLocaleCurrencySymbol, among others.  These 
variables would bring directly the values mac_set_languages() is trying to get. 
 Furthermore, if a user changes the decimal separator in the Advanced panel of 
the Language and Region system preferences, gnu cash would get the expected 
separator instead of the locale’s default separator.  Is it something that 
could be changed without breaking a lot of things in the app ?

Please don’t hesitate to tell me if I’m completely wrong…

Thanks,

Yves

> Le 2 juill. 2018 à 18:43, John Ralls  > a écrit :
> 
> I tested this a bit in the debugger and I with French as the primary language 
> and Canada as the country [currentlocale objectForKey:  NSLocaleLanguageCode] 
> insists that the code in en, not French. If I tell System Prefs I'm in France 
> it gets the right answer, so it might be an Apple bug.
> 
> Unfortunately setting LANG in the environment, though it will set the 
> interface language, doesn't seem to change the number display, so there 
> doesn't seem to be a way to force it at present.
> 
> Regards,
> John Ralls
> 
> 
>> On Jul 2, 2018, at 2:59 PM, John Ralls > > wrote:
>> 
>> If you run GnuCash from a Terminal prompt do you get the right separator?
>> 
>> Regards,
>> John Ralls
>> 
>>> On Jul 2, 2018, at 1:42 PM, Yves Forget via gnucash-user 
>>> mailto:gnucash-user@gnucash.org>> wrote:
>>> 
>>> System Preferences/Language and Region says Region = Canada and language = 
>>> french.  Advanced shows decimal separator is comma and thousands separator 
>>> is space.  (These are default values for French Canada).
>>> Environment variable LANG=fr_CA.UTF_8
>>> OpenOffice correctly uses comma as decimal separator.
>>> Is Gnucash supposed to use the parameters from the locale ?  Is there a way 
>>> to force it ?
>>> Thanks,
>>> Yves Forget
>>> 
>>>  Le lundi 2 juillet 2018 15h48, R. Victor Klassen >> > a écrit :
>>> 
>>> 
>>> Maybe in Quebec it is a comma.  In the rest of the country it is a period.  
>>> 
>>> There should be a different locale for fr-canada than for en-canada.  I 
>>> don’t know what else would differ across locales though.
>>> 
 On Jul 2, 2018, at 3:42 PM, Yves Forget via gnucash-user 
 mailto:gnucash-user@gnucash.org>> wrote:
 
 I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X 10.13
 Gnucash uses the period as decimal separator instead of my locale’s
 separator.  Here in Canada it should be comma.
 Should Gnucash use the decimal separator of my locale, or is it always
 period ?  Is there a way to configure it within GnuCash ?
 Thanks,
 Yves Forget
 ___
 gnucash-user mailing list
 gnucash-user@gnucash.org 
 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.
>>> 
>>> 
>>> 
>>> ___
>>> gnucash-user mailing list
>>> gnucash-user@gnucash.org 
>>> 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.
>> 
>> ___
>> gnucash-user mailing list
>> gnucash-user@gnucash.org 
>> 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.
> 

___
gnucash-user mailing list
gnucash-user@gnucash.org
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 

Re: [GNC] Odd behavior on Transaction Report

2018-07-02 Thread Stephen M. Butler
On 07/02/2018 06:02 PM, Christopher Lam wrote:
> Hi Stephen
> The Running balance is directly retrieved from the split data; the
> ordering of same-day splits is, I believe, dependent on the order of
> data entered.
> If it matters try setting one of the sortkeys to 'register order' - it
> may work but even if it does, the custom sorter will sort strictly
> by date, so, the running balances will have unpredictable order.
> C
>

Yuck.  To bad the report doesn't recalculate the balances in the order
of the sort.
> On 2 July 2018 at 12:07, Stephen M. Butler  > wrote:
>
> While balancing our checking account we ran into odd behavior on the 
> transaction report.
>
> The running balance column goes backwards when there are multiple
> transactions on the same day.  For example:
>
> 05/17/2018      1213    x   
>         Green House     
>         $40.00
> 
> $2,863.80 
> 05/18/2018      1195       
>         Green House     
>         $2,250.00
> 
> $1,564.45 
> 05/18/2018     
>         I   
>         IHSA   
>         $126.58
> 
> $3,814.45 
> 05/18/2018     
>         xxx     
>         Church 
>         $822.77
> 
> $3,941.03 
> 05/18/2018     
>         xxx     
>         Cash.   
>         $200.00
> 
> $4,763.80 
> 05/18/2018     
>         Transfer       
>         Money Market    $2,100.00
>      
>         $4,963.80
> 
>
>
>
> Notice how the running balance jumps from line 1 to line 6 then works
> itself upwards back to line 2.  Then it jumps to line 7 (not shown).
> Made for an interesting hour until the accountant figured out what was
> going on.
>
> -- 
> Stephen M Butler, PMP, PSM
> stephen.m.butle...@gmail.com 
> kg...@arrl.net 
> 253-350-0166
> ---
> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org 
> 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.
>
>

-- 
Stephen M Butler, PMP, PSM
stephen.m.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Odd behavior on Transaction Report

2018-07-02 Thread Christopher Lam
Hi Stephen
The Running balance is directly retrieved from the split data; the ordering
of same-day splits is, I believe, dependent on the order of data entered.
If it matters try setting one of the sortkeys to 'register order' - it may
work but even if it does, the custom sorter will sort strictly by date,
so, the running balances will have unpredictable order.
C

On 2 July 2018 at 12:07, Stephen M. Butler  wrote:

> While balancing our checking account we ran into odd behavior on the
> transaction report.
>
> The running balance column goes backwards when there are multiple
> transactions on the same day.  For example:
>
> 05/17/2018  1213x
> Green House
> $40.00 
> $2,863.80 
> 05/18/2018  1195
> Green House
> $2,250.00  a6#>
> $1,564.45 
> 05/18/2018
> I
> IHSA
> $126.58  57#>
> $3,814.45 
> 05/18/2018
> xxx
> Church
> $822.77  3a#>
> $3,941.03 
> 05/18/2018
> xxx
> Cash.
> $200.00  8f#>
> $4,763.80 
> 05/18/2018
> Transfer
> Money Market$2,100.00
> 
> $4,963.80  9f#>
>
>
>
> Notice how the running balance jumps from line 1 to line 6 then works
> itself upwards back to line 2.  Then it jumps to line 7 (not shown).
> Made for an interesting hour until the accountant figured out what was
> going on.
>
> --
> Stephen M Butler, PMP, PSM
> stephen.m.butle...@gmail.com
> kg...@arrl.net
> 253-350-0166
> ---
> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> 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.
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] V#3 Windows scroll bars

2018-07-02 Thread Chris Good
>From: Chris Good  
>Sent: Sunday, 27 May 2018 11:15 AM
>To: 'GnuCash User Mailing List' 
>Subject: V#3 Windows scroll bars
>
>Hi,
>
>Users of Gnucash 3 may have noticed that the scrollbars are used
differently in GnuCash version 3 to version 2.
>If you now click above (or below) the current position bar in the
>scrollbar, it takes you to the place in the window which is proportional to
where in the scroll bar you click, rather
>than up (or down) 1 screen full.
>
>This is due to the change from gtk2 to gtk3.
>There is a gtk3 setting which can be changed to revert back to the old
behaviour but this is currently not working for GnuCash.
>I have raised bug https://bugzilla.gnome.org/show_bug.cgi?id=796421 - GTK3
settings.ini not being used
>so that hopefully this can be fixed.
>
>In the meantime. you can revert back to the old behaviour by using
shift-left-click or middle-button-click instead of just left click.
>I have tested this in Windows 10. This should also work in Linux. Not sure
about Mac sorry.
>
>Regards, Chris Good

I've found that the reason my configuration change in settings.ini was not
working, was because I used an incorrect character (semi-colon) to mark the
first line as a comment instead of #.
When I changed C:\Users\{UserName}\AppData\Local\gtk-3.0\settings.ini to:

# Use Windows style scrollbars
[Settings]
gtk-primary-button-warps-slider=false

it works fine.

In Linux, this file is usually
/home/{UserName}/.config/gtk-3.0/settings.ini.
In Mac, it should be /Users/{UserName}/Library/Application
Support/GnuCash/gtk-3.0/settings.ini

Regards, Chris Good

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] Decimal separator on Gnucash 3.2 Mac

2018-07-02 Thread John Ralls
I tested this a bit in the debugger and I with French as the primary language 
and Canada as the country [currentlocale objectForKey:  NSLocaleLanguageCode] 
insists that the code in en, not French. If I tell System Prefs I'm in France 
it gets the right answer, so it might be an Apple bug.

Unfortunately setting LANG in the environment, though it will set the interface 
language, doesn't seem to change the number display, so there doesn't seem to 
be a way to force it at present.

Regards,
John Ralls


> On Jul 2, 2018, at 2:59 PM, John Ralls  wrote:
> 
> If you run GnuCash from a Terminal prompt do you get the right separator?
> 
> Regards,
> John Ralls
> 
>> On Jul 2, 2018, at 1:42 PM, Yves Forget via gnucash-user 
>>  wrote:
>> 
>> System Preferences/Language and Region says Region = Canada and language = 
>> french.  Advanced shows decimal separator is comma and thousands separator 
>> is space.  (These are default values for French Canada).
>> Environment variable LANG=fr_CA.UTF_8
>> OpenOffice correctly uses comma as decimal separator.
>> Is Gnucash supposed to use the parameters from the locale ?  Is there a way 
>> to force it ?
>> Thanks,
>> Yves Forget
>> 
>>   Le lundi 2 juillet 2018 15h48, R. Victor Klassen  a 
>> écrit :
>> 
>> 
>> Maybe in Quebec it is a comma.  In the rest of the country it is a period.  
>> 
>> There should be a different locale for fr-canada than for en-canada.  I 
>> don’t know what else would differ across locales though.
>> 
>>> On Jul 2, 2018, at 3:42 PM, Yves Forget via gnucash-user 
>>>  wrote:
>>> 
>>>  I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X 10.13
>>>  Gnucash uses the period as decimal separator instead of my locale’s
>>>  separator.  Here in Canada it should be comma.
>>>  Should Gnucash use the decimal separator of my locale, or is it always
>>>  period ?  Is there a way to configure it within GnuCash ?
>>>  Thanks,
>>>  Yves Forget
>>> ___
>>> gnucash-user mailing list
>>> gnucash-user@gnucash.org
>>> 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.
>> 
>> 
>> 
>> ___
>> gnucash-user mailing list
>> gnucash-user@gnucash.org
>> 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.
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> 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.

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Advanced Portfolio: "sell transaction causing a negative stock balance, and a subsequent buy transaction causing a zero balance"

2018-07-02 Thread Anthony Joseph Messina
While the duplicated transaction wasn't duplicated as reconciled, I went ahead 
and duplicated the transaction and re-reconciled and now evrything works well.  
Thanks for the pointer, Christopher!  -A

On Sunday, July 1, 2018 5:08:29 PM CDT Christopher Lam wrote:
> Highlight the "transfer" buy transaction, click transaction duplicate, and
> accept the exact same day. You now have two buy transactions. Now highlight
> the first one and delete it.
> 
> On Mon, 2 Jul 2018, 05:54 Anthony Joseph Messina 
> wrote: With GnuCash 3.1 on Fedora 28, I encounter the following error with
> the Advanced Portfolio report that I didn't receive on previous 2.6.y
> versions.
> 
> "There is an error processing the transaction 'buying 1.4907 share units'.
> This may to be caused by a sell transaction causing a negative stock
> balance, and a subsequent buy transaction causing a zero balance. This
> leads to a division-by-zero error. It can be fixed by preventing negative
> stock balances."
> 
> A stock in one of my 403(b) accounts was exchanged for another back on
> 4/24/2015.
> 
> DateDescription Tot Shares  Tot Buy Tot Sell
>Balance 4/09/15 
>258.9702 4/24/15 Transfer   
> -260.4609   38,540.22   -1.4907 4/24/15 Contrib
> 1.4907  220.58  0
> 
> What is the proper fix here?  It seems like the "Contrib" entry needs to be
> moved just before the "Transfer" on 4/24/15, but I'm not sure of the way to
> do this.  If I try to fake the date of "Contrib" to 4/23/15, I get the
> ominous warning about moving a transaction that's been reconciled, so I
> don't really want to do that.
> 
> Thanks for your help.  -A


signature.asc
Description: This is a digitally signed message part.
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Decimal separator on Gnucash 3.2 Mac

2018-07-02 Thread John Ralls
If you run GnuCash from a Terminal prompt do you get the right separator?

Regards,
John Ralls

> On Jul 2, 2018, at 1:42 PM, Yves Forget via gnucash-user 
>  wrote:
> 
> System Preferences/Language and Region says Region = Canada and language = 
> french.  Advanced shows decimal separator is comma and thousands separator is 
> space.  (These are default values for French Canada).
> Environment variable LANG=fr_CA.UTF_8
> OpenOffice correctly uses comma as decimal separator.
> Is Gnucash supposed to use the parameters from the locale ?  Is there a way 
> to force it ?
> Thanks,
> Yves Forget
> 
>Le lundi 2 juillet 2018 15h48, R. Victor Klassen  a 
> écrit :
> 
> 
> Maybe in Quebec it is a comma.  In the rest of the country it is a period.  
> 
> There should be a different locale for fr-canada than for en-canada.  I don’t 
> know what else would differ across locales though.
> 
>> On Jul 2, 2018, at 3:42 PM, Yves Forget via gnucash-user 
>>  wrote:
>> 
>>   I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X 10.13
>>   Gnucash uses the period as decimal separator instead of my locale’s
>>   separator.  Here in Canada it should be comma.
>>   Should Gnucash use the decimal separator of my locale, or is it always
>>   period ?  Is there a way to configure it within GnuCash ?
>>   Thanks,
>>   Yves Forget
>> ___
>> gnucash-user mailing list
>> gnucash-user@gnucash.org
>> 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.
> 
> 
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> 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.

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Decimal separator on Gnucash 3.2 Mac

2018-07-02 Thread Yves Forget via gnucash-user
System Preferences/Language and Region says Region = Canada and language = 
french.  Advanced shows decimal separator is comma and thousands separator is 
space.  (These are default values for French Canada).
Environment variable LANG=fr_CA.UTF_8
OpenOffice correctly uses comma as decimal separator.
Is Gnucash supposed to use the parameters from the locale ?  Is there a way to 
force it ?
 Thanks,
Yves Forget

Le lundi 2 juillet 2018 15h48, R. Victor Klassen  a 
écrit :
 

 Maybe in Quebec it is a comma.  In the rest of the country it is a period.  

There should be a different locale for fr-canada than for en-canada.  I don’t 
know what else would differ across locales though.

> On Jul 2, 2018, at 3:42 PM, Yves Forget via gnucash-user 
>  wrote:
> 
>  I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X 10.13
>  Gnucash uses the period as decimal separator instead of my locale’s
>  separator.  Here in Canada it should be comma.
>  Should Gnucash use the decimal separator of my locale, or is it always
>  period ?  Is there a way to configure it within GnuCash ?
>  Thanks,
>  Yves Forget
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> 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.


   
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Upgrading GC under Ubuntu

2018-07-02 Thread Stephen M. Butler
On 07/02/2018 12:34 PM, Colin Law wrote:
> I thought you might have hit on something there (the shell) as I have
> been using ssh to connect in to run it, but I have tried locally and
> it is the same.  I have added some cmake message output and can see
> that the command to install to /usr/local/share/gnucash/icons does
> nothing unless I hack the regex.  The one to output to
> /usr/local/share/icons is working correctly.  I am using bash too.
>
> It doesn't make sense.   I am at a loss to know what to try next.
>
> Colin
>


At times I've found I have to escape the * or the shell will immediately
expand it.  Other times it seems to pass through OK.  I don't know why.

I haven't tried here since it is working for me.  Very strange.


-- 
Stephen M Butler, PMP, PSM
stephen.m.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Rethinking the placeholder account concept (was: Re: Fwd: The two modules)

2018-07-02 Thread Christian Kluge
Am 02.07.2018 um 03:05 schrieb Christopher Lam:
> Discussions are useful; but would anyone have an idealised template, or
> sample output that the balance sheet should produce? Idealy with the
> 'account-has-children-and-amounts' peculiarity?
> The balsheet in development will, ideally, replace the current (non-eguile)
> one.

As I’ve written before the template for a German balance sheet is
defined in § 266 HGB, but I don’t feel able to provide the English
translations.

Regards

Christian

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Decimal separator on Gnucash 3.2 Mac

2018-07-02 Thread R. Victor Klassen
Maybe in Quebec it is a comma.  In the rest of the country it is a period.  

There should be a different locale for fr-canada than for en-canada.  I don’t 
know what else would differ across locales though.

> On Jul 2, 2018, at 3:42 PM, Yves Forget via gnucash-user 
>  wrote:
> 
>   I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X 10.13
>   Gnucash uses the period as decimal separator instead of my locale’s
>   separator.  Here in Canada it should be comma.
>   Should Gnucash use the decimal separator of my locale, or is it always
>   period ?  Is there a way to configure it within GnuCash ?
>   Thanks,
>   Yves Forget
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> 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.

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

[GNC] Decimal separator on Gnucash 3.2 Mac

2018-07-02 Thread Yves Forget via gnucash-user
   I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X 10.13
   Gnucash uses the period as decimal separator instead of my locale’s
   separator.  Here in Canada it should be comma.
   Should Gnucash use the decimal separator of my locale, or is it always
   period ?  Is there a way to configure it within GnuCash ?
   Thanks,
   Yves Forget
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Upgrading GC under Ubuntu

2018-07-02 Thread Colin Law
I thought you might have hit on something there (the shell) as I have been
using ssh to connect in to run it, but I have tried locally and it is the
same.  I have added some cmake message output and can see that the command
to install to /usr/local/share/gnucash/icons does nothing unless I hack the
regex.  The one to output to /usr/local/share/icons is working correctly.
I am using bash too.

It doesn't make sense.   I am at a loss to know what to try next.

Colin

On 2 July 2018 at 17:53, Stephen M. Butler  wrote:

> On 07/02/2018 07:31 AM, Colin Law wrote:
> > On 29 June 2018 at 20:50, Stephen M. Butler  > > wrote:
> >
> > ...
> > Having just done a download and compile to my Ubuntu 18.04, let me
> > share
> > with you what I did.  Sometimes reading the web sites leaves one (at
> > least me) scratching their head vigorously -- in my case not a
> > good idea
> > with the hair I have left!
> >
> >
> > Hi Stephen
> >
> > Following your 18.04 build have you got all the icons available?
> > Assuming you installed to /usr/local then you should see
> > $ ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions
> > total 72
> > -rw-r--r-- 1 root root 540 Apr 15 00:51 gnc-account-delete.png
> > -rw-r--r-- 1 root root 416 Apr 15 00:51 gnc-account-edit.png
> > -rw-r--r-- 1 root root 460 Apr 15 00:51 gnc-account-new.png
> > -rw-r--r-- 1 root root 540 Apr 15 00:51 gnc-account-open.png
> > -rw-r--r-- 1 root root 334 Apr 15 00:51 gnc-account.png
> > 
> >
> > If they are there could you help me to debug an install issue please?
> > Remove or rename /usr/local/share/gnucash/icons and rerun
> > sudo make install
> > Then check to see if the icons have been restored?  When I try it on
> > 18.04 I am not getting the icons and have to hack one of the cmake
> > files to get it to work, but for others it works ok on Ubuntu 16.04.
> >
> > Thanks
> >
> > Colin
> >
>
> I have:
> ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions
> total 72
> -rw-r--r-- 1 root root 540 Apr 14 16:51 gnc-account-delete.png
> -rw-r--r-- 1 root root 416 Apr 14 16:51 gnc-account-edit.png
> -rw-r--r-- 1 root root 460 Apr 14 16:51 gnc-account-new.png
> -rw-r--r-- 1 root root 540 Apr 14 16:51 gnc-account-open.png
> -rw-r--r-- 1 root root 334 Apr 14 16:51 gnc-account.png
> -rw-r--r-- 1 root root 417 Apr 14 16:51 gnc-account-report.png
> -rw-r--r-- 1 root root 549 Apr 14 16:51 gnc-gnome-pdf.png
> -rw-r--r-- 1 root root 824 Apr 14 16:51 gnc-invoice-duplicate.png
> -rw-r--r-- 1 root root 711 Apr 14 16:51 gnc-invoice-edit.png
> -rw-r--r-- 1 root root 542 Apr 14 16:51 gnc-invoice-new.png
> -rw-r--r-- 1 root root 767 Apr 14 16:51 gnc-invoice-pay.png
> -rw-r--r-- 1 root root 546 Apr 14 16:51 gnc-invoice.png
> -rw-r--r-- 1 root root 658 Apr 14 16:51 gnc-invoice-post.png
> -rw-r--r-- 1 root root 682 Apr 14 16:51 gnc-invoice-unpost.png
> -rw-r--r-- 1 root root 723 Apr 14 16:51 gnc-jumpto.png
> -rw-r--r-- 1 root root 616 Apr 14 16:51 gnc-split-trans.png
> -rw-r--r-- 1 root root 789 Apr 14 16:51 gnc-transfer.png
> -rw-r--r-- 1 root root 714 Apr 14 16:51 gnc-sx-new.png
> -rw-r--r-- 1 root root 789 Apr 14 16:51 gnc-transfer.png
>
> I then did:
> cd /usr/local/share/gnucash
> sudo mv icons smbhold
> cd ~/Projects/GnuCash/mybuild
> sudo make install
> << snip a long list>>
> -- Up-to-date: /usr/local/share/gnucash/pixmaps/gnucash_splash.png
> -- Installing: /usr/local/share/gnucash/icons/hicolor
> -- Installing: /usr/local/share/gnucash/icons/hicolor/scalable
> -- Installing: /usr/local/share/gnucash/icons/hicolor/16x16
> steve@stevelaptop:/usr/local/share/gnucash
> -- Installing: /usr/local/share/gnucash/icons/hicolor/16x16/actions
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-edit.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-post.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-gnome-pdf.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-edit.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-pay.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-new.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/
> gnc-account-report.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-new.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/
> gnc-invoice-duplicate.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-sx-new.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-jumpto.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-open.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice.png
> -- Installing:
> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-split-trans.png
> -- 

Re: [GNC] Changing default font size in Gnucash 3.2

2018-07-02 Thread John Ralls


> On Jul 2, 2018, at 11:20 AM, Geert Janssens  
> wrote:
> 
> Op maandag 2 juli 2018 18:34:18 CEST schreef John Ralls:
>>> On Jul 2, 2018, at 9:03 AM, Geert Janssens 
>>> wrote:> 
>>> Op maandag 2 juli 2018 16:28:39 CEST schreef John Ralls:
> On Jul 2, 2018, at 2:46 AM, Geert Janssens 
> wrote:>
> 
> Op zondag 1 juli 2018 21:03:50 CEST schreef Daniel Dickinson:
>> I just upgraded to Gnucash 3.2 (on Mac OS X 10.13.4) and am having
>> trouble
>> setting a default font size.  The current font is too small and makes
>> it
>> very difficult for me to read the register.
>> 
>> 
>> Following the instructions at https://wiki.gnucash.org/wiki/GTK3, I
>> created
>> the file ~/Library/Application
>> Support/Gnucash/config/gtk-3.0/settings.ini
> 
>> (this file didn't exist previously), with the following contents:
> I wrote these instructions, but I'll admit the location of this file on
> Macos was an educated guess which I can't verify as I don't have an
> Macos
> system available to experiment with.
> There is potentially a second location that could be queried rather that
> the one above.
> Can you try to make the changes here instead:
> ~/.config/gtk-3.0/settings.ini
> 
> I would be interested to learn if that does work.
> 
> Otherwise the suggestion by GT-I9070 H is the third option. It is likely
> to
> work because we have more direct control over GNC_CONFIG_HOME.
 
 ~/Application Support/Gnucash/config/gtk-3.0 is the correct path on
 MacOS.
 XDG_CONFIG_HOME is set in
 Gnucash.app/Contents/Resources/etc/gnucash/environment and needs to be
 changed there to override it.
 
 I’ve found that settings.ini doesn’t work to set the font, you need a
 gtk.css in the same directory with contents like * {
 
   font-family: Arial;
 
 }
 
 and whatever other CSS font directives you want.
>>> 
>>> I'm curious what gtk3 does differently on MacOS that it doesn't pick up
>>> settings.ini in its config file, or ignores the font configuration. Or is
>>> there another font override in the way on that platform ?
>> 
>> Geert,
>> 
>> That I don’t know. As it happens I spent some time yesterday debugging
>> https://bugs.gnucash.org/show_bug.cgi?id=796727
>> ; I’ve gotten far enough
>> to understand that gtksettings isn’t loading the default settings.ini in
>> GnuCash.app/Contents/Resources/etc/gtk-3.0 (I think I need to add yet
>> another line to environment setting XDG_CONFIG_PATH to include the bundle
>> directories), but even after copying it to ~/Library/Application
>> Support/Gnucash/config/gtk-3.0 it parses the line ‘gtk-key-theme-name =
>> Emacs’ but doesn’t change the GSettings value from “Mac” which is set
>> programmatically earlier in GSettings initialization.
> 
> Ok. At least is shows settings.ini is being read in ~/Library/Application 
> Support/Gnucash/config/gtk-3.0. But it seems to not apply any of the settings 
> in that file...

It applies "gtk-primary-button-warps-slider = false" just fine. (Thanks, Colin, 
for reminding me about that. I despise the warping.)

Regards,
John Ralls

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Changing default font size in Gnucash 3.2

2018-07-02 Thread Geert Janssens
Op maandag 2 juli 2018 18:34:18 CEST schreef John Ralls:
> > On Jul 2, 2018, at 9:03 AM, Geert Janssens 
> > wrote:> 
> > Op maandag 2 juli 2018 16:28:39 CEST schreef John Ralls:
> >>> On Jul 2, 2018, at 2:46 AM, Geert Janssens 
> >>> wrote:>
> >>> 
> >>> Op zondag 1 juli 2018 21:03:50 CEST schreef Daniel Dickinson:
>  I just upgraded to Gnucash 3.2 (on Mac OS X 10.13.4) and am having
>  trouble
>  setting a default font size.  The current font is too small and makes
>  it
>  very difficult for me to read the register.
>  
>  
>  Following the instructions at https://wiki.gnucash.org/wiki/GTK3, I
>  created
>  the file ~/Library/Application
>  Support/Gnucash/config/gtk-3.0/settings.ini
> >>> 
>  (this file didn't exist previously), with the following contents:
> >>> I wrote these instructions, but I'll admit the location of this file on
> >>> Macos was an educated guess which I can't verify as I don't have an
> >>> Macos
> >>> system available to experiment with.
> >>> There is potentially a second location that could be queried rather that
> >>> the one above.
> >>> Can you try to make the changes here instead:
> >>> ~/.config/gtk-3.0/settings.ini
> >>> 
> >>> I would be interested to learn if that does work.
> >>> 
> >>> Otherwise the suggestion by GT-I9070 H is the third option. It is likely
> >>> to
> >>> work because we have more direct control over GNC_CONFIG_HOME.
> >> 
> >> ~/Application Support/Gnucash/config/gtk-3.0 is the correct path on
> >> MacOS.
> >> XDG_CONFIG_HOME is set in
> >> Gnucash.app/Contents/Resources/etc/gnucash/environment and needs to be
> >> changed there to override it.
> >> 
> >> I’ve found that settings.ini doesn’t work to set the font, you need a
> >> gtk.css in the same directory with contents like * {
> >> 
> >>font-family: Arial;
> >> 
> >> }
> >> 
> >> and whatever other CSS font directives you want.
> > 
> > I'm curious what gtk3 does differently on MacOS that it doesn't pick up
> > settings.ini in its config file, or ignores the font configuration. Or is
> > there another font override in the way on that platform ?
> 
> Geert,
> 
> That I don’t know. As it happens I spent some time yesterday debugging
> https://bugs.gnucash.org/show_bug.cgi?id=796727
> ; I’ve gotten far enough
> to understand that gtksettings isn’t loading the default settings.ini in
> GnuCash.app/Contents/Resources/etc/gtk-3.0 (I think I need to add yet
> another line to environment setting XDG_CONFIG_PATH to include the bundle
> directories), but even after copying it to ~/Library/Application
> Support/Gnucash/config/gtk-3.0 it parses the line ‘gtk-key-theme-name =
> Emacs’ but doesn’t change the GSettings value from “Mac” which is set
> programmatically earlier in GSettings initialization.

Ok. At least is shows settings.ini is being read in ~/Library/Application 
Support/Gnucash/config/gtk-3.0. But it seems to not apply any of the settings 
in that file...

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

Re: [GNC] Install error

2018-07-02 Thread John Ralls
Thanks for the acknowledgment but please remember to copy the list on all 
replies.

Regards,
John Ralls

> On Jul 2, 2018, at 9:09 AM, George R Berry  wrote:
> 
> Many thanks.  That worked OK.
> 
> Cheers
> 
> George
> 
> 
> -Original Message-
> From: John Ralls [mailto:jra...@ceridwen.us] 
> Sent: 02 July 2018 15:42
> To: George R Berry
> Cc: gnucash-user@gnucash.org
> Subject: Re: [GNC] Install error
> 
> 
> 
>> On Jul 2, 2018, at 3:24 AM, George R Berry  wrote:
>> 
>> Installed latest version and when I try to run it this error opos up.
>> 
>> HELP
>> 
> 
> What's worked for others who encountered that problem is to uninstall
> GnuCash using the Windows Control Panel (on the latest Win10 right click on
> the button formerly known as start and pick the first item on the menu),
> then delete C:\Program Files (x86)\gnucash using Windows Explorer, then
> reinstall GnuCash.
> 
> Regards,
> John Ralls
> 
> 
> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] Build on 18.04

2018-07-02 Thread Stephen M. Butler
On 07/02/2018 06:04 AM, Colin Law wrote:
> Well, this line in build/data/pixmaps/cmake_install.cmake
>
> file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons" TYPE
> DIRECTORY FILES "/home/me/apps/gnucash-3.2/data/pixmaps/hicolor" REGEX
> ".*/apps.*" EXCLUDE)
>
> Is supposed to copy files from gnucash-3.2/data/pixmaps/hicolour/* to
> /usr/local/share/gnucash/icons excluding the pattern .*/apps.* so it should
> copy, for example, hicolor/16x16/actions/gnc-account.png but should exclude
> hicolor/16x16/apps/* but it doesn't work on my system, it excludes
> everything.  If I remove the REGEX  ".." EXCLUDE then it copies them all,
> including those in the apps folder.  I can't see why it doesn't work though.
>
> @Roger could you remove or rename /usr/local/share/gnucash/icons and run
> sudo make install and see if it puts back all the icons such as
> hicolor/actions/gnc-account.png.
>
> If it doesn't then there is a problem with the above cmake instruction, if
> it does then for some reason that does not work on my cmake.
>
> For reference my cmake is 3.10.2-1ubuntu2
>
> Colinif("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT 
> CMAKE_INSTALL_COMPONENT)
>   file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash" TYPE 
> DIRECTORY FILES "/home/steve/Projects/GnuCash/gnucash-3.2/data/pixmaps" REGEX 
> "/Makefile[^/]*$" EXCLUDE REGEX "/CMake[^/]*$" EXCLUDE REGEX "/CTest[^/]*$" 
> EXCLUDE REGEX "/cmake[^/]*$" EXCLUDE REGEX "/hicolor$" EXCLUDE)
> endif()
>
> if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT 
> CMAKE_INSTALL_COMPONENT)
>   file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons" TYPE 
> DIRECTORY FILES 
> "/home/steve/Projects/GnuCash/gnucash-3.2/data/pixmaps/hicolor" REGEX 
> ".*/apps.*" EXCLUDE)
> endif()
>
> if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT 
> CMAKE_INSTALL_COMPONENT)
>   file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons" TYPE 
> DIRECTORY FILES 
> "/home/steve/Projects/GnuCash/gnucash-3.2/data/pixmaps/hicolor" REGEX 
> ".*/actions.*" EXCLUDE)
> endif()
>
>
<>

Mine is

cmake -version
cmake version 3.10.2


I found three relevant areas in my copy of that file:

if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT
CMAKE_INSTALL_COMPONENT)
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash" TYPE
DIRECTORY FILES "/home/steve/Projects/GnuCash/gnucash-3.2/data/pixmaps"
REGEX "/Makefile[^/]*$" EXCLUDE REGEX "/CMake[^/]*$" EXCLUDE REGEX
"/CTest[^/]*$" EXCLUDE REGEX "/cmake[^/]*$" EXCLUDE REGEX "/hicolor$"
EXCLUDE)
endif()

if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT
CMAKE_INSTALL_COMPONENT)
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons"
TYPE DIRECTORY FILES
"/home/steve/Projects/GnuCash/gnucash-3.2/data/pixmaps/hicolor" REGEX
".*/apps.*" EXCLUDE)
endif()

if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT
CMAKE_INSTALL_COMPONENT)
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons" TYPE
DIRECTORY FILES
"/home/steve/Projects/GnuCash/gnucash-3.2/data/pixmaps/hicolor" REGEX
".*/actions.*" EXCLUDE)
endif()


Stephen M Butler, PMP, PSM
stephen.m.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

[GNC] More QFX import problems

2018-07-02 Thread Nike V.

Hi,

I have encountered a strange problem with QFX import from my credit 
card, issued by Home Trust. It's similar, but not exactly the same, as 
the ones discussed in the archive with Chase.


GnuCash apparently imports the QFX correctly, but transactions show up 
in the credit card account with a balance of zero. Jumping to the 
corresponding transaction in the source account shows the correct 
balance, however.


But it's not possible as far as I can tell to get the card account to 
show any balance at all. Manually editing the transaction does nothing. 
You can enter $100, press return, and the account still shows zero.


Opening the qfx file in a text editor shows one long blob of text and 
tags. I assume there must be something strange about the qfx file, but I 
have no idea what it is, or how to fix it.


Any ideas would be welcome!

Nike

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] Upgrading GC under Ubuntu

2018-07-02 Thread Stephen M. Butler
On 07/02/2018 07:31 AM, Colin Law wrote:
> On 29 June 2018 at 20:50, Stephen M. Butler  > wrote:
>
> ...
> Having just done a download and compile to my Ubuntu 18.04, let me
> share
> with you what I did.  Sometimes reading the web sites leaves one (at
> least me) scratching their head vigorously -- in my case not a
> good idea
> with the hair I have left!
>
>
> Hi Stephen
>
> Following your 18.04 build have you got all the icons available? 
> Assuming you installed to /usr/local then you should see
> $ ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions
> total 72
> -rw-r--r-- 1 root root 540 Apr 15 00:51 gnc-account-delete.png
> -rw-r--r-- 1 root root 416 Apr 15 00:51 gnc-account-edit.png
> -rw-r--r-- 1 root root 460 Apr 15 00:51 gnc-account-new.png
> -rw-r--r-- 1 root root 540 Apr 15 00:51 gnc-account-open.png
> -rw-r--r-- 1 root root 334 Apr 15 00:51 gnc-account.png
> 
>
> If they are there could you help me to debug an install issue please? 
> Remove or rename /usr/local/share/gnucash/icons and rerun
> sudo make install
> Then check to see if the icons have been restored?  When I try it on
> 18.04 I am not getting the icons and have to hack one of the cmake
> files to get it to work, but for others it works ok on Ubuntu 16.04.
>
> Thanks
>
> Colin
>

I have:
ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions
total 72
-rw-r--r-- 1 root root 540 Apr 14 16:51 gnc-account-delete.png
-rw-r--r-- 1 root root 416 Apr 14 16:51 gnc-account-edit.png
-rw-r--r-- 1 root root 460 Apr 14 16:51 gnc-account-new.png
-rw-r--r-- 1 root root 540 Apr 14 16:51 gnc-account-open.png
-rw-r--r-- 1 root root 334 Apr 14 16:51 gnc-account.png
-rw-r--r-- 1 root root 417 Apr 14 16:51 gnc-account-report.png
-rw-r--r-- 1 root root 549 Apr 14 16:51 gnc-gnome-pdf.png
-rw-r--r-- 1 root root 824 Apr 14 16:51 gnc-invoice-duplicate.png
-rw-r--r-- 1 root root 711 Apr 14 16:51 gnc-invoice-edit.png
-rw-r--r-- 1 root root 542 Apr 14 16:51 gnc-invoice-new.png
-rw-r--r-- 1 root root 767 Apr 14 16:51 gnc-invoice-pay.png
-rw-r--r-- 1 root root 546 Apr 14 16:51 gnc-invoice.png
-rw-r--r-- 1 root root 658 Apr 14 16:51 gnc-invoice-post.png
-rw-r--r-- 1 root root 682 Apr 14 16:51 gnc-invoice-unpost.png
-rw-r--r-- 1 root root 723 Apr 14 16:51 gnc-jumpto.png
-rw-r--r-- 1 root root 616 Apr 14 16:51 gnc-split-trans.png
-rw-r--r-- 1 root root 789 Apr 14 16:51 gnc-transfer.png
-rw-r--r-- 1 root root 714 Apr 14 16:51 gnc-sx-new.png
-rw-r--r-- 1 root root 789 Apr 14 16:51 gnc-transfer.png

I then did:
cd /usr/local/share/gnucash
sudo mv icons smbhold
cd ~/Projects/GnuCash/mybuild
sudo make install
<< snip a long list>>
-- Up-to-date: /usr/local/share/gnucash/pixmaps/gnucash_splash.png
-- Installing: /usr/local/share/gnucash/icons/hicolor
-- Installing: /usr/local/share/gnucash/icons/hicolor/scalable
-- Installing: /usr/local/share/gnucash/icons/hicolor/16x16
steve@stevelaptop:/usr/local/share/gnucash
-- Installing: /usr/local/share/gnucash/icons/hicolor/16x16/actions
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-edit.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-post.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-gnome-pdf.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-edit.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-pay.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-new.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-report.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-new.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-duplicate.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-sx-new.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-jumpto.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-open.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-split-trans.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-unpost.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-transfer.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-delete.png
-- Installing: /usr/local/share/gnucash/icons/hicolor/24x24
-- Installing: /usr/local/share/gnucash/icons/hicolor/24x24/actions
-- Installing:
/usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-invoice-edit.png
-- Installing:
/usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-invoice-post.png
-- Installing:

Re: [GNC] Changing default font size in Gnucash 3.2

2018-07-02 Thread John Ralls


> On Jul 2, 2018, at 9:03 AM, Geert Janssens  wrote:
> 
> Op maandag 2 juli 2018 16:28:39 CEST schreef John Ralls:
>>> On Jul 2, 2018, at 2:46 AM, Geert Janssens 
>>> wrote:> 
>>> Op zondag 1 juli 2018 21:03:50 CEST schreef Daniel Dickinson:
 I just upgraded to Gnucash 3.2 (on Mac OS X 10.13.4) and am having
 trouble
 setting a default font size.  The current font is too small and makes it
 very difficult for me to read the register.
 
 
 Following the instructions at https://wiki.gnucash.org/wiki/GTK3, I
 created
 the file ~/Library/Application
 Support/Gnucash/config/gtk-3.0/settings.ini
>>> 
 (this file didn't exist previously), with the following contents:
>>> I wrote these instructions, but I'll admit the location of this file on
>>> Macos was an educated guess which I can't verify as I don't have an Macos
>>> system available to experiment with.
>>> There is potentially a second location that could be queried rather that
>>> the one above.
>>> Can you try to make the changes here instead:
>>> ~/.config/gtk-3.0/settings.ini
>>> 
>>> I would be interested to learn if that does work.
>>> 
>>> Otherwise the suggestion by GT-I9070 H is the third option. It is likely
>>> to
>>> work because we have more direct control over GNC_CONFIG_HOME.
>> 
>> ~/Application Support/Gnucash/config/gtk-3.0 is the correct path on MacOS.
>> XDG_CONFIG_HOME is set in
>> Gnucash.app/Contents/Resources/etc/gnucash/environment and needs to be
>> changed there to override it.
>> 
>> I’ve found that settings.ini doesn’t work to set the font, you need a
>> gtk.css in the same directory with contents like * {
>>font-family: Arial;
>> }
>> 
>> and whatever other CSS font directives you want.
> 
> I'm curious what gtk3 does differently on MacOS that it doesn't pick up 
> settings.ini in its config file, or ignores the font configuration. Or is 
> there another font override in the way on that platform ?

Geert,

That I don’t know. As it happens I spent some time yesterday debugging 
https://bugs.gnucash.org/show_bug.cgi?id=796727 
; I’ve gotten far enough to 
understand that gtksettings isn’t loading the default settings.ini in 
GnuCash.app/Contents/Resources/etc/gtk-3.0 (I think I need to add yet another 
line to environment setting XDG_CONFIG_PATH to include the bundle directories), 
but even after copying it to ~/Library/Application 
Support/Gnucash/config/gtk-3.0 it parses the line ‘gtk-key-theme-name = Emacs’ 
but doesn’t change the GSettings value from “Mac” which is set programmatically 
earlier in GSettings initialization.

Regards,
John Ralls

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Build on 18.04

2018-07-02 Thread Stephen M. Butler
On 07/02/2018 07:19 AM, Colin Law wrote:
> OK, thanks.
>
> I am confident now that my cmake in 18.04 (3.10.2-1ubuntu2) does not like
> the regex in
> REGEX ".*/apps.*" EXCLUDE
> which excludes everything.  If I replace this with
> REGEX ".*/apps/gnucash-icon.*" EXCLUDE
> then it works correctly. All the files in apps are of the form
> gnucash-icon.*
> I also tried
> REGEX ".*/apps/.*" EXCLUDE
> but that also excludes everything which doesn't make sense.
> I can't find any reference to a bug like that in cmake but I can't see any
> other reason it would not work.
>
> Has anyone else got the build going on 18.04?
>
> Colin
>

I am running 18.04 on Ubuntu.  However, I didn't uninstall 3.1 when I
built 3.2 so maybe that was a blessing in disguise!

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Install error

2018-07-02 Thread John Ralls


> On Jul 2, 2018, at 3:24 AM, George R Berry  wrote:
> 
> Installed latest version and when I try to run it this error opos up.
> 
> HELP
> 

What’s worked for others who encountered that problem is to uninstall GnuCash 
using the Windows Control Panel (on the latest Win10 right click on the button 
formerly known as start and pick the first item on the menu), then delete 
C:\Program Files (x86)\gnucash using Windows Explorer, then reinstall GnuCash.

Regards,
John Ralls

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] GnuCash 3.2 Released

2018-07-02 Thread John Ralls


> On Jul 1, 2018, at 11:13 PM, DaveC49  wrote:
> 
> John,
> 
> Just some further information. I rebuilt GnuCash with the -G Ninja option.
> 
> The build.ninja seems to contain a build uninstall target but it has no
> commands. If I run 
> sudo ninja install
> it installs GnuCash (in/usr/local the prefix I set with cmake) and creates
> install_manifest.txt.
> 
> If i copy the install target in build.ninja to the blank uninstall section
> and modify it as follows
> 
> # Utility command for uninstall
> build CMakeFiles/uninstall.util: CUSTOM_COMMAND all
>  COMMAND = cd /home/david/Applications/gnucash-3.2/build-ninja &&
> /usr/bin/cmake -P cmake_uninstall.cmake
>  DESC = Uninstall the project...
>  pool = console
>  restat = 1
> build uninstall: phony CMakeFiles/uninstall
> 
> and then issue
> 
> sudo ninja uninstall
> 
> Gnucash is correctly uninstalled except that it leaves:
>   an empty gnucash directory in /etc;
>  /include has an empty gnucash folder;
>  /lib has a guncash directory with a scm/ccache/2.2 directory containing
> gnucash, json and qif-import 
> folders
>  /share has a gnucash directory with subdirectories but no files
> 
> It appears the uninstall is removing all files but not necessarily the
> directory structure the files were in. OK unless that changes between
> versions.
> 
> I haven't checked whether the uninstall behavior is any different for the
> make version but a diff on the make and ninja versions of
> install_manifest.txt produces no differences so I would expect that the
> uninstall is the same given the cmake_uninstall.cmake files were essentially
> the same.
> 
> Getting cmake to correctly create the build.ninja uninstall target should be
> enough to get the ninja uninstall working as well.

David,

Remember that cmake is a tool for developers. Installing and uninstalling 
several times an hour isn’t uncommon when coding or debugging.

As for the rest, seems like a lot of work when `xargs rm < 
install_manifest.txt` works well (though it does leave the directory structure, 
but the goal is to get rid of the installable modules and old compiled scheme 
files so that the don’t confuse the new build). It also has the advantage of 
not talking to cmake so it’s not affected by changes in the source directory.

Incidentally, if you’ve already deleted install_manifest.txt, `rm -rf 
/lib/gnucash` will get rid of enough to get a clean build.


Regards,
John Ralls
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Upgrading GC under Ubuntu

2018-07-02 Thread Colin Law
On 29 June 2018 at 20:50, Stephen M. Butler  wrote:

> ...
> Having just done a download and compile to my Ubuntu 18.04, let me share
> with you what I did.  Sometimes reading the web sites leaves one (at
> least me) scratching their head vigorously -- in my case not a good idea
> with the hair I have left!
>
>
Hi Stephen

Following your 18.04 build have you got all the icons available?  Assuming
you installed to /usr/local then you should see
$ ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions
total 72
-rw-r--r-- 1 root root 540 Apr 15 00:51 gnc-account-delete.png
-rw-r--r-- 1 root root 416 Apr 15 00:51 gnc-account-edit.png
-rw-r--r-- 1 root root 460 Apr 15 00:51 gnc-account-new.png
-rw-r--r-- 1 root root 540 Apr 15 00:51 gnc-account-open.png
-rw-r--r-- 1 root root 334 Apr 15 00:51 gnc-account.png


If they are there could you help me to debug an install issue please?
Remove or rename /usr/local/share/gnucash/icons and rerun
sudo make install
Then check to see if the icons have been restored?  When I try it on 18.04
I am not getting the icons and have to hack one of the cmake files to get
it to work, but for others it works ok on Ubuntu 16.04.

Thanks

Colin
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] Changing default font size in Gnucash 3.2

2018-07-02 Thread John Ralls


> On Jul 2, 2018, at 2:46 AM, Geert Janssens  wrote:
> 
> Op zondag 1 juli 2018 21:03:50 CEST schreef Daniel Dickinson:
>> I just upgraded to Gnucash 3.2 (on Mac OS X 10.13.4) and am having trouble
>> setting a default font size.  The current font is too small and makes it
>> very difficult for me to read the register.
>> 
>> 
>> Following the instructions at https://wiki.gnucash.org/wiki/GTK3, I created
>> the file ~/Library/Application Support/Gnucash/config/gtk-3.0/settings.ini
>> (this file didn't exist previously), with the following contents:
>> 
> I wrote these instructions, but I'll admit the location of this file on Macos 
> was an educated guess which I can't verify as I don't have an Macos system 
> available to experiment with.
> There is potentially a second location that could be queried rather that the 
> one above.
> Can you try to make the changes here instead:
> ~/.config/gtk-3.0/settings.ini
> 
> I would be interested to learn if that does work.
> 
> Otherwise the suggestion by GT-I9070 H is the third option. It is likely to 
> work because we have more direct control over GNC_CONFIG_HOME.

~/Application Support/Gnucash/config/gtk-3.0 is the correct path on MacOS. 
XDG_CONFIG_HOME is set in 
Gnucash.app/Contents/Resources/etc/gnucash/environment and needs to be changed 
there to override it.

I’ve found that settings.ini doesn’t work to set the font, you need a gtk.css 
in the same directory with contents like
* {
font-family: Arial;
}

and whatever other CSS font directives you want.

Regards,
John Ralls


___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Build on 18.04

2018-07-02 Thread Colin Law
OK, thanks.

I am confident now that my cmake in 18.04 (3.10.2-1ubuntu2) does not like
the regex in
REGEX ".*/apps.*" EXCLUDE
which excludes everything.  If I replace this with
REGEX ".*/apps/gnucash-icon.*" EXCLUDE
then it works correctly. All the files in apps are of the form
gnucash-icon.*
I also tried
REGEX ".*/apps/.*" EXCLUDE
but that also excludes everything which doesn't make sense.
I can't find any reference to a bug like that in cmake but I can't see any
other reason it would not work.

Has anyone else got the build going on 18.04?

Colin




On 2 July 2018 at 14:58, Roger Miskowicz  wrote:

> Yes, e.g.
> $ ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions
> total 72K
> -rw-r--r-- 1 root root 540 Jun 26 11:17 gnc-account-delete.png
> -rw-r--r-- 1 root root 416 Jun 26 11:17 gnc-account-edit.png
> -rw-r--r-- 1 root root 460 Jun 26 11:17 gnc-account-new.png
> -rw-r--r-- 1 root root 540 Jun 26 11:17 gnc-account-open.png
> -rw-r--r-- 1 root root 417 Jun 26 11:17 gnc-account-report.png
> -rw-r--r-- 1 root root 334 Jun 26 11:17 gnc-account.png
> -rw-r--r-- 1 root root 549 Jun 26 11:17 gnc-gnome-pdf.png
>
> Note: I will be away for the rest of the day,
>
> Roger
>
>
> On Mon, Jul 2, 2018 at 9:28 AM Colin Law  wrote:
>
>> On 2 July 2018 at 14:26, Roger Miskowicz  wrote:
>>
>>> I renamed the icon folder and executed sudo make install and the icon
>>> folder was recreated.
>>>
>>
>> With all the icons in it?
>>
>> Colin
>>
>>
>>>
>>> Roger
>>>
>>>
>>> On Mon, Jul 2, 2018 at 9:05 AM Colin Law  wrote:
>>>
 Well, this line in build/data/pixmaps/cmake_install.cmake

 file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons"
 TYPE DIRECTORY FILES "/home/me/apps/gnucash-3.2/data/pixmaps/hicolor"
 REGEX ".*/apps.*" EXCLUDE)

 Is supposed to copy files from gnucash-3.2/data/pixmaps/hicolour/* to
 /usr/local/share/gnucash/icons excluding the pattern .*/apps.* so it should
 copy, for example, hicolor/16x16/actions/gnc-account.png but should
 exclude hicolor/16x16/apps/* but it doesn't work on my system, it excludes
 everything.  If I remove the REGEX  ".." EXCLUDE then it copies them all,
 including those in the apps folder.  I can't see why it doesn't work 
 though.

 @Roger could you remove or rename /usr/local/share/gnucash/icons and
 run sudo make install and see if it puts back all the icons such as
 hicolor/actions/gnc-account.png.

 If it doesn't then there is a problem with the above cmake instruction,
 if it does then for some reason that does not work on my cmake.

 For reference my cmake is 3.10.2-1ubuntu2

 Colin

 On 2 July 2018 at 08:37, Colin Law  wrote:

> @John
>
> I see in src  data/pixmaps/CMakeLists.txt the list of icons. I don't
> know about the cmake system though. What is supposed to happen to those
> files?  What can I do to work out where the problem is?
>
> Colin
>
> On 1 July 2018 at 18:58, John Ralls  wrote:
>
>> data/pixmaps/CMakeLists.txt. There aren't any conditionals.
>>
>> Does your build directory have share/gnucash/icons?
>>
>> Regards,
>> John Ralls
>>
>>
>> > On Jul 1, 2018, at 10:33 AM, Colin Law  wrote:
>> >
>> > I have just rebuilt (on 18.04) using the exact same commands and my
>> > manifest does not include the icons.  Do you know what is supposed
>> to tell
>> > the system to install them?
>> >
>> > Colin
>> >
>> > On 1 July 2018 at 17:36, Roger Miskowicz 
>> wrote:
>> >
>> >> I have GC3.2 on two 16.04 linux systems and in one build I have
>> >> install_manifest.txt which includes the 'icons' directory and in
>> the other
>> >> the install_manifest.txt does not exist (in this one the icons
>> files were
>> >> installed months earlier so not part of my latest install).
>> >>
>> >>
>> >> I just rebuilt GC3.2 on 16.04 using:
>> >>
>> >> mkdir build
>> >> cd build
>> >>
>> >> cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF ../gnucash
>> >> cmake ..
>> >>
>> >> make
>> >>
>> >> and the install_manifest.txt include the 'icons' directory.
>> >>
>> >>
>> >> Hope this helps, let me know if you would like to try something
>> else.
>> >>
>> >> Roger
>> >>
>> >>
>> >> On Sun, Jul 1, 2018 at 11:52 AM, Colin Law 
>> wrote:
>> >>
>> >>> On 1 July 2018 at 16:36, Roger Miskowicz 
>> wrote:
>> >>>
>>  in 16.04 and GC3.2 using:
>> 
>>  $ locate gnc-account-report
>> 
>>  I found:
>> 
>>  /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-acc
>>  ount-report.png
>>  /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-acc
>>  ount-report.png
>> 
>>  Are these files found in 18.04?
>> 
>> >>>
>> >>> No, 

Re: [GNC] Build on 18.04

2018-07-02 Thread Roger Miskowicz
Yes, e.g.
$ ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions
total 72K
-rw-r--r-- 1 root root 540 Jun 26 11:17 gnc-account-delete.png
-rw-r--r-- 1 root root 416 Jun 26 11:17 gnc-account-edit.png
-rw-r--r-- 1 root root 460 Jun 26 11:17 gnc-account-new.png
-rw-r--r-- 1 root root 540 Jun 26 11:17 gnc-account-open.png
-rw-r--r-- 1 root root 417 Jun 26 11:17 gnc-account-report.png
-rw-r--r-- 1 root root 334 Jun 26 11:17 gnc-account.png
-rw-r--r-- 1 root root 549 Jun 26 11:17 gnc-gnome-pdf.png

Note: I will be away for the rest of the day,

Roger


On Mon, Jul 2, 2018 at 9:28 AM Colin Law  wrote:

> On 2 July 2018 at 14:26, Roger Miskowicz  wrote:
>
>> I renamed the icon folder and executed sudo make install and the icon
>> folder was recreated.
>>
>
> With all the icons in it?
>
> Colin
>
>
>>
>> Roger
>>
>>
>> On Mon, Jul 2, 2018 at 9:05 AM Colin Law  wrote:
>>
>>> Well, this line in build/data/pixmaps/cmake_install.cmake
>>>
>>> file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons"
>>> TYPE DIRECTORY FILES "/home/me/apps/gnucash-3.2/data/pixmaps/hicolor" REGEX
>>> ".*/apps.*" EXCLUDE)
>>>
>>> Is supposed to copy files from gnucash-3.2/data/pixmaps/hicolour/* to
>>> /usr/local/share/gnucash/icons excluding the pattern .*/apps.* so it should
>>> copy, for example, hicolor/16x16/actions/gnc-account.png but should exclude
>>> hicolor/16x16/apps/* but it doesn't work on my system, it excludes
>>> everything.  If I remove the REGEX  ".." EXCLUDE then it copies them all,
>>> including those in the apps folder.  I can't see why it doesn't work though.
>>>
>>> @Roger could you remove or rename /usr/local/share/gnucash/icons and run
>>> sudo make install and see if it puts back all the icons such as
>>> hicolor/actions/gnc-account.png.
>>>
>>> If it doesn't then there is a problem with the above cmake instruction,
>>> if it does then for some reason that does not work on my cmake.
>>>
>>> For reference my cmake is 3.10.2-1ubuntu2
>>>
>>> Colin
>>>
>>> On 2 July 2018 at 08:37, Colin Law  wrote:
>>>
 @John

 I see in src  data/pixmaps/CMakeLists.txt the list of icons. I don't
 know about the cmake system though. What is supposed to happen to those
 files?  What can I do to work out where the problem is?

 Colin

 On 1 July 2018 at 18:58, John Ralls  wrote:

> data/pixmaps/CMakeLists.txt. There aren't any conditionals.
>
> Does your build directory have share/gnucash/icons?
>
> Regards,
> John Ralls
>
>
> > On Jul 1, 2018, at 10:33 AM, Colin Law  wrote:
> >
> > I have just rebuilt (on 18.04) using the exact same commands and my
> > manifest does not include the icons.  Do you know what is supposed
> to tell
> > the system to install them?
> >
> > Colin
> >
> > On 1 July 2018 at 17:36, Roger Miskowicz  wrote:
> >
> >> I have GC3.2 on two 16.04 linux systems and in one build I have
> >> install_manifest.txt which includes the 'icons' directory and in
> the other
> >> the install_manifest.txt does not exist (in this one the icons
> files were
> >> installed months earlier so not part of my latest install).
> >>
> >>
> >> I just rebuilt GC3.2 on 16.04 using:
> >>
> >> mkdir build
> >> cd build
> >>
> >> cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF ../gnucash
> >> cmake ..
> >>
> >> make
> >>
> >> and the install_manifest.txt include the 'icons' directory.
> >>
> >>
> >> Hope this helps, let me know if you would like to try something
> else.
> >>
> >> Roger
> >>
> >>
> >> On Sun, Jul 1, 2018 at 11:52 AM, Colin Law 
> wrote:
> >>
> >>> On 1 July 2018 at 16:36, Roger Miskowicz 
> wrote:
> >>>
>  in 16.04 and GC3.2 using:
> 
>  $ locate gnc-account-report
> 
>  I found:
> 
>  /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-acc
>  ount-report.png
>  /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-acc
>  ount-report.png
> 
>  Are these files found in 18.04?
> 
> >>>
> >>> No, in /usr/local/share/gnucash there is no icons folder.   I have
> >>> accounts  gtkbuilder  make-prefs-migration-script.xsl  pixmaps
> >>> tip_of_the_day.list
> >>> checksjqplot  migratable-prefs.xml scm  ui
> >>>
> >>> The only png file is pixmaps/gnucash_splash.png
> >>>
> >>> There is no reference to /usr/local/share/gnucash/icons in the
> output of
> >>> sudo make install.
> >>>
> >>> Colin
> >>>
> >>> Colin
> >>>
> >>>
> 
>  On Sun, Jul 1, 2018 at 10:55 AM, Colin Law 
> wrote:
> 
> > In the trace file I see around a dozen lines similar to
> >
> > * 13:29:29  WARN  [gnc_load_app_icons()] No icon named
> > 'gnc-account' 

Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Bruce Lang

Oops -should've checked bugs first.

Thanks,

*Bruce*



On 2/07/2018 10:10 PM, Christopher Lam wrote:

https://bugs.gnucash.org/show_bug.cgi?id=796697
Instructions to fix html-utilities.scm within

On Mon, 2 Jul 2018, 20:11 Bruce Lang > wrote:


Hi,

I installed 3.2 but I experienced problems with displaying the
reports.

Trial Balance and Equity Statement produced an "Error in producing
report" message. I can view the various Options for the reports
and all
settings were as previously configured (under the former version).

Other reports, such as P, Budget Report, Cash Flow, etc all
displayed
correctly.

I installed 3.2 using the automatic installer and all seemed OK
and no
problems encountered with the install.

However, I have now reverted to 3.1 and those reports now display as
they are meant to.

(OS is Win10)

Thanks,

*Bruce*



On 2/07/2018 7:42 PM, Stan Brown wrote:
> Thanks for clarifying, Geert. From the earlier discussion I had the
> impression that we were supposed to do a manual uninstall every time
> before installing a new version, so I'm glad to learn that's not
true.
>




___
gnucash-user mailing list
gnucash-user@gnucash.org 
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.






___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] Build on 18.04

2018-07-02 Thread Colin Law
On 2 July 2018 at 14:26, Roger Miskowicz  wrote:

> I renamed the icon folder and executed sudo make install and the icon
> folder was recreated.
>

With all the icons in it?

Colin


>
> Roger
>
>
> On Mon, Jul 2, 2018 at 9:05 AM Colin Law  wrote:
>
>> Well, this line in build/data/pixmaps/cmake_install.cmake
>>
>> file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons"
>> TYPE DIRECTORY FILES "/home/me/apps/gnucash-3.2/data/pixmaps/hicolor"
>> REGEX ".*/apps.*" EXCLUDE)
>>
>> Is supposed to copy files from gnucash-3.2/data/pixmaps/hicolour/* to
>> /usr/local/share/gnucash/icons excluding the pattern .*/apps.* so it should
>> copy, for example, hicolor/16x16/actions/gnc-account.png but should
>> exclude hicolor/16x16/apps/* but it doesn't work on my system, it excludes
>> everything.  If I remove the REGEX  ".." EXCLUDE then it copies them all,
>> including those in the apps folder.  I can't see why it doesn't work though.
>>
>> @Roger could you remove or rename /usr/local/share/gnucash/icons and run
>> sudo make install and see if it puts back all the icons such as
>> hicolor/actions/gnc-account.png.
>>
>> If it doesn't then there is a problem with the above cmake instruction,
>> if it does then for some reason that does not work on my cmake.
>>
>> For reference my cmake is 3.10.2-1ubuntu2
>>
>> Colin
>>
>> On 2 July 2018 at 08:37, Colin Law  wrote:
>>
>>> @John
>>>
>>> I see in src  data/pixmaps/CMakeLists.txt the list of icons. I don't
>>> know about the cmake system though. What is supposed to happen to those
>>> files?  What can I do to work out where the problem is?
>>>
>>> Colin
>>>
>>> On 1 July 2018 at 18:58, John Ralls  wrote:
>>>
 data/pixmaps/CMakeLists.txt. There aren't any conditionals.

 Does your build directory have share/gnucash/icons?

 Regards,
 John Ralls


 > On Jul 1, 2018, at 10:33 AM, Colin Law  wrote:
 >
 > I have just rebuilt (on 18.04) using the exact same commands and my
 > manifest does not include the icons.  Do you know what is supposed to
 tell
 > the system to install them?
 >
 > Colin
 >
 > On 1 July 2018 at 17:36, Roger Miskowicz  wrote:
 >
 >> I have GC3.2 on two 16.04 linux systems and in one build I have
 >> install_manifest.txt which includes the 'icons' directory and in the
 other
 >> the install_manifest.txt does not exist (in this one the icons files
 were
 >> installed months earlier so not part of my latest install).
 >>
 >>
 >> I just rebuilt GC3.2 on 16.04 using:
 >>
 >> mkdir build
 >> cd build
 >>
 >> cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF ../gnucash
 >> cmake ..
 >>
 >> make
 >>
 >> and the install_manifest.txt include the 'icons' directory.
 >>
 >>
 >> Hope this helps, let me know if you would like to try something else.
 >>
 >> Roger
 >>
 >>
 >> On Sun, Jul 1, 2018 at 11:52 AM, Colin Law 
 wrote:
 >>
 >>> On 1 July 2018 at 16:36, Roger Miskowicz 
 wrote:
 >>>
  in 16.04 and GC3.2 using:
 
  $ locate gnc-account-report
 
  I found:
 
  /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-acc
  ount-report.png
  /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-acc
  ount-report.png
 
  Are these files found in 18.04?
 
 >>>
 >>> No, in /usr/local/share/gnucash there is no icons folder.   I have
 >>> accounts  gtkbuilder  make-prefs-migration-script.xsl  pixmaps
 >>> tip_of_the_day.list
 >>> checksjqplot  migratable-prefs.xml scm  ui
 >>>
 >>> The only png file is pixmaps/gnucash_splash.png
 >>>
 >>> There is no reference to /usr/local/share/gnucash/icons in the
 output of
 >>> sudo make install.
 >>>
 >>> Colin
 >>>
 >>> Colin
 >>>
 >>>
 
  On Sun, Jul 1, 2018 at 10:55 AM, Colin Law 
 wrote:
 
 > In the trace file I see around a dozen lines similar to
 >
 > * 13:29:29  WARN  [gnc_load_app_icons()] No icon named
 > 'gnc-account' found. Some gui elements may be missing their icons
 > * 13:29:29  WARN  [gnc_load_app_icons()] No icon named
 > 'gnc-account-report' found. Some gui elements may be missing
 their icons
 >
 > Colin
 >
 >
 > On 1 July 2018 at 13:39, Colin Law  wrote:
 >
 >> Actually I see there are more icons missing, such as the Split
 button
 > icon
 >> in the toolbar.  It seems that the missing files are the png
 files
 > from
 >> data/pixmaps/hicolor/?/actions.  Are these supposed to be copied
 >> somewhere by make install?
 >>
 >> Colin
 >>
 >> On 1 July 2018 at 11:21, Colin Law  wrote:
 >>
 

Re: [GNC] Build on 18.04

2018-07-02 Thread Roger Miskowicz
I renamed the icon folder and executed sudo make install and the icon
folder was recreated.

Roger


On Mon, Jul 2, 2018 at 9:05 AM Colin Law  wrote:

> Well, this line in build/data/pixmaps/cmake_install.cmake
>
> file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons"
> TYPE DIRECTORY FILES "/home/me/apps/gnucash-3.2/data/pixmaps/hicolor" REGEX
> ".*/apps.*" EXCLUDE)
>
> Is supposed to copy files from gnucash-3.2/data/pixmaps/hicolour/* to
> /usr/local/share/gnucash/icons excluding the pattern .*/apps.* so it should
> copy, for example, hicolor/16x16/actions/gnc-account.png but should exclude
> hicolor/16x16/apps/* but it doesn't work on my system, it excludes
> everything.  If I remove the REGEX  ".." EXCLUDE then it copies them all,
> including those in the apps folder.  I can't see why it doesn't work though.
>
> @Roger could you remove or rename /usr/local/share/gnucash/icons and run
> sudo make install and see if it puts back all the icons such as
> hicolor/actions/gnc-account.png.
>
> If it doesn't then there is a problem with the above cmake instruction, if
> it does then for some reason that does not work on my cmake.
>
> For reference my cmake is 3.10.2-1ubuntu2
>
> Colin
>
> On 2 July 2018 at 08:37, Colin Law  wrote:
>
>> @John
>>
>> I see in src  data/pixmaps/CMakeLists.txt the list of icons. I don't know
>> about the cmake system though. What is supposed to happen to those files?
>> What can I do to work out where the problem is?
>>
>> Colin
>>
>> On 1 July 2018 at 18:58, John Ralls  wrote:
>>
>>> data/pixmaps/CMakeLists.txt. There aren't any conditionals.
>>>
>>> Does your build directory have share/gnucash/icons?
>>>
>>> Regards,
>>> John Ralls
>>>
>>>
>>> > On Jul 1, 2018, at 10:33 AM, Colin Law  wrote:
>>> >
>>> > I have just rebuilt (on 18.04) using the exact same commands and my
>>> > manifest does not include the icons.  Do you know what is supposed to
>>> tell
>>> > the system to install them?
>>> >
>>> > Colin
>>> >
>>> > On 1 July 2018 at 17:36, Roger Miskowicz  wrote:
>>> >
>>> >> I have GC3.2 on two 16.04 linux systems and in one build I have
>>> >> install_manifest.txt which includes the 'icons' directory and in the
>>> other
>>> >> the install_manifest.txt does not exist (in this one the icons files
>>> were
>>> >> installed months earlier so not part of my latest install).
>>> >>
>>> >>
>>> >> I just rebuilt GC3.2 on 16.04 using:
>>> >>
>>> >> mkdir build
>>> >> cd build
>>> >>
>>> >> cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF ../gnucash
>>> >> cmake ..
>>> >>
>>> >> make
>>> >>
>>> >> and the install_manifest.txt include the 'icons' directory.
>>> >>
>>> >>
>>> >> Hope this helps, let me know if you would like to try something else.
>>> >>
>>> >> Roger
>>> >>
>>> >>
>>> >> On Sun, Jul 1, 2018 at 11:52 AM, Colin Law  wrote:
>>> >>
>>> >>> On 1 July 2018 at 16:36, Roger Miskowicz  wrote:
>>> >>>
>>>  in 16.04 and GC3.2 using:
>>> 
>>>  $ locate gnc-account-report
>>> 
>>>  I found:
>>> 
>>>  /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-acc
>>>  ount-report.png
>>>  /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-acc
>>>  ount-report.png
>>> 
>>>  Are these files found in 18.04?
>>> 
>>> >>>
>>> >>> No, in /usr/local/share/gnucash there is no icons folder.   I have
>>> >>> accounts  gtkbuilder  make-prefs-migration-script.xsl  pixmaps
>>> >>> tip_of_the_day.list
>>> >>> checksjqplot  migratable-prefs.xml scm  ui
>>> >>>
>>> >>> The only png file is pixmaps/gnucash_splash.png
>>> >>>
>>> >>> There is no reference to /usr/local/share/gnucash/icons in the
>>> output of
>>> >>> sudo make install.
>>> >>>
>>> >>> Colin
>>> >>>
>>> >>> Colin
>>> >>>
>>> >>>
>>> 
>>>  On Sun, Jul 1, 2018 at 10:55 AM, Colin Law 
>>> wrote:
>>> 
>>> > In the trace file I see around a dozen lines similar to
>>> >
>>> > * 13:29:29  WARN  [gnc_load_app_icons()] No icon named
>>> > 'gnc-account' found. Some gui elements may be missing their icons
>>> > * 13:29:29  WARN  [gnc_load_app_icons()] No icon named
>>> > 'gnc-account-report' found. Some gui elements may be missing their
>>> icons
>>> >
>>> > Colin
>>> >
>>> >
>>> > On 1 July 2018 at 13:39, Colin Law  wrote:
>>> >
>>> >> Actually I see there are more icons missing, such as the Split
>>> button
>>> > icon
>>> >> in the toolbar.  It seems that the missing files are the png files
>>> > from
>>> >> data/pixmaps/hicolor/?/actions.  Are these supposed to be copied
>>> >> somewhere by make install?
>>> >>
>>> >> Colin
>>> >>
>>> >> On 1 July 2018 at 11:21, Colin Law  wrote:
>>> >>
>>> >>> Following the instructions for building GC 3.x on the wiki [1]
>>> has
>>> >>> been accomplished on Ubuntu 18.04 with little difficulty, so many
>>> >>> thanks to the contributors to the wiki.
>>> >>>
>>> >>> Just one small issue so far, the 

Re: [GNC] Build on 18.04

2018-07-02 Thread Colin Law
Well, this line in build/data/pixmaps/cmake_install.cmake

file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons" TYPE
DIRECTORY FILES "/home/me/apps/gnucash-3.2/data/pixmaps/hicolor" REGEX
".*/apps.*" EXCLUDE)

Is supposed to copy files from gnucash-3.2/data/pixmaps/hicolour/* to
/usr/local/share/gnucash/icons excluding the pattern .*/apps.* so it should
copy, for example, hicolor/16x16/actions/gnc-account.png but should exclude
hicolor/16x16/apps/* but it doesn't work on my system, it excludes
everything.  If I remove the REGEX  ".." EXCLUDE then it copies them all,
including those in the apps folder.  I can't see why it doesn't work though.

@Roger could you remove or rename /usr/local/share/gnucash/icons and run
sudo make install and see if it puts back all the icons such as
hicolor/actions/gnc-account.png.

If it doesn't then there is a problem with the above cmake instruction, if
it does then for some reason that does not work on my cmake.

For reference my cmake is 3.10.2-1ubuntu2

Colin

On 2 July 2018 at 08:37, Colin Law  wrote:

> @John
>
> I see in src  data/pixmaps/CMakeLists.txt the list of icons. I don't know
> about the cmake system though. What is supposed to happen to those files?
> What can I do to work out where the problem is?
>
> Colin
>
> On 1 July 2018 at 18:58, John Ralls  wrote:
>
>> data/pixmaps/CMakeLists.txt. There aren't any conditionals.
>>
>> Does your build directory have share/gnucash/icons?
>>
>> Regards,
>> John Ralls
>>
>>
>> > On Jul 1, 2018, at 10:33 AM, Colin Law  wrote:
>> >
>> > I have just rebuilt (on 18.04) using the exact same commands and my
>> > manifest does not include the icons.  Do you know what is supposed to
>> tell
>> > the system to install them?
>> >
>> > Colin
>> >
>> > On 1 July 2018 at 17:36, Roger Miskowicz  wrote:
>> >
>> >> I have GC3.2 on two 16.04 linux systems and in one build I have
>> >> install_manifest.txt which includes the 'icons' directory and in the
>> other
>> >> the install_manifest.txt does not exist (in this one the icons files
>> were
>> >> installed months earlier so not part of my latest install).
>> >>
>> >>
>> >> I just rebuilt GC3.2 on 16.04 using:
>> >>
>> >> mkdir build
>> >> cd build
>> >>
>> >> cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF ../gnucash
>> >> cmake ..
>> >>
>> >> make
>> >>
>> >> and the install_manifest.txt include the 'icons' directory.
>> >>
>> >>
>> >> Hope this helps, let me know if you would like to try something else.
>> >>
>> >> Roger
>> >>
>> >>
>> >> On Sun, Jul 1, 2018 at 11:52 AM, Colin Law  wrote:
>> >>
>> >>> On 1 July 2018 at 16:36, Roger Miskowicz  wrote:
>> >>>
>>  in 16.04 and GC3.2 using:
>> 
>>  $ locate gnc-account-report
>> 
>>  I found:
>> 
>>  /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-acc
>>  ount-report.png
>>  /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-acc
>>  ount-report.png
>> 
>>  Are these files found in 18.04?
>> 
>> >>>
>> >>> No, in /usr/local/share/gnucash there is no icons folder.   I have
>> >>> accounts  gtkbuilder  make-prefs-migration-script.xsl  pixmaps
>> >>> tip_of_the_day.list
>> >>> checksjqplot  migratable-prefs.xml scm  ui
>> >>>
>> >>> The only png file is pixmaps/gnucash_splash.png
>> >>>
>> >>> There is no reference to /usr/local/share/gnucash/icons in the output
>> of
>> >>> sudo make install.
>> >>>
>> >>> Colin
>> >>>
>> >>> Colin
>> >>>
>> >>>
>> 
>>  On Sun, Jul 1, 2018 at 10:55 AM, Colin Law 
>> wrote:
>> 
>> > In the trace file I see around a dozen lines similar to
>> >
>> > * 13:29:29  WARN  [gnc_load_app_icons()] No icon named
>> > 'gnc-account' found. Some gui elements may be missing their icons
>> > * 13:29:29  WARN  [gnc_load_app_icons()] No icon named
>> > 'gnc-account-report' found. Some gui elements may be missing their
>> icons
>> >
>> > Colin
>> >
>> >
>> > On 1 July 2018 at 13:39, Colin Law  wrote:
>> >
>> >> Actually I see there are more icons missing, such as the Split
>> button
>> > icon
>> >> in the toolbar.  It seems that the missing files are the png files
>> > from
>> >> data/pixmaps/hicolor/?/actions.  Are these supposed to be copied
>> >> somewhere by make install?
>> >>
>> >> Colin
>> >>
>> >> On 1 July 2018 at 11:21, Colin Law  wrote:
>> >>
>> >>> Following the instructions for building GC 3.x on the wiki [1] has
>> >>> been accomplished on Ubuntu 18.04 with little difficulty, so many
>> >>> thanks to the contributors to the wiki.
>> >>>
>> >>> Just one small issue so far, the icons to the left of the account
>> >>> names are all showing as a little no entry sign, which I guess
>> means
>> >>> the icon is missing.  Does that mean I have missed something or is
>> >>> something missing from the build?
>> >>>
>> >>> Colin
>> >>>
>> >>>
>> >>> [1] 

Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Bruce Lang

Hi,

I installed 3.2 but I experienced problems with displaying the reports.

Trial Balance and Equity Statement produced an "Error in producing 
report" message. I can view the various Options for the reports and all 
settings were as previously configured (under the former version).


Other reports, such as P, Budget Report, Cash Flow, etc all displayed 
correctly.


I installed 3.2 using the automatic installer and all seemed OK and no 
problems encountered with the install.


However, I have now reverted to 3.1 and those reports now display as 
they are meant to.


(OS is Win10)

Thanks,

*Bruce*



On 2/07/2018 7:42 PM, Stan Brown wrote:

Thanks for clarifying, Geert. From the earlier discussion I had the
impression that we were supposed to do a manual uninstall every time
before installing a new version, so I'm glad to learn that's not true.






___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


[GNC] Install error

2018-07-02 Thread George R Berry
Installed latest version and when I try to run it this error opos up.
 
HELP
 
 



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] translations

2018-07-02 Thread Geert Janssens
(I meant to divert this back to the list, but used a wrong mail address. 
Retrying... Aplogies Alain if you get this mail twice)

Op zaterdag 30 juni 2018 21:26:29 CEST schreef al...@sanguinetti.eu:
> Hello,
> 
> 
> I'd like to try to help with the french translation.
> 
> I've looked into the wiki, it seems like i can follow the guidelines if
> they are still on point.
> 
> Let me know if you think i can help.
> 
> Best regards,
> 
> 
> Alain

Hi Alain,

You're most welcome to help out!

The first thing to do is to contact the last known previous translator (you'll 
find his e-mail address in the fr.po file) and coordinate with him whether 
he's working on a translation, whether you can take over or how you otherwise 
could share the work between the both of you.

Once that's cleared out, just jump in. It seems you have already found
https://wiki.gnucash.org/wiki/Translation
which holds most of our current documentation on translation.

Should you have any issues, feel free to ask here on the list or via IRC.

Good luck and enjoy the ride :)

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


Re: [GNC] Dark theme on Windows

2018-07-02 Thread Geert Janssens
Op zondag 1 juli 2018 11:43:05 CEST schreef DaveC49:
> Geert,
> 
> The default theme is Mint-X. There is a Mint-X Dark  GTK-3 theme available
> as well and GnuCash comes up nicely in it. It is installable from the
> Menu->Preferences->Themes dialog in the Cinnamon desktop. I would say on
> Mint all you have to do is select a dark theme at the system level. There
> are many available for download.
> Thanks
> 
> David

Thanks.

That seems to confirm my suspicion: the dark flag will only work for themes 
that choose to implement both a light and a dark variant within the same 
theme. So far the only confirmed one that does is Adwaita.

For all the others instead it makes more sense to search for a dark theme and 
install that.

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


Re: [GNC] GnuCash 3.2 Released

2018-07-02 Thread DaveC49
John,

Just some further information. I rebuilt GnuCash with the -G Ninja option.

The build.ninja seems to contain a build uninstall target but it has no
commands. If I run 
sudo ninja install
it installs GnuCash (in/usr/local the prefix I set with cmake) and creates
install_manifest.txt.

If i copy the install target in build.ninja to the blank uninstall section
and modify it as follows

# Utility command for uninstall
build CMakeFiles/uninstall.util: CUSTOM_COMMAND all
  COMMAND = cd /home/david/Applications/gnucash-3.2/build-ninja &&
/usr/bin/cmake -P cmake_uninstall.cmake
  DESC = Uninstall the project...
  pool = console
  restat = 1
build uninstall: phony CMakeFiles/uninstall

and then issue

sudo ninja uninstall

Gnucash is correctly uninstalled except that it leaves:
   an empty gnucash directory in /etc;
  /include has an empty gnucash folder;
  /lib has a guncash directory with a scm/ccache/2.2 directory containing
gnucash, json and qif-import 
 folders
  /share has a gnucash directory with subdirectories but no files

It appears the uninstall is removing all files but not necessarily the
directory structure the files were in. OK unless that changes between
versions.

I haven't checked whether the uninstall behavior is any different for the
make version but a diff on the make and ninja versions of
install_manifest.txt produces no differences so I would expect that the
uninstall is the same given the cmake_uninstall.cmake files were essentially
the same.

Getting cmake to correctly create the build.ninja uninstall target should be
enough to get the ninja uninstall working as well.

Cheers
David




-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] GnuCash 3.2 Released

2018-07-02 Thread DaveC49
John,

I'm using CMake v 3.5.1. Presumably the same or similar could be used to
create an uninstall target for Ninja. Their argument for providing a default
uninstall target seems a bit weak to me as you are not going to be issuing
the command in a build directory unless you really intend to uninstall those
useful files. 

The cmake_uninstall.cmake file contains a reference to

# This is taken from
https://cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F

which has now been moved to Kitware
https://gitlab.kitware.com/cmake/community/wikis/FAQ

which has a very slow server by the look of it but eventually i found 
https://gitlab.kitware.com/cmake/community/wikis/FAQ#can-i-do-make-uninstall-with-cmake

Can I do "make uninstall" with CMake?

By default, CMake does not provide the "make uninstall" target, so you
cannot do this. We do not want "make uninstall" to remove useful files
from the system.

If you want an "uninstall" target in your project, then nobody prevents
you from providing one. You need to delete the files listed in
install_manifest.txt file. Here is how to do it. First create file
cmake_uninstall.cmake.in in the top-level directory of the project:

if(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt")
  message(FATAL_ERROR "Cannot find install manifest:
@CMAKE_BINARY_DIR@/install_manifest.txt")
endif(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt")

file(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach(file ${files})
  message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
  if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
exec_program(
  "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
  OUTPUT_VARIABLE rm_out
  RETURN_VALUE rm_retval
  )
if(NOT "${rm_retval}" STREQUAL 0)
  message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
endif(NOT "${rm_retval}" STREQUAL 0)
  else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
  endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
endforeach(file)
Then in the top-level CMakeLists.txt add the following logic:

# uninstall target
if(NOT TARGET uninstall)
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)

add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P
${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
endif()
Now you will have an "uninstall" target at the top-level directory of
your build tree.

Instead of creating an "uninstall" target, Unix users could enter this
command in the shell:

xargs rm < install_manifest.txt



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] Dark theme on Windows

2018-07-02 Thread DaveC49
Geert,

The default theme is Mint-X. There is a Mint-X Dark  GTK-3 theme available
as well and GnuCash comes up nicely in it. It is installable from the
Menu->Preferences->Themes dialog in the Cinnamon desktop. I would say on
Mint all you have to do is select a dark theme at the system level. There
are many available for download.
Thanks 

David



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] Changing default font size in Gnucash 3.2

2018-07-02 Thread Geert Janssens
Op zondag 1 juli 2018 21:03:50 CEST schreef Daniel Dickinson:
> I just upgraded to Gnucash 3.2 (on Mac OS X 10.13.4) and am having trouble
> setting a default font size.  The current font is too small and makes it
> very difficult for me to read the register.
> 
> 
> Following the instructions at https://wiki.gnucash.org/wiki/GTK3, I created
> the file ~/Library/Application Support/Gnucash/config/gtk-3.0/settings.ini
> (this file didn't exist previously), with the following contents:
> 
I wrote these instructions, but I'll admit the location of this file on Macos 
was an educated guess which I can't verify as I don't have an Macos system 
available to experiment with.
There is potentially a second location that could be queried rather that the 
one above.
Can you try to make the changes here instead:
~/.config/gtk-3.0/settings.ini

I would be interested to learn if that does work.

Otherwise the suggestion by GT-I9070 H is the third option. It is likely to 
work because we have more direct control over GNC_CONFIG_HOME.

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


Re: [GNC] GnuCash 3.2 Released

2018-07-02 Thread Geert Janssens
It was actually implemented by Rob Gowin in February last year:
https://github.com/Gnucash/gnucash/commit/6b14dc5b59ee

But while thinking of this I suspect the uninstall target should equally be 
run from the build directory that was used to install the old gnucash version. 
If you have already updated the source directory to the newer gnucash version 
invoking the uninstall target (be it from ninja-build or make) will probably 
trigger an update of the install-manifest file to match the newer sources 
before the uninstall itself will be triggered. And in that case it would still 
not uninstall obsolete files.

Geert

Op zondag 1 juli 2018 17:28:46 CEST schreef John Ralls:
> David,
> 
> That’s apparently new and undocumented behavior, maybe in CMake 3.10. Thanks
> for reporting it.
> 
> Regards,
> John Ralls
> 
> > On Jun 30, 2018, at 1:26 AM, DaveC49  wrote:
> > 
> > Hi John,
> > 
> > If GnuCash is not built with Ninja, there is a cmake_uninstall.cmake file
> > in the top level of the build directory which seems to read the
> > install_manifest.txt file. The Makefile in the same level produced by
> > CMake
> > has an uninstall target - not sure how it executes the commands in the
> > cmake_uninstall.cmake file but it appears to.
> > 
> > Executing "make uninstall" ( prefixed with sudo if installed in a system
> > location) in the build directory does remove all of the GnuCash files
> > installed in the  specified to cmake. (GnuCash V3.2 from the
> > SourceForge tarball on Linux Mint 18.3 built using Cmake, make and -
> > should
> > be the same for Ubuntu).
> > 
> > Not sure that happens if it is built with Ninja rather than make though.
> > 
> > David Cousens
> > 
> > 
> > 
> > -
> > David Cousens
> > --
> > Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > 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.
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> 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.




___
gnucash-user mailing list
gnucash-user@gnucash.org
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.

Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Geert Janssens
Op zondag 1 juli 2018 14:02:06 CEST schreef Stan Brown:
> Here's my take, for what it's worth. At least in the Windows world, the
> assumption is that when you install a new version it either removes the
> old version entirely, or leaves the old version functional but installs
> the new version in parallel. (The latter is less common, but some
> programs do it when the new version is a major change.) Leaving a few
> old files behind as orphans is usually regarded as an error of the new
> installer.
> 
> I don't have a problem with the requirement to uninstall the old
> version, but it was news to me, and I think would surprise many Windows
> users. Surely the installer of the new version can uninstall the old
> version itself -- and in my opinion, it should.

That's the general principle and that's also what the gnucash installer will 
do.

There are a few caveats though:
1. the automated uninstall will fail if gnucash is still running.
2. If you have changed files in the gnucash installation, these changed files 
will not be removed. This happens sometimes as users make changes to reports 
or the environment configuration files

There may be other reasons why stray files of the old installation are left 
behind that I'm not aware of.

An update usually works though. If not an explicit uninstall followed by a 
manual removal of left over files helps to eliminate this class of errors.

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


[GNC] Recently noticed...

2018-07-02 Thread George R Berry
I have recently notices that the first report I attempt to run within
GnuCash take a minute or so to display.  All subesquent report appear almost
instantly.
 
Can anyone help me with this?  It has only started ot do this recently.
 
 
George Berry
(New Subscriber)


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


Re: [GNC] Build on 18.04

2018-07-02 Thread Colin Law
@John

I see in src  data/pixmaps/CMakeLists.txt the list of icons. I don't know
about the cmake system though. What is supposed to happen to those files?
What can I do to work out where the problem is?

Colin

On 1 July 2018 at 18:58, John Ralls  wrote:

> data/pixmaps/CMakeLists.txt. There aren't any conditionals.
>
> Does your build directory have share/gnucash/icons?
>
> Regards,
> John Ralls
>
>
> > On Jul 1, 2018, at 10:33 AM, Colin Law  wrote:
> >
> > I have just rebuilt (on 18.04) using the exact same commands and my
> > manifest does not include the icons.  Do you know what is supposed to
> tell
> > the system to install them?
> >
> > Colin
> >
> > On 1 July 2018 at 17:36, Roger Miskowicz  wrote:
> >
> >> I have GC3.2 on two 16.04 linux systems and in one build I have
> >> install_manifest.txt which includes the 'icons' directory and in the
> other
> >> the install_manifest.txt does not exist (in this one the icons files
> were
> >> installed months earlier so not part of my latest install).
> >>
> >>
> >> I just rebuilt GC3.2 on 16.04 using:
> >>
> >> mkdir build
> >> cd build
> >>
> >> cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF ../gnucash
> >> cmake ..
> >>
> >> make
> >>
> >> and the install_manifest.txt include the 'icons' directory.
> >>
> >>
> >> Hope this helps, let me know if you would like to try something else.
> >>
> >> Roger
> >>
> >>
> >> On Sun, Jul 1, 2018 at 11:52 AM, Colin Law  wrote:
> >>
> >>> On 1 July 2018 at 16:36, Roger Miskowicz  wrote:
> >>>
>  in 16.04 and GC3.2 using:
> 
>  $ locate gnc-account-report
> 
>  I found:
> 
>  /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-acc
>  ount-report.png
>  /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-acc
>  ount-report.png
> 
>  Are these files found in 18.04?
> 
> >>>
> >>> No, in /usr/local/share/gnucash there is no icons folder.   I have
> >>> accounts  gtkbuilder  make-prefs-migration-script.xsl  pixmaps
> >>> tip_of_the_day.list
> >>> checksjqplot  migratable-prefs.xml scm  ui
> >>>
> >>> The only png file is pixmaps/gnucash_splash.png
> >>>
> >>> There is no reference to /usr/local/share/gnucash/icons in the output
> of
> >>> sudo make install.
> >>>
> >>> Colin
> >>>
> >>> Colin
> >>>
> >>>
> 
>  On Sun, Jul 1, 2018 at 10:55 AM, Colin Law  wrote:
> 
> > In the trace file I see around a dozen lines similar to
> >
> > * 13:29:29  WARN  [gnc_load_app_icons()] No icon named
> > 'gnc-account' found. Some gui elements may be missing their icons
> > * 13:29:29  WARN  [gnc_load_app_icons()] No icon named
> > 'gnc-account-report' found. Some gui elements may be missing their
> icons
> >
> > Colin
> >
> >
> > On 1 July 2018 at 13:39, Colin Law  wrote:
> >
> >> Actually I see there are more icons missing, such as the Split
> button
> > icon
> >> in the toolbar.  It seems that the missing files are the png files
> > from
> >> data/pixmaps/hicolor/?/actions.  Are these supposed to be copied
> >> somewhere by make install?
> >>
> >> Colin
> >>
> >> On 1 July 2018 at 11:21, Colin Law  wrote:
> >>
> >>> Following the instructions for building GC 3.x on the wiki [1] has
> >>> been accomplished on Ubuntu 18.04 with little difficulty, so many
> >>> thanks to the contributors to the wiki.
> >>>
> >>> Just one small issue so far, the icons to the left of the account
> >>> names are all showing as a little no entry sign, which I guess
> means
> >>> the icon is missing.  Does that mean I have missed something or is
> >>> something missing from the build?
> >>>
> >>> Colin
> >>>
> >>>
> >>> [1] https://wiki.gnucash.org/wiki/BuildUbuntu16.04
> >>>
> >>
> >>
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > 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.
> >
> 
> 
> >>>
> >>
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > 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.
>
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your