Re: [GNC-dev] Fwd: Testing python

2020-04-27 Thread andygoblins
On April 26, 2020 6:21:52 PM UTC, Geert Janssens wrote: >Did you uninstall the result of "ninja install" before running the >second test ? No, silly me. If I uninstall first, I get the same error. The binaries must be looking in the install directory instead of the build directory. I guess

Re: [GNC-dev] Fwd: Testing python

2020-04-26 Thread Geert Janssens
Op zondag 26 april 2020 16:57:49 CEST schreef Andy Goblins: > Mark, I do not get any of the errors you get when running with '--debug > --test' - the python test stuff runs fine for me: it says, "Hello from > python!" and then prints a bunch of tests. > So I did some more playing, and discovered:

Re: [GNC-dev] Fwd: Testing python

2020-04-26 Thread Mark
must be > some hard-coded references to this that messes up builds in alternative > directories. > > > *Sent:* Saturday, April 25, 2020 at 5:17 PM > *From:* "Mark" > *To:* "andygoblins" > *Cc:* "Geert Janssens" , "gnucash-devel" < &g

Re: [GNC-dev] Fwd: Testing python

2020-04-26 Thread Andy Goblins
the git repository rather than in a different folder, and there must be some hard-coded references to this that messes up builds in alternative directories. Sent: Saturday, April 25, 2020 at 5:17 PM From: "Mark" To: "andygoblins" Cc: "Geert Janssen

Re: [GNC-dev] Fwd: Testing python

2020-04-25 Thread Mark
Unfortunately, we are beyond where I can help you with the build details, but I can at least give my experience for comparison. I had never tried it before, but I went to my most recent build directory and ran the gnucash binary directly from there. It ran fine for me, in the sense that it didn't g

Re: [GNC-dev] Fwd: Testing python

2020-04-25 Thread andygoblins
I get the same issue when running the gnucash binary out of the build directory. Do I need to set a different environment variable so gnucash loads the correct .so files? On April 24, 2020 12:16:22 PM UTC, Geert Janssens wrote: >Ok, so it looks like an issue with how gnucash finds its librarie

Re: [GNC-dev] Fwd: Testing python

2020-04-24 Thread Geert Janssens
Ok, so it looks like an issue with how gnucash finds its libraries from within the build directory, rather than from the installation directory. Can you run gnucash itself properly from the build directory ? Regards, Geert Op vrijdag 24 april 2020 00:37:37 CEST schreef andygoblins: > I'm buil

Re: [GNC-dev] Fwd: Testing python

2020-04-23 Thread andygoblins
I'm building from git master. I just run "ninja build" without an install and do my testing straight from the build directory. The last commit in my copy of master was on April 14. Does the master branch include the 3.10 build fix? On April 21, 2020 8:23:40 PM UTC, Mark wrote: >Yea, I ran 'sud

Re: [GNC-dev] Fwd: Testing python

2020-04-21 Thread Mark
Yea, I ran 'sudo ninja install'. Andy, from your initial email, can't tell for sure but possibly you built a venv right after your ninja build without doing an install? *Mark* *episte...@gmail.com * *(613) 447-5385* On Tue, Apr 21, 2020 at 10:18 AM Geert Janssens wrote: > Op dinsdag 21 apri

Re: [GNC-dev] Fwd: Testing python

2020-04-21 Thread Geert Janssens
Op dinsdag 21 april 2020 15:01:33 CEST schreef Mark: > My bindings are built from the git source code for the 3.10 release > (gnucash-3.10.tar.bz2): > > /opt/bin | Tue Apr 21 08:55:25 | marksa@Ares-A717-72G | bash 4.4.20 > 2013 > ./gnucash --version > GnuCash 3.10 > Build ID: 3.10+(2020-04-11) >

Re: [GNC-dev] Fwd: Testing python

2020-04-21 Thread Mark
My bindings are built from the git source code for the 3.10 release (gnucash-3.10.tar.bz2): /opt/bin | Tue Apr 21 08:55:25 | marksa@Ares-A717-72G | bash 4.4.20 2013 > ./gnucash --version GnuCash 3.10 Build ID: 3.10+(2020-04-11) So maybe I have a slightly later version of 3.10 where this bug was a

Re: [GNC-dev] Fwd: Testing python

2020-04-21 Thread Geert Janssens
Hi, I presume you are building from git. What commit are you building from ? There was an issue with detecting uninstalled builds that got fix right after the 3.10 release. So you'd need a very recent checkout to have this fix. This bug may be causing the symptoms you experience. Regards, G

Re: [GNC-dev] Fwd: Testing python

2020-04-21 Thread Mark
Yes, all that looks fine. So, this is what my (venv)/lib and (venv)/lib/gnucash look like: (venv39) /newdata/dev/git/Python/VENV/venv39 | Tue Apr 21 06:25:08 | marksa@Ares-A717-72G | bash 4.4.20 2058 > go lib total 5780 drwxr-xr-x 3 root root 4096 Apr 12 08:59 gnucash -rw-r--r-- 1 root ro

Re: [GNC-dev] Fwd: Testing python

2020-04-20 Thread Andy Goblins
My environment seems much the same as yours. But for some reason, it can't find the gncmod-backend-* files, which are compiled into the build/lib/gnucash directory: Python 3.8.2 (default, Apr 8 2020, 14:31:25) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license"