2007-11-08 GnuCash IRC logs

00:47:14 <andrewsw> dbreiser: what version of gcc in that paste?
00:47:30 <dbreiser> 4.0.1
00:48:28 <dbreiser> but it's a slightly different 4.0.1 than Apple released with the last Xcode Tools
00:48:42 <andrewsw> oh. nm. I'm at 4.2.1 which kicks a ton of warnings as errors... have to disable that or you get nowhere.
00:49:13 <dbreiser> ok. I'm thinking I'll do that for early triage, and get this guy going
00:50:44 <andrewsw> I think its not that big a deal.
01:22:19 *** basanta has joined #gnucash
01:22:36 *** dbreiser has quit IRC
01:23:44 *** basanta has quit IRC
01:42:55 *** Jaran|zzZZzz has quit IRC
02:10:35 *** Zoolooc has quit IRC
03:32:44 *** wizkid238 has quit IRC
03:40:02 *** ErKa has joined #gnucash
04:19:16 *** basanta has joined #gnucash
04:27:24 *** natacha29 has joined #gnucash
04:48:47 *** wizkid238 has joined #gnucash
04:50:02 *** basanta has quit IRC
04:53:37 *** basanta has joined #gnucash
05:22:28 *** cortilap has joined #gnucash
06:07:15 *** camgirl29 has joined #gnucash
06:09:30 *** camgirl29 has quit IRC
06:20:51 *** natacha29 has joined #gnucash
06:41:08 *** ErKa has quit IRC
06:48:28 *** IanL has joined #gnucash
07:45:29 *** twunder has joined #gnucash
07:49:23 *** basanta has quit IRC
08:10:38 *** warlord-afk is now known as warlord
08:30:29 *** ErKa has joined #gnucash
08:59:38 *** ceplma has joined #gnucash
09:52:16 *** warlord is now known as warlord-afk
10:26:05 *** wizkid239 has joined #gnucash
10:31:16 *** wizkid238 has quit IRC
10:31:39 *** nomeata has joined #gnucash
10:31:44 *** pdc_ has joined #gnucash
10:33:39 *** ceplma has quit IRC
10:34:57 *** pdc has quit IRC
10:41:47 *** IanL has left #gnucash
10:49:14 *** ceplma has joined #gnucash
10:59:14 *** nomeata has quit IRC
11:18:59 *** donfede has joined #gnucash
11:24:27 *** tjanssen has joined #gnucash
11:26:22 *** warlord-afk is now known as warlord
12:08:05 *** ceplma has quit IRC
12:10:04 *** tjanssen has quit IRC
12:10:22 *** ErKa has quit IRC
12:22:38 *** ceplma has joined #gnucash
12:32:39 *** liona29 has joined #gnucash
12:33:56 *** liona29 has quit IRC
12:37:56 *** ErKa has joined #gnucash
12:38:21 *** ceplma has quit IRC
13:13:09 *** Zoolooc has joined #gnucash
13:13:55 *** Jaule has joined #gnucash
13:14:41 <Jaule> Hi all, has anyone tried building gnucash using macports on Leopard?
13:15:02 <warlord> I think someone tried once.. I dont think they've worked out all the kinks, yet.
13:15:41 <Jaule> Yeah, I got atk to build, but now aqbanking returns errors upon building.
13:15:58 <Jaule> Thanks.
13:18:32 <warlord> Are you using fink or macports?
13:23:03 <Jaule> macports
13:28:08 <warlord> ahh. apparently thyere are issues there.
13:34:25 <Jaule> yeah, I may have found a solution though; from the bug reports for aqbanking
13:36:41 *** andrewsw has quit IRC
13:40:09 *** andrewsw has joined #gnucash
13:41:55 *** ErKa has quit IRC
13:44:38 <warlord> ok
13:46:59 *** cortilap has quit IRC
13:47:46 *** bkaney has joined #gnucash
13:49:57 <bkaney> Anyone know if you can modify the format of an invoice beyond the style options in the drop-down (i.e. change the layout)?
13:54:52 *** tim_abell has joined #gnucash
13:54:56 *** Jaule has left #gnucash
13:55:40 *** tim_abell has quit IRC
13:56:12 <andrewsw> bkaney: how do you mean?
13:56:47 <bkaney> For instance, we would like to shift around the address so it fits in our envelop window. And other cosmetic changes.
13:57:00 <bkaney> Shifting existing stuff around.
14:00:35 <andrewsw> I think that part has to be done in the actual invoice code.
14:00:49 <andrewsw> it looks like the style sheet editor doesn't do it.
14:01:27 <jsled> Yeah, you'd have to do it at the HTML, and you're limited by what HTML is capable of ... and more over, HTML without any reasonable CSS, let alone the print-specific CSS. :(
14:02:43 <bkaney> Oh. I wasn't aware HTML templates were driving the output. I'll look around and hack something together.
14:03:29 <bkaney> I saw some perl script that used latex templates (or something) to get at the raw XML, but didn't want to get that involved.
14:03:32 <jsled> They're not templates; the reports inline-generate the HTML (though there are some lisp helper macros)
14:03:34 <andrewsw> its not html templates. Its scheme code producing html output.
14:03:44 <jsled> s,macros,functions,
14:04:36 <andrewsw> probably the easiest thing to do is create you're own CSS, export the invoice, load it into a web browser and select your custom CSS to view it in (firefox lets you do this) and then print that.
14:04:45 <andrewsw> s/you're/your
14:08:33 <andrewsw> nm. that won't work as there's nothing to grab onto. Its all <td> and <tr>, no identifiers of any kind.
14:09:13 <andrewsw> jsled: would it make sense (and is it possible) to put some simple <div> tags into those invoices as a simple hack for this purpose?
14:09:39 <andrewsw> you could wrap <div id="address"> around the address part etc so that a simple CSS could be applied in a browser later.
14:09:58 <jsled> IIRC, gtkhtml doesn't emit what we give it, but a re-constructed "dom" of the parse tree; tags it doesn't know about are thus stripped.
14:10:05 <jsled> I could be wrong.
14:10:25 <jsled> you could probably test that pretty easily. :)
14:10:35 * andrewsw is googling
14:11:29 <andrewsw> man, the FSF gives gtkhtml only a 2 star rating...
14:12:27 <jsled> The FSF rates software?
14:12:51 <andrewsw> well, its a user rating... http://directory.fsf.org/project/gtkhtml/
14:13:33 <warlord> GtkHTML kinda sucks.
14:13:58 <andrewsw> apparently. it only gets 2 *'s! I'm eating somewhere else...
14:14:55 <bkaney> Or you could use the actual HTML tag: <address>
14:16:59 <jsled> That's a good point. :)
14:17:40 <bkaney> I think at a minimum, putting IDs in the tables should actually do the trick. <table id="recipient_address"> ...
14:28:48 <bkaney> In the meantime, I'll look more into this: http://stefans.datenbruch.de/gnucash/gc2latex.shtml
14:34:09 *** gncbot` has joined #gnucash
14:34:40 *** twunder-konv has joined #gnucash
14:36:32 *** pdc_ has quit IRC
14:36:32 *** chris has quit IRC
14:36:32 *** mjoseph has quit IRC
14:36:32 *** bkaney has quit IRC
14:36:32 *** benoitg has quit IRC
14:36:32 *** jsled has quit IRC
14:36:32 *** Demitar has quit IRC
14:36:32 *** rogo has quit IRC
14:36:32 *** joerlend has quit IRC
14:36:32 *** Rol1 has quit IRC
14:36:32 *** Def has quit IRC
14:36:32 *** cj has quit IRC
14:36:32 *** paulproteus has quit IRC
14:36:32 *** andrewsw has quit IRC
14:36:32 *** wizkid239 has quit IRC
14:36:32 *** twunder has quit IRC
14:36:32 *** gncbot has quit IRC
14:36:32 *** mort has quit IRC
14:36:32 *** Gokee2 has quit IRC
14:36:32 *** mishehu has quit IRC
14:37:42 <warlord> @nick gncbot
14:37:43 *** gncbot` is now known as gncbot
14:37:47 *** warlord sets mode: +o gncbot
14:38:09 *** chris has joined #gnucash
14:38:09 *** pdc_ has joined #gnucash
14:38:09 *** mjoseph has joined #gnucash
14:38:09 *** irc.gimp.ca sets mode: +o chris
14:38:09 *** gncbot sets mode: +o chris
14:43:35 *** Gokee2 has joined #gnucash
14:44:26 *** wizkid238 has joined #gnucash
14:48:55 *** andrewsw has joined #gnucash
14:53:42 <andrewsw> did we get split? where'd everybody go?
14:54:17 <warlord> Yeah, there's a net split.
14:54:40 <andrewsw> hmm.. never seen that before. I'm such a n00b.
14:56:11 <warlord> It happens periodically.
15:14:50 <andrewsw> well, I thought it would be easy, but apparently gtkhtml doesn't take tags it doesn't know about. or gnc doesn't send it tags it doesn't know about.
15:16:04 <warlord> More likely the former.
15:20:09 <andrewsw> @tell bkaney look in easy-invoice.scm at (make-myname-table). you can tweak the cellpadding there. might help.
15:20:09 <gncbot> andrewsw: The operation succeeded.
15:21:37 *** cj has joined #gnucash
15:21:37 *** Def has joined #gnucash
15:21:37 *** paulproteus has joined #gnucash
15:21:37 *** Rol1 has joined #gnucash
15:21:37 *** joerlend has joined #gnucash
15:21:37 *** rogo has joined #gnucash
15:21:37 *** Demitar has joined #gnucash
15:21:37 *** jsled has joined #gnucash
15:21:37 *** benoitg has joined #gnucash
15:21:37 *** bkaney has joined #gnucash
15:22:08 *** mort has joined #gnucash
15:27:49 <bkaney> andrewsw: back from meeting
15:27:49 <gncbot> bkaney: Sent 7 minutes ago: <andrewsw> look in easy-invoice.scm at (make-myname-table). you can tweak the cellpadding there. might help.
15:32:10 <andrewsw> hey bkaney. that assumes you're using the easy-invoice. other invoices should have similar structure.
15:32:42 <andrewsw> I tried sending id's and the <address> tag through the report, but it didn't come out the other side.
15:33:26 <andrewsw> so futzing with the cellpadding or the other attributes that are already in the report is the way to go.
15:33:52 <bkaney> Ah, thanks for trying, maybe it will let process a class=""?
15:34:42 <andrewsw> its worth a shot, but I doubt it. the attributes and tags that are in the report are definitely being processed somewhere.
15:35:32 <andrewsw> for example color="red" becomes color="#ff0000" in the output, so I don't think anything will get through without being
15:35:38 <andrewsw> messed with in some fashion.
15:36:30 <bkaney> shouldn't the file be in /usr/share/gnucash/scm ?
15:37:30 <andrewsw> /usr/share/gnucash/guile-modules/gnucash/report
15:37:35 <andrewsw> on debian.
15:38:30 <bkaney> thanks, same on gentoo :)
15:40:31 <andrewsw> nope. class attr don't survive either.
15:41:09 <andrewsw> but align, valign, cellspacing and cellpadding do. so, you'll have to work with those.
15:41:15 <bkaney> so this scheme file gets processed by something that outputs HTML. The output gets rendered (in gnucash) by gtkhtml. Is that the basic idea?
15:42:00 <andrewsw> close enough.
15:42:44 <bkaney> Okay. I'll try playing with these attributes. thanks!
15:43:19 <bkaney> Should I throw up an enhancement ticket?
15:44:20 <andrewsw> I don't think so. The whole report system is due for overhaul, as I understand it. But if you find a way to get raw html
15:44:41 <andrewsw> from the report all the way through gtkhtml, then that would be worthy of a patch so that this kind of thing was
15:44:46 <andrewsw> easier in the interim.
16:16:39 *** motin_0 has joined #gnucash
16:24:40 *** ErKa has joined #gnucash
16:30:51 *** mishehu has joined #gnucash
16:54:27 *** puck has quit IRC
16:54:57 *** sjc has quit IRC
17:02:55 *** sjc has joined #gnucash
17:04:18 *** puck has joined #gnucash
17:09:04 *** twunder-konv has quit IRC
17:11:12 <andrewsw> what would have replaced gnc:split-get-share-price? xaccSplitGetSharePrice or gnc-split-get-share-price?
17:12:21 <andrewsw> whoops. nm.,
17:12:30 * andrewsw hits head with grep manual
18:50:08 *** cortana has joined #gnucash
18:57:41 *** donfede has quit IRC
19:07:51 *** warlord is now known as warlord-afk
19:08:45 <jsled> @op
19:08:45 <gncbot> jsled: Error: You don't have the #gnucash,op capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified.
19:10:03 <jsled> @op
19:10:03 *** gncbot sets mode: +o jsled
19:16:22 *** bkaney has left #gnucash
19:47:53 <andrewsw> xaccSplitGetAmount returns an amount (number of units) for a split line that has no units...
19:48:47 <andrewsw> this is in a stock sale with a capital gain or loss recorded.
19:49:13 <andrewsw> there is a split that just has a value, but no shares or price to offset the recording of gain/loss.
19:49:42 *** ErKa has quit IRC
19:52:31 <andrewsw> this doesn'
19:52:35 <andrewsw> t seem right to me.
19:53:31 <andrewsw> or at least doesn't do what I expect.
20:00:30 <andrewsw> xaccSplitGetAmount returns split ? split->amount : gnc_numeric_zero()
20:00:55 *** sjc has quit IRC
20:02:30 <andrewsw> ah. light shines. it does what its supposed to but gets called twice for each txn because of the two split lines in the same account...
20:29:42 *** rog1 has joined #gnucash
20:30:12 *** motin_0 has quit IRC
20:39:16 *** cortana has quit IRC
20:49:31 *** tjanssen has joined #gnucash
21:22:39 *** tjanssen has quit IRC
21:34:52 *** mallow has joined #gnucash
21:35:14 <mallow> Should I want to migrate from gnucash to quicken is it possible?
21:36:02 <jsled> Check out `gnucash to qif`, which will convert your basic gnucash transaction data to QIF format.
21:36:22 <jsled> I don't believe it handles the business objects, scheduled transactions, budgets or reports.
21:36:59 <mallow> scheduled transactions is alright, reports can be pdfed... what are biusness objects?
21:37:02 <mallow> briefly
21:37:42 <jsled> business objects ... vendors, customers, jobs, invoices, ...
21:39:53 <mallow> hmmm, I don't think I'll use that for my personal finances. Thank you very much, jsled :)
21:40:11 <jsled> you're welcome.
21:40:27 *** mallow has left #gnucash
21:52:20 *** [0x100] has joined #gnucash
22:23:38 *** warlord-afk is now known as warlord
22:49:37 *** nbinont-afk has joined #gnucash
22:50:48 *** Zoolooc has quit IRC
22:59:16 *** Zoolooc has joined #gnucash
23:28:06 *** dbreiser has joined #gnucash
23:28:11 *** warlord is now known as warlord-afk
23:39:40 *** dbreiser has quit IRC