2021-05-09 GnuCash IRC logs

00:00:39 *** jralls has quit IRC
00:01:04 *** jralls has joined #gnucash
00:01:04 *** ChanServ sets mode: +o jralls
00:20:30 *** bertbob has joined #gnucash
00:20:30 *** ChanServ sets mode: +v bertbob
00:24:25 *** bertbob has quit IRC
01:13:09 *** frakturfreak has quit IRC
01:14:27 *** sbluhm has joined #gnucash
01:14:27 *** ChanServ sets mode: +v sbluhm
01:26:53 *** frakturfreak has joined #gnucash
01:33:22 *** bertbob has joined #gnucash
01:33:22 *** ChanServ sets mode: +v bertbob
01:37:17 *** bertbob has quit IRC
01:44:36 *** angel has joined #gnucash
01:54:02 *** Mechtilde has joined #gnucash
01:54:13 *** fell has quit IRC
01:55:32 *** fell has joined #gnucash
01:55:32 *** ChanServ sets mode: +o fell
02:07:32 *** Bambuzel has joined #gnucash
02:07:32 *** ChanServ sets mode: +v Bambuzel
02:07:41 *** Bambuzel2 has joined #gnucash
02:07:41 *** ChanServ sets mode: +v Bambuzel2
02:35:41 *** Hrisfur has joined #gnucash
02:35:41 *** ChanServ sets mode: +v Hrisfur
03:14:12 *** Hrisfur has quit IRC
03:48:08 *** Hrisfur has joined #gnucash
03:48:09 *** ChanServ sets mode: +v Hrisfur
03:56:43 *** Hrisfur1 has joined #gnucash
03:56:43 *** ChanServ sets mode: +v Hrisfur1
03:57:08 *** Hrisfur has quit IRC
03:57:08 *** Hrisfur1 is now known as Hrisfur
04:15:13 *** sbluhm has quit IRC
04:28:08 *** Hrisfur has quit IRC
04:51:33 *** Hrisfur has joined #gnucash
04:51:34 *** ChanServ sets mode: +v Hrisfur
04:53:12 *** Hrisfur has quit IRC
04:58:14 *** Mechtilde has quit IRC
05:00:31 *** chris_ has joined #gnucash
05:00:31 *** gncbot sets mode: +o chris_
05:01:53 *** chris has quit IRC
05:01:56 *** jervin1 has joined #gnucash
05:02:52 *** jervin has quit IRC
05:02:52 *** jervin1 is now known as jervin
05:04:36 *** bertbob has joined #gnucash
05:04:37 *** ChanServ sets mode: +v bertbob
05:04:39 *** chris has joined #gnucash
05:04:39 *** ChanServ sets mode: +v chris
05:04:44 *** gncbot sets mode: +o chris
05:06:26 *** chris_ has quit IRC
05:22:57 *** angel has quit IRC
05:34:37 *** User_ has joined #gnucash
05:36:23 *** angel has joined #gnucash
05:37:04 *** angel has quit IRC
05:47:12 *** Bambuzel has quit IRC
05:47:12 *** Bambuzel2 has quit IRC
05:49:09 *** sbluhm has joined #gnucash
05:57:23 *** sbluhm has quit IRC
06:01:10 *** Hrisfur has joined #gnucash
06:01:10 *** ChanServ sets mode: +v Hrisfur
06:02:33 *** storyjesse has joined #gnucash
06:05:48 *** bertbob has quit IRC
06:09:30 *** bertbob has joined #gnucash
06:09:30 *** ChanServ sets mode: +v bertbob
06:15:56 *** sbluhm has joined #gnucash
06:15:56 *** ChanServ sets mode: +v sbluhm
06:26:43 <fell> jralls, on gnucash-on-OSX what is the difference between commit de3d43a and commit 39c787f?
06:27:11 *** sbluhm has quit IRC
06:54:39 *** Hrisfur has quit IRC
06:57:25 *** Hrisfur has joined #gnucash
06:57:25 *** ChanServ sets mode: +v Hrisfur
07:02:31 *** Hrisfur has quit IRC
07:06:56 *** CJH has joined #gnucash
07:15:25 *** Aussie_matt has joined #gnucash
08:08:57 *** sbluhm has joined #gnucash
08:08:57 *** ChanServ sets mode: +v sbluhm
08:21:14 *** mydogsnameisrudy has joined #gnucash
08:22:35 *** mydogsnameisrudy has quit IRC
08:26:09 *** storyjesse1 has joined #gnucash
08:26:32 *** storyjesse has quit IRC
08:26:32 *** storyjesse1 is now known as storyjesse
08:31:02 *** storyjesse has quit IRC
08:31:09 *** storyjesse has joined #gnucash
08:44:14 *** storyjesse1 has joined #gnucash
08:44:39 *** storyjesse has quit IRC
08:44:39 *** storyjesse1 is now known as storyjesse
09:16:24 *** lmat has quit IRC
09:17:11 *** lmat has joined #gnucash
09:42:53 *** Mechtilde has joined #gnucash
10:04:34 *** Aussie_matt has quit IRC
10:06:37 *** jervin1 has joined #gnucash
10:07:22 *** jervin has quit IRC
10:07:22 *** jervin1 is now known as jervin
10:16:04 *** CJH has quit IRC
11:53:37 *** storyjesse has quit IRC
11:56:25 *** fmpedro has joined #gnucash
11:57:54 <fmpedro> hello everyone
11:58:18 <fmpedro> I have some questions about pyhton bindings on gnucash. Can anyone help me out?
12:07:09 <NoobAlice> fmpedro: Just start asking your questions. If anyone around knows, they will answer. Or you can try the mailing list.
12:08:46 <fmpedro> ok. I'm writing a python scritp to update my price database. I've managed to find some examples on the web, that I'm trying out on a jupyter notebook
12:09:18 <fmpedro> however, one of the first commands that are used is "session = Session(url, False, False, False)"
12:09:40 <jralls> fell, you're the committer on the first and I'm the committer on the second. I don't remember what I did that caused the committer to change.
12:09:42 <fmpedro> this produces the following warning: "<ipython-input-12-2486e4d79df5>:2: DeprecationWarning: Use of ignore_lock, is_new or force_new arguments is deprecated. Use mode argument instead. Have a look at gnucash.SessionOpenMode.
12:09:42 <fmpedro> session = Session(url, False, False, False)"
12:10:19 <fmpedro> although it works, I wonder if there is some newer command that replaces this one, that I should use
12:10:33 <fmpedro> I searched the web, but could not find anything
12:11:05 <fmpedro> including the documentation for these commands (I'm not sure what all the arguments are)
12:13:03 <fell> fmpedro: which python version are you using?
12:13:35 *** David has quit IRC
12:13:39 <jralls> fmpedro, there's no separate documentation of the Python API. The C API is mostly documented at https://code.gnucash.org/docs/MAINT.
12:13:41 *** David has joined #gnucash
12:14:12 *** bertbob has quit IRC
12:14:35 <fmpedro> @fell, i'm using python 3.9.4
12:14:35 <gncbot> fmpedro: Error: "fell," is not a valid command.
12:14:52 <jralls> fmpedro, that said, we modified the session init to use an opening mode class, which is documented with docstrings at https://github.com/Gnucash/gnucash/blob/maint/bindings/python/gnucash_core.py#L97
12:15:27 <fell> https://code.gnucash.org/docs/MAINT/python_bindings_page.html
12:16:38 <fell> https://code.gnucash.org/docs/MAINT/python_bindings_page.html
12:16:56 <fell> I meant https://code.gnucash.org/docs/MAINT/classpython_1_1gnucash__core_1_1SessionOpenMode.html
12:19:21 <fmpedro> thank you for the links. I think I'll be able to understand it better now :)
12:19:46 <fell> welcome
12:19:53 *** frakturfreak has quit IRC
12:19:58 <fmpedro> also, I've just realized that I can use the help() function to get more info on the functions I'm having trouble with
12:33:22 *** frakturfreak has joined #gnucash
12:47:10 *** jralls_afk has joined #gnucash
12:47:11 *** ChanServ sets mode: +o jralls_afk
12:48:02 *** jralls has quit IRC
13:04:28 *** sbluhm has quit IRC
13:10:07 *** sbluhm has joined #gnucash
13:10:07 *** ChanServ sets mode: +v sbluhm
13:11:00 *** bertbob has joined #gnucash
13:11:01 *** ChanServ sets mode: +v bertbob