Re: [GNC] how to remove both GNC 4.2 and Flathub version 4.8 so can upgrade to 4.9 on Ubuntu 20.04lts

2021-12-23 Thread Jeff

On 12/20/21 3:16 AM, davidcousen...@gmail.com wrote:

Jeff,
You may find this page helpful to unistall the flatpak version.
https://www.systutorials.com/docs/linux/man/1-flatpak-uninstall/

How did you install GC 4.2. If you built it from source and still have the
source and build directories it was installed from theneither
$sudo ninja uninstall
or
$sudo make uninstall
run in the build directory in a terminal should uninstall it.

If you installed 4.2 from the sickly life ppa you should be able to remove it
with
$sudo apt remove --auto-remove gnucash


If not it will be a manual uninstall as per the instructions here
https://code.gnucash.org/wiki/Uninstall_Gnucash_Ubuntu.
You need to be fairly careful uninstalling manually it is the method of last
resort.

Don't delete your desktop icons/shortcuts. You may need to edit them and change
the path to the gnucash executable depending on how and where you install it but
you should be able to change the path to the gnucash executable and leave the
rest of the instruction for the file to open unchanged,

Possibly the only way to get 4.9 installed is to build it from source or to use
flathub.

https://wiki.gnucash.org/wiki/Building_On_Linux

The main problem is ensuring all the dependencies and header files for them are
installed. https://wiki.gnucash.org/wiki/Installing_Dependencies sometimes you
will find the library has a slightly different name and occasionally there will
be a library which is assumed to be installed by default which may be missing.

$apt-cache search   is a command which can be used to locate the
specific library names and what is available on your OS version   can be
a substring of the library name which identifies it eg "swig" will lsit the
swig2.0 and swig3.0 library if available.  You can generally use the most recent
versions of most libraries unless the use of a specific version is identified in
the README.dependencies file in the downloaded source files.  (I haven't updated
the dependency list since V3 so substitute the version number listed in the
README.dependencies file if it is different. I used to do that after I upgraded
to a new Linux MInt version but their version upgrade is now so good I have
never had to completely reinstall the OS since Linux Mint 19.1 so I have never
had to reinstall all the dpendencies

When you run the cmake command  in the build directoryit will generally stop
with an error message if a dependency is missing. The easiest procedure is to
load the depnendency that was missing and then rerun the cmake command until it
completes without error. Once that is done youcan run the build commands and the
install commands.

Once you get it built successfully for the first time it is usually a piece of
cake to build and install subsequent Gnucash version Keep the source directory
and the buidl directory as the uninstalling them is easiest by running
$sudo ninja uninstall in the build directory.

David Cousens




On Mon, 2021-12-20 at 02:12 -0600, Jeff wrote:

I currently have GNC Version 4.2 installed on Ubuntu 20.04 LTS. At the
recommendation of a former post for info I also have 4.8 from flat-hub
somewhere on my system (have yet to find out where or how to remove it).

4.2 is is in the launch bar and has desktop icons to multiple sets of
books.  The only way I have found to run 4.8 is in software manager and
have to change books manually (which 4.8 also had the nasty habit of
creating backup files on the desktop for some reason).

1) How do I uninstall both versions?

2) how do I install 4.9 (preferably without Flathub)?  I also need
desktop icons to launch GNC from the desktop for multiple sets of books
(lucky me, I am the accountant/tax man for the entire family!  I won't
even go into what condition I receive financial records in).

I am not opposed to building from source code but; all of my tries have
so far failed miserably on GNC.

It's a simple mater under Windoze but so far nothing I have tried works
on Ubuntu.  And yes, I need the desktop icons for each set of books as
the icons are linked to each individuals books across multiple drives on
remote servers not just mine. My memory has had to many read/write
cycles to keep track of who is on which server drive and file name.


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


Near as I remember I installed 4.2 via sickly life ppa as that was the 
only way I could.  4.8 was via Flathub.  Per your recommendations I am 
going to try to uninstall both versions, if I can.


As far as building from source, I found the documentation links to be 
woefully outdated for version 

Re: [GNC] crypto exchange

2021-12-23 Thread John Ralls

