2023-09-24 GnuCash IRC logs

00:02:47 *** Aussie_matt has quit IRC
01:16:33 *** NoobAlice has quit IRC
01:58:18 *** fell has quit IRC
01:59:16 *** palerider has joined #gnucash
01:59:37 *** fell has joined #gnucash
01:59:37 *** ChanServ sets mode: +o fell
02:00:18 *** palerider has quit IRC
02:10:39 *** chris has joined #gnucash
02:10:39 *** ChanServ sets mode: +v chris
02:10:40 *** gncbot sets mode: +o chris
02:39:40 *** chris has quit IRC
03:06:02 *** Luk6655 has joined #gnucash
03:06:02 *** ChanServ sets mode: +v Luk6655
03:14:12 *** Luk6655 has quit IRC
03:26:27 *** gandalf has joined #gnucash
03:32:18 *** gjanssens has joined #gnucash
03:32:18 *** ChanServ sets mode: +o gjanssens
03:58:54 *** Joseph has joined #gnucash
04:20:18 *** Joseph has quit IRC
04:27:56 *** chris has joined #gnucash
04:27:56 *** ChanServ sets mode: +v chris
04:27:56 *** gncbot sets mode: +o chris
04:30:36 *** Joseph has joined #gnucash
04:31:50 *** user_ has joined #gnucash
04:33:31 *** chris has quit IRC
04:33:36 *** Joseph has quit IRC
04:42:33 *** ChanServ sets mode: +v user_
04:51:23 *** user_ has quit IRC
05:01:54 *** chris has joined #gnucash
05:01:54 *** ChanServ sets mode: +v chris
05:01:54 *** gncbot sets mode: +o chris
05:15:08 *** user_ has joined #gnucash
05:19:02 *** user_ is now known as Jessie1791
05:21:22 *** ChanServ sets mode: +v Jessie1791
05:48:54 *** chris has quit IRC
06:07:57 *** juliademille has quit IRC
06:09:34 *** juliademille has joined #gnucash
06:09:34 *** ChanServ sets mode: +v juliademille
06:48:22 *** user_ has joined #gnucash
06:50:12 *** Jessie1791 has quit IRC
07:50:35 *** user_ has quit IRC
07:50:42 *** user_ has joined #gnucash
07:58:09 *** user_ is now known as Jessie1791
07:58:40 *** ChanServ sets mode: +v Jessie1791
08:01:22 <Jessie1791> Hi there
08:04:34 <Jessie1791> I had installed GnuCash 4.9 for some time but I've not been able to assign invoices already created to Jobs. I hoped that updating to 5.3 would resolve this but it doesn't work. Is it at all possible to assign already created invoices to Jobs in GnuCash and how do I go about it?
08:05:52 *** chris has joined #gnucash
08:05:52 *** ChanServ sets mode: +v chris
08:05:52 *** gncbot sets mode: +o chris
08:11:27 *** joseph has joined #gnucash
08:15:37 *** user_ has joined #gnucash
08:17:27 *** Jessie1791 has quit IRC
08:24:39 *** user__ has joined #gnucash
08:27:31 *** user_ has quit IRC
08:28:39 *** user__ has quit IRC
08:32:09 *** Jessie1791 has joined #gnucash
08:40:33 *** joseph has quit IRC
08:49:48 *** Jessie1791 has quit IRC
08:56:29 *** chris has quit IRC
09:04:16 *** chris has joined #gnucash
09:04:16 *** ChanServ sets mode: +v chris
09:04:16 *** gncbot sets mode: +o chris
09:14:24 *** Aussie_matt has joined #gnucash
09:20:53 *** blr has joined #gnucash
09:51:58 *** chris has quit IRC
10:06:14 *** chris has joined #gnucash
10:06:14 *** ChanServ sets mode: +v chris
10:06:14 *** gncbot sets mode: +o chris
10:11:55 *** ChanServ sets mode: +v blr
10:12:14 *** Luk6655 has joined #gnucash
10:12:14 *** ChanServ sets mode: +v Luk6655
10:12:30 <blr> Hi. I got sidetracked a few months and I'm just getting back to gnucash. So we have a new stable branch which is for the next incremental release. Do we have a branch for the next major release? The wiki mentions a "future" branch (my suggestion!) but I don't see it in github. Also, what is the "4" branch?
10:17:03 <Luk6655> Hi, I've managed to come up with a way of using gnucash that seems to work quite well for me, but I'd like to automate few things. Does anyone know what would be the easiest way to either have some code run when an invoice is posted, or create a scheduled bill every month the value of which is a percentage of net value of invoices posted that month? Currently I'm doing that manually.
10:17:03 <gncbot> Luk6655: Sent 20 hours and 24 minutes ago: <jralls> Translations are done at https://hosted.weblate.org/projects/gnucash/gnucash
10:18:26 *** chris has quit IRC
10:19:58 *** gandalf has quit IRC
10:21:46 *** jwhite has joined #gnucash
10:21:46 *** ChanServ sets mode: +v jwhite
10:22:15 <Luk6655> jralls: thanks, I saw the page, but it was a bit confusing to me. Is it just for editing files I then have to download and submit via git (if so, using poedit locally seems easier for me), does one submit pull requests via the site (then how to test it locally?)? In the end I changed few items locally using poedit. I was planning to only add maybe 10 translations, but I also found such a number of erroneus translations I decided to stick with the English
10:22:15 <Luk6655> version for now.
10:23:04 *** gandalf has joined #gnucash
10:50:00 *** NoobAlice has joined #gnucash
10:50:00 *** ChanServ sets mode: +v NoobAlice
10:58:54 <Luk6655> Does anyone know if there is a python equivalent of config-user.scm ? (a python script to run on gnucash start)
11:04:28 <warlord> No, because "gnucash" does not instantiate a python interpreter.
11:24:39 <Luk6655> warlord: ok, thanks.
11:25:44 <Luk6655> BTW, is there any advantage/disadvantage in using sqlite file format? (it seems piecash doesn't support xml format so I'm considering migrating to sqlite to be able to use it)
11:49:33 *** Aussie_matt has quit IRC
12:05:07 <warlord> It can be slower to load. And there are no automated backups because commits get saved "immediately"
12:09:57 <Luk6655> not being able to save when I want is a deal breaker for me, also piecash seems to be pretty old software so I'm not sure how it would work with new gnucash data.
12:12:21 <Luk6655> Regarding native python bindings, any idea why python lsp (pyls) can't see valus in certain objects? Foe example if one creates a Session object, there is Session.book, this is invisible to pyls.
12:14:15 <Luk6655> It seems the same with a lot of objects and functions, also, this stuff is missing in the autogenerated docs here https://code.gnucash.org/docs/STABLE/classpython_1_1gnucash__core_1_1Session.html
12:17:30 <Luk6655> then we have objects like Invoice, these have no documentation I can find at all...(Just a list of fields/methods would be nice)
12:29:38 <jralls> Luk6655: The python objects are just thin wrappers around C/C++ objects. The internals are invisible to Python.
12:33:50 <jralls> warlord wasn't quite correct about the python interpreter: GnuCash can work with the installed Python interpreter but only on Linux. There's a python console available when GnuCash is compiled with Python support and launched with the --extra option. But there's no integration of python into GnuCash the way there is for Guile so there's no way to have a config-user.py.
12:34:46 <jralls> As for translating with weblate, all you have to do there is translate the string there. Weblate makes the pull request.
12:35:59 <Luk6655> jralls: ok, so one can get a python console, that's nice, is there an equivalent scheme console?
12:36:19 <jralls> blr we haven't created the "future" branch because we don't have anything to put in it yet.
12:36:54 <jralls> Luj6655: No.
12:37:09 <jralls> Luk6655 ^
12:38:01 <Luk6655> so is the intended way to run scheme via config-user.scm only?
12:43:32 <jralls> There's no "intended way to run Scheme" at all. GnuCash uses Scheme for report generation and the QIF importer, and will read and execute config-user.scm at startup, but there's no real intended use of config-user.scm. It's available for you to customize GnuCash to some extent, but since most of the program is now pure C/C++ there's not a heck of a lot you can do with it.
12:44:05 *** warlord has quit IRC
12:44:47 <jralls> The intended use of both Python and Scheme bindings is to enable you to import GnuCash functions for standalone programs that access your GnuCash book.
12:46:21 <Luk6655> jralls: any plans to add any sort of scripting support to gnucash? as in to be executed when some actions happen triggered by the gui, or when transactions are created in some accounts etc?
12:50:27 <jralls> Not at present. That was the original intent for using Guile 20 years ago, but it didn't work out. It requires a lot more of the guts to be implemented in Scheme and that turned out to not integrate well with Gtk and to have performance problems.
12:51:09 <Simon> you can do the "create a scheduled bill every month" as a python script
12:52:33 <Luk6655> jralls: I see
12:52:40 <Luk6655> Simon: I'm doing that now
12:54:29 <Luk6655> Currently I'm trying to figure out this. Lets say in the C code I find such function name gncInvoiceSetDatePosted , I know that in python there is gnucash.gnucash_business.Invoice that is the binding fot the gncInvoice. So what would be the name of a method or variable to get that DatePosted from the Invoice object? Is there a naming policy etc?
12:58:37 <Luk6655> In this example I did find GetDatePosted when I did dir() on the instance
13:01:08 <jralls> Good, that's what I'd expect. The Python bindings are manipulated to be more pythonic like that, but it makes it a bit obscure when using the API documentation because it's for the C API.
13:38:50 <Simon> you may need to use functions in gnucash._gnucash_core_c too
13:39:55 <Simon> and gnucash.gnucash_core_c
13:40:01 *** palerider has joined #gnucash
14:29:20 *** warlord has joined #gnucash
14:29:20 *** gncbot sets mode: +o warlord
14:32:39 <warlord> jralls, we had a short network blip a few days ago which seems to have caused ovirt to get... confused.
14:33:58 <jralls> warlord Oddly it doesn't seem to have affected the nightly builds. Is the Win3 VM running and it's the Ovirt console that's messed up?
14:34:18 <warlord> Yeah. The vms were fine, it was the management system that was confused.
14:34:30 <warlord> I just restarted the management system and now it seems to be better.
14:34:31 <warlord> Try again now?
14:35:20 <jralls> Yup, it's good now. Thanks.
14:35:42 <warlord> youre welcome.
14:35:51 <warlord> soory 'bout that.
14:36:19 <warlord> had the VMs themselves have had issues I would've noticed much sooner.
14:36:25 <warlord> I don't log into the management console all that much
14:38:14 <jralls> Is the console at all configurable? It would be a lot safer if suspend, shutdown, and reboot were at the bottom of the menu instead of the top.
14:40:16 <warlord> I do not know if they are configurable. Honestly I've never tried to configure it.
14:40:26 <warlord> (I also don't use the same interface you do)
14:41:19 <jralls> I suppose you'd use the admin portal instead of the VM one most of the time.
14:44:02 <warlord> yeah
14:44:02 *** blr has quit IRC
15:41:42 *** palerider has left #gnucash
15:44:03 *** miklcct has quit IRC
15:48:41 *** miklcct has joined #gnucash
15:48:41 *** ChanServ sets mode: +v miklcct
16:37:46 *** gandalf has quit IRC
17:02:20 *** gjanssens has quit IRC
17:16:57 *** Luk6655 has quit IRC
17:32:59 *** jralls changes topic to "Free GPL Personal and Small Business Accounting || Moderated mode: To get a voice, register with NickServ and then re-join. || Please don't ask to ask, just ask and wait! (Possibly a few hours!!) || publicly-logged channel https://code.gnucash.org/logs || latest stable: 5.4 || https://www.gnucash.org/ || https://wiki.gnucash.org/wiki/"
19:12:28 *** nevivurn has quit IRC
19:45:29 *** jervin has joined #gnucash
20:00:02 *** raghukamath has quit IRC
20:09:54 *** raghukamath has joined #gnucash
20:09:54 *** ChanServ sets mode: +v raghukamath
21:45:11 *** Aussie_matt has joined #gnucash
21:57:34 *** bertbob has quit IRC
22:00:15 *** bertbob has joined #gnucash
22:00:16 *** ChanServ sets mode: +v bertbob
23:14:53 *** Aussie_matt has quit IRC
23:38:51 *** NoobAlice has quit IRC