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
nces 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" < > gnucash-devel@gnucash.org> &g

Re: [GNC-dev] Fwd: Testing python

2020-04-26 Thread Andy Goblins
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 Janssens" , "gnucash-devel"

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

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

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

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

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

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
:00 function_class.py > > > -rw-r--r-- 1 andy andy 14460 Apr 16 18:00 gnucash_business.py > > > -rw-r--r-- 1 andy andy 272455 Apr 16 18:00 gnucash_core_c.py > > > -rwxr-xr-x 1 andy andy 1872240 Apr 16 18:00 _gnucash_core_c.so > > > -rw-r--r-- 1 andy andy 3

Re: [GNC-dev] Fwd: Testing python

2020-04-21 Thread Geert Janssens
sh_core.py >-rw-r--r-- 1 andy andy 443 Apr 16 18:00 __init__.py >drwxr-xr-x 2 andy andy4096 Apr 16 18:00 __pycache__ >-rw-r--r-- 1 andy andy3772 Apr 16 17:58 sw_app_utils.py >-rwxr-xr-x 1 andy andy 163488 Apr 16 17:58 _sw_app_utils.so >-rw-r--r-- 1 an

Re: [GNC-dev] Fwd: Testing python

2020-04-21 Thread Mark
> -rw-r--r-- 1 andy andy9286 Apr 16 18:00 function_class.py > -rw-r--r-- 1 andy andy 14460 Apr 16 18:00 gnucash_business.py > -rw-r--r-- 1 andy andy 272455 Apr 16 18:00 gnucash_core_c.py > -rwxr-xr-x 1 andy andy 1872240 Apr 16 18:00 _gnucash_core_c.so > -rw-r--r-- 1 andy and

Re: [GNC-dev] Fwd: Testing python

2020-04-20 Thread Andy Goblins
7:59 _sw_core_utils.so Sent: Sunday, April 19, 2020 at 10:43 AM From: "Mark" To: "gnucash-devel" Subject: [GNC-dev] Fwd: Testing python Forgot to reply all... *Mark* *episte...@gmail.com * *(613) 447-5385* -- Forwarded message -

[GNC-dev] Fwd: Testing python

2020-04-19 Thread Mark
Forgot to reply all... *Mark* *episte...@gmail.com * *(613) 447-5385* -- Forwarded message - From: Mark Date: Sun, Apr 19, 2020 at 11:42 AM Subject: Re: [GNC-dev] Testing python To: Andy Goblins >From a terminal with your venv activated, can you show the actual output you