> On Dec 23, 2021, at 1:20 PM, Tim via gnucash-user  
> wrote:
> 
> 
> Hi,
> 
> I try to hande my crypto trades in gnucash and stuck at trading fees
> which decrease my fiat currency (€) in smaller fraction than 1/100.
> 
> Does anybody know how I can handle this?

Round to the nearest Euro-cent. No currency has fractions of its smallest unit.

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.


[GNC] crypto exchange

2021-12-23 Thread Tim via gnucash-user

Hi,

I try to hande my crypto trades in gnucash and stuck at trading fees
which decrease my fiat currency (€) in smaller fraction than 1/100.

Does anybody know how I can handle this?

Kind regards
    Tim





OpenPGP_signature
Description: OpenPGP digital signature
___
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] Report of upgrading without issues

2021-12-23 Thread William Prescott
For what it is worth:

I have been running Gnucash 4.8-2 under Mac OS Big Sur 11.5/6

Last week I upgraded to Mac OS Monterey 12.1. There were no problems with 
Gnucash.
Today I upgraded to Gnucash 4.9, again with no problems.

Regards,
Will
___
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 in docker, how to install on different laptop

2021-12-23 Thread Justin

On 12/23/21 12:54 PM, john wrote:

On Dec 23, 2021, at 5:53 AM, Hajo Hindriks  wrote:

I have an older laptop running ubuntu 20.04 LTS, I want to update
gnucash on it without installing all the build tools and dependencies
and I don't want to use flatpack either. So I used a docker container
based on 20.04 LTS to build the tag 4.9. So far so good, but I don't
know how to install to the other laptop, any advice on this? Do I need
to investigate how to create a deb file? When calling ninja install it
seems to write only to /opt/gnucash, would it be sufficient to copy this
foler to the laptop? There are messages of "set runtime path of "..." to
"...", how could I replicate this on the laptop?

A docker image is like a flatpak: It's a lightweight virtual machine. To run it on 
another machine you install docker in that machine and use it to run the docker 
container you created, see https://docs.docker.com/engine/reference/commandline/run/ 
.
Sounds like he is using docker to build a 20.04 LTS container (matching 
his target OS), so that he might be able to "ninja install" in the 
container, and obtain code that could be installed outside of docker.  
docker here is being used for a backport environment.


I'm not a gnucash developer, but generally, if you have a good build in 
docker, you should be able to "ninja install" into some scratch dir, 
make a tar file (or whatever), and get that out of docker.  Then, untar 
that on the target machine.


One complication is that the build might assume it is installed in 
/usr/bin, for example, and you might need to tell it to install in 
/opt/gnucash, if the build is not relocatable.  I haven't built gnucash, 
but if there are any instructions for installing in non-standard 
locations (ie: not /usr/bin), follow those instructions.


If the build has any runtime dependencies (ie: links with X11, etc), 
those packages will need to be installed on the target machine.


It can be done with dpkg's (pdebuilder, etc), but I suspect it would be 
the same result as building in docker:  dpkg uses chroot, docker uses a 
container; the effect is the same, though a dpkg would capture the 
runtime dependencies in a cleaner way.  Probably not a big difference if 
you are installing to one machine.


-Justin

___
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] Need help importing Investment transactions

2021-12-23 Thread David Carlson
It will be a while before I can find an adequate time window to test and
post an example csv with instructions to duplicate the single line
transactions that I saw the other day.  I still have the csv file and the
import configuration so I should be able to do it.  In the meantime have a
nice holiday.

On Thu, Dec 23, 2021 at 11:44 AM john  wrote:

