[GNC] DRP accounts, portfolio reports and making sense of the numbers

2021-08-06 Thread Andrew Clark
Somehow my previous email was sent before I had finished typing it.

I have an investment of NAB shares that I acquired as part of their
employee incentive program years ago and I'm trying to figure out the best
way to record it in GnuCash.

The shares were worth $3000 at the time of allotment. They were released to
me at the value of $2732.85. They pay a regular dividend twice a year. That
dividend is reinvested as part of a dividend reinvestment program (DRP).
Any remainder from the DRP is held over until the next cycle.

So take the payment on 2008-12-17.

There was 24.25 held over from the previous cycle.
The dividend was also 24.25.
Total to reinvest is 48.50.
Shares 2 @ 18.64 = 37.28
Remainder held until next cycle 48.50 - 37.28 = 11.22.

[image: image.png]

Now, in the portfolio report, if I set the date ot the date of that
transaction, I get:
[image: image.png]

'Money in' should be $2732.85 but it includes the 13.03 that was used from
the held over dividend? I don't feel like it should, as I have not
contributed any money into the system.

The accounts are laid out as below:

[image: image.png]

Should the DRP Holding account have a different type? Should it be located
somewhere else? Is there a better way to record this?

-- 
Cheers,

Andrew.
___
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] Gnc 4.1 Make Fail - MX-LINUX (Debian Buster)

2020-09-07 Thread Andrew Clark
I'd guess from the subject they're running Debian Buster (10), which
unfortunately I don't have installed anywhere useful at the moment.

I'm running Debian Bullseye (11) and did not have any issues building 4.1
from source, so perhaps upgrading to that is an option?

On Sat, 5 Sep 2020 at 04:10, John Ralls  wrote:

