2014-12-18 GnuCash IRC logs

00:02:58 *** uXus has joined #gnucash
00:04:46 *** gour has joined #gnucash
00:09:21 *** edgy has left #gnucash
00:51:41 *** Krzysiek_K has quit IRC
01:43:08 *** gjanssens has joined #gnucash
01:43:09 *** gncbot sets mode: +o gjanssens
02:42:15 *** cartsoftware has quit IRC
02:43:14 *** cartsoftware has joined #gnucash
02:45:40 *** mlncn has quit IRC
03:08:02 *** frank1 has joined #gnucash
03:20:04 *** frank1 has quit IRC
03:51:09 *** Jimraehl1 has left #gnucash
04:01:28 *** Jimraehl1 has joined #gnucash
04:06:41 *** harry1989 has joined #gnucash
05:02:48 *** mlncn has joined #gnucash
05:19:00 *** gour1 has joined #gnucash
05:24:09 *** gour has quit IRC
05:53:00 *** harry1989 has quit IRC
05:58:29 *** harry1989 has joined #gnucash
06:19:40 *** harry1989 has quit IRC
06:28:31 *** ErKa has joined #gnucash
06:30:00 *** harry1989 has joined #gnucash
06:31:07 *** Krzysiek_K has joined #gnucash
06:41:10 *** lmat has joined #gnucash
06:44:14 *** ErKa has quit IRC
07:21:41 *** mlncn has quit IRC
07:22:57 *** mlncn has joined #gnucash
07:32:29 *** O01eg has joined #gnucash
07:35:07 *** mlncn has quit IRC
07:48:11 *** mlncn has joined #gnucash
08:16:35 *** gour1 is now known as gour
08:16:52 *** jralls has quit IRC
08:17:24 *** jralls has joined #gnucash
08:17:25 *** gncbot sets mode: +o jralls
08:25:26 <jralls> gjanssens: You probably saw that the release build in gnucash-2.6.5-failed-paths completed after I fixed fix_lt_file() yesterday. I'm running dist.sh on it now, so we'll have a release build ready in a few minutes. Everything else is staged.
08:26:28 <jralls> gjanssens: So what do you want to do about your patch for Bug 741418?
08:27:49 <gjanssens> jralls: good the build worked
08:28:26 <jralls> Except that I'm still baffled about what went wrong with gcc yesterday in the other build.
08:28:40 <gjanssens> Re the patch, I actually would like to have it included because it fixes a newly introduced bug between 2.6.4 and 2.6.5
08:29:01 <gjanssens> Not including it will very likely cause other people to trip over it as well
08:29:22 <gjanssens> Hmm that's between 2.6.3 and 2.6.4
08:29:35 <gjanssens> The lot link cleanups happened for 2.6.4
08:29:37 <jralls> OK, can you commit it to maint now and I'll re-tag?
08:31:23 <gjanssens> I thought I had pushed it yesterday already but I see now I didn't
08:31:30 <gjanssens> It's synching now
08:31:57 <gjanssens> Done
08:44:08 *** rickoehn has joined #gnucash
08:44:32 <jralls> Thanks. Tagged, and build_tags fired off on the VM. I'll respin the tarballs and the rest while that runs. Maybe it will finish before I go to bed tonight. :-/
08:50:36 * warlord is banging his head against swig
08:50:47 <warlord> (not gnucash related)
08:50:58 <warlord> anyone played with swig, c, and java?
08:51:06 <jralls> What are you trying to get it to do?
08:51:24 <jralls> Oh. Java. No.
08:52:59 <warlord> I'm trying to take some C functions and make them java class methods. My first attempt at this was using %extend ... which worked, except I'm not sure how to tell swig that the API can throw a java exception. The other issue is that I'm trying to figure out how to get an %extend'ed method to "return a byte[] array".. I'm not sure how to properly typemap that.
08:55:46 <gjanssens> jralls: I see you created a 2.6.5a tag. What's the rationale behind that ?
08:57:10 <jralls> You mean instead of removing and re-creating the 2.6.5 one? So that everyone who's pulled in the last two days doesn't get their repos screwed up.
08:58:44 <gjanssens> Ok, that's a good reason
08:59:08 <gjanssens> I'm wondering if the tag build system on Windows can deal with it
08:59:26 <gjanssens> I did some work in that area some time ago so this will be the qa test
09:01:10 <gjanssens> warlord: unfortunately I don't have a clue on java and swig :(
09:01:32 *** MechtiIde has joined #gnucash
09:06:47 <jralls> gjanssens: It's dealing. It made a gnucash-2.6.5a directory and is happily building in it. I just hope that it makes the name of the setup.exe from configure and not from the tag.
09:07:27 <jralls> Though I guess I can fix that up by hand if necessary.
09:08:13 <jralls> warlord: Maybe you could email Ngewi. He at least knows Java.
09:09:38 <warlord> I think I *MIGHT* have figured it out.. at least the byte[] part.. not necessarily the throw() part.
09:11:50 <jralls> warlord: Exception handling is going to be just like wrapping C++ in C: It has to happen on the Java side and you'll have to arrange some other signaling on the C side.
09:16:12 <warlord> jralls: right, it's more a question of how do I tell swig that when I add a method to a class via %extend that said class can throw an exception?
09:16:32 <warlord> (I think I solved my byte[] return issue)
09:17:21 *** mlncn has quit IRC
09:17:54 *** mlncn has joined #gnucash
09:19:10 <jralls> warlord: www.swig.org/Doc1.1/HTML/Exceptions.html
09:19:55 <jralls> Hmm. That didn't paste very well. http://www.swig.org/Doc1.1/HTML/Exceptions.html
09:21:15 <jralls> But are you trying to wrap Java for a C program or the other way around?
09:26:38 *** rickoehn has quit IRC
09:27:10 *** rickoehn has joined #gnucash
09:28:13 *** gour1 has joined #gnucash
09:30:38 *** ErKa has joined #gnucash
09:36:04 *** gour has quit IRC
09:43:17 *** gjanssens is now known as gjanssens_
09:43:53 <warlord> Wrap C for a Java program.
09:44:19 *** lmat has quit IRC
09:44:54 <warlord> I have a C api that looks like: int foo(inarg1, inarg2, outarg); I want java to see that as: outarg foo(inarg1, inarg2) throws ....
09:49:11 <warlord> I should correct that. I have a C function: int obj_foo(...) and want Java to see that as Obj.foo(...) ... (instance method)
09:49:40 <warlord> I'm using %extend to add the instance method that just calls the C API, but I'm not sure how to tell it that it can throw.
09:50:34 <warlord> I suppose I could make a %javaexception entry for each API...
09:50:41 <jralls> Did you look at the Exceptions.html? It looks to me like what you want.
09:51:31 <jralls> New topic: The upload of docs to www.gnucash.org from git looks from my end like it's hung. Does code have an open task?
09:55:06 <warlord> I didn't realize we did an upload of docs to www. There's the htdocs push, but I thought the 'docs' was manual. Unless I'm forgetting something (which is quite possible)
10:02:28 <jralls> I think you're forgetting. Just as with the rest of the website, we have a git repo, gnucash-htdocs-docs, that contains the current versions of the built documentation. Pushes to that repo trigger an upload to www.gnucash.org.
10:03:39 <jralls> It's usually slow, but I started it yesterday morning, and from here it looks like it's still running.
10:06:11 <warlord> Aha, solved the exception piece, I think.. At least I think I got something that looks like it'll work.
10:06:55 <warlord> Ah, right, it's not that the docs get built-and-pushed; it's a manual "build and push" from git that pushes to www. Let me check.
10:07:38 <warlord> I don't see any git processes running.
10:09:10 <jralls> OK, I'll kill it.
10:10:07 <jralls> Looks like the website has the latest changes.
10:10:20 <warlord> Weird.
10:10:34 <warlord> (well, glad it pushed, but weird that your push didn't "complete")
10:11:21 <jralls> The VM might have gone to sleep and missed the return packets.
10:12:43 <warlord> That could do it.
10:17:31 *** mlncn has quit IRC
10:24:48 *** rickoehn has quit IRC
10:25:20 *** rickoehn has joined #gnucash
10:27:33 *** mlncn has joined #gnucash
10:37:21 *** rickoehn has quit IRC
10:37:53 *** rickoehn has joined #gnucash
10:44:55 *** rickoehn has quit IRC
10:45:27 *** rickoehn has joined #gnucash
10:52:30 *** rickoehn has quit IRC
10:53:02 *** rickoehn has joined #gnucash
11:00:04 *** rickoehn has quit IRC
11:00:36 *** rickoehn has joined #gnucash
11:02:22 *** mlncn-agaric has joined #gnucash
11:08:54 *** jralls has quit IRC
11:09:02 *** benjamin-agaric has joined #gnucash
11:09:47 *** jralls has joined #gnucash
11:09:48 *** gncbot sets mode: +o jralls
11:10:57 *** mlncn has quit IRC
11:13:31 *** ErKa has quit IRC
11:14:28 *** mlncn-agaric has quit IRC
11:22:16 *** ubergoober has joined #gnucash
11:23:56 *** jralls has quit IRC
11:24:28 *** jralls has joined #gnucash
11:24:28 *** gncbot sets mode: +o jralls
11:33:01 *** rickoehn has quit IRC
11:33:16 *** jch has joined #gnucash
11:33:23 *** jch is now known as jchonig
11:33:33 *** rickoehn has joined #gnucash
11:34:13 <jchonig> Hello. I'm using 2.6.1
11:34:38 <jchonig> Hello. I'm using 2.6.1 on Ubuntu 12.04 using MySQL backend. Can I use python scripts on my MySQL database?
11:38:03 *** Krzysiek_K has left #gnucash
11:39:16 <jralls> jchonig: You mean can you use SQL queries wrapped in Python? Sure, as long as you don't update or insert. Don't write to the DB except via the GnuCash API.
11:39:45 <warlord> jchonig: also, beware -- there are known SQL data issues in 2.6.1
11:40:48 <jchonig> jrails I mean using the python API calls to manipulate my accounts as documented on the TWiki
11:41:27 <warlord> jchonig: only if you use the Python GnuCash API.
11:42:13 <jchonig> warlord in the API examples it's necessary to specify a filename, what would be specified when using MySQL?
11:42:45 <warlord> the DB URI
11:43:07 *** aktrapper has quit IRC
11:44:11 <jchonig> warlord I'm using default Ubuntu repo, need to go look for a more up-to date repo. And I'm using 14.04 not 12.04
11:50:45 *** rickoehn has quit IRC
11:51:17 *** rickoehn has joined #gnucash
11:51:24 *** gour1 has quit IRC
11:54:13 <warlord> jchonig: try getdeb?
11:54:18 <warlord> 2.6.4 is current
11:54:39 <jchonig> warlord updating my puppet configs to include getdeb at the moment...
11:55:01 <jralls> But 2.6.5 is imminent.
11:55:30 <jralls> No SQL or Python changes in 2.6.5, though.
12:08:24 *** rickoehn has quit IRC
12:08:57 *** rickoehn has joined #gnucash
12:15:57 *** rickoehn has quit IRC
12:16:30 *** rickoehn has joined #gnucash
12:16:39 <jchonig> OK, running 2.6.4 now, thanks for the headsup. Will play with python bindings over the holidays
12:21:01 <jralls> jchonig: Have fun!
12:23:24 *** MechtiIde has quit IRC
12:27:20 <jchonig> jrails I'll share the fun by asking a bunch of beginner python-gnucash questions.... ;-)
12:31:57 <jralls> jchonig: Ask on the user list; I don't think anyone regularly here uses the Python bindings much.
12:32:06 <jchonig> jrails Good advice thanks.
12:33:40 *** rickoehn has quit IRC
12:33:50 *** rickoehn has joined #gnucash
12:35:52 *** rickoehn has quit IRC
12:35:59 *** rickoehn has joined #gnucash
12:43:49 *** rickoehn has quit IRC
12:44:21 *** rickoehn has joined #gnucash
12:51:22 *** rickoehn has quit IRC
12:51:54 *** rickoehn has joined #gnucash
12:58:55 *** rickoehn has quit IRC
12:59:28 *** rickoehn has joined #gnucash
13:06:29 *** rickoehn has quit IRC
13:07:01 *** rickoehn has joined #gnucash
13:10:07 *** wol has joined #gnucash
13:19:05 *** rickoehn has quit IRC
13:19:37 *** rickoehn has joined #gnucash
13:26:39 *** rickoehn has quit IRC
13:27:11 *** rickoehn has joined #gnucash
13:32:33 *** jethrogb has quit IRC
13:40:48 *** ErKa has joined #gnucash
13:41:58 *** jethrogb has joined #gnucash
13:42:25 *** rubdos has joined #gnucash
13:43:57 *** harry1989 has quit IRC
13:43:57 *** harry1989 has joined #gnucash
13:49:20 *** rickoehn has quit IRC
13:49:53 *** rickoehn has joined #gnucash
13:51:48 *** rubdos has quit IRC
14:01:55 *** rickoehn has quit IRC
14:02:16 *** aqua___ has joined #gnucash
14:02:28 *** rickoehn has joined #gnucash
14:09:29 *** rickoehn has quit IRC
14:10:01 *** rickoehn has joined #gnucash
14:11:28 *** wol has quit IRC
14:17:17 *** gjanssens_ has quit IRC
14:25:38 *** daum has joined #gnucash
14:25:59 <daum> hi guys - how do i run a report which shows me what each customer has paid (or will pay via recievable) for a given time period?
14:26:00 <gncbot> daum: Sent 33 weeks, 0 days, 4 hours, and 25 minutes ago: <gjanssens> To answer your question about modifying the filename when exporting a report to pdf: http://lists.gnucash.org/logs/2014/05/2014-05-01.html#T10:31:38
14:32:03 *** rickoehn has quit IRC
14:35:35 *** benjamin-agaric has quit IRC
14:37:14 *** aqua___ has quit IRC
14:37:40 *** ErKa has quit IRC
14:42:14 *** andy has quit IRC
14:50:13 *** andy has joined #gnucash
15:15:36 *** linas has quit IRC
15:25:00 *** linas has joined #gnucash
15:26:10 *** jimvideo has joined #gnucash
16:33:53 *** benjamin-agaric has joined #gnucash
16:47:34 <warlord> daum: there is the aging report, but it only shows you outstanding debts, not totals paid.
16:47:52 <warlord> For totals paid your best bet would be a transaction report on the A/R account sorted by description.
16:56:54 *** Gbarr1 has joined #gnucash
17:04:15 *** Gbarr has quit IRC
17:20:24 *** jralls has quit IRC
17:35:55 *** ErKa has joined #gnucash
18:24:34 *** ErKa has quit IRC
18:42:24 *** ubergoober has joined #gnucash
18:46:21 *** ubergoober has quit IRC
18:47:16 *** benjamin-agaric has quit IRC
18:50:47 *** ErKa has joined #gnucash
19:09:12 *** jralls has joined #gnucash
19:09:13 *** gncbot sets mode: +o jralls
19:14:49 *** jethrogb has quit IRC
19:23:00 *** jethrogb has joined #gnucash
19:32:36 *** HerrK has joined #gnucash
19:39:55 *** ErKa has quit IRC
19:46:28 *** HerrK has quit IRC
19:55:53 *** jralls has quit IRC
19:56:31 *** jralls has joined #gnucash
19:56:32 *** gncbot sets mode: +o jralls
20:17:19 *** jralls has quit IRC
21:18:12 *** jralls has joined #gnucash
21:18:13 *** gncbot sets mode: +o jralls
21:41:28 *** jralls has quit IRC
21:41:50 *** jralls has joined #gnucash
21:41:50 *** gncbot sets mode: +o jralls
22:10:17 *** jralls has quit IRC
22:14:54 *** MechtiIde has joined #gnucash
22:22:09 *** O01eg has quit IRC
22:29:27 *** jimvideo has quit IRC
22:47:37 *** MechtiIde has quit IRC
23:59:20 *** jralls has joined #gnucash
23:59:21 *** gncbot sets mode: +o jralls