>
>
> On Dec 22, 2021, at 8:58 PM, David Carlson 
> wrote:
>
> I am currently running release 3.8 in Linux Lite, which is Ubuntu 20.04
> under a different label.  I think that the CSV transaction import has not
> been changed, between 3.8 and 4.9.  If that is not correct, then some of my
> issues may be bugs that have been fixed.
>
> I have read the current help manual section on importing transactions in
> csv format  which
> gave me a start, but there are some things that I cannot make work
> correctly.
>
> I have come to the conclusion that my brokerage house World Equity Group
> CSV exports probably need to be massaged, and possibly split up but there
> are a couple of issues that I need to understand in order to determine how
> to fix the import data and to assign the proper names to the various
> fields.
>
> One issue is that in one test many transactions were imported as single
> line unbalanced transactions with no transfer account, not even an
> assignment to an unbalance account.  Why did GnuCash accept unbalanced
> transactions containing amounts? Applying Check and Repair to some of those
> transactions did not balance them to an unbalance account.
>
> Another issue is that I have not figured out which column name should be
> used for the number of shares in a purchase or sale transaction.
>
> Yet another issue would be whether I can import everything into the
> brokerage account or do I need to do something special to get stock
> transactions assigned to the proper security account when appropriate?
>
> A fourth issue would be whether I need to use the Multi-Split feature and,
> if so, how to format the CSV file to make it assign the correct split lines
> to the correct base transaction, and save it in CSV format if I built the
> spreadsheet in LibreOffice Calc or equivalent
>
>
> Your premise might be mistaken: There have been 40 commits in
> gnucash/import-export/csv since 3.8 including several bug-fixes. However
> none of the summaries say anything about creating single-split
> transactions. You're right that that shouldn't be possible. Can you post an
> example or two of CSV rows that do that?
>
> There isn't a column name for amount (see
> https://bugs.gnucash.org/show_bug.cgi?id=797368), just for price, but
> even that apparently doesn't work well:
> https://bugs.gnucash.org/show_bug.cgi?id=793306 and
> https://bugs.gnucash.org/show_bug.cgi?id=796955.
>
> If you root the import on the brokerage cash account you should be able to
> designate the transfer accounts to the various stock's accounts in the
> matcher if importing stock trades worked, see previous item.
>
> The easiest way to learn the format for multi-split CSV files is to do
> File>Export>Export Transactions to CSV and examine the resulting
> spreadsheet.
>
> Regards,
> John Ralls
>
>
>
>
>
>
>
>

-- 
David Carlson
___
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] Dependency on AqBanking data (gnucash files referencing NUM in .aqbanking/settings6/accounts/$NUM)

2021-12-23 Thread Justin

On 12/22/21 8:14 PM, Liz wrote:

On Tue, 21 Dec 2021 17:13:58 -
"Fred Bone"  wrote:

On 21 December 2021 at 10:48, Justin said:

I hadn't received "[GNC]" stamped copy.  I just checked my
subscription options, and I am supposed to be receiving a copy of
mail sent to the list.  Odd.  I turned on ack emails for next time.

Why odd? You're using Gmail. This is expected behaviour.

Fred's correct, the point at which you lose the mail is Gmail. If you
check in your "Allmail" you could find them there.


Not sure why it would be normal behavior for an email server to de-dup a 
received message because I sent it.  I can understand dedup on inbound 
mail, but it seems odd that it would suppress a received message because 
I sent it.


GNU Mailman has an option to "send me copies of my submission", so it 
seems that typical mailing-list behavior would be to see those messages 
on the client if they are sent back to you.  In the current case, I have 
no idea whether the submitted mail was not spam-blocked or dropped by 
the list server.  I need to login to the archive to confirm that my 
message was received.  "send me copies" insures that I see the '[GNC]' 
stamped copy of the email (sorted into a list-id folder).


That is, the fact that Mailman has an option to send copies of my 
submission indicates that deduping received based on what was sent is 
not the typical (SMTP) behavior.


I forward my gmail to home server, but it sounds like that wouldn't make 
a difference.  I did not receive a forwarded copy of the second email, 
so the dedup must be happening before that.  My forwarding is setup to 
forward to home-address, and delete; my allmail is empty.



Liz
___
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 in docker, how to install on different laptop

2021-12-23 Thread john



> On Dec 23, 2021, at 5:53 AM, Hajo Hindriks  wrote:
> 
> I have an older laptop running ubuntu 20.04 LTS, I want to update
> gnucash on it without installing all the build tools and dependencies
> and I don't want to use flatpack either. So I used a docker container
> based on 20.04 LTS to build the tag 4.9. So far so good, but I don't
> know how to install to the other laptop, any advice on this? Do I need
> to investigate how to create a deb file? When calling ninja install it
> seems to write only to /opt/gnucash, would it be sufficient to copy this
> foler to the laptop? There are messages of "set runtime path of "..." to
> "...", how could I replicate this on the laptop?
> 
> And one small question aside, I run bin/gnucash --version in the build
> dir and got the following output:
> 
> # bin /gnucash-cli --version
> GnuCash 4.8 development version
> Build ID: git 4.9+(2021-12-18)
> 
> is the 4.8 expected in this context?

