2022-01-07 GnuCash IRC logs

00:21:41 *** jervin has joined #gnucash
00:30:23 *** jervin has quit IRC
00:30:51 *** jervin has joined #gnucash
00:37:12 *** jervin has quit IRC
00:47:56 *** jervin has joined #gnucash
00:48:17 *** jervin has quit IRC
01:06:10 *** frakturfreak1 has quit IRC
01:20:31 *** frakturfreak1 has joined #gnucash
01:37:13 *** jervin has joined #gnucash
01:41:16 *** sbluhm has joined #gnucash
01:56:27 *** fell has quit IRC
01:57:46 *** fell has joined #gnucash
01:57:47 *** ChanServ sets mode: +o fell
02:03:08 *** gjanssens has joined #gnucash
02:03:08 *** ChanServ sets mode: +o gjanssens
02:19:44 *** gjanssens has quit IRC
03:04:24 *** storyjesse has joined #gnucash
03:07:26 *** jervin has quit IRC
03:08:09 *** CDB-Man has quit IRC
03:11:08 *** CDB-Man has joined #gnucash
03:11:08 *** ChanServ sets mode: +v CDB-Man
03:14:25 *** CDB-Man has quit IRC
03:17:43 *** CDB-Man has joined #gnucash
03:17:43 *** ChanServ sets mode: +v CDB-Man
03:31:05 *** Sander_Bouwhuis has joined #gnucash
03:35:15 *** gjanssens has joined #gnucash
03:35:15 *** ChanServ sets mode: +o gjanssens
03:53:21 *** bertbob has quit IRC
03:55:21 *** bertbob has joined #gnucash
03:55:21 *** ChanServ sets mode: +v bertbob
04:28:59 *** ChanServ sets mode: +v Sander_Bouwhuis
04:30:15 <Sander_Bouwhuis> I recently switched from YNAB to GnuCash and have a few questions:
04:30:16 <Sander_Bouwhuis> 1. How do I select multiple transactions? I used that in YNAB all the time to perform things like getting the subtotals and also to make changes to all of them at once.
04:30:16 <Sander_Bouwhuis> 2. In YNAB, I was able to change the category (in GnuCash called 'Transfer') and YNAB would ask me whether to also change all the other transactions of that payee. Is this possible in GnuCash?
04:30:17 <Sander_Bouwhuis> 3. I can't seem to sort any of the transactions by clicking the list headers. How do I do that?
04:30:17 <Sander_Bouwhuis> 4. When I click on a menu option or when I press the right mouse button anywhere, the popup menu opens on ANOTHER monitor! This is an extremely problematic bug because the monitor is a little ways away from my main monitor. (screenshot : https://imgur.com/30FFA6L)
04:34:54 <Sander_Bouwhuis> Here is a direct link of the screenshot : https://i.imgur.com/30FFA6L.png
04:55:51 *** fabior has joined #gnucash
05:11:44 *** xqdt has quit IRC
05:35:46 *** xqdt has joined #gnucash
05:35:46 *** ChanServ sets mode: +v xqdt
05:41:36 *** xqdt has quit IRC
06:21:12 *** User has joined #gnucash
07:06:29 *** frakturfreak1 has quit IRC
07:22:32 *** frakturfreak1 has joined #gnucash
07:36:38 <warlord> Sander_Bouwhuis, HI..
07:37:23 <warlord> Sander_Bouwhuis, you cannot mouse-click to select multiple transactions, but you can perform a search to create a window that contains them (assuming there is some commonality to them), and then you could run reports off that search.
07:38:09 <warlord> Sander_Bouwhuis, there is no way to modify multiple transactions at once, but you could again start with the search and use that as a way to list all the transactions you want to change, but you will have to modify them one-at-a-time.
07:38:25 <warlord> Sander_Bouwhuis, to sort, you use the View -> Sort By menu item.
07:39:22 <warlord> Sander_Bouwhuis, as for the second-monitor.... THAT sounds like a bug to me. Can you file a report at bugzilla, include your OS/Distro, Version, GnuCash Version, those images, etc.?
07:57:40 *** fabior has quit IRC
08:09:47 <chris> jralls: the maint merge master-branch mixup, and merge maint->master has unfortunately resurrected a lot of deprecated code
08:11:06 <warlord> that's not good.
08:14:10 *** Jimraehl1 has joined #gnucash
08:14:41 *** Jimraehl1 has quit IRC
08:38:19 <fell> warlord, Sander_Bouwhuis: ISTR to have read about a 2. screen bug recently, so please searcg bugzilla before filig a bug. BTW, which version are you using?
08:43:06 *** Bambuzel has joined #gnucash
08:43:06 *** ChanServ sets mode: +v Bambuzel
09:02:34 *** Bambuzel has quit IRC
09:29:08 *** storyjesse has quit IRC
09:36:38 <chris> I wonder if fixing this will be easiest by reverting the latest master, and applying maint's commit piecemeal except for the master->maint merge
09:41:33 *** gjanssens has quit IRC
10:09:30 <Sander_Bouwhuis> I am using Windows 10 Pro x64 English with the latest version of GnuCash v4.9.
10:10:35 <Sander_Bouwhuis> Where can I file a bug?
10:27:39 <warlord> Sander_Bouwhuis, see https://wiki.gnucash.org/wiki/Bugzilla for information.
10:42:01 <Sander_Bouwhuis> https://bugs.gnucash.org/show_bug.cgi?id=797070
10:42:16 <Sander_Bouwhuis> This bug is already 3 years old.
10:51:55 <chris> or, create an alternate reality maint2 without the mistake master merge, checkout master, revert HEAD, merge maint2
10:52:28 <chris> ^ this would be easier jralls ?
11:04:47 <warlord> I don't see any developers having looked at or commented in the bug. Part of the issue is that it is, most likely, limited to Windows, and I doubt any developer has a multi-monitor windows system (because most of the devs use Linux or Mac).
11:05:38 <warlord> MY guess is that it's a Windows-GTK bug.
11:10:17 <chris> jralls: I think to put master back to where it should be, we should revert 5c7967c4a5 on master. it'll purge the deprecated files/functions, and leave the SEPA changes alone.
11:10:47 <chris> I'm not 100% sure so I think it's best to leave it up to you
11:24:26 *** CDB-Man_ has joined #gnucash
11:24:26 *** ChanServ sets mode: +v CDB-Man_
11:26:32 *** CDB-Man has quit IRC
11:29:54 *** mikee has quit IRC
11:34:26 *** guak has joined #gnucash
11:45:40 *** mikee has joined #gnucash
11:48:22 *** sbluhm has quit IRC
11:49:33 <fell> Sander_Bouwhuis, what happens, if you right-click in another cell?
11:51:44 *** mikee has quit IRC
11:51:45 <fell> or move to main-window on the other screen, right-click, so that it should appear on the right screen, …
11:52:10 <fell> Use your phantasy and try!
11:53:17 *** mikee has joined #gnucash
12:00:52 *** mikee has quit IRC
12:01:44 *** mikee has joined #gnucash
12:23:50 <Sander_Bouwhuis> @fell Any popup menu will put it on the wrong monitor
12:23:50 <gncbot> Sander_Bouwhuis: Error: "fell" is not a valid command.
12:24:21 <Sander_Bouwhuis> I'm trying to install the source code to see whether I can fix it myself since this bug is already 3 years old.
12:24:44 <Sander_Bouwhuis> However, I get the following error when I try to download the sources in a Powershell window:
12:24:49 <Sander_Bouwhuis> PS C:\Users\Bouwhuis> E:\Downloads\setup-mingw64.ps1 -target_dir E:\Development\GnuCash -x86_64
12:24:50 <Sander_Bouwhuis> E:\Downloads\setup-mingw64.ps1 : File E:\Downloads\setup-mingw64.ps1 cannot be loaded. The file
12:24:50 <Sander_Bouwhuis> E:\Downloads\setup-mingw64.ps1 is not digitally signed. You cannot run this script on the current system. For more
12:24:51 <Sander_Bouwhuis> information about running scripts and setting execution policy, see about_Execution_Policies at
12:24:51 <Sander_Bouwhuis> https:/go.microsoft.com/fwlink/?LinkID=135170.
12:24:52 <Sander_Bouwhuis> At line:1 char:1
12:24:52 <Sander_Bouwhuis> + E:\Downloads\setup-mingw64.ps1 -target_dir E:\Development\GnuCash -x8 ...
12:24:53 <Sander_Bouwhuis> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:24:53 <Sander_Bouwhuis>     + CategoryInfo          : SecurityError: (:) [], PSSecurityException
12:24:55 <Sander_Bouwhuis>     + FullyQualifiedErrorId : UnauthorizedAccess
12:26:21 <Sander_Bouwhuis> The documentation states that I have to run this first (which I did):
12:26:21 <Sander_Bouwhuis> set-executionpolicy -executionpolicy RemoteSigned -scope LocalMachine
12:27:09 <Sander_Bouwhuis> This is the result when I use this command: Get-ExecutionPolicy -List
12:27:09 <Sander_Bouwhuis>         Scope ExecutionPolicy
12:27:10 <Sander_Bouwhuis>         ----- ---------------
12:27:10 <Sander_Bouwhuis> MachinePolicy       Undefined
12:27:11 <Sander_Bouwhuis>    UserPolicy       Undefined
12:27:11 <Sander_Bouwhuis>       Process       Undefined
12:27:12 <Sander_Bouwhuis>   CurrentUser       Undefined
12:27:12 <Sander_Bouwhuis>  LocalMachine    RemoteSigned
12:36:47 *** sbluhm has joined #gnucash
12:42:06 <jralls> chris: > revert 5c7967c4a5 on master
12:42:22 <jralls> chris: See https://mirrors.edge.kernel.org/pub/software/scm/git/docs/howto/revert-a-faulty-merge.txt
12:43:28 <jralls> chris And note that 5c7967c4a5 is a revert of merge commit 17a3f7fe.
12:50:19 <jralls> chris so if there are other commits that got lost in the merge-revert then the only way to fix them is to cherry-pick them back in. Well, that or reset master to before 17a3f7fe, reapply all of the commits since, and force-push. Then everyone who's cloned GnuCash will have to reset and re-pull the new master branch.
12:50:19 *** David has quit IRC
12:50:19 <fell> Sander_Bouwhuis, I can not help you there as I am a) no Windows user b) currenty busy. But did you see the seealso of that bug?
12:56:24 *** gncbot has joined #gnucash
13:11:24 <Sander_Bouwhuis> The 'seealso' on that page mentions someone circumvented the bug by unplugging his other monitor(s). That is not a bug fix.
13:11:24 <Sander_Bouwhuis> Is there someone who can help me get the build environment running so that I can reproduce and fix the bug?
13:22:31 *** gncbot has joined #gnucash
13:23:04 *** warlord sets mode: +o gncbot
13:34:35 *** gncbot has joined #gnucash
13:39:02 *** sbluhm has quit IRC
13:47:45 <jralls> Sander_Bouwhuis: The bug is, as warlord said, most likely in Gtk3's Windows backend, not GnuCash, but a GnuCash Windows build environment will set you up to work on either. See https://wiki.gnucash.org/wiki/Windows to get started.
13:51:57 <jralls> Sander_Bouwhuis: Regardless of where the bug is you'll need to build and install debug builds of at least Gtk3, Glib, and maybe Cairo. Their repos are https://gitlab.gnome.org/GNOME/gtk branch gtk-3-24, https://gitlab.gnome.org/GNOME/glib branch main, and https://gitlab.freedesktop.org/cairo/cairo branch 1.16.
13:57:40 <jralls> Sander_Bouwhuis: I recommend that you build the debug libraries in c:\gcdev64\gnucash\maint\. Be sure to either set up the include and link paths so that /c/gcdev64/gnucash/maint/inst is searched before /usr, /mingw32. or /mingw64 OR remove the respective includes and libraries for each from /mingw(32|64) to make sure that GnuCash gets linked to the libraries with symbols.
13:58:06 *** sbluhm has joined #gnucash
14:00:45 <jralls> Sander_Bouwhuis You might want to join the #gtk channel to ask about gdk/win32. I haven't spent any time in that code (I work on gdk/quartz) and I think I'm the only gtk dev on this channel.
14:44:49 <jralls> Sander_Bouwhuis See also https://gitlab.gnome.org/GNOME/gtk/-/issues/1477
14:56:37 <jralls> Note that it's closed after a month-old merge request; I've confirmed that that MR is incorporated in gtk-3-24-31. It looks like MinGW-w64 is updated to there (though our buildserver isn't) so maybe just build GnuCash and test before thrashing around with the debug libs.
15:22:41 *** ArtGravity has joined #gnucash
15:22:41 *** ChanServ sets mode: +v ArtGravity
15:43:26 <Sander_Bouwhuis> I'm running the install script, but it has been stuck for more than 5 minutes now on this step:
15:43:26 <Sander_Bouwhuis> Now we'll install a pre-built webkitgtk3 package we've created and placed in the GnuCash project on SourceForge. It will install several more dependencies from Mingw-w64's repository.
15:43:27 <Sander_Bouwhuis> --2022-01-07 21:37:46--  https://downloads.sourceforge.net/gnucash/Dependencies/jralls_public_signing_key.asc
15:43:27 <Sander_Bouwhuis> Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105
15:43:28 <Sander_Bouwhuis> Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:443... connected.
15:43:28 <Sander_Bouwhuis> HTTP request sent, awaiting response... 302 Found
15:43:29 <Sander_Bouwhuis> Location: https://master.dl.sourceforge.net/project/gnucash/Dependencies/jralls_public_signing_key.asc?viasf=1 [following]
15:43:31 <Sander_Bouwhuis> --2022-01-07 21:37:47--  https://master.dl.sourceforge.net/project/gnucash/Dependencies/jralls_public_signing_key.asc?viasf=1
15:43:33 <Sander_Bouwhuis> Resolving master.dl.sourceforge.net (master.dl.sourceforge.net)... 216.105.38.12
15:43:35 <Sander_Bouwhuis> Connecting to master.dl.sourceforge.net (master.dl.sourceforge.net)|216.105.38.12|:443... connected.
15:43:37 <Sander_Bouwhuis> HTTP request sent, awaiting response... 200 OK
15:43:38 <Sander_Bouwhuis> Length: 1806 (1.8K) [application/octet-stream]
15:43:39 <Sander_Bouwhuis> Saving to: 'jralls_public_signing_key.asc'
15:43:40 <Sander_Bouwhuis> jralls_public_signing_key.asc         100%[======================================================================>]   1.76K  --.-KB/s    in 0s
15:43:42 <Sander_Bouwhuis> 2022-01-07 21:37:47 (574 MB/s) - 'jralls_public_signing_key.asc' saved [1806/1806]
15:43:44 <Sander_Bouwhuis> ==> Updating trust database...
15:43:45 <Sander_Bouwhuis> gpg: next trustdb check due at 2022-06-26
15:44:52 <jralls> Sander_Bouwhuis, please don't paste multiline text here. Put it somewhere like a Gist or Dropbox and put a link here.
15:47:41 <jralls> So it downloaded my key and then hung instead of installing webkitgtk3?
15:47:56 <Sander_Bouwhuis> It's still at this step
15:49:25 <Sander_Bouwhuis> I see a 'gpg_agent.exe' in taskmanager but it doesn't do anything. When I look at the gpg_agent.exe threads, I see 2 of them are called 'msys-2.0dll!_assert+0x3570
15:54:45 <jralls> So gpg_agent hung. Kill it and see what happens.
15:54:53 <Sander_Bouwhuis> I stopped the script and am running it again. It seemed to get slightly farther, but again has been stuck for 5 mins.
15:54:53 <Sander_Bouwhuis> ==> Updating trust database...
15:54:54 <Sander_Bouwhuis> gpg: next trustdb check due at 2022-06-26
15:54:54 <Sander_Bouwhuis>   -> Locally signed 1 keys.
15:54:55 <Sander_Bouwhuis> ==> Updating trust database...
15:54:55 <Sander_Bouwhuis> gpg: marginals needed: 3  completes needed: 1  trust model: pgp
15:54:56 <Sander_Bouwhuis> gpg: depth: 0  valid:   1  signed:   7  trust: 0-, 0q, 0n, 0m, 0f, 1u
15:54:56 <Sander_Bouwhuis> gpg: depth: 1  valid:   7  signed:   6  trust: 1-, 0q, 0n, 6m, 0f, 0u
15:54:57 <Sander_Bouwhuis> gpg: depth: 2  valid:   6  signed:   0  trust: 6-, 0q, 0n, 0m, 0f, 0u
15:54:57 <Sander_Bouwhuis> gpg: next trustdb check due at 2022-06-26
15:57:33 <jralls> And task manager presumably shows it hung on gpg_agent not returning control. Try killing just gpg_agent and see if it installs webkit or just dies.
15:58:01 <Sander_Bouwhuis> Aha, you are right! I continues after I kill it.
16:02:17 <Sander_Bouwhuis> It says :
16:02:17 <Sander_Bouwhuis> Clone the gnucash-on-windows repository into the target source directory, patch jhbuild to disable its DESTDIR dance and set up jhbuildrc with our prefixes.
16:03:11 <Sander_Bouwhuis> Do I have to do something like that? Or does that happen when I do this step?
16:03:12 <Sander_Bouwhuis> Your build environment is now ready to use. Open an MSys2/mingw64 shell from the start menu, cd to /E/Development/GnuCash, and run
16:03:12 <Sander_Bouwhuis> jhbuild -f src/gnucash-on-windows.git/jhbuildrc build
16:03:13 <Sander_Bouwhuis> Note that the build will not work with the plain MSys2 shell!
16:03:30 *** ArtGravity has quit IRC
16:03:58 *** David has quit IRC
16:04:23 *** David has joined #gnucash
16:12:40 <Sander_Bouwhuis> I ran the "jhbuild -f src/gnucash-on-windows.git/jhbuildrc build" command but it fails with this error. What choice should I make?
16:12:40 <Sander_Bouwhuis> https://gist.github.com/SanderBouwhuis/0406db8228f938b274be169e68e391e5
16:19:46 <Sander_Bouwhuis> I think I ran into the 'DESTDIR' dance the script mentions. Every build step fails with a line sort of like this:
16:19:46 <Sander_Bouwhuis> *** Error during phase install of libofx: ########## Error running make DESTDIR=/E/Development/GnuCash/gnucash/unstable/inst/_jhbuild/root-libofx install *** [2/16]
16:28:01 *** jervin has joined #gnucash
16:37:19 *** User has quit IRC
16:43:39 <jralls> I guess if you got libofx to build you got OpenJade to build and install successfully.
16:44:55 <jralls> I also think that the DESTDIR patch might be broken by recent updates to jhbuild. There should be an actual error reported a few lines before the jhbuild "Error during phase" message. What is it?
16:57:14 *** Pegasus_RPG1 has joined #gnucash
16:57:39 *** jervin has quit IRC
16:57:46 *** jervin has joined #gnucash
16:59:06 *** Pegasus_RPG has quit IRC
16:59:07 *** Pegasus_RPG1 is now known as Pegasus_RPG
17:11:21 *** jervin has quit IRC
17:30:21 *** Bambuzel has joined #gnucash
17:30:21 *** ChanServ sets mode: +v Bambuzel
17:34:08 *** jervin has joined #gnucash
17:38:02 *** Bambuzel has quit IRC
18:00:32 *** Pegasus_RPG has quit IRC
18:02:36 <Sander_Bouwhuis> Here is my build output.
18:02:36 <Sander_Bouwhuis> https://gist.github.com/SanderBouwhuis/c1d36c106c0c0840878ecd9e34645a96
18:15:49 *** Pegasus_RPG has joined #gnucash
18:16:06 *** sbluhm has quit IRC
18:18:40 *** Pegasus_RPG1 has joined #gnucash
18:18:49 *** Pegasus_RPG has quit IRC
18:18:49 *** Pegasus_RPG1 is now known as Pegasus_RPG
18:21:17 <jralls> You wasted a lot of time by selecting "ignore error and continue". That's a useful choice only if you've dropped into shell (selection 4) and successfully run the step by hand.
18:27:46 <jralls> The actual error is Invalid configuration `x86_64-w64-mingw64': system `mingw64' not recognized. Did you perhaps set up for 32-bit (the default) but try to run from a 64-bit shell?
18:56:51 <Sander_Bouwhuis> No, I started the setup script like this :
18:56:51 <Sander_Bouwhuis> E:\Downloads\setup-mingw64.ps1 -target_dir E:\Development\GnuCash -x86_64
19:02:44 <chris> Lets' just revert the merge commit
19:07:53 <jralls> Sander_Bouwhuis OBTW You don't want to build gnucash-unstable, that will build the last beta before 4.0. You want to build maint. Not that that has anything to do with the OpenSP problem.
19:08:17 <jralls> chris, I haven't had time to look at your latest PR. Why do you want to abandon it.
19:08:19 <jralls> ?
19:25:28 *** Sander_Bouwhuis has quit IRC
19:31:31 <jralls> @tell Sander_Bouwhuis Try removing src/OpenSP-1.5.2/config.guess and re-running ./autoinit.sh to get a new one. Grep that for mingw64 to see if it did any good.
19:31:31 <gncbot> jralls: The operation succeeded.
19:54:05 *** guak has quit IRC
21:00:22 <calvin> jralls: do you have any idea what's going on on my end? having issues installing the online price retrieval module
21:00:49 <calvin> (I'm getting this error) https://pastebin.com/xJiTv22P
21:01:36 <calvin> I got an api key and plugged it into the preferences
21:45:47 <chris> jralls: I meant revert 5c7967c4a5 on master
22:31:14 *** FH_thecat has joined #gnucash
23:21:47 <chris> ^ hope you agree is the correct fix
23:32:10 *** jervin1 has joined #gnucash
23:33:05 *** jervin has quit IRC
23:33:05 *** jervin1 is now known as jervin
23:38:19 *** jervin1 has joined #gnucash
23:39:06 *** jervin has quit IRC
23:39:06 *** jervin1 is now known as jervin
23:44:11 *** jervin1 has joined #gnucash
23:45:07 *** jervin has quit IRC
23:45:07 *** jervin1 is now known as jervin