2014-12-04 GnuCash IRC logs

00:11:47 *** [LasaK] has quit IRC
00:35:29 *** ErKa has joined #gnucash
00:53:07 *** Thalo has quit IRC
01:02:46 *** MechtiIde has joined #gnucash
01:19:38 *** jimvideo has quit IRC
01:24:12 *** GabrieleV_ has joined #gnucash
01:24:19 *** GabrieleV has quit IRC
01:24:19 *** GabrieleV_ is now known as GabrieleV
01:27:00 *** cartsoftware has joined #gnucash
01:43:05 *** cartsoftware has quit IRC
02:07:14 *** MechtiIde has quit IRC
02:12:55 *** cartsoftware has joined #gnucash
02:14:54 *** fell_ has joined #gnucash
02:14:54 *** gncbot sets mode: +o fell_
02:21:11 *** ErKa has quit IRC
02:22:33 *** cartsoftware has quit IRC
02:23:10 *** cartsoftware has joined #gnucash
02:23:44 *** fell has quit IRC
02:25:35 *** pppp2 has joined #gnucash
02:33:12 *** cartsoftware has quit IRC
02:35:19 *** wvsfxr has joined #gnucash
02:41:24 *** Krzysiek_K has joined #gnucash
02:43:57 *** Krzysiek_K has left #gnucash
03:07:02 *** fell_ is now known as fell
03:32:20 *** O01eg has quit IRC
03:34:39 *** wvsfxr has quit IRC
03:34:58 *** wvsfxr has joined #gnucash
03:35:11 *** wvsfxr has joined #gnucash
03:36:33 *** gjanssens has joined #gnucash
03:36:34 *** gncbot sets mode: +o gjanssens
03:47:50 *** frank1 has joined #gnucash
03:49:59 *** aqua___ has joined #gnucash
04:05:07 *** frank1 has quit IRC
04:10:09 *** pppp2 has quit IRC
04:21:38 *** aqua___ has quit IRC
04:55:22 *** wvsfxr has left #gnucash
05:31:15 *** GabrieleV_ has joined #gnucash
05:31:16 *** GabrieleV has quit IRC
05:31:16 *** GabrieleV_ is now known as GabrieleV
06:04:43 *** fell has quit IRC
06:21:08 *** mikee is now known as mikee-afk
06:21:10 *** mikee-afk is now known as mikee
06:21:56 <mikee> @op
06:21:56 *** gncbot sets mode: +o mikee
06:36:31 *** fell has joined #gnucash
06:36:31 *** gncbot sets mode: +o fell
06:40:39 *** Jimraehl1 has left #gnucash
06:46:54 *** StuM has quit IRC
06:47:56 *** cartsoftware has joined #gnucash
06:51:01 *** mlncn has joined #gnucash
06:53:12 *** Jimraehl1 has joined #gnucash
06:54:12 *** mikee has quit IRC
06:54:39 *** cartsoftware has quit IRC
06:55:39 *** cartsoftware has joined #gnucash
07:10:32 *** mikee_afk has joined #gnucash
07:10:54 *** mikee_afk is now known as mikee
07:39:28 *** StuM has joined #gnucash
07:43:55 *** himaxx has joined #gnucash
07:49:06 *** himaxx has quit IRC
08:23:29 *** mikee has quit IRC
08:24:29 *** wvsfxr has joined #gnucash
08:31:02 *** mikee_afk has joined #gnucash
08:31:08 *** mikee_afk is now known as mikee
08:31:31 *** mikee is now known as mikee-afk
08:31:33 *** mikee-afk is now known as mikee
08:32:10 <mikee> @op
08:32:11 *** gncbot sets mode: +o mikee
08:36:13 *** cartsoftware has quit IRC
08:47:30 *** aqua___ has joined #gnucash
08:51:38 *** cartsoftware has joined #gnucash
08:52:21 *** wol has joined #gnucash
08:52:52 *** lmat has joined #gnucash
08:52:52 <lmat> @op
08:52:52 <gncbot> lmat: Error: You don't have the #gnucash,op capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified.
08:52:53 <gncbot> lmat: Sent 14 hours and 57 minutes ago: <jralls> Well, depends what you mean by fire events . The engine does indeed emit events when certain things happen in order to synchronize with the GUI and other bits of GnuCash. There are (naturally) several mechanisms, including QofEvents, GObjectSignals, and those hooks.
08:53:19 <lmat> jralls: That's what I had in mind, thanks!
09:13:23 *** cartsoftware has quit IRC
09:14:37 <gjanssens> @op
09:14:38 *** gncbot sets mode: +o gjanssens
09:14:44 <gjanssens> heh ;)
09:15:55 *** aqua___ has quit IRC
09:26:50 *** wvsfxr has quit IRC
09:27:20 *** wvsfxr has joined #gnucash
09:27:23 *** wvsfxr has left #gnucash
09:28:29 *** cartsoftware has joined #gnucash
09:30:22 *** andy has quit IRC
09:30:56 <lmat> gjanssens: no messages for you!
09:31:45 <gjanssens> :D
09:31:45 <gncbot> gjanssens: Sent 1 minute ago: <lmat> no messages for you ;-)
09:32:18 <gjanssens> :D
09:32:58 <gjanssens> Huh was :D a command or did you just actually send me a message :?
09:33:56 <lmat> gjanssens: heh, I sent you a message ^_^
09:34:05 <gjanssens> Got me there :)
09:34:51 *** wol has quit IRC
09:38:32 *** mlncn has quit IRC
09:46:27 *** wol has joined #gnucash
09:48:20 *** andy has joined #gnucash
09:48:28 <warlord> cute
09:58:49 *** mlncn has joined #gnucash
10:04:07 *** ErKa has joined #gnucash
10:14:29 *** himaxx has joined #gnucash
10:15:10 *** mikee is now known as mikee_afk
10:18:05 <lmat> I'm having trouble creating a mental model for how the project should be organized
10:18:34 <lmat> For instance, should no gui function call qof functions? That is, should the gui only interact with the engine?
10:18:43 <lmat> And the engine works with the gui and qof?
10:18:53 <lmat> Is there a development document along these lines?
10:19:03 *** mikee_afk is now known as mikee-afk
10:19:04 *** mikee-afk is now known as mikee
10:19:06 *** mikee is now known as mikee_afk
10:19:12 <warlord> lmat: what do you mean? I think it depends on what QOF functions.
10:19:27 <lmat> warlord: Okay, so it's not an accurate blanket statement.
10:19:37 <warlord> For example, yes, the GUI should definitely be able to call QOFQuery.. And the GUID and QofDate code..
10:19:45 <warlord> QOF is "part" of the engine.
10:19:57 <warlord> and also a helper lib
10:20:30 <lmat> warlord: thanks
10:20:50 <lmat> is the qof a "module"? is the engine a "module"?
10:22:27 <warlord> Ummm... the line between "module" and "shared library" is somewhat blurred. I'm not sure I could tell you which is which.
10:22:54 <lmat> warlord: okay
10:25:03 *** Gbarr has quit IRC
10:25:26 <gjanssens> lmat: that was actually one thing that crossed my mind after yesterday's conversation
10:25:26 <gncbot> gjanssens: Sent 51 minutes ago: <lmat> I sent you a message
10:25:50 <gjanssens> What is "qof" and does it still make sense to treat it independently
10:25:56 *** Gbarr has joined #gnucash
10:26:30 <gjanssens> For example should it have its own namespace "Qof" or should we switch to "Gnc" while we're at it ?
10:26:56 <gjanssens> It has been artificially separated at some time in an attempt to make it an external library
10:26:58 *** ErKa has quit IRC
10:27:08 <gjanssens> That never worked out
10:28:06 * gjanssens thinks he could use some education as what qof really represents as well...
10:28:27 <gjanssens> I do know it stands for "Query Object Framework" but that's still vague for me :(
10:29:02 <gjanssens> Anyway just raising the questions I had...
10:46:07 <lmat> gjanssens: That's mostly what I was thinking, too.
10:46:48 <warlord> gjanssens: a bit of history. Originally it was all xacc/gnc APIs.
10:47:01 <warlord> Then it was abstracted a bit more (when I added the business features)
10:47:22 <warlord> Then it got pulled out into its own library (QOF) and everything was renamed. At that point GnuCash became a user of QofLib
10:47:57 <warlord> But then the needs of qoflib and the needs of gnucash diverged; it was hard to get required changes into upstream qof necessary to make forward progress on gnucash.
10:48:04 <warlord> Bugs were found but wouldn't get fixed.
10:48:13 <warlord> And changes were made for QOF that didn't work with gnucash.
10:48:24 <warlord> SO.... we pulled it back into the gnucash tree instead of using qoflib.
10:48:42 <warlord> Theoretically, yes, we could rename it all back to gnc if we wanted.
10:52:08 <gjanssens> Out of curiosity, is the external qoflib still around/maintained ?
10:53:23 <warlord> around: yes. maintained? Dunno.
10:53:36 <warlord> gjanssens: yum search qof
10:59:07 <gjanssens> Hmm I doubt is very much maintained
10:59:30 <gjanssens> The last release was 0.8.7 in May 2013
10:59:53 <gjanssens> The last announcement on the website is the release of 0.8.0 in 2009
11:00:28 *** wol has quit IRC
11:00:52 *** wol has joined #gnucash
11:01:13 <gjanssens> Some activity still happens though
11:02:05 <gjanssens> according to the mailing list on Debian's alioth website (https://alioth.debian.org/projects/qof/)
11:03:11 <gjanssens> Reading their definition qof's goal is to provided an sql like interface to a set of objects
11:03:27 <gjanssens> Is that a read-only interface or read-write
11:03:43 <gjanssens> RW no doubt
11:04:35 <gjanssens> So if we transition to a real sql-only backend in the future, qof will become obsolete ?
11:05:51 <gjanssens> That's long-term conditional talk of course :)
11:16:56 <warlord> Read-Write
11:17:18 <warlord> And yes, possibly it would become obsolete.
11:26:33 *** ErKa has joined #gnucash
11:28:24 *** StuM has quit IRC
11:30:32 *** warlord has quit IRC
11:36:16 <lmat> Sure enough... https://alioth.debian.org/anonscm/git/qof/qof.git
11:36:53 <lmat> So neil committed September 23 2014. Who is using this library?
11:41:16 *** wvsfxr has joined #gnucash
11:45:44 *** warlord has joined #gnucash
11:45:45 *** gncbot sets mode: +o warlord
11:46:38 <gjanssens> lmat: fedora has one package in its repositories that depends on qof: gnotime
11:46:39 <warlord> Well, that was fun. System hung at 11:20. gjanssens, did I miss anything after my message of 11:17?
11:49:17 <gjanssens> lmat asking who is using qof after looking at qof's git repo
11:49:38 <gjanssens> Me answerring there's only gnotime in the fedora repos that depends on qof
11:49:55 <gjanssens> (oh you saw my last message)
11:50:07 *** wol has quit IRC
11:50:53 <gjanssens> Hey that's a linas project ! At least he's mentioned as a dev
11:52:46 <warlord> Yes, it is.
11:53:12 *** O01eg has joined #gnucash
12:10:27 *** jralls has quit IRC
12:10:48 *** jralls has joined #gnucash
12:10:49 *** gncbot sets mode: +o jralls
12:31:32 <jralls> gjanssens: Looking at the slow startup on XP, I tried launching with --debug --extra. Didn't get me anywhere, 37 seconds until the first log message, 5 seconds between "module init backend" and "Could not locate optional module Python Interface", then 2 seconds to load the deta file.
12:36:37 <warlord> Maybe we need to add more logging earlier in the startup process?
12:39:38 *** MechtiIde has joined #gnucash
12:42:50 <jralls> The first log message is from calling setlocale in main(). I don't think there's anything earlier.
12:43:59 <jralls> By which I mean that I don't think the program itself is doing anything before that which could be logged.
12:51:18 <gjanssens> That's what I think as well
12:51:29 <gjanssens> Which is not good :(
12:52:01 <gjanssens> What happens before our own code is activated ?
12:52:05 <gjanssens> DLL loading ?
12:52:17 <gjanssens> Dynamic linking ?
12:53:02 <gjanssens> I have no idea how such things can be followed on Windows
12:53:24 <jralls> Those two are the same, and yes. Load the program, get its dependencies, find them, load them, link them, repeat with their dependencies until done.
12:53:56 <gjanssens> Got to run...
12:54:00 *** gjanssens is now known as gjanssens_
12:59:38 <linas> olah
13:00:50 <linas> I think gnucash used to use an earlier version of qof
13:00:58 *** wvsfxr has quit IRC
13:01:07 <jralls> Testing with earlier builds. The two 2.6.4 releases show the splash screen in 2 seconds. That points rather squarely at WebKit as the problem.
13:03:20 <linas> just reading the backstory.
13:05:03 <linas> yes, what warlord says is mostly right, lmat gjanssens -- qof started out inside of gnucash and was then split out on its own
13:06:55 <linas> any but it never got traction on its own -- it seemed generally useful, but people just didn't write desktop apps that way.
13:12:06 *** cartsoftware has quit IRC
13:13:31 <jralls> gjanssens_: And a build from a few days ago with locally-build WebKit 1.2.7 also starts up in 2 seconds. I think that nails the problem down to WebKit 1.8.3.
13:38:42 *** lmat_ has joined #gnucash
13:42:45 *** lmat has quit IRC
14:31:18 <lmat_> linas: Thanks for the note!
14:40:23 *** fell has quit IRC
14:40:58 *** aqua___ has joined #gnucash
14:49:14 *** aqua___ has quit IRC
14:49:22 *** wvsfxr has joined #gnucash
14:50:10 *** wvsfxr has quit IRC
14:50:44 *** wvsfxr has joined #gnucash
14:52:04 *** mlncn has quit IRC
14:53:46 *** mlncn has joined #gnucash
14:55:01 *** wvsfxr has quit IRC
14:55:28 *** wvsfxr has joined #gnucash
14:57:23 *** wvsfxr has quit IRC
14:58:40 *** wvsfxr has joined #gnucash
14:59:53 *** mlncn-agaric has joined #gnucash
15:06:53 *** mlncn has quit IRC
15:18:47 *** StuM has joined #gnucash
15:28:49 *** StuM has quit IRC
15:44:55 *** MechtiIde has quit IRC
15:45:25 *** lmat has joined #gnucash
15:48:56 *** lmat_ has quit IRC
15:55:15 *** wvsfxr has quit IRC
16:10:54 *** pppp2 has joined #gnucash
16:21:55 *** pppp2 has quit IRC
16:24:05 *** MechtiIde has joined #gnucash
16:24:55 *** warlord has quit IRC
16:27:54 *** aqua___ has joined #gnucash
16:38:14 *** gjanssens_ has quit IRC
16:41:32 *** warlord has joined #gnucash
16:41:33 *** gncbot sets mode: +o warlord
16:46:00 *** MechtiIde has quit IRC
16:54:37 *** warlord has quit IRC
17:11:05 *** andy_ has joined #gnucash
17:11:19 *** GabrieleV_ has joined #gnucash
17:11:19 *** GabrieleV has quit IRC
17:11:20 *** GabrieleV_ is now known as GabrieleV
17:11:20 *** andy has quit IRC
17:14:00 *** jralls has quit IRC
17:14:52 *** jralls has joined #gnucash
17:14:52 *** gncbot sets mode: +o jralls
17:17:57 *** warlord has joined #gnucash
17:17:58 *** gncbot sets mode: +o warlord
17:58:37 *** aqua___ has quit IRC
18:16:01 *** mlncn-agaric has quit IRC
18:16:04 *** benjamin-agaric has joined #gnucash
18:26:10 *** Gbarr has quit IRC
18:40:10 *** benjamin-agaric has quit IRC
18:45:26 *** O01eg has quit IRC
18:49:07 *** StuM has joined #gnucash
18:49:16 *** O01eg has joined #gnucash
19:10:50 *** GabrieleV_ has joined #gnucash
19:11:01 *** GabrieleV has quit IRC
19:11:02 *** GabrieleV_ is now known as GabrieleV
19:40:18 *** mikee_afk has quit IRC
19:44:14 *** jralls has quit IRC
19:44:56 *** jralls has joined #gnucash
19:44:56 *** gncbot sets mode: +o jralls
20:08:05 *** smw has joined #gnucash
20:11:15 *** jralls has quit IRC
20:11:57 *** jralls has joined #gnucash
20:11:57 *** gncbot sets mode: +o jralls
20:52:30 *** jralls has quit IRC
20:53:35 *** jralls has joined #gnucash
20:53:36 *** gncbot sets mode: +o jralls
21:04:22 *** mikee has joined #gnucash
21:04:22 *** gncbot sets mode: +o mikee
21:11:41 *** smw has quit IRC
21:20:01 *** jralls has quit IRC
21:21:04 *** jralls has joined #gnucash
21:21:04 *** gncbot sets mode: +o jralls
21:26:46 *** ErKa has quit IRC
22:03:42 *** benjamin-agaric has joined #gnucash
22:19:53 *** GabrieleV_ has joined #gnucash
22:19:55 *** GabrieleV has quit IRC
22:19:56 *** GabrieleV_ is now known as GabrieleV
22:31:26 *** mikee has quit IRC
22:37:34 *** mikee has joined #gnucash
22:37:34 *** gncbot sets mode: +o mikee
22:58:12 *** StuM has quit IRC
23:01:41 *** mikee has quit IRC
23:02:48 *** mikee has joined #gnucash
23:02:49 *** gncbot sets mode: +o mikee
23:31:00 *** mikee has quit IRC
23:33:53 *** O01eg has quit IRC
23:34:52 *** GabrieleV_ has joined #gnucash
23:34:55 *** GabrieleV has quit IRC
23:34:55 *** GabrieleV_ is now known as GabrieleV
23:42:27 *** fell has joined #gnucash
23:42:27 *** gncbot sets mode: +o fell
23:48:05 *** mikee has joined #gnucash
23:48:05 *** gncbot sets mode: +o mikee