2023-03-14 GnuCash IRC logs

02:33:57 *** NoobAlice has quit IRC
02:49:01 *** fell has quit IRC
02:49:53 *** fell has joined #gnucash
02:49:53 *** ChanServ sets mode: +o fell
03:06:03 *** gandalf has joined #gnucash
03:56:55 *** gjanssens has joined #gnucash
03:56:55 *** ChanServ sets mode: +o gjanssens
04:09:14 *** gjanssens has quit IRC
04:10:25 *** gjanssens has joined #gnucash
04:10:25 *** ChanServ sets mode: +o gjanssens
04:21:56 *** gjanssens has quit IRC
04:23:13 *** gjanssens has joined #gnucash
04:23:13 *** ChanServ sets mode: +o gjanssens
04:40:58 *** gandalf has quit IRC
04:46:46 *** gandalf has joined #gnucash
05:56:24 *** chris has joined #gnucash
05:56:24 *** ChanServ sets mode: +v chris
05:56:28 *** gncbot sets mode: +o chris
05:57:30 <chris> funny: in Functional Programming, variables don't vary; they get pushed down the stack
06:31:32 <chris> gjanssens: do you have an example prices.csv to import? I keep getting 'tokenizing failed'
06:34:54 <chris> nvm found one
06:36:00 <chris> nvm found one
06:37:15 *** gjanssens has quit IRC
07:11:22 *** gjanssens has joined #gnucash
07:11:22 *** ChanServ sets mode: +o gjanssens
07:20:33 <gjanssens> chris: no, I don't. I'll admit I never did a full test on the price import as that's mostly Bob's work.
07:20:33 <gncbot> gjanssens: Sent 3 days, 9 hours, and 18 minutes ago: <chris> https://stackoverflow.com/questions/66806874/how-to-convert-dd-mmm-yyyy-and-now-to-days using std::chrono of course
07:20:51 <gjanssens> :)
07:21:18 <gjanssens> Are the changes on my part causing the tokenizing failed error ?
07:24:15 <gjanssens> Hmm, the error already pops up before even getting to the preview page. Let's see what gdb says...
07:44:23 <gjanssens> chris: it was due to my changes :(
07:44:55 <gjanssens> I have pushed a fix for this particular bit. Can you test if price import now works as expected ?
07:45:44 <gjanssens> jralls: I have been refreshing my memory on how to install older gnucash releases from flathub.
07:46:32 <gjanssens> This issue for another project more or less gives an example: https://github.com/flatpak/flatpak/issues/3097
07:47:35 <gjanssens> So basically, you first query the repo for a list of available commits with flatpak remote-info --log flathub org.gnucash.GnuCash
07:48:07 <gjanssens> Then you pick the version you want with flatpak update --commit <hash> org.gnucash.GnuCash
07:48:47 <gjanssens> The confusing bit here is that the commits referred to in this context are not our git commits, but ostree commits.
07:49:39 <gjanssens> Each ostree commit is stored by the flathub build system at the end of a successful build. Those ostree commits reuse the commit message that we set on the source commit in git.
07:51:22 <gjanssens> And that brings me to the point I wanted to highlight here: in order for the end user to easily find the gnucash version they want to install from flathub, we should be careful to always mention version number as part of the commit messages.
07:53:12 <gjanssens> In general we use something as "Packages gnucash 4.12-2" as message. The last few pushes however had a final commit with a message that explained the fix for that commit, but no version number so it's difficult to tell which version was actually pushed.
09:50:17 <fell> gjanssens, that belonngs into wiki:Flatpak.
09:55:56 *** gandalf1 has joined #gnucash
09:56:23 *** gandalf has quit IRC
09:56:23 *** gandalf1 is now known as gandalf
10:23:48 *** jervin has quit IRC
10:54:26 *** gandalf1 has joined #gnucash
10:54:53 *** gandalf has quit IRC
10:54:53 *** gandalf1 is now known as gandalf
12:03:18 *** palerider has joined #gnucash
12:03:30 *** palerider has left #gnucash
12:19:25 *** gjanssens has quit IRC
12:26:52 <jralls> @tell gjanssens It would be good to get the procedure for installing an arbitrary GnuCash version from flathub would be a good addition to the flatpak page on the wiki. Is there a way to get the org.gnucash.Gnucash commit from the ostree commit?
12:26:52 <gncbot> jralls: The operation succeeded.
15:05:56 *** blr has joined #gnucash
15:06:06 *** ChanServ sets mode: +v blr
15:09:19 *** jervin has joined #gnucash
15:35:18 *** jralls has quit IRC
15:35:48 *** jralls has joined #gnucash
15:35:48 *** ChanServ sets mode: +o jralls
15:37:46 *** jralls_afk has joined #gnucash
15:38:48 *** jralls has quit IRC
16:17:53 *** gjanssens has joined #gnucash
16:17:54 *** ChanServ sets mode: +o gjanssens
16:19:09 *** jralls_afk is now known as jralls
16:19:50 *** ChanServ sets mode: +o jralls
16:19:53 <jralls> gjanssens How well do you understand the guts of boost::process? On Windows there's a problem with codecvt trying to talk to perl.
17:01:39 <gjanssens> jralls: Unfortunately I don't know much about it :(
17:01:39 <gncbot> gjanssens: Sent 4 hours and 34 minutes ago: <jralls> It would be good to get the procedure for installing an arbitrary GnuCash version from flathub would be a good addition to the flatpak page on the wiki. Is there a way to get the org.gnucash.Gnucash commit from the ostree commit?
17:02:27 <gjanssens> I agree it would be helpful to have this on the flatpak wiki. I'll see if I can add it.
17:03:23 <gjanssens> The only link I see between an ostree commit and an org.gnucash.GnuCash commit is in the flatpak remote-info --log command.
17:04:09 <gjanssens> The ostree commits are fully expanded. The git commit is added in parenthesis to the commit message.
17:10:42 <jralls> And if you do that flatpak remote-info --log flathub org.gnucash.GnuCash you get two ostree commits with the same org.gnucash.GnuCash commit and the same date, but the top one has the second one as a parent. I see what you mean about the commit message being unclear to users.
17:11:46 <gjanssens> I saw these two ostree commits as well. I have no idea how that happened. I would think a hiccup in the flathub build system ?
17:12:37 <gjanssens> I'm leaving for the night... Hope you find a solution for the boost::process with codecvt issue on Windows.
17:13:00 *** gjanssens has quit IRC
17:22:28 *** gandalf has quit IRC
18:34:07 *** blr has quit IRC
21:26:01 *** jervin has quit IRC
21:41:36 *** chipxxx has joined #gnucash
22:57:59 *** NoobAlice has joined #gnucash
22:57:59 *** ChanServ sets mode: +v NoobAlice