2019-06-23 GnuCash IRC logs

00:01:22 *** marusich has quit IRC
00:39:17 *** boldstripe has quit IRC
00:40:17 *** boldstripe has joined #gnucash
01:35:07 *** bertbob has joined #gnucash
01:35:08 *** ChanServ sets mode: +v bertbob
02:19:34 *** chris has quit IRC
02:21:59 *** bertbob has quit IRC
02:39:55 *** boldstripe has quit IRC
02:40:52 *** boldstripe has joined #gnucash
02:50:38 *** storyjesse has quit IRC
03:36:53 *** gour has joined #gnucash
03:40:39 *** User_ has quit IRC
03:56:56 *** chris has joined #gnucash
03:56:56 *** ChanServ sets mode: +v chris
04:20:05 *** nikolai has joined #gnucash
04:30:49 *** maschinenhans has joined #gnucash
04:32:31 *** storyjesse has joined #gnucash
04:40:35 *** boldstripe has quit IRC
04:41:37 *** boldstripe has joined #gnucash
06:19:05 *** fell has joined #gnucash
06:19:05 *** ChanServ sets mode: +o fell
06:41:16 *** boldstripe has quit IRC
06:42:11 *** boldstripe has joined #gnucash
07:35:31 *** gour has quit IRC
07:38:32 *** maschinenhans has quit IRC
08:11:23 *** boldstripe_ has joined #gnucash
08:11:37 *** boldstripe has quit IRC
08:11:37 *** boldstripe_ is now known as boldstripe
08:14:14 *** bertbob has joined #gnucash
08:14:15 *** ChanServ sets mode: +v bertbob
08:19:54 *** bertbob has quit IRC
08:24:40 *** gour has joined #gnucash
08:24:40 *** ChanServ sets mode: +v gour
08:43:27 *** warlord has joined #gnucash
08:43:27 *** gncbot sets mode: +o warlord
08:43:34 <warlord> .
08:43:34 <gncbot> warlord: Sent 5 days, 21 hours, and 59 minutes ago: <chris> I recall you thought UI to change root-account currency was desirable - allows changing of summary-bar currency. I've created PR. Can you think of any risks?
08:45:02 <warlord> chris, Only risks I can think of offhand would be if there were something that was implicitly (or even explicitly) depending on that currency.. So the underlying dependency would change. I guess the question is: why would someone want to change the BOOK (root) currency after boot creation?
08:51:47 *** bertbob has joined #gnucash
08:51:48 *** ChanServ sets mode: +v bertbob
08:52:15 <chris> warlord: see https://github.com/Gnucash/gnucash/pull/524 and https://github.com/Gnucash/gnucash/pull/526 -- the only motivation is to change the summarybar amount currency but I chose a different method to change it
08:53:06 <warlord> I thought the summary bar allowed you to select each currency used in the book by clicking on it and selecting the currency from the dropdown?
08:55:38 <chris> I think it can show each summary totals but the grand-total followed the root acct currency
08:56:26 <warlord> THat could be true.
08:56:27 <chris> ahem/ can show each *currency* totals
08:57:36 <warlord> Right. I think I knew what you meant.
09:01:58 *** bertbob has quit IRC
09:06:17 <warlord> FYI, it looks like code hasn't been backing up for the past week or two due to a stuck LV node (probably due to a power outage during a backup that took something out). I have reset the LV state and tonight it should backup normally.
09:07:26 *** jervin has joined #gnucash
09:21:42 *** bertbob has joined #gnucash
09:21:43 *** ChanServ sets mode: +v bertbob
09:40:30 *** warlord has quit IRC
09:43:22 *** warlord has joined #gnucash
09:43:25 *** gncbot sets mode: +o warlord
09:44:26 *** warlord has quit IRC
09:45:12 *** warlord has joined #gnucash
09:45:13 *** gncbot sets mode: +o warlord
09:47:25 *** warlord has quit IRC
09:58:11 *** fell has quit IRC
10:01:47 *** fell has joined #gnucash
10:01:49 *** ChanServ sets mode: +o fell
10:05:56 *** warlord has joined #gnucash
10:05:56 *** gncbot sets mode: +o warlord
10:39:28 *** warlord has quit IRC
10:53:59 *** lcanaska has joined #gnucash
10:57:37 *** boldstripe has quit IRC
10:58:44 *** boldstripe has joined #gnucash
11:07:48 *** storyjesse has quit IRC
11:30:09 <fell> @tell warlord Do you remember, why we have in Edit->Preferences-> 1. Accounts->Default Currency (for newly created accounts) and Reports->"Default Report Currency" ? (for newly created reports)? () are from their tooltips.
11:30:09 <gncbot> fell: The operation succeeded.
11:34:07 *** omnireq has quit IRC
11:34:26 *** jervin has quit IRC
11:37:33 *** omnireq has joined #gnucash
11:37:34 *** ChanServ sets mode: +v omnireq
11:42:31 *** bertbob has quit IRC
11:50:23 *** trevor has joined #gnucash
11:52:18 *** ChanServ sets mode: +v trevor
11:52:27 <trevor> Hey - got an issue when I just copied my gnucash files from a local disk to my new synology - I get a "GnuCash could not obtain the lock for file..." error. The crazy part - there is no lock file, and the directory permissions are 777. --debug shows nothing. Ideas where to diagnose next?
12:25:00 *** chris has quit IRC
12:31:44 *** bertbob has joined #gnucash
12:31:45 *** ChanServ sets mode: +v bertbob
12:33:49 <fell> Trevor: search the regions (home nad data directories) of both disks for *.lck and *.lnk?
12:39:32 *** bertbob has quit IRC
12:41:03 *** lcanaska has quit IRC
12:44:39 *** oozer has joined #gnucash
12:51:05 *** oozer has quit IRC
12:53:02 *** Tanker has joined #gnucash
12:58:17 *** boldstripe has quit IRC
12:59:12 *** boldstripe has joined #gnucash
13:14:27 <jralls> trevor: You said "copied", so presumably the file exists in both directories. Did you get the error when GnuCash started up and tried to open the old file or when you used File>Open to switch to the new one?
13:18:28 <jralls> trevor: If it's the new one, did you check to make sure it didn't get mounted read-only?
13:18:33 *** O01eg has joined #gnucash
13:20:19 <trevor> jralls: I get the error when I open the gnucash file directly from the folder in Linux, or from the command line. The directory is definitely writeable (I can "touch foo")
13:21:05 <trevor> I'm guessing then the error is occurring because GnuCash can't *create* a lock file?
13:21:50 <jralls> If there isn't one there already then that would be the reason.
13:22:30 <jralls> XML or SQL backend?
13:22:44 <trevor> That makes sense. It *might* be some weird mounting issue (though I can write in the directory outside the app fine)
13:22:46 <trevor> It's XML
13:23:21 <trevor> Also, if I ignore the warning, GnuCash can save changes to the file just fine (but that could still be a file permissions issue - can write to existing file but not new one)
13:23:25 *** maschinenhans has joined #gnucash
13:24:36 <trevor> (If this is the case, it would be ideal if this "can't open file for writing" showed up in the debug output. :)
13:24:49 <jralls> Nope, because the XML backend renames the old file and writes a new one, both of which require write permission on the directory.
13:25:33 <trevor> The directory permissions are 777, which is why I'm confused.
13:26:26 <jralls> It's a normal ext4 FS?
13:26:36 <trevor> No, it's sshfs.
13:27:17 <trevor> Probably should switch over to nfs, but it's not clear why it's the issue.
13:27:25 <trevor> (It's obviously the issue though...)
13:27:45 <trevor> No such error when I was running on my ext4 partition.
13:28:41 <trevor> Oh hold on a second - could GNUCash be enforcing file ownership?
13:29:05 <trevor> the UID/GID don't match me (which is why I was hoping to use the "other" permission.
13:29:35 <jralls> I think the world is settling on SMB for remote file systems. NFS is really old and creaky. IIUC SSHFS is a connection protocol via FUSE. It's not what you passed to mkfs.
13:29:38 <trevor> ... idea... hold on. Remount the ssh partition but map the uid/gid properly
13:30:12 *** Tanker has left #gnucash
13:32:57 <trevor> brb
13:32:59 *** trevor has quit IRC
13:33:24 <jralls> No, GnuCash itself doesn't look at ownership, it leaves that up to the filesystem. If you can touch a file GnuCash should be able to too. So try touching a file named foo.gnucash.LCK
13:33:30 *** trevor has joined #gnucash
13:33:38 *** ChanServ sets mode: +v trevor
13:33:53 <jralls> trevor: No, GnuCash itself doesn't look at ownership, it leaves that up to the filesystem. If you can touch a file GnuCash should be able to too. So try touching a file named foo.gnucash.LCK
13:34:17 <trevor> jralls: touch works perfectky.
13:34:21 <trevor> *perfectly.
13:37:17 <trevor> Rats - that wasn't it. Fixed the UID/GID to match mine, and no change from GnuCash
13:39:09 *** bertbob has joined #gnucash
13:39:10 *** ChanServ sets mode: +v bertbob
13:39:25 <trevor> Oh wow, if I touch a <myfile>.gnucash.LCK - I get the same error, and when I quit the LCK file is deleted. But when I launch again, I still get the error.
13:40:10 <trevor> Let me try dropping this sshfs mount and swapping over to a smb mount...
13:40:17 <jralls> Unfortunately the error messaging in that bit of code doesn't cover all possible issues, so you'll need to use the debugger. You'll need the debug symbols package from your distro. Set a breakpoint on GncXmlBackend::get_file_lock and step through it.
13:45:27 <trevor> Update: cifs (smb share) mounting works with no error...
13:46:31 <trevor> And I think hauling out debug is beyond the scope of what I was hoping to fix this morning.
13:46:34 <trevor> Thanks for your help jralls!
13:47:45 <jralls> trevor: You're welcome. I was mistaken about permissions, GnuCash tries to open the lockfile with 600, so the user needs to be the owner of the directory.
13:47:52 *** oozer has joined #gnucash
13:48:28 <jralls> FUSE and/or SSHFS may be complicating that.
13:49:21 <trevor> Even when I told sshfs to map the uid/gid, and verified the directory ownership and group ownership were exactly me, it was similarly failing.
13:49:58 <trevor> But there could be some strange sshfs weirdness... I'll see if I can migrate to cifs/smb for these mounts (no need to use ssh on the internal network anyways)
13:50:41 <trevor> I appreciate the help, though. Got to run. Thanks again!
13:50:45 *** trevor has quit IRC
14:02:41 *** jervin has joined #gnucash
14:14:52 *** gour1 has joined #gnucash
14:16:40 *** gour has quit IRC
14:21:54 *** bertbob has quit IRC
14:23:01 *** bertbob has joined #gnucash
14:23:02 *** ChanServ sets mode: +v bertbob
14:38:20 *** bertbob has quit IRC
14:55:39 *** Mechtilde has quit IRC
14:58:58 *** boldstripe has quit IRC
14:59:56 *** boldstripe has joined #gnucash
15:18:18 *** Unhammer has quit IRC
15:21:40 *** Unhammer has joined #gnucash
15:25:56 *** Unhammer has quit IRC
15:42:41 *** Unhammer has joined #gnucash
15:42:41 *** ChanServ sets mode: +v Unhammer
15:46:29 *** lcanaska has joined #gnucash
15:56:59 *** lcanaska has quit IRC
16:27:28 *** lcanaska has joined #gnucash
16:54:09 *** maschinenhans has quit IRC
16:59:38 *** boldstripe has quit IRC
17:00:32 *** boldstripe has joined #gnucash
17:01:15 *** bertbob has joined #gnucash
17:01:16 *** ChanServ sets mode: +v bertbob
17:24:07 *** lcanaska1 has joined #gnucash
17:26:58 *** lcanaska has quit IRC
17:27:07 *** lcanaska1 has quit IRC
17:30:02 *** omnireq has quit IRC
17:41:14 *** omnireq has joined #gnucash
17:41:14 *** ChanServ sets mode: +v omnireq
17:46:42 *** nikolai has quit IRC
18:09:21 *** jervin has joined #gnucash
18:12:07 *** omnireq has quit IRC
18:19:47 *** omnireq has joined #gnucash
18:57:55 *** bertbob has quit IRC
18:59:42 *** bertbob has joined #gnucash
18:59:42 *** ChanServ sets mode: +v bertbob
19:00:19 *** boldstripe has quit IRC
19:01:13 *** boldstripe has joined #gnucash
19:11:07 *** warlord has joined #gnucash
19:11:07 *** gncbot sets mode: +o warlord
19:12:09 *** Aussie_matt has joined #gnucash
19:27:51 *** bertbob has quit IRC
19:50:21 *** jervin has joined #gnucash
19:55:26 *** gour1 has quit IRC
19:59:12 <fell> jralls travis failed on gnucash-docs, while locally make check succeeds.
20:09:18 *** oozer has quit IRC
21:00:48 *** bertbob has joined #gnucash
21:00:48 *** ChanServ sets mode: +v bertbob
21:00:59 *** boldstripe has quit IRC
21:01:56 *** boldstripe has joined #gnucash
21:13:36 *** jervin has joined #gnucash
21:26:15 *** jervin has quit IRC
21:33:16 *** storyjesse has joined #gnucash
21:42:31 *** bertbob has quit IRC
22:51:33 *** warlord has quit IRC
23:10:21 *** gncbot has joined #gnucash
23:31:34 *** bertbob has joined #gnucash
23:31:39 *** ChanServ sets mode: +v bertbob
23:32:03 *** bertbob has quit IRC
23:33:34 *** bralyclow has joined #gnucash
23:37:54 *** ChanServ sets mode: +v bralyclow
23:42:49 *** bertbob has joined #gnucash
23:42:51 *** ChanServ sets mode: +v bertbob
23:50:40 *** bralyclow is now known as bralyclow01
23:51:11 *** bralyclow01 is now known as bralyclow2
23:51:19 *** boldstripe_ has joined #gnucash
23:51:32 *** boldstripe has quit IRC
23:51:33 *** boldstripe_ is now known as boldstripe
23:51:44 *** bralyclow2 is now known as bralyclow02
23:52:12 *** bralyclow02 is now known as bralyclow3
23:53:01 *** bralyclow3 is now known as bralyclow03
23:53:44 *** bralyclow03 is now known as bralyclow