> Please remember to copy the list on all replies.
>
> If you don't know about pinning you didn't do it, and I suppose you didn't
> build boost yourself either. That suggests that the issue is with your
> distro, so go to their support channel and raise the issue with them.
>
> You haven't said what distro you're using so we can't really help you with
> the details of rolling back ICU to version 63; another reason for ensuring
> that you copy the list is that there are others there who know more than I
> do about the details of managing any of them.
>
> Regards,
> John Ralls
>
> > On Sep 4, 2020, at 9:30 AM, Mike Commissaris 
> wrote:
> >
> > Thanks John
> > I am quite new to linux but have a feel for what you are saying. I saw
> hints of this conflict while working on this the last couple of days. ICU
> and boost are new unexplored areas. Is there a workaround for this? Can you
> point me to info for pinning to ICU63?
> > Thank you so much.
> >
> > On Thu, Sep 3, 2020 at 8:55 PM John Ralls  wrote:
> >
> >
> > > On Sep 3, 2020, at 7:45 PM, Mike Commissaris <
> commissaris.m...@gmail.com> wrote:
> > >
> > > Trying to build 4.1 but cannot finish. Hope someone can help. All
> > > dependencies seem to be met. Hope someone can help.
> >
> > [SNIP]
> >
> > >
> > > gnucash/CMakeFiles/gnucash.dir/gnucash-gresources.c.o
> > > [ 72%] Linking CXX executable ../bin/gnucash
> > > /usr/bin/ld: warning: libicudata.so.63, needed by
> > > /usr/lib/x86_64-linux-gnu/libboost_regex.so, may conflict with
> > > libicudata.so.67
> > > /usr/bin/ld: warning: libicui18n.so.63, needed by
> > > /usr/lib/x86_64-linux-gnu/libboost_regex.so, may conflict with
> > > libicui18n.so.67
> > > /usr/bin/ld: warning: libicuuc.so.63, needed by
> > > /usr/lib/x86_64-linux-gnu/libboost_regex.so, may conflict with
> > > libicuuc.so.67
> > > /usr/bin/ld: ../lib/gnucash/libgnc-csv-import.so: undefined reference
> to
> > >
> `boost::re_detail_106700::icu_regex_traits_implementation::do_transform(int
> > > const*, int const*, icu_67::Collator const*) const'
> > > collect2: error: ld returned 1 exit status
> > > make[2]: *** [gnucash/CMakeFiles/gnucash.dir/build.make:183:
> bin/gnucash]
> > > Error 1
> > > make[1]: *** [CMakeFiles/Makefile2:6942:
> > > gnucash/CMakeFiles/gnucash.dir/all] Error 2
> > > make: *** [Makefile:163: all] Error 2
> > >
> >
> > ICU versions their libraries so that if you've compiled something with
> ICUX you can't later link it with ICUY. If you built Boost yourself you
> just need to clean and rebuild it so that it links with the new version of
> ICU. If not first make sure that you didn't pin the boost version; if you
> did either remove the pin or roll ICU back to ICU63 and  pin it too. If not
> then the Boost packager for your distro needs a kick to get a recompiled
> package linked with the right ICU version.
> >
> > Regards,
> > John Ralls
> >
> >
> >
> > --
> > Mike
>
> ___
> 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.
>


-- 
Cheers,

Andrew.
___
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] Fractional Hours?

2020-07-07 Thread Andrew Clark
Ok, thank you for your help. I had a look at the eguile file for the report
and it calls fmtnumeric for the qty. It looks like that's changed in the
utilities file along the way from:

(define-public (fmtnumeric n)
  ;; Format gnc-numeric n with as many decimal places as required
  (fmtnumber (gnc-numeric-to-double n)))

To:

(define-public (fmtnumber n)
  ;; Format a number (integer or real) into something printable
  (number->string (if (integer? n) (inexact->exact n) n)))

I created a copy of the eguile file in my home directory and pointed my
report to use that, put a call the contents of the old function directly in
place where qty is printed and it now works cleanly.

Here's a diff:

--- /usr/share/gnucash/scm/gnucash/report/taxinvoice.eguile.scm 2020-07-08
10:38:56.578832054 +1000
+++ "/srv/home/aclark/Documents/Account Keeping/taxinvoice.eguile.scm"
2020-07-08 10:39:36.206075678 +1000
@@ -351,7 +351,7 @@
   
   
   
-
+
   
   
 

I don't know if that's the best fix or if there's a more suitable function
to be calling there?

On Thu, 2 Jul 2020 at 13:36, Adrien Monteleone <
adrien.montele...@lusfiber.net> wrote:

> Sorry, I see that now.
>
> If it was working before, then this would be a change in the report's code.
>
> A bug report on GnuCash’s Bugzilla would be in order.
>
> In the meantime, you could download and ‘borrow’ the report from a
> previous version that worked. If you update before it is fixed, you’ll have
> to keep overwriting the new report with the old.
>
> Another option would be to set up the old report as a custom report. (see
> the wiki on how)
>
> That way, it won’t get overwritten on an update, and when your bug is
> fixed, you can ditch the ‘custom’ old copy.
>
> Finally, it seems this is only the case with the Tax Invoice that I can
> tell. A standard (Easy) invoice report shows decimals.
>
> Other than looks, I’m not even certain of the benefits of the ’tax
> invoice’. For me, there is no tax info on it. But the other invoices do
> have tax info –odd that is.
>
> Regards,
> Adrien
>
> > On Jul 1, 2020 w27d183, at 9:25 PM, Andrew Clark 
> wrote:
> >
> > Sorry, I misspoke in my previous.
> >
> > That setting is already in place, but this isn't a price.
> >
> > It's an actual amount that really should be decimal. Saying I'm billing
> for 171/2 hours work is confusing.
> >
> > It shows in both the Tax Invoice report and the Australian Tax Invoice
> report.
> >
>
>
> ___
> 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.
>


-- 
Cheers,

Andrew.
--- /usr/share/gnucash/scm/gnucash/report/taxinvoice.eguile.scm	2020-07-08 10:38:56.578832054 +1000
+++ "/srv/home/aclark/Documents/Account Keeping/taxinvoice.eguile.scm"	2020-07-08 10:39:36.206075678 +1000
@@ -351,7 +351,7 @@
   
   
   
-
+
   
   
 
___
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] Fractional Hours?

2020-07-01 Thread Andrew Clark
Sorry, I misspoke in my previous.

That setting is already in place, but this isn't a price.

It's an actual amount that really should be decimal. Saying I'm billing for
171/2 hours work is confusing.

It shows in both the Tax Invoice report and the Australian Tax Invoice
report.

On Thu, 2 Jul 2020 at 12:06, Andrew Clark  wrote:

> That setting is in place.
>
> This is showing up under the hours column for an invoice, a dollar amount,
> not a fraction display in a conversion.
>
> On Tue, 23 Jun 2020 at 10:25, Adrien Monteleone <
> adrien.montele...@lusfiber.net> wrote:
>
>> Check Preferences > General > Numbers > Force prices to display as
>> decimals.
>>
>> Note, some people prefer fractions for investments for exact pricing, but
>> it seems this is a one-time setting.
>>
>> That might be a good RFE to allow different treatment by register type.
>>
>> Regards,
>> Adrien
>>
>> > On Jun 22, 2020 w26d174, at 7:02 PM, Andrew Clark 
>> wrote:
>> >
>> > I generated an invoice last month for 85.50 hours. Weirdly, the invoice
>> > shows this as 171/2.
>> > [image: invoice.png]
>> > I'm running version 3.10+(2020-04-11) on Debian and I haven't changed
>> any
>> > settings that I know of.
>> >
>> > How do I get decimal hours back on my tax invoices?
>>
>>
>> ___
>> 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.
>>
>
>
> --
> Cheers,
>
> Andrew.
>


-- 
Cheers,

Andrew.
___
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] Fractional Hours?

2020-07-01 Thread Andrew Clark
That setting is in place.

This is showing up under the hours column for an invoice, a dollar amount,
not a fraction display in a conversion.

On Tue, 23 Jun 2020 at 10:25, Adrien Monteleone <
adrien.montele...@lusfiber.net> wrote:

> Check Preferences > General > Numbers > Force prices to display as
> decimals.
>
> Note, some people prefer fractions for investments for exact pricing, but
> it seems this is a one-time setting.
>
> That might be a good RFE to allow different treatment by register type.
>
> Regards,
> Adrien
>
> > On Jun 22, 2020 w26d174, at 7:02 PM, Andrew Clark 
> wrote:
> >
> > I generated an invoice last month for 85.50 hours. Weirdly, the invoice
> > shows this as 171/2.
> > [image: invoice.png]
> > I'm running version 3.10+(2020-04-11) on Debian and I haven't changed any
> > settings that I know of.
> >
> > How do I get decimal hours back on my tax invoices?
>
>
> ___
> 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.
>


-- 
Cheers,

Andrew.
___
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] Fractional Hours?

2020-06-22 Thread Andrew Clark
I generated an invoice last month for 85.50 hours. Weirdly, the invoice
shows this as 171/2.
[image: invoice.png]
I'm running version 3.10+(2020-04-11) on Debian and I haven't changed any
settings that I know of.

How do I get decimal hours back on my tax invoices?

-- 
Cheers,

Andrew.
___
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] dpkg-builder

2019-01-20 Thread Andrew Clark
I don't have an Ubuntu machine to test on, and this probably isn't the
cleanest way to build a package (it's been a while for me) but under buster
to build the package from source and make a deb:

sudo apt install fakeroot quilt
sudo apt build-deps gnucash
apt source gnucash
cd gnucash-3.4
export QUILT_PATCHES=debian/patches
export QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
quilt push -a
vi debian/rules and add fakeroot to the start of line 31
./debian/rules binary

That basic build process should be fairly similar under Ubuntu to get the
existing package. Once you can built the package as distributed by the
Ubuntu folks you can then pull down whatever source you want to and use a
similar process to build a package The version numbers used to build the
packages are stored in files named debian/[package]/DEBIAN/control


On Mon, 21 Jan 2019 at 05:33, Stephen M. Butler  wrote:

> On 1/20/19 2:36 AM, Andrew Clark wrote:
> > There's a GnuCash 3.4 Debian package in buster/testing
> > already? https://tracker.debian.org/pkg/gnucash
> >
> >
> >
> > On Sat, 19 Jan 2019 at 07:36, Stephen M. Butler  > <mailto:kg...@arrl.net>> wrote:
> >
> > Anybody a wizard with dpkg-builder?  Still trying to get a debian
> > package ready for folks.  I'm in over my head.
> >
> > Private mail me -- so we don't use up the bandwidth on either of
> these
> > mailing lists.--
> >
> >
> > Cheers,
> >
> > Andrew.
>
> That has the following problems:
>
> 1.  It is for Buster.  At least one person on these mailing lists has
> tried to load it up under Ubuntu 18.10 and ran into a slew of dependency
> problems.
>
> 2.  It is in the mainstream and won't make it to the releasable public
> for months.
>
> 3.  There is no "daily" for those who want to live on the bleeding edge.
>
> I have no interest in feeding into the mainline of major distributions.
> In fact, I can compile the source for my own utilization on my Ubuntu
> 18.04 box.  However, there are some who would like to have the more
> recent releases available on their distro without having to compile the
> source.
>
> If possible, I would like to build a debian style package that is
> available for the older distros.  I see interest for two such packages
> that could be made available via a ppa.
>
> 1.  The latest general release such as 3.4. Available for any distro
> rather than just Buster.
>
> 2.  A "daily" or "weekly" build of the latest set of patches to that
> release.  This morning (USA-Pacific Coast), there have been 38 commits
> since 3.4.  Others, in addition to myself, may have interest in having
> those available.
>
> Your welcome!
>
> --Steve
>
> --
> 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
>
>
>

-- 
Cheers,

Andrew.
___
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] dpkg-builder

2019-01-20 Thread Andrew Clark
There's a GnuCash 3.4 Debian package in buster/testing already?
https://tracker.debian.org/pkg/gnucash



On Sat, 19 Jan 2019 at 07:36, Stephen M. Butler  wrote:

> Anybody a wizard with dpkg-builder?  Still trying to get a debian
> package ready for folks.  I'm in over my head.
>
> Private mail me -- so we don't use up the bandwidth on either of these
> mailing lists.
>
> --
> 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.



-- 
Cheers,

Andrew.
___
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] X Forwarding starts session on remote machine?

2018-12-30 Thread Andrew Clark
WAYLAND_DISPLAY isn't set:

aclark@discus 0 ~ $ env | grep DISPLAY
DISPLAY=localhost:10.0
aclark@discus 0 ~ $ env | grep WAY
aclark@discus 0 ~ $ env | grep GTK
aclark@discus 0 ~ $


Which is why I was confused as to how it was finding the wayland server.

Setting GTK_BACKEND=x11 does work though.

On Mon, 31 Dec 2018 at 10:37, John Ralls  wrote:

>
>
> > On Dec 30, 2018, at 1:25 PM, Andrew Clark  wrote:
> >
> >
> > On Mon, 31 Dec 2018 at 08:22, John Ralls  wrote:
> >
> >
> > > On Dec 30, 2018, at 12:58 PM, Robert Heller 
> wrote:
> > >
> > > At Mon, 31 Dec 2018 07:39:55 +1100 Andrew Clark 
> wrote:
> > >
> > >>
> > >> On Mon., 31 Dec. 2018, 00:23 Derek Atkins  > >>
> > >>> Check $DISPLAY
> > >>>
> > >>
> > >> Thanks Derek, but that's my issue. $DISPLAY is set but gnucash doesn't
> > >> forward the display ot the xserver in $DISPLAY unless I force it by
> > >> manually supplying the $DISPLAY variable to the --display parameter.
> > >>
> > >> e.g.
> > >>
> > >> This works:
> > >>
> > >> gnucash --display="$DISPLAY"
> > >>
> > >>
> > >> While this doesn't:
> > >>
> > >> gnucash
> > >>
> > >>
> > >> Other non-gnome x applications work as expected. Gnome applications
> also
> > >> require me to append --display "$DISPLAY" to the commandline.
> > >
> > > This suggests either a Gnome bug or a Gnome misset gnomw-setting...
> >
> > Or that the main display is Wayland rather than X11.
> >
> > That it is. I wasn't aware that running Wayland made some applications
> ignore the $DISPLAY setting.
> >
> > Is that by design or is there some other environment variable I should
> be setting ?
>
> IIUC Wayland has its own display variable, $WAYLAND_DISPLAY. Apparently
> Gtk doesn't have a good way of determining what backend to use, or maybe it
> prefers to run on Wayland if it finds it even the particular login session
> is X11.
>
> You could try exporting GDK_BACKEND=x11 in your remote session before
> starting any Gtk programs.
>
> Regards,
> John Ralls
>
>

-- 
Cheers,

Andrew.
___
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] X Forwarding starts session on remote machine?

2018-12-30 Thread Andrew Clark
On Mon, 31 Dec 2018 at 08:22, John Ralls  wrote:

>
>
> > On Dec 30, 2018, at 12:58 PM, Robert Heller  wrote:
> >
> > At Mon, 31 Dec 2018 07:39:55 +1100 Andrew Clark 
> wrote:
> >
> >>
> >> On Mon., 31 Dec. 2018, 00:23 Derek Atkins  >>
> >>> Check $DISPLAY
> >>>
> >>
> >> Thanks Derek, but that's my issue. $DISPLAY is set but gnucash doesn't
> >> forward the display ot the xserver in $DISPLAY unless I force it by
> >> manually supplying the $DISPLAY variable to the --display parameter.
> >>
> >> e.g.
> >>
> >> This works:
> >>
> >> gnucash --display="$DISPLAY"
> >>
> >>
> >> While this doesn't:
> >>
> >> gnucash
> >>
> >>
> >> Other non-gnome x applications work as expected. Gnome applications also
> >> require me to append --display "$DISPLAY" to the commandline.
> >
> > This suggests either a Gnome bug or a Gnome misset gnomw-setting...
>
> Or that the main display is Wayland rather than X11.
>

That it is. I wasn't aware that running Wayland made some applications
ignore the $DISPLAY setting.

Is that by design or is there some other environment variable I should be
setting ?

-- 
Cheers,

Andrew.
___
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] X Forwarding starts session on remote machine?

2018-12-30 Thread Andrew Clark
On Mon., 31 Dec. 2018, 00:23 Derek Atkins  Check $DISPLAY
>

Thanks Derek, but that's my issue. $DISPLAY is set but gnucash doesn't
forward the display ot the xserver in $DISPLAY unless I force it by
manually supplying the $DISPLAY variable to the --display parameter.

e.g.

This works:

gnucash --display="$DISPLAY"


While this doesn't:

gnucash


Other non-gnome x applications work as expected. Gnome applications also
require me to append --display "$DISPLAY" to the commandline.
___
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] X Forwarding starts session on remote machine?

2018-12-30 Thread Andrew Clark
On Fri, 28 Dec 2018 at 11:30, Andrew Clark  wrote:

> Why is GNUCash ignoring the $DISPLAY variable when I'm logged in on discus?
>

I did a little bit more digging this evening and have had some success:

gnucash --display="$DISPLAY"

Behaves as expected and forwards the display to the ssh tunnel, just like
xeyes, xlogo, google-chrome, etc do without needing to specify the display.

I have since noticed that other gnome apps also require me to force the
display with --display="$DISPLAY"

Is there some other environment variable that's causing this?

-- 
Cheers,

Andrew.
___
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] My emails are not appearing on gnucash-user@gnucash.org list.

2018-12-29 Thread Andrew Clark
I've received both your test emails. They come through fine. Gmail detects
they are duplicates or they aren't sent back to you as the sender perhaps?

On Sun., 30 Dec. 2018, 15:50 DaveW  This is a Test email . . .
> ___
> 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] Backspace key stops working

2018-12-28 Thread Andrew Clark
I've also had issues with backspace not working in some versions. I think
after trying to paste a value something.

On Sat., 29 Dec. 2018, 18:23 Ethan Swint  Ok, I’m not crazy, then! I suspect, though I’m not sure, that I encounter
> it when Gnucash is saving as I try to edit an entry. I’ll bump my save rate
> up and see if I can force the behavior.
>
> -Ethan
>
> Sent from my iPhone
>
> > On Dec 28, 2018, at 19:17, John Ralls  wrote:
> >
> >
> >
> >> On Dec 28, 2018, at 4:49 PM, Ethan Swint  wrote:
> >>
> >> Just encountered this bug/feature again - the backspace key stops
> working, only in Gnucash, and Gnucash must be restarted to restore the
> functionality. I remember encountering this pre-Gnucash 3.
> >>
> >> Anyone else encountered this, or have an idea what might be triggering
> this behavior?
> >
> > It’s been reported by a few users over the years, but never with enough
> detail to figure the problem out or for developers to reproduce it. If you
> can find a way to reliably cause it to happen, even if only on your own
> computer, and describe it thoroughly and precisely we might be able to
> isolate the problem.
> >
> > 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.
___
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] X Forwarding starts session on remote machine?

2018-12-27 Thread Andrew Clark
Hi,

I came home and logged in to my main machine (discus) again, directly on
the console.

Now, when I ssh in from my laptop (pleco) with -X and start GNUCash, it
starts on the my main machine's X server.

e.g.

aclark@pleco 0 ~ $ ssh discus -X -v
OpenSSH_7.9p1 Debian-4, OpenSSL 1.1.1a  20 Nov 2018
debug1: Reading configuration data /home/aclark/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to discus.ajfclark.com [192.168.1.4] port 22.
debug1: Connection established.

[auth stuff snipped ]

Authenticated to discus.ajfclark.com ([192.168.1.4]:22).debug1: channel 0:
new [client-session]
Authenticated to discus.ajfclark.com ([192.168.1.4]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessi...@openssh.com
debug1: Entering interactive session.
debug1: pledge: exec
debug1: client_input_global_request: rtype hostkeys...@openssh.com
want_reply 0
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Sending env LANG = en_AU.UTF-8
Linux discus 4.18.0-2-amd64 #1 SMP Debian 4.18.10-2 (2018-10-07) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Dec 28 11:18:00 2018 from 192.168.1.94
aclark@discus 0 ~ $ echo $DISPLAY
localhost:10.0
aclark@discus 0 ~ $ gnucash
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from ::1 41602
debug1: channel 1: new [x11]
debug1: confirm x11
debug1: channel 1: FORCE input drain
debug1: channel 1: free: x11, nchannels 2
Traceback (most recent call last):
  File "/usr/share/gnucash/python/init.py", line 2, in 
import gnucash._sw_app_utils as _sw_app_utils
ModuleNotFoundError: No module named 'gnucash'
Found Finance::Quote version 1.47

And gnucash appears on Discus' monitor.

When I close gnucash on discus' display, pleco returns to the command
prompt. If I logout of Discus, leaving it at the GDM3 prompt, and rerun the
command, it forwards to the laptop display correctly:

aclark@discus 0 ~ $ gnucash
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from ::1 41744
debug1: channel 1: new [x11]
debug1: confirm x11
debug1: client_input_channel_open: ctype x11 rchan 4 win 65536 max 16384
debug1: client_request_x11: request from ::1 41746
debug1: channel 2: new [x11]
debug1: confirm x11
debug1: channel 2: FORCE input drain
debug1: channel 2: free: x11, nchannels 3
Traceback (most recent call last):
  File "/usr/share/gnucash/python/init.py", line 2, in 
import gnucash._sw_app_utils as _sw_app_utils
ModuleNotFoundError: No module named 'gnucash'
Found Finance::Quote version 1.47

Why is GNUCash ignoring the $DISPLAY variable when I'm logged in on discus?

-- 
Cheers,

Andrew.
___
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] .deb package

2018-12-23 Thread Andrew Clark
Thanks Stephen,

How is this different to the package in the testing distribution by Dmitry
Smirnov that's listed as 3.3-2+b2 (
https://packages.debian.org/buster/gnucash)? Is it based on his package?
Will it be merged with the main debian packages?


On Sat, 22 Dec 2018 at 04:54, Stephen M. Butler  wrote:

> I heard back from the user that requested a .deb package of GnC for
> Ubuntu 18.04.  Apparently it is working well for him.
>
> So, for others that might want to check this out on other debian
> platforms, here is a link to the folder on my Google Drive:
>
> https://drive.google.com/open?id=1fV_fURy6c77e7gf6S41lTacM7dFyy7VD
>
> There I have the following:
>
>   3.3-0  This has the 3.3 tag on it in git source
>
> 3.3-153 and 3.3-159  From when the recent maint fixes were merged into
> the main-line (master)
>
> 3.3-170 from maint branch back on the 9th.
>
> Note that these are compiled and built on a Ubuntu 18.04 box using
> checkinstall to create the .deb file.
>
> --Steve
>
> --
> 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.



-- 
Cheers,

Andrew.
___
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] Data entry problem

2018-12-20 Thread Andrew Clark
I have weird input issues too on Debian buster, especially around selecting
text. ctrl-a doesn't select all the text in a field for instance.

aclark@discus 0 ~ $ gnucash --version
GnuCash 3.3
Build ID:  3.3+ (2018-09-29)

Gnome shell is version 3.30.1-2.

On Fri, 21 Dec 2018 at 10:27, Sebastian Di Mateo 
wrote:

> Still present on 3.3+ (2018-09-29) Fedora 29 KDE
>
> --Seba
> @meneldur
>
>
> On Thu, Dec 20, 2018 at 8:19 PM avigr...@juno.com 
> wrote:
>
> > I'm sorry.  I am using Build ID: 3.2+ (2018-06-24) on a HP Laptop using
> > Windows 10.
> >
> > -- Original Message --
> > From: Steve Butler 
> > To: avigr...@juno.com
> > Cc: GnuCash users group 
> > Subject: Re: [GNC] Data entry problem
> > Date: Thu, 20 Dec 2018 08:34:56 -0800
> >
> >
> > That was a bug on certain releases that has been fixed.  You didn't
> > indicate what version of GnC you are using nor did you say which O/S or
> > hardware.  Without that info it is impossible to determine whether your
> > issue has been fixed or if it raised its ugly head again.
> > On Thu, Dec 20, 2018, 07:52 avigr...@juno.com  > wrote:When I type something by mistake, my delete and backspace key do
> not
> > work to allow me to correct the error.  How do you correct a typo in
> > GnuCash?
> >  ___
> >  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.
>


-- 
Cheers,

Andrew.
___
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 never starts over forwarded X session

2018-12-18 Thread Andrew Clark
I ended up resizing a partition, installing Debian and now forwarding via
ssh to Xorg running on that works fine.

I guess there must be some issue with my windows setup and the Xming x
server.

On Fri, 7 Dec 2018 at 10:00, Andrew Clark  wrote:

> I've tried connecting using both putty and Bitvise SSH client to forward
> the X session. Both hang at the same point:
> [image: image.png]
>
> Xauth is installed on the machien running gnucash:
>
> aclark@discus 1 ~ $ dpkg -l xauth
> Desired=Unknown/Install/Remove/Purge/Hold
> |
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name   Version  Architecture Description
>
> +++-==---=
> ii  xauth  1:1.0.10-1   amd64X authentication utility
>
> I've tried running Xnest on the remote machine and then gnucash in that,
> but it still doesn't work.
>
> e.g.
>
> Xnest :10 &
> DISPLAY=:10.0 gnucash
>
> Hangs in the same place.
>
> Things like DISPLAY=10:.0 xeyes work though.
>
>
>
>
>
> On Fri, 7 Dec 2018 at 02:57, Derek Atkins  wrote:
>
>> Andrew Clark  writes:
>>
>> > Yes, when I'm home I use GNUCash on the machine and it works fine. I'm
>> only
>> > tryign to use the frowarded session because I'm away at the moment. I've
>> > previously done this and it worked fine.
>>
>> What X-forwarding method are you using?
>> It works for me using ssh -X
>> also ensure you have xauth installed (on the remote machine).
>>
>> -derek
>>
>> --
>>Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>>Member, MIT Student Information Processing Board  (SIPB)
>>URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
>>warl...@mit.eduPGP key available
>>
>
>
> --
> Cheers,
>
> Andrew.
>


-- 
Cheers,

Andrew.
___
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] Biils in credit

2018-12-16 Thread Andrew Clark
I get a bill from my electricity provider. For part of the year, the solar
feed in payments mean our bill is actually in credit. eg.

service charge: $30
electicity used: $100
GST (Goods and Services Tax): $13
Solar feed in: -$170
Total owing: -$27

Then on the next bill the balance carreis over and the amount we're in
credit goes up. There's nothing to pay on the bills, but when the due date
comes GNUCash starts bugging me to pay them. I've been paying them from an
asset account created to keep track of this balance.

What the best way to keep track of this?

-- 
Cheers,

Andrew.
___
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 Gnucash on Debian

2018-12-05 Thread Andrew Clark
I'm pretty sure I installed 3.3 from the unstable Debian repo:
https://packages.debian.org/sid/gnucash

You will need to do some hunting of you wish to just install a single
package from unstable, but it is possible.


On Thu., 6 Dec. 2018, 10:10 Stephen M. Butler  On 12/5/18 2:20 PM, Mike stagl wrote:
> > I realized I had installed GnuCash on my Debian system using apt-get and
> a repository.  The latest version for which this works is 2.6.15.
> >
> > How do I install GnuCash 3.3 or higher on my Debian system? I'm hoping
> the answer isn't to build my own with cmake... I've never done that before
> and am a little intimidated by the process and checking dependancies.
> >
> > Is it possible to download the Ubuntu .deb? Would that work, in theory?
> >
> > Thanks to all the contributors,
> >
> > Mike
> > _
>
> I am not aware of a .deb version to install.  It wasn't that hard to go
> through the build page and compile my own.  There were a couple of
> hickups along the way but the folks here were great about helping.
>
> Start with this page and work down section by section:
> https://wiki.gnucash.org/wiki/Building_On_Linux
>
> Be sure to follow the referenced pages to get the build tools and
> dependency list.  I copied them line by line and ran in a terminal
> environment.  I haven't taken the time to build a shell script to load
> them all.
>
> holler on the list if  you run into problems.  I'm using a patched 3.3
> on Ubuntu 18.04.
>
> --Steve
>
>
> --
> 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] GNUCash never starts over forwarded X session

2018-12-05 Thread Andrew Clark
Yes, when I'm home I use GNUCash on the machine and it works fine. I'm only
tryign to use the frowarded session because I'm away at the moment. I've
previously done this and it worked fine.

On Thu, 6 Dec 2018 at 10:43, John Ralls  wrote:

>
>
> > On Dec 5, 2018, at 3:13 PM, Andrew Clark  wrote:
> >
> > Hi,
> >
> > I used to be able to forward gnucash over ssh to a local xming server.
> >
> > It seems since upgrading to GnuCash 3.3 Build ID:  3.3+ (2018-09-29) I
> can
> > no longer do this. The program starts, the splash screen displays, but
> the
> > status message stays on gnucash/engine forever.
> >
> > I'm running buster/sid Debian on the server end, forwarding the X session
> > via ssh to Xming 6.9.0.31 running on Windows 10.
> >
> > I've also tried forwarding Xnest and then running GNUCash in that, but
> that
> > hangs at the same place.
> >
> > Any ideas where to look?
>
> Is the system you’re running GnuCash on headless? If not, does GnuCash
> start up ok when the X-server is running on the same machine?
>
> Regards,
> John Ralls
>
>

-- 
Cheers,

Andrew.
___
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] GNUCash never starts over forwarded X session

2018-12-05 Thread Andrew Clark
Hi,

I used to be able to forward gnucash over ssh to a local xming server.

It seems since upgrading to GnuCash 3.3 Build ID:  3.3+ (2018-09-29) I can
no longer do this. The program starts, the splash screen displays, but the
status message stays on gnucash/engine forever.

I'm running buster/sid Debian on the server end, forwarding the X session
via ssh to Xming 6.9.0.31 running on Windows 10.

I've also tried forwarding Xnest and then running GNUCash in that, but that
hangs at the same place.

Any ideas where to look?

-- 
Cheers,

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