A docker image is like a flatpak: It's a lightweight virtual machine. To run it 
on another machine you install docker in that machine and use it to run the 
docker container you created, see 
https://docs.docker.com/engine/reference/commandline/run/ 
.

If you built GnuCash from the 4.9 tag, it's off by 1 commit: The CMakeLists.txt 
version bump is in 20bfabf. Nothing to worry about.

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] Need help importing Investment transactions

2021-12-23 Thread john



> On Dec 22, 2021, at 8:58 PM, David Carlson  
> wrote:
> 
> I am currently running release 3.8 in Linux Lite, which is Ubuntu 20.04
> under a different label.  I think that the CSV transaction import has not
> been changed, between 3.8 and 4.9.  If that is not correct, then some of my
> issues may be bugs that have been fixed.
> 
> I have read the current help manual section on importing transactions in
> csv format  which
> gave me a start, but there are some things that I cannot make work
> correctly.
> 
> I have come to the conclusion that my brokerage house World Equity Group
> CSV exports probably need to be massaged, and possibly split up but there
> are a couple of issues that I need to understand in order to determine how
> to fix the import data and to assign the proper names to the various fields.
> 
> One issue is that in one test many transactions were imported as single
> line unbalanced transactions with no transfer account, not even an
> assignment to an unbalance account.  Why did GnuCash accept unbalanced
> transactions containing amounts? Applying Check and Repair to some of those
> transactions did not balance them to an unbalance account.
> 
> Another issue is that I have not figured out which column name should be
> used for the number of shares in a purchase or sale transaction.
> 
> Yet another issue would be whether I can import everything into the
> brokerage account or do I need to do something special to get stock
> transactions assigned to the proper security account when appropriate?
> 
> A fourth issue would be whether I need to use the Multi-Split feature and,
> if so, how to format the CSV file to make it assign the correct split lines
> to the correct base transaction, and save it in CSV format if I built the
> spreadsheet in LibreOffice Calc or equivalent

Your premise might be mistaken: There have been 40 commits in 
gnucash/import-export/csv since 3.8 including several bug-fixes. However none 
of the summaries say anything about creating single-split transactions. You're 
right that that shouldn't be possible. Can you post an example or two of CSV 
rows that do that?

There isn't a column name for amount (see 
https://bugs.gnucash.org/show_bug.cgi?id=797368 
), just for price, but even 
that apparently doesn't work well: 
https://bugs.gnucash.org/show_bug.cgi?id=793306 
 and 
https://bugs.gnucash.org/show_bug.cgi?id=796955 
.

If you root the import on the brokerage cash account you should be able to 
designate the transfer accounts to the various stock's accounts in the matcher 
if importing stock trades worked, see previous item.

The easiest way to learn the format for multi-split CSV files is to do 
File>Export>Export Transactions to CSV and examine the resulting spreadsheet.

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.


[GNC] Build in docker, how to install on different laptop

2021-12-23 Thread Hajo Hindriks

I have an older laptop running ubuntu 20.04 LTS, I want to update
gnucash on it without installing all the build tools and dependencies
and I don't want to use flatpack either. So I used a docker container
based on 20.04 LTS to build the tag 4.9. So far so good, but I don't
know how to install to the other laptop, any advice on this? Do I need
to investigate how to create a deb file? When calling ninja install it
seems to write only to /opt/gnucash, would it be sufficient to copy this
foler to the laptop? There are messages of "set runtime path of "..." to
"...", how could I replicate this on the laptop?

And one small question aside, I run bin/gnucash --version in the build
dir and got the following output:

# bin /gnucash-cli --version
GnuCash 4.8 development version
Build ID: git 4.9+(2021-12-18)

is the 4.8 expected in this context?

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