2007-09-09 GnuCash IRC logs

00:00:49 *** NTTP has joined #gnucash
00:00:57 <NTTP> Hello!
00:01:15 <NTTP> Just a quick question if anyone is awake....
00:01:26 <dbr> quiet night. But always just ask
00:01:58 <NTTP> I recompiled GnuCash to use OFX and all - and I have the thousand or so XML files and located the one for my bank
00:02:14 <NTTP> Now what? do I import that XML somehow?
00:03:22 <dbr> no. you read the xml file to figure out the ofx server address of the bank and a couple other parameters
00:03:51 <NTTP> I see that - and the interface is a bit cryptic. Some of the fields don't match up.
00:04:05 <dbr> see http://wiki.gnucash.org/wiki/Setting_up_OFXDirectConnect_in_GnuCash_2
00:04:11 <NTTP> Did that.
00:04:20 <NTTP> I guess it's trial and error.
00:04:21 <dbr> but you only need about 3 fields from the xml file
00:04:50 <NTTP> oh? In the screen before that, which one do I use as my login name?
00:05:59 <dbr> if you're in the aqbanking setup wizard, what tab and what's the field label in the dialog?
00:06:33 <dbr> several of the wizard's fields aren't crucial, but must have an entry. Others are explicitly necessary for connection
00:06:38 <NTTP> NM - I see the prob. It's the Ubuntu thing - I need to use that patch at the end of that link you sent.
00:07:01 <NTTP> AK - ok - off to figure this out again.
00:07:05 <NTTP> Thanks!
00:07:08 <dbr> np
00:07:13 *** NTTP has quit IRC
00:11:18 *** lasindi_ has quit IRC
00:15:32 *** lasindi_ has joined #gnucash
00:37:36 *** Jaran has quit IRC
00:46:55 *** dbr has quit IRC
00:49:05 *** lasindi_ has quit IRC
01:07:43 *** lasindi_ has joined #gnucash
01:30:00 *** lasindi_ has quit IRC
01:31:42 *** lasindi_ has joined #gnucash
02:20:29 *** edgy has joined #gnucash
02:51:51 *** edgy has quit IRC
03:47:42 *** Zoolooc_ is now known as Zoolooc
04:10:15 *** Toast has joined #gnucash
04:11:02 <Toast> gnucash-2.2.1-setup.exe
04:12:00 <Toast> Hi, I have just installed GNU cash gnucash-2.2.1-setup on windows 2000, but I get a repeated error box saying Program Error: gconfd-2.exe has generated errors and will be closed by Windows. You will need to restart the progrqam.
04:12:19 <Toast> Does anyone have any ideas how I could fix this?
04:30:04 *** bab__ has quit IRC
04:35:03 *** Demitar has quit IRC
05:10:38 *** ErKa has joined #gnucash
05:22:41 *** Toast has quit IRC
05:58:01 *** Toast has joined #gnucash
06:07:45 <Toast> Alternativly, is 2.1.1 good enough for basic use if I can't get 2.2.1 working?
06:11:54 *** warlord-afk has quit IRC
06:29:06 *** _lasindi has joined #gnucash
06:37:20 *** lasindi_ has quit IRC
07:00:45 *** Toast has quit IRC
07:13:55 *** twunder has joined #gnucash
07:32:26 *** twunder has quit IRC
07:35:19 *** ErKa has quit IRC
07:35:59 *** ErKa has joined #gnucash
07:46:44 *** Jaran has joined #gnucash
08:04:40 *** Rolf has joined #gnucash
08:14:36 *** lasindi_ has joined #gnucash
08:21:38 *** _lasindi has quit IRC
08:27:47 <kcwu> I'm trying to translate gnucash's message into chinese.... I found po/README say some text has form like "sample:<some text>", which will be used to calculate text width.
08:28:36 <kcwu> but I look the code, it seems only N_() and don't call gettext ..
08:45:26 *** lasindi_ has quit IRC
08:49:16 *** lasindi_ has joined #gnucash
09:10:24 *** ErKa has quit IRC
09:35:43 <jsled> kcwu: The N_() and _() macros are calls to gettext
09:36:18 <jsled> kcwu: have you seen <http://wiki.gnucash.org/wiki/Translation>?
09:36:40 <kcwu> N_() is gettext no-op... won't really translate string
09:37:08 <jsled> Also, note that someone recently submitted <http://bugzilla.gnome.org/show_bug.cgi?id=473827>, though it has't been applied.
09:38:22 <kcwu> yeah, I had seen the wiki page, and are contacting the old zh_TW maintainer.
09:38:44 <jsled> Which _N() string are you referring to?
09:39:17 <jsled> Er. N_(), even.
09:39:22 * jsled finds some coffee
09:40:36 <kcwu> the ones begin with "sample:", for example, src/register/ledger-core/split-register-layout.c, line 510
09:41:37 *** Demitar has joined #gnucash
09:44:18 <jsled> Yeah, I cannot find the translation of that string, either.
09:51:32 *** palatin has joined #gnucash
10:00:03 *** IanL has joined #gnucash
10:06:18 <Rolf> jsled: Are you using xsh?
10:06:32 <jsled> no
11:40:13 *** IanL has quit IRC
11:57:57 *** tjanssen has joined #gnucash
12:22:36 *** tjanssen has quit IRC
13:00:44 *** rlaager has joined #gnucash
13:02:10 <rlaager> Does GnuCash have any report that shows the yield (potentially as a line graph as well) of a mutual fund/stock account? Specifically, I'm looking for something that takes into account that I've purchased shares periodically.
13:15:25 *** Demitar has quit IRC
13:19:52 *** Demitar has joined #gnucash
13:22:26 *** pecisk has joined #gnucash
13:31:48 *** cortana has quit IRC
13:43:17 *** warlord has joined #gnucash
13:43:17 *** gncbot sets mode: +o warlord
14:00:00 *** dbr has joined #gnucash
14:01:52 <dbr> looks like libgoffice-0.5 isn't compatible. gnucash configure complains that libgoffice doesn't have a cairo renderer.
14:02:21 <dbr> probably something like they coalesced the header files.
14:30:39 <dbr> more likely: gog-renderer-gnome-print.h replaced by gog-renderer-svg.h
14:31:18 <jsled> hmm. I don't think the -svg would replace -gnome-print, though gnome might be able to print SVGs natively.
14:35:25 <dbr> OK, but the main change in 0.5 is deleting use of gnomeprint
14:44:14 <jsled> for gtkprint, obviously.
14:45:03 <Rolf> jsled: Can you tell me why http://www.validome.org/xml/validate/?lang=en&url=http://svn.gnucash.org/trac/browser/gnucash/trunk/accounts/C/acctchrt_common.gnucash-xea%3fformat=raw does not validate?
14:45:26 <Rolf> Are the accounts in gnucash not valid XML or is the checker at validome.org not up to date?
14:45:35 <Rolf> What do the error messages mean?
14:45:48 <jsled> It's complaining about the lack of namespace declarations, even though the elements are in namespaces.
14:46:05 <Rolf> I have installed xsh but it cannot open acctchrt_skr03.gnucash-xea
14:46:20 <Rolf> so the checker is broken?
14:46:34 <jsled> You might need to do that same thing as with skr04, and add xmlns:whatever="..." decls for all namespaces used in the file.
14:46:44 <jsled> No, the checker is probably correct.
14:46:54 <jsled> GnuCash use of XML doesn't quite follow all the specs to the letter.
14:46:56 <jsled> But, why do you care?
14:47:54 <Rolf> jsled: Because xsh aborts when I try to load the SKR04 file.
14:48:11 <Rolf> Same as with HTML writing in the old days.
14:48:17 <jsled> But why do you care to use xsh (or whatever) to process these files?
14:48:21 <Rolf> First, make sure it is valid HTML.
14:48:35 <Rolf> Then second, make sure it looks the way you want
14:48:38 <rlaager> jsled: What's the point of using something almost-XML if it's not going to validate?
14:48:48 <jsled> Who cares about validation?
14:48:59 <Rolf> jsled: You told me about xsh, remember?
14:49:05 <rlaager> For the "Use system theme colors" checkbox... Are those separately theme-able?
14:49:18 <Rolf> I think it is the tool that comes closest to my "XML-database tool"
14:49:22 <rlaager> jsled: Anyone that wants to actually use the data file in another application.
14:49:24 <Rolf> that I am looking for.
14:49:49 <jsled> Rolf: yes, I did. ISTR that you want to be able to make queries for subnodes, presumably to find thing that meet a condition that would need to be updated?
14:50:16 <jsled> rlaager: But ... that's not a goal for our internal datafiles.
14:50:28 <Rolf> jsled: yes
14:50:51 <Rolf> I want to go through SKR04 and make sure that all tax-related accounts are marked as such.
14:50:57 <jsled> Rolf: Well, the way to get around the set of problems you seem to be having right now is to add XML namespace declarations to the root element.
14:51:12 <Rolf> OK, let me try.
14:51:36 <jsled> rlaager: That's in Edit > Preferences > Register ?
14:51:42 <rlaager> jsled: Yes.
14:52:03 *** _lasindi has joined #gnucash
14:52:05 <jsled> rlaager: http://wiki.gnucash.org/wiki/FAQ#Q:_How_do_I_change_the_register_colors.3F
14:52:39 <jsled> rlaager: I *think* that's still valid.
14:53:15 <rlaager> jsled: Do you think there'd be any point in trying to get upstream default theme authors to include reasonable colors such that distros could set "Use system theme colors" on by default?
14:53:53 <jsled> That's an interesting question. I'm not exactly sure what system-theme colors are being used.
14:54:20 <jsled> But, yeah, I could see a more general call for "alternating row background colors", which is basically what we use.
14:55:31 <jsled> I could also see the GtkTreeView wanting to use such colors.
14:57:26 *** lasindi_ has quit IRC
15:00:49 *** lasindi_ has joined #gnucash
15:01:31 <Rolf> jsled: Does http://oz.leggewie.org/wip/acctchrt_skr04.gnucash-xea look correct to you?
15:01:35 <Rolf> It is my WIP.
15:01:57 <Rolf> I added the line as proposed by you a few days ago (sorry I had forgotten all about it)
15:02:13 <Rolf> The thing is that this file produces the same error as the current SVN one.
15:02:28 <jsled> That's fine. You'll need to add one for every namespace, including the "unnamed" namespace.
15:02:40 <Rolf> Looking at the indentation, I also get the feeling that either there is already a mistake in the first ten lines
15:02:44 <jsled> I can see "slot:" and "cmdty:" right off the bat...
15:02:51 <Rolf> Either just intendation or even real syntax
15:03:05 <jsled> You can probably just cheat and grab all the xmlns decls from the top of your datafile.
15:03:07 * Rolf know close to nothing about XML
15:03:15 <Rolf> This is my first serious encounter with it.
15:03:51 <jsled> for the "unnamed" namespace, just add something like xmlns="urn:gnucash:root"
15:04:26 <Rolf> jsled: I am sorry, but I have no idea what you are talking about.
15:04:49 <rlaager> Rolf: Add that to the root element of the file.
15:05:21 <jsled> like: http://pastebin.ca/688964
15:06:19 *** _lasindi_ has joined #gnucash
15:06:20 *** _lasindi has quit IRC
15:09:40 <Rolf> jsled: Thanks.
15:09:48 <Rolf> I am trying it out right now.
15:09:52 <Rolf> And trying to understand it.
15:09:59 <Rolf> But http://www.gnucash.org/XML/gnc for one does not exist
15:10:42 <jsled> no, none of them do. They don't need to.
15:10:48 <Rolf> jsled: The error is basically still the same.
15:11:14 <jsled> huh. that's surprising.
15:11:23 <Rolf> http://oz.leggewie.org/wip/acctchrt_skr04.gnucash-xea
15:11:42 <Rolf> http://www.validome.org/xml/validate/?lang=en&url=http://oz.leggewie.org/wip/acctchrt_skr04.gnucash-xea
15:11:42 *** lasindi_ has quit IRC
15:14:27 <jsled> Try changing {xmlns="urn:gnucash:root"} to {xmlns="http://www.gnucash.org/XML/"}
15:16:41 * Rolf using nmxl-mode in emacs now
15:16:59 <Rolf> Validation goes a lot faster than the other.
15:17:04 <Rolf> It still takes a moment.
15:17:44 <Rolf> Can I use "indent" to indent an XML file or will that result in garbage?
15:18:02 <Rolf> jsled: Emacs still thinks the file is invalid
15:18:10 *** _lasindi_ has quit IRC
15:18:12 <jsled> I'm not sure if `indent` knows about xml. nxml-mode certainly knows how to indent.
15:18:26 *** _lasindi_ has joined #gnucash
15:18:41 <jsled> `xmllint --format`
15:19:54 <jsled> right. Just add { xmlns:gnc-act="http://www.gnucash.org/XML/gnc-act"}
15:20:24 <jsled> once in nxml-mode, C-c C-n should point that out.
15:21:14 <Rolf> What is the command in emacs again to get help on what a key combination does?
15:21:20 <jsled> C-h k
15:21:27 <Rolf> thanks.
15:23:53 *** lasindi_ has joined #gnucash
15:25:53 <Rolf> jsled: It is valid now!
15:25:58 <Rolf> At least emacs thinks it is.
15:26:02 <Rolf> Thanks a lot
15:27:08 *** sjc has joined #gnucash
15:28:55 *** _lasindi_ has quit IRC
15:30:42 <Rolf> jsled: validome.org still thinks it is invalid.
15:30:48 <Rolf> But emacs disagrees as I said.
15:31:01 <Rolf> The error on validome.org is also still the same.
15:32:45 *** _lasindi has joined #gnucash
15:37:22 *** sjc has quit IRC
15:38:08 *** lasindi_ has quit IRC
15:43:59 *** _lasindi has quit IRC
16:11:42 *** rlaager has quit IRC
16:39:59 *** palatin has quit IRC
16:41:50 *** Toast has joined #gnucash
16:44:48 <Toast> Hi, Following the instructions on the web page, I'm trying to play a .log file into a gnucash file. I've opened the file, then imported the log, but nothing happens. I'm running 2.1.1. Could anyone help please?
16:50:02 <warlord> Toast: what were you expecting to happen? Open up the register and you should see the replayed transactions.
16:53:04 *** warlord is now known as warlord-afk
16:57:38 <Toast> Hi, I was expecting to see the new accounts that I added -reappear-, etc. Instead, nothing happerns. Have I missunderstood the recover feature?
17:02:28 *** nwf has joined #gnucash
17:03:15 <nwf> Hey all... running 2.0.5 on Debian amd64 and getting "can't parse the URL" at startup. I never stored my data in ~/.gnucash, so the answers from the mailinglist seem unhelpful.
17:03:18 <nwf> Suggestions?
17:10:36 *** ErKa has joined #gnucash
17:11:14 *** Toast has quit IRC
17:23:15 <jsled> nwf: where'd you come by the datafile? What is its path? C.f. <http://wiki.gnucash.org/wiki/FAQ#Q:_Something_bad_happened.3B_how_can_I_help_debug.3F>, is anything printed to the terminal when you reproduce the error?
17:24:49 *** ErKa has quit IRC
17:25:59 <nwf> The file is my own personal finance data for the past four years; it's in /home/nwf/lib/fincance/Finances.gnumeric.
17:26:15 <nwf> Printed to the console is "/home/nwf/lib/finance/Finances.gnumeric:2: element Workbook: Schemas validity error : Element '{http://www.gnumeric.org/v10.dtd}Workbook': No matching global declaration available for the validation root.
17:26:38 <nwf> three times. /tmp/gnucash.trace shows nothing interesting; it ends loading stylesheets.
17:26:39 <jsled> Ah. That's a Gnumeric (spreadsheet) file.
17:27:10 <nwf> ... wow, I feel dumb.
17:27:11 <nwf> Thanks. =)
17:27:23 <jsled> np. it happens.
17:27:42 <nwf> Clearly not enough sleep. Apologies for the noise.
17:27:51 *** nwf has left #gnucash
17:55:21 *** tjanssen has joined #gnucash
18:00:28 *** twunder has joined #gnucash
18:06:57 *** pecisk has quit IRC
18:23:53 *** warlord-afk is now known as warlord
18:24:49 <warlord> @tell toast yes, you misunderstood the feature. Its a TRANSACTION log. It will only replay changes to transactions. It does not capture new accounts, changes to accounts, or indeed anything other than transactions.
18:24:49 <gncbot> warlord: The operation succeeded.
18:43:44 *** cortana has joined #gnucash
18:58:05 *** Geot has quit IRC
19:34:27 *** twunder has quit IRC
21:06:49 *** twunder has joined #gnucash
21:51:51 *** twunder has quit IRC
22:08:45 *** tjanssen has quit IRC
22:12:30 *** Zoolooc_ has joined #gnucash
22:21:43 *** Zoolooc has quit IRC
23:14:50 *** vern has joined #gnucash
23:18:18 <vern> My bank offers both QIF and OFX files. What are the advantages/disadvantages of these and which is better supported in gnucash?
23:28:20 *** casey has quit IRC
23:28:23 *** casey has joined #gnucash