2014-01-18 GnuCash IRC logs

00:56:06 *** Rebootus has quit IRC
00:56:31 *** Rebootus has joined #gnucash
01:05:23 *** gncbot has joined #gnucash
01:11:04 *** Rebootus has quit IRC
01:11:47 *** Rebootus has joined #gnucash
01:18:37 *** Rebootus has quit IRC
01:19:04 *** Rebootus has joined #gnucash
01:31:12 *** Rebootus has quit IRC
01:37:48 *** fell has joined #gnucash
01:37:48 *** Rebootus has joined #gnucash
02:26:05 *** gncbot has joined #gnucash
02:33:57 *** Caesar has joined #gnucash
02:44:19 *** fell_ has joined #gnucash
02:44:19 *** Ard0nik has quit IRC
02:49:51 *** fell has quit IRC
03:04:38 *** Rebootus has quit IRC
03:07:50 *** Rebootus has joined #gnucash
03:13:00 *** Rebootus has quit IRC
03:13:00 *** Rebootus has joined #gnucash
03:20:20 *** Rebootus has quit IRC
03:20:29 *** Rebootus has joined #gnucash
06:28:09 *** gncbot has joined #gnucash
06:47:54 *** jmd has joined #gnucash
06:55:10 *** jmd has quit IRC
06:56:04 <gjanssens> warlord: it looks like code.gnucash.org is offline
06:56:31 <gjanssens> It's probably still night at your place now
06:56:39 <gjanssens> Can you have a look at this later?
07:05:54 *** Rebootus has quit IRC
07:06:18 *** Rebootus has joined #gnucash
07:51:08 *** StuM has quit IRC
07:53:49 *** gncbot has joined #gnucash
07:57:45 *** himaxx has joined #gnucash
08:01:35 *** himaxx has quit IRC
08:06:54 *** Rebootus has quit IRC
08:07:50 *** Rebootus has joined #gnucash
08:15:02 *** Rebootus has quit IRC
08:15:29 *** Rebootus has joined #gnucash
08:27:23 *** Rebootus has quit IRC
08:28:29 *** Rebootus has joined #gnucash
08:39:47 *** Rebootus has quit IRC
08:40:19 *** Jimraehl1 has left #gnucash
08:40:19 *** Rebootus has joined #gnucash
08:41:27 *** warlord sets mode: +o gncbot
08:42:47 <warlord> gjanssens: it came back. Something probably pegged the I/O which hung the system NIC.. One of these days when I can afford spending an extra $5-7k I plan to upgrade the VM server to modern H/W and switch to a newer VM solution.
08:47:17 <warlord> Actually, it looks like code itself is the biggest user of CPU...
08:47:39 <warlord> I'm trying to figure out what its doing....
09:22:48 <warlord> I have a shell on code but I suspect something is spinning.. it's taking me a long time to get 'top' to respond.
09:23:52 <warlord> Hmm, load avg on code is 292..
09:23:52 <warlord> But nothing is eating CPU.
09:23:52 <warlord> Everything is just in diskwait.
09:23:52 <warlord> So I'm going to try to reboot the system..
09:23:52 <warlord> (hopefully that will work before I have to leave)
09:23:52 *** Jimraehl1 has joined #gnucash
09:26:29 *** gncbot has joined #gnucash
09:30:29 *** gjanssens sets mode: +o gncbot
09:36:24 *** fell_ is now known as fell
09:37:30 *** fell has joined #gnucash
09:37:30 *** fell has quit IRC
09:37:30 *** fell has joined #gnucash
09:37:30 <fell> Hm, I can not talk to gncbot,read the lists or the wiki.
09:37:30 *** gncbot sets mode: +o fell
09:38:11 <gjanssens> fell: warlord rebooted the server, but it seems not all is online again
09:38:11 *** gncbot sets mode: +o fell
09:38:29 <gjanssens> I can't access svn either which is on the same server
09:38:34 <fell> Ah, it is coming back
09:39:30 <fell> at least lists and gncbot
09:40:08 *** benoitg has joined #gnucash
09:48:59 *** gncbot has joined #gnucash
09:57:56 *** fell sets mode: +o gncbot
09:58:12 <fell> Package xext was not found in the pkg-config search path. Perhaps you should add the directory containing `xext.pc' to the PKG_CONFIG_PATH environment variable Package 'xext', required by 'egl', not found
09:58:13 <fell> configure: error: Library requirements (gtk+-2.0 >= 2.24.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
10:00:05 <fell> I found /usr/lib[64]/... and /usr/share/pkgconfig dirs
10:03:43 *** jmd has joined #gnucash
10:06:23 <fell> OK, it seems a bunch of .pc files disapeared.
10:07:39 *** jmd has quit IRC
10:08:15 <gjanssens> svn is back as well
10:13:38 *** Rebootus has quit IRC
10:13:38 *** todd_ has quit IRC
10:14:09 *** Rebootus has joined #gnucash
10:15:56 *** LiamH has joined #gnucash
10:26:15 *** Rebootus has quit IRC
10:26:48 *** Rebootus has joined #gnucash
10:38:40 *** jmd has joined #gnucash
10:44:03 *** Rebootus has quit IRC
10:44:36 *** Rebootus has joined #gnucash
10:49:14 *** benoitg has quit IRC
10:55:13 *** jmd` has joined #gnucash
10:57:21 *** TradeBorG113 has joined #gnucash
11:00:39 *** jmd has quit IRC
11:06:46 *** Rebootus has quit IRC
11:07:18 *** Rebootus has joined #gnucash
11:29:29 *** Rebootus has quit IRC
11:30:02 *** Rebootus has joined #gnucash
11:39:36 *** ErKa has joined #gnucash
11:47:12 *** Rebootus has quit IRC
11:47:45 *** Rebootus has joined #gnucash
11:53:05 *** todd has joined #gnucash
12:02:04 *** kpreid has quit IRC
12:15:10 *** Rebootus has quit IRC
12:15:43 *** Rebootus has joined #gnucash
12:22:48 *** Rebootus has quit IRC
12:23:20 *** Rebootus has joined #gnucash
12:35:47 *** kpreid has joined #gnucash
12:45:33 *** Rebootus has quit IRC
12:46:06 *** Rebootus has joined #gnucash
12:51:29 <warlord> code is down from a system load of 277 to 0.4
12:55:06 <warlord> er, code's system load is down from ....
12:55:10 <warlord> code itself should be up
13:03:16 *** Rebootus has quit IRC
13:03:49 *** Rebootus has joined #gnucash
13:05:36 <jmd`> #gui
13:07:09 <warlord> jmd`: #always
13:13:42 *** StuM has quit IRC
13:15:09 <warlord> Who is this FastRadio person?!?
13:26:10 *** Rebootus has quit IRC
13:26:42 *** Rebootus has joined #gnucash
13:33:46 *** Rebootus has quit IRC
13:34:19 *** Rebootus has joined #gnucash
13:41:22 *** Rebootus has quit IRC
13:41:54 *** Rebootus has joined #gnucash
13:48:58 *** Rebootus has quit IRC
13:49:30 *** Rebootus has joined #gnucash
13:54:37 *** jmd` has quit IRC
13:55:59 *** gjanssens has quit IRC
14:01:37 *** Rebootus has quit IRC
14:02:09 *** Rebootus has joined #gnucash
14:06:23 *** Jimraehl1 has quit IRC
14:13:11 *** jralls has joined #gnucash
14:19:23 *** Rebootus has quit IRC
14:19:56 *** Rebootus has joined #gnucash
14:41:11 <warlord> GRR... trac is being painful on fc20
14:41:20 <warlord> They don't have mod_python anymore..
14:41:40 <warlord> and the trac package doesn't have the right settings
14:42:37 <jralls> That's rude of them, especially the mod_python bit.
14:50:11 <warlord> Yep.
14:50:45 <warlord> Apparently they want you to switch to wsgi, but of course the 'trac.wsgi' "script" is really an httpd.conf file .... no python.
14:53:06 <warlord> And my python skill are.... zilch..
14:57:23 <jralls> I'm pretty good at Python thanks to working on Gramps. But if trac.wsgi is an httpd.conf, you know how to work on those. What's the python for?
14:59:07 <warlord> well, it's an httpd.conf that says to call /var/www/cgi-bin/trac.wsgi -- but there is no script for me to put there.
15:01:47 <jralls> Google to the rescue: http://trac.edgewall.org/wiki/TracModWSGI has samples and describes a command to install a default.
15:02:50 <jralls> Speaking of trac, you're going to point it at git instead of svn, right?
15:02:59 <warlord> Immediately, no..
15:03:07 <warlord> But I'll add GIT support later as needed/required.
15:05:08 <jralls> Why? ISTM we can just come up on the new "code" git-only.
15:08:13 <warlord> because we still want to be able to view old svn URLs
15:08:30 <warlord> svn will be read-only on the new server.
15:10:09 <jralls> Ah, hadn't thought of old URLs. Was that your only intended use for trac?
15:11:18 <warlord> Yes.
15:11:43 <warlord> I thought we'd continue to use github; but we can add trac-git support... Or gitweb...
15:11:53 <warlord> W00t! Got it working.l
15:12:20 <jralls> Yay!
15:14:15 <warlord> Yep.
15:15:17 <warlord> Still to do: user accounts, upload user, firewall, fail2ban, rsync, and then copying all the mediawiki, mailman, and supybot contents
15:15:32 <warlord> oh, and of course git contents
15:16:15 <jralls> BTW, what caused the downtime overnight?
15:17:46 *** gwo has joined #gnucash
15:18:26 <warlord> Honestly I don't know. All the processes went into disk-wait, and the system load went to 270!
15:18:49 <warlord> I didn't examine it; I just rebooted the system and haven't explored.
15:19:46 <jralls> Sounds similar to what happened last month, or was it November?
15:21:03 <warlord> Something like that, yeah.
15:21:22 <warlord> I chalk it up to a 5-year-old system running a 2-1/2-year-old OS
15:21:49 <warlord> It'll be good to migrate off is
15:21:50 <warlord> ts
15:21:51 <warlord> it
15:22:27 * jralls hates it when his fingers get tangled like that! ;-)
15:24:28 <warlord> Yeah. I wish there were a good bash-y way to do a foreach of tuples
15:27:04 <jralls> What's wrong with regular `for foo in $bar` where $bar contains the tuple?
15:28:11 *** gwo has quit IRC
15:29:19 <warlord> Because I want to iterate over an array of tuples. In particular 'username' and 'fullname'
15:29:57 <jralls> So you nest it, just like in Python or Perl.
15:30:04 <jralls> What am I missing?
15:32:46 <warlord> Aha, got it..
15:32:57 <warlord> bash 4 does support it:
15:32:59 <warlord> declare -A users=( ["user1"]="Name One" ["user2"]="Name Two" )
15:32:59 <warlord> for user in "${!users[@]}"; do echo "${users["$user"]} ($user)"; done
15:35:49 <jralls> Oh, that's not my understanding of a tuple. That's what STL calls a map, Perl calls a hash, and Python calls a dictionary.
15:37:04 <warlord> in my definition a tuple is any combination of data that gets treated as a single unit
15:37:18 <warlord> hense an "array of tuples"
15:37:56 <warlord> In this case the tuple is "username/Fullname".. and gets implemented as a hash/map... so an array of hash/maps, pretty much..
15:37:57 <jralls> Agreed, +immutable, - having keys.
15:39:36 <jralls> But if you use it too generically, as in "an array of tuples" vs. "an array of hashes", it doesn't really describe your problem well.
15:40:33 <warlord> fair enough.
15:40:55 <warlord> I wanted to iterate over a set of username/fullname pairs in order to more easily script the generation of user accounts on the system
15:41:13 <warlord> (which is still necessary for email to work)
15:41:31 <jralls> So this is in /etc/passwd?
15:42:02 <warlord> Yes
15:42:51 <jralls> I'd usually do something like that with Perl, which smooths over all of the file handling and line parsing crud.
15:43:35 <warlord> Yeah, but the rest of my file is all in bash
15:45:05 <jralls> But once you get the file opened and can iterate on each line, you can use cut to assign to $user and $full and then do what you need to.
15:53:26 *** Rebootus has quit IRC
15:53:59 *** Rebootus has joined #gnucash
16:00:28 <warlord> I could, but I'm not doing it that way (for a number of reasons).
16:00:32 <warlord> Anyways, gotta run again...
16:00:34 <warlord> BBL.
16:11:11 *** Rebootus has quit IRC
16:11:43 *** Rebootus has joined #gnucash
16:14:06 *** flox has joined #gnucash
16:14:21 <flox> hi all
16:14:49 <flox> i just installed gnucash 2.6 and now my account list is totally empty, it does not seem to load my books at all
16:15:04 <flox> do i need to do something to upgrade my 2.4 accounts?
16:18:33 <jralls> No, GnuCash 2.4 and 2.6 are mostly interoperable unless you use one of the new features in GnuCash 2.6.
16:18:50 <jralls> So did you actually open the account file?
16:19:39 <flox> jralls: I figured it would just use the one 2.4 used
16:20:20 <flox> jralls: where would I find the account file? assumably somewhere in .gnucash?
16:20:40 <jralls> No, anywhere but there!
16:21:43 <jralls> At some point when you created the book, GnuCash put up a "save" dialog and you named the file and selected a directory for it. That's where it is, along with a bunch of backup and log files.
16:24:16 <flox> found it, thanks
16:24:34 <jralls> If you look in .gnucash/books, though, you'll find file called filename.gcm. The filename is what you named the file, though it doesn't say where you put it. You can use your OS's search facilities to find the filename.
16:33:33 *** benoitg has joined #gnucash
16:35:44 <flox> do you by any chance know when there will be a sepa capable aqbanking version released
16:36:00 <flox> as stable
16:36:42 <jralls> I don't. You'll have to ask Martin. His website is aquamaniac.de, and he has lists there.
16:37:35 <flox> okay, will do, thanks
16:37:47 *** flox has quit IRC
16:54:24 *** Rebootus has quit IRC
16:54:38 <fell> make check returns:
16:54:41 <fell> make[2]: *** Keine Regel vorhanden, um das Target »/home/frank/workspace/gnucash-trunk/lib/libc/libc-missing-noop.c«,
16:54:57 *** Rebootus has joined #gnucash
16:55:16 <fell> Making check in libc
16:55:17 <fell> benötigt von »libc-missing-noop.lo«, zu erstellen. Schluss.
17:02:04 *** Rebootus has quit IRC
17:02:36 *** Rebootus has joined #gnucash
17:15:37 <jralls> Frank, lib/libc hasn't been touched in a year, and libc-missing-noop.c is present in the repo.
17:17:03 <jralls> It also doesn't have a check target. What branch are you trying to build?
17:21:48 <fell> trunk
17:23:23 <fell> I get it also with make
17:24:29 <jralls> Ah, so you're not getting to make check.
17:25:05 <jralls> Are you sure you have a clean tree?
17:27:25 <fell> removed the content of my builddir ..
17:46:57 *** TradeBorG113 has quit IRC
17:48:29 <fell> Now it seens OK, only 1 Fail in backend/xml/test
17:49:28 <fell> FAIL: test-load-xml2
17:57:26 <jralls> Well, that's a more likely place for a fail.
17:57:45 <jralls> Running make check now in Debian....
17:59:00 <jralls> backend/xml went through just fine.
18:04:34 <jralls> Yup, it's all good on Debian testing. What failed test-load-xml2 for you?
18:04:46 <jralls> You know about the test logs, right?
18:05:05 <fell> where?
18:11:26 <jralls> Guess not. ;-). Each of the old-style tests writes a log in its build directory, so in this case you want to look at build/src/backend/xml/test/test-load-xml2.log.
18:16:24 <fell> That is the wrong lib
18:17:10 <fell> my target is ~/test/...
18:18:30 <fell> '/home/frank/workspace/gnucash-trunk.svn/build/src/backend/xml/test/.libs/test-load-xml2: symbol lookup error: /usr/lib64/libgnc-backend-xml-utils.so.0: undefined symbol: safe_strcmp'
18:24:42 <jralls> You still don't have a clean build then. Geert replaced safe_strcmp with g_strcmp0 in r22290 a year ago.
18:32:16 <fell> No, now I run in that -Wall vs deprecated issue
18:34:40 <fell> It didn't install because deprecated warnings aborted it.
18:35:05 <fell> then it took the system lib 2.4.x
18:40:29 <jralls> What deprecated warnings? We should be clean through Glib 2.38 since that's what I build to on OSX.
18:42:04 <fell> not glib, libgnc-backend-xml-utils
18:46:20 <jralls> What? We don't define deprecated warnings in GnuCash.
18:48:07 <jralls> There're deprecation warnings in libdbi-0.9, but the xml backend won't see them. Where are these warnings coming from?
18:53:51 <fell> with -Wall the build aborts because of the deprecation.
18:54:13 <jralls> Yeah, got that. What deprecation?
18:54:34 <fell> from libdbi
18:55:00 <jralls> In the xml backend? I don't think so.
18:56:49 <fell> Not in the xml backend, but the build aborts, so there is no libgnc in ~/test/... and the it takes the version 2.4
18:58:18 <fell> Somwhere we discussed that and you noted the compiler switch. Do you remember that?
18:59:50 <jralls> No, but I found it quickly: -Wno-deprecated-declarations
19:00:06 <fell> Thx
19:00:26 <jralls> What distro are you using that has libdbi-0.9?
19:04:34 <fell> currently opensuse, before sabayon/gentoo
19:08:57 <jralls> OK, so we need to detect that in configure and add the flag when building the dbi backend. No libdbi.pc, I'll have to write a test. Sigh.
19:23:59 *** Rebootus has quit IRC
19:24:31 *** Rebootus has joined #gnucash
19:31:33 *** Rebootus has quit IRC
19:32:06 *** Rebootus has joined #gnucash
19:49:14 *** Rebootus has quit IRC
19:49:48 *** Rebootus has joined #gnucash
20:01:58 *** Rebootus has quit IRC
20:02:30 *** Rebootus has joined #gnucash
20:07:57 *** ErKa has quit IRC
20:10:30 *** fell has quit IRC
20:19:56 *** Rebootus has quit IRC
20:20:28 *** Rebootus has joined #gnucash
20:27:34 *** Rebootus has quit IRC
20:28:07 *** Rebootus has joined #gnucash
20:35:10 *** Rebootus has quit IRC
20:35:42 *** Rebootus has joined #gnucash
20:52:49 *** Rebootus has quit IRC
20:53:22 *** Rebootus has joined #gnucash
21:00:28 *** Rebootus has quit IRC
21:01:01 *** Rebootus has joined #gnucash
21:01:10 *** Ard0nik has quit IRC
21:02:18 *** Ard0nik has joined #gnucash
21:15:20 *** Pavel has quit IRC
21:20:48 *** Ardonik has joined #gnucash
21:28:12 *** Ard0nik has quit IRC
21:33:15 *** ErKa has joined #gnucash
21:53:39 *** Rebootus has quit IRC
21:54:10 *** Rebootus has joined #gnucash
22:01:14 *** Rebootus has quit IRC
22:01:50 *** Rebootus has joined #gnucash
22:23:56 *** Rebootus has quit IRC
22:24:28 *** Rebootus has joined #gnucash
22:31:32 *** Rebootus has quit IRC
22:32:05 *** Rebootus has joined #gnucash
22:39:09 *** Rebootus has quit IRC
22:39:42 *** Rebootus has joined #gnucash
22:46:46 *** Rebootus has quit IRC
22:47:19 *** Rebootus has joined #gnucash
22:54:23 *** Rebootus has quit IRC
22:54:55 *** Rebootus has joined #gnucash
23:07:01 *** Rebootus has quit IRC
23:07:38 *** Rebootus has joined #gnucash
23:14:43 *** Rebootus has quit IRC
23:15:15 *** Rebootus has joined #gnucash
23:22:19 *** Rebootus has quit IRC
23:22:50 *** Rebootus has joined #gnucash
23:29:56 *** Rebootus has quit IRC
23:30:29 *** Rebootus has joined #gnucash
23:42:35 *** Rebootus has quit IRC
23:43:08 *** Rebootus has joined #gnucash
23:45:52 *** ErKa has quit IRC
23:55:14 *** Rebootus has quit IRC
23:55:48 *** Rebootus has joined #gnucash
23:57:09 *** fell has joined #gnucash
23:57:10 *** gncbot sets mode: +o fell