2007-01-07 GnuCash IRC logs

00:15:40 *** warlord is now known as warlord-afk
00:48:53 *** pkscwc has joined #gnucash
00:49:59 <pkscwc> Help. After upgrading to Gnucash-2.0.4, I have lost "Reports" functionality.
00:50:10 <pkscwc> The backtrace says:
00:50:23 <pkscwc> Backtrace:
00:50:24 <pkscwc> In current input:
00:50:25 <pkscwc> 1: {0}* [gnc:report-menu-setup]
00:50:27 <pkscwc> ?: 1 (letrec (# # # ...) (gnc:add-extension income-expense-menu) ...)
00:50:29 <pkscwc> In /usr/local/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
00:50:30 <pkscwc> 118: 2* [gnc:hook-run-danglers "hook_report"]
00:50:32 <pkscwc> In /usr/local/share/gnucash/scm/hooks.scm:
00:50:33 <pkscwc> 49: 3* [gnc:debug "Running functions on hook " ...
00:50:35 <pkscwc> 49: 4* [gnc:hook-name-get "hook_report"]
00:50:36 <pkscwc> 74: 5 [vector-ref "hook_report" {0}]
00:50:38 <pkscwc> /usr/local/share/gnucash/scm/hooks.scm:74:3: In procedure vector-ref in expression (vector-ref hook 0):
00:50:39 <pkscwc> /usr/local/share/gnucash/scm/hooks.scm:74:3: Wrong type argument in position 2: 0
00:50:49 <pkscwc> And after that Gnucash shuts down and I am left staring at my Konsole.
00:51:08 <pkscwc> I have compiled from sources/binaries on Slackware 11.0.
00:51:32 *** wizkid238_ has joined #gnucash
00:53:59 <pkscwc> HI everybody.
00:54:23 <pkscwc> Can you help me!
00:55:25 <andi5> from what version did you upgrade?
00:56:06 <pkscwc> Hi Andi
00:56:32 <andi5> hi... please see the topic and use pastebin the next time :)
00:57:31 <pkscwc> I have mandriva 2005 earlier in functional order. I upgraded it to Mandriva 2007 and lost my other important application GRASS GIS package.
00:57:54 <pkscwc> Then, I tried Slackware 11.0.
00:57:58 <andi5> but which gnucash version did you use before?
00:58:07 <pkscwc> It hadn't Gnome support.
00:58:18 <andi5> and where did you install both packages to? /usr/local, i.e. no --prefix?
00:59:38 <pkscwc> I think, in Mandriva 2005. It was something Gnucash-1.8 ... or so.
00:59:39 <pkscwc> Exactly. /usr/local.
00:59:39 <pkscwc> NO change.
00:59:39 <pkscwc> It runs without "Reports".
00:59:58 <andi5> did you uninstall gnucash-1.8?
01:00:33 *** wikzid238 has quit IRC
01:00:35 <pkscwc> I installed Dropline Gnome on Slackware 11.0 for compiling Gnucash only.
01:00:57 <pkscwc> Hey, I uninstalled Mandriva2007 itself. It's so restrictive.
01:03:01 <andi5> ok.... so there has never been gnucash on your slackware?
01:03:29 <pkscwc> In slackware 11.0. It wasn't there.
01:04:41 <pkscwc> In Slackware, It's getting difficult to install applications that require GNOME support or are based on Gnome libs.
01:04:52 <andi5> so you say that your current /usr/local/share/gnucash/scm/hooks.scm file is from the gnucash-2.0.4 tarball?
01:05:15 <pkscwc> Yes.
01:05:26 <pkscwc> And so is the report-gnome.scm.
01:06:10 <andi5> sorry, i cannot find "Running functions on hook" in 2.0... can you please recheck? ... right now i am download the 2.0.4 tarball, so hurry up ;)
01:07:10 <pkscwc> Better stop then.
01:07:59 <pkscwc> Because, its not working in my slackware.
01:08:03 *** esodan has quit IRC
01:08:05 <pkscwc> Which linux you are using.
01:08:13 <andi5> that really does not care
01:08:35 <pkscwc> With Gnome support or without Gnome.
01:08:41 <pkscwc> The desktop.
01:09:04 <pkscwc> I have started with slackware 11.0 without Gnome desktop.
01:09:15 <andi5> pkscwc: please, step into your tarball, subdirectory src/app-utils, file hooks.scm.... does it have 74 lines? compare to /usr/local/share/gnucash/scm/hooks.scm
01:09:16 <pkscwc> May be therein lies something.
01:10:02 <pkscwc> just a moment.
01:10:17 <pkscwc> which Gnucash version, you were using.
01:10:33 <pkscwc> I will go back to that version...
01:10:49 <andi5> pkscwc: i am using all sorts of versions....
01:11:08 <pkscwc> Ha ha ....
01:11:26 <andi5> please check what i told you.... otherwise i have to assume you know better ;)
01:13:05 <pkscwc> andi! /usr/local/share/gnucash/scm/hooks.scm has 130 lines.
01:13:20 <andi5> wow....
01:14:44 <pkscwc> and, src/app-utils, file hooks.scm has only 23 lines.
01:15:01 <andi5> do you still think your setup has never seen gnucash?
01:17:00 <pkscwc> This isn't going to solve the problem as I had tried that 23 line file also earlier. Gnucash stuck at the same line.
01:17:28 <andi5> come on..... fix your setup ;)
01:17:39 <pkscwc> Then, I thought to replace it with one working set of hooks.
01:17:48 <andi5> you did what?
01:17:52 <pkscwc> Exactly
01:18:17 <pkscwc> I too want to reconfigure it from the latest set of files downloaded through SVN.
01:18:42 <pkscwc> From old mandriva 2005 running version of Gnucash
01:18:58 <pkscwc> I replace hooks.scm files.
01:19:06 <andi5> did you replace other files too?
01:19:08 <pkscwc> Is it crazy...
01:19:18 <pkscwc> No..
01:19:34 <pkscwc> The problem lies in line 118 of report-gnome.scm.
01:19:34 <andi5> btw... i asked you whether the file is an original one... you said yes, now you say you replace it.... what the heck
01:20:03 <pkscwc> If you comment it out then Gnucash starts and you can do all sort of things except 'reports'.
01:20:25 <andi5> does not really surprise me
01:20:25 <pkscwc> I had tried with both the original one and replace one.
01:20:52 <pkscwc> When original didn't work then I started out doing things.
01:21:02 <andi5> what about installing from the tarballs and with --prefix=/opt/gnucash? ...
01:21:28 <pkscwc> It will get installed in /opt directory.
01:21:41 <andi5> and never, never replace files unless you are _know_ what you do
01:21:50 <pkscwc> And nothing else.
01:22:03 <pkscwc> You are right about this.
01:22:28 <pkscwc> However, I can still run gnucash by commenting out that line 118.
01:23:39 <andi5> ok.... what error is printed if you copy the file hooks.scm back? please use http://pastebin.ca
01:24:02 <pkscwc> what is this pastebin thing.
01:25:05 <pkscwc> Want to see.
01:25:11 <pkscwc> Just wait a moment.
01:29:12 <pkscwc> Backtrace:
01:29:14 <pkscwc> In current input:
01:29:15 <pkscwc> 1: 0* [gnc:report-menu-setup]
01:29:17 <pkscwc> ?: 1 (letrec (# # # ...) (gnc:add-extension income-expense-menu) ...)
01:29:18 <pkscwc> In /usr/local/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
01:29:20 <pkscwc> 118: 2* [gnc:hook-run-danglers "hook_report" . {#f}]
01:29:21 <pkscwc> In /usr/local/share/gnucash/scm/hooks.scm:
01:29:23 <pkscwc> 22: 3 [gnc:hook-run-danglers-real "hook_report" {#f}]
01:29:24 <pkscwc> /usr/local/share/gnucash/scm/hooks.scm:22:3: In procedure gnc:hook-run-danglers-real in expression (gnc:hook-run-danglers-real hook args):
01:29:26 <pkscwc> /usr/local/share/gnucash/scm/hooks.scm:22:3: Wrong type argument in position 2: #f
01:29:28 <pkscwc> http://pastebin.ca/309068
01:29:37 <pkscwc> Ok , got it.
01:29:41 <pkscwc> Good site.
01:29:47 <pkscwc> Bookmarked it.
01:29:57 <andi5> is there any reason you flooded the channel nonetheless?
01:30:15 <pkscwc> Sorry Buddy.
01:30:17 <andi5> just enter the link, nothing more is needed
01:30:29 <pkscwc> The pastebin took some time to upload.
01:31:04 <pkscwc> And my ctrl+v and enter sequence had all that crap, which got splashed on the channel.
01:31:22 <pkscwc> Let's come to the topic.
01:33:56 <andi5> oh, i just saw your email.... you want to let you know that this guile backtrace is different from the one you posted as you joined the channel
01:33:57 *** pkscwc has quit IRC
01:37:36 *** andi5 has quit IRC
01:39:55 *** rdmiller has quit IRC
02:12:01 * foo enters first transaction
02:12:02 <foo> woohoo
02:12:06 <foo> Expense:Vendor:Newegg
02:12:39 <foo> If I import a QIF, how will gnucash know how to map some of my expenses?
02:36:36 <mishehu> been a long time since I've done that, but it might just be a matter of you having to manually assign it later.
02:36:45 <mishehu> oh wait
02:36:56 <mishehu> if the qif has it categorized, then I think it tries to match it.
02:37:12 <foo> ah, I see
02:37:13 <foo> Hmm
02:37:27 <foo> When I went to post a bill for a vendor, "Accumulate Splits" was checked
02:37:32 <foo> What does this mean? The search in the help sucks
02:41:05 <foo> Hm, maybe the docs are online?
02:41:08 <foo> I could try the search there
02:44:45 *** luke-jr has quit IRC
02:54:35 <mishehu> that one I don't know.
02:55:54 *** jamuraa has joined #gnucash
02:57:26 <jamuraa> I have a patch that changes parsing of dates slightly: if it's january, and you enter a december month without a year, it returns the date as the previous year instead. Useful? Should I bugzilla the patch?
02:57:58 <foo> mishehu: hehe, thanks anyays
04:36:55 *** warlord-afk has quit IRC
07:05:05 *** gander has joined #gnucash
07:21:55 *** andi5 has joined #gnucash
07:21:56 *** gncbot sets mode: +o andi5
07:59:48 *** |gunni| has joined #gnucash
08:28:10 *** |gunni| has quit IRC
08:29:21 *** |gunni| has joined #gnucash
08:38:28 *** mnoir has joined #gnucash
08:39:17 *** Demitar has joined #gnucash
09:14:33 *** eepro100 has joined #gnucash
10:02:05 *** warlord has joined #gnucash
10:02:05 *** gncbot sets mode: +o warlord
10:02:12 <andi5> hi warlord
10:03:09 <warlord> hi
10:05:42 <warlord> foo: during the QIF import you map QIF Accounts, QIF Categories, and QIF Payees/Memos to GnuCash Accounts.
10:06:20 <warlord> andi5: The second backtrace that pkscwc had last night is a bug in guile.
10:06:31 <warlord> or a problem between guile and g-wrap.
10:06:34 <andi5> do we backport changes that introduce new translated strings? ... i want to mark eight (bug #393436) for translation
10:06:49 <andi5> ah, ok
10:07:41 <warlord> sometimes. (only just AFTER a release)
10:08:21 <andi5> so i can mark it backport, but you will decide when you do that?
10:08:34 <andi5> +for
10:09:01 <warlord> Sure. What's the change?
10:10:26 <andi5> i have not yet tested it completely, but http://pastebin.ca/309318
10:12:27 <warlord> andi5: Why are you calling "gettext()" instead of just calling _() ?
10:12:46 <warlord> Also, what is G_N_ELEMENTS() ?
10:13:19 <andi5> oh, i can strip that... i thought the translation could make a problem while determining optCount, but i was wrong
10:13:38 <andi5> G_N_ELEMENTS is in gmacros.h, defined as (sizeof (arr) / sizeof ((arr)[0]))
10:15:29 <andi5> _() is the same as gettext, right.... somehow i think that using _() indicates to the gettext system that in there is a string ("string")
10:17:59 <warlord> But _() is smart enough to handle variables and not try to add it to the translation string. Also, _() works with NO_NLS..
10:19:03 <warlord> We really should just use the macros everywhere.
10:19:35 <andi5> hm... why does _() work, but gettext does not? can you tell me what to google for? ;-)
10:21:59 <warlord> It's just a question of consistency.
10:22:11 <andi5> no problem
10:22:22 <warlord> It's not that gettext() doesn't work, but that we use _() everywhere and should continue to do so.
11:00:26 *** andi5 has quit IRC
11:00:54 *** tortho has joined #gnucash
11:22:01 <warlord> hi tortho
11:33:07 <warlord> gotta run. have a good day, all.
11:33:09 *** warlord is now known as warlord-afk
11:40:01 <jsled> jamuraa: parsing of dates where?
11:40:39 <jamuraa> jsled: well, I changed it in libqof, because I wanted the register parsing to change and that's where it's parsed
11:42:42 <jsled> Hmm. I'd imagine a change like that would go a lot closer to the user (interface), like in the gnc-date-entry.
11:43:00 <jsled> Certainly not in QOF, which shouldn't be guessing at what year is intended.
11:43:59 <jamuraa> you'd have to duplicate a lot of the date parsing done in libqof, was my concern
11:47:56 <jsled> jamuraa: point taken. I'm not sure I like the idea of the change; you could bugzilla it, but I'd recommend sending it to gnucash-devel to get some comment.
11:48:41 <jsled> seeing just how it's implemented might change my opinion, though my opinion isn't all that matters, in any case. :)
11:49:12 <jamuraa> I'll probably do a bit more testing first to make sure it doesn't mess anything up other than expected.
11:49:59 <jsled> it might be useful to that end to run cscope over the files, and figure out what else calls the date parsing routine.
11:50:18 <jsled> And then investigate what the range of their inputs is.
11:50:34 <jsled> I don't know, but I'm guessing QIF, where you might want more traditional date-handling behavior.
11:50:41 <jsled> s/QIF/import/
11:52:46 <jamuraa> unfortunately I probably bungled around a bit in the code - it just touches gnc-date.c and uses a flag to update it at the end
11:54:14 <jamuraa> I will investigate. Obviously this might warrant a option, but I'm just getting into this, so..
12:10:36 *** motin has joined #gnucash
12:26:12 *** eepro100 has quit IRC
12:44:47 *** tortho has quit IRC
12:55:02 *** twunder has joined #gnucash
13:04:11 *** motin has quit IRC
13:50:30 *** jamuraa has quit IRC
14:02:35 *** metal1633 has joined #gnucash
14:03:12 <metal1633> Hello people.
14:03:40 <metal1633> What do I need to do and what info is required for me to sync GNUCash with my bank?
14:04:18 <jsled> metal1633: "sync" how?
14:05:21 <metal1633> Can I use the prog to connect with my bank and retrieve account info. Instead of typing everything by hand
14:06:09 <metal1633> MS Money does it. And so does Quickbooks
14:06:22 <jsled> You can import QIF or OFX files you download from the bank, or if you're adventurous, you can use OFX DirectConnect to do so more automagically.
14:06:40 <jsled> The later is discussed at http://wiki.gnucash.org/wiki/Setting_up_OFXDirectConnect_in_GnuCash_2
14:07:06 <metal1633> Thanks. I will read up on it.
14:07:14 <metal1633> Be back if I have any questions
14:07:34 <jsled> I think importing is in the tutorial.
14:07:47 *** metal1633 has left #gnucash
14:18:35 *** jamuraa has joined #gnucash
14:31:05 *** gander has quit IRC
14:36:57 *** mnoir has quit IRC
14:40:05 *** gander has joined #gnucash
14:41:20 *** hampton has joined #gnucash
14:41:28 *** jamuraa has quit IRC
14:43:15 *** gncbot sets mode: +o hampton
14:50:18 <mishehu> hmm appearantly somethings have changed since the last time I touched gnome... now there's some sort of distinction between platform and desktop...
14:53:57 *** Wilddev has joined #gnucash
14:53:58 *** gncbot sets mode: +o Wilddev
14:59:06 <mishehu> oh I see what they did, they broke up the applications from the base gnome system.
14:59:55 *** hampton has left #gnucash
15:13:32 *** mnoir has joined #gnucash
15:19:40 *** hampton has joined #gnucash
15:19:41 *** gncbot sets mode: +o hampton
15:21:54 <foo> warlord-afk: Yup, I see now - thankis
15:22:00 <foo> I did that and saw, pretty cool stuff
15:30:58 *** gander has quit IRC
15:45:51 *** mnoir has quit IRC
15:51:49 <elb> is the "You are attempting to close the last GnuCash window" dialog at all optional?
15:53:07 <elb> if my accounts are all saved, it doesn't seem like gnucash should ask me about that
15:53:38 * hampton thinks its been removed or made optional in 2.0.4
15:53:53 <elb> awesome
15:53:59 <elb> I think I'm still on 2.0.1
15:54:04 <elb> yeah
15:57:34 *** Demitar has quit IRC
16:15:57 *** Wilddev has quit IRC
16:30:10 *** ErKa has joined #gnucash
16:40:10 *** jamuraa has joined #gnucash
16:56:30 *** mnoir has joined #gnucash
17:00:32 *** jamuraa has quit IRC
17:12:47 *** _gunni_ has joined #gnucash
17:21:21 *** |gunni| has quit IRC
17:34:12 *** twunder has quit IRC
17:38:28 *** mnoir has quit IRC
17:59:52 *** mnoir has joined #gnucash
18:06:21 *** ErKa has quit IRC
18:22:00 *** Demitar has joined #gnucash
18:23:01 *** Demitar has quit IRC
18:37:03 *** _gunni_ has quit IRC
19:30:28 *** mnoir has quit IRC
19:33:45 *** twunder has joined #gnucash
19:50:48 *** warlord-afk is now known as warlord
19:50:52 <warlord> elb: that's been removed.
19:53:19 <jsled> [ot] if you've not seen this graphic, it's awesome: http://jwz.livejournal.com/727932.html
19:57:42 <warlord> interesting.
20:06:10 * foo seconds that
20:10:54 <twunder> why would a split transaction with 4 splits I entered into my checking account also display as 4 separate transactions? (15305)
20:12:32 <warlord> twunder: because you have 4 splits into the same account?
20:12:36 *** mnoir has joined #gnucash
20:13:30 <twunder> but... I don't recall that ever happening before... maybe I should enter it differently...
20:14:25 <mnoir> i have a credit card account where i have all payments as charges and all charges as payments i am just learning to use the qif import method. So everything is perfectly backwards. is there a function to reverse everything?
20:14:48 <warlord> twunder: gnucash has always done this.
20:14:54 <twunder> warlord: yep.. I entered it wrong...
20:15:05 <twunder> nevermind, sorry for the noise ...
20:15:11 <warlord> twunder: NP
20:15:36 <warlord> mnoir: Umm.. only manually..
20:16:10 <mnoir> war - may be better to wipe and import again, corectly this time :)
20:16:31 <warlord> um, maybe.
21:04:07 *** mnoir has quit IRC
21:24:16 *** piku has joined #gnucash
21:24:28 <piku> hey guys... I am using gnucash 2.0.2 FC6 and the account export is broken
21:31:00 <warlord> broken how?
21:31:09 <piku> it just doesn't seem to do anything
21:31:15 <piku> it asks for the file (save dialog)
21:31:21 <piku> I enter in "testtest" in my home folder
21:31:23 <piku> the dialog disappears
21:31:27 <piku> nothing appears on the console output..
21:31:29 <piku> and no file is there
21:32:13 <warlord> same in 2.0.4?
21:33:13 <piku> haven't tried yet.. let me see if someone built and rpm
21:34:20 <warlord> okay
21:34:48 <piku> hrm... devel is still 2.0.2
21:35:03 <warlord> Hmm.. Looks like 2.0.4 still doesn't work.
21:35:18 <piku> aha.. so it really is a problem
21:35:23 <piku> how are people doing year-end then?
21:36:22 <warlord> I've just copied the file off and then manually zero'd the Income and Expense accounts.
21:36:55 <piku> is there an easy way to delete off all the txns?
21:37:16 <elb> I've never done anything special at year ends, myself
21:37:23 <elb> because I always have transactions which cross the boundary
21:37:35 <piku> I just want to start a new file with last years balances
21:37:59 <piku> at one point I used an end of period option
21:37:59 <warlord> piku: why?
21:38:01 <piku> or somehting similar
21:38:05 <piku> but that option seems to be gone
21:38:32 <piku> load times
21:38:35 <piku> and for cleanliness :-P
21:39:39 <warlord> I disagree with cleanliness..
21:39:51 <piku> ??
21:40:14 <piku> I want to be able to absolutely simply say "how much did I spend on gas in 2003"
21:40:22 <piku> and up until now I've been able to do so
21:40:44 <warlord> I can sort of understand load time.. but still unless you have dozens of transactions a day I dont think you'd get really bad load times.
21:40:59 <piku> it's not that bad
21:41:01 <warlord> piku: that's what a P&L (aka Income) Report is for.
21:41:11 <piku> but I want to keep it orderly
21:41:25 <piku> I don't want 4 1 year files
21:41:25 * warlord shrugs.
21:41:29 <piku> and now this file growing huge
21:42:14 <warlord> I've got 3 years of data and my file is only like 100k.
21:42:36 <piku> I'm doing 300-500KB/year
21:42:47 <warlord> Then you must have compression turned off.
21:43:07 <piku> compress files is checked
21:44:21 <warlord> Huh. My data file is 1.1MB uncompressed.. And this has multiple years of data.
21:44:23 <piku> guess I'll just have to check out an old dev version
21:44:43 <warlord> Well, make sure there's a bug filed, please?
21:47:28 <piku> already reported
21:47:33 <piku> workaround is to create a blank file
21:47:35 <piku> then export into it
21:47:43 <piku> thanks, I should have checked bugzilla first
21:48:22 <warlord> Interesting bug!
21:50:37 <elb> I have 55K of data since 9/30/2006
21:50:41 <elb> (compressed)
21:53:37 <elb> 609K uncompressed
21:56:10 <warlord> Eh, that's not too much.
21:57:34 <elb> no, but it supports piku's 300-500KB/year
21:58:15 <elb> (it's not at all a problem for me, load times don't seem unbearable)
22:03:37 *** twunder has quit IRC
22:07:43 *** Rolf has joined #gnucash
22:11:23 <piku> sorry.. just too anal about things
22:11:28 <piku> I have to start a new file every year :-P
22:16:25 <warlord> It's harder to do that when you use the business features.
22:28:52 *** Demitar has joined #gnucash
22:38:54 <warlord> anyways, good night..
22:38:58 *** warlord is now known as warlord-afk
22:49:26 *** jpeach has joined #gnucash
22:49:30 <jpeach> hi
22:50:21 <jpeach> Is there a way to set the defaults for invoices. I have created a style sheet that I want to use but then I go to print the invoice it uses the default style. It always has to be changed.
23:27:41 *** jpeach has quit IRC
23:41:53 *** Demitar has quit IRC
23:57:51 <hampton> F::Q 1.13 is released. Yea! :-)
00:15:40 *** warlord is now known as warlord-afk
00:48:53 *** pkscwc has joined #gnucash
00:49:59 <pkscwc> Help. After upgrading to Gnucash-2.0.4, I have lost "Reports" functionality.
00:50:10 <pkscwc> The backtrace says:
00:50:23 <pkscwc> Backtrace:
00:50:24 <pkscwc> In current input:
00:50:25 <pkscwc> 1: {0}* [gnc:report-menu-setup]
00:50:27 <pkscwc> ?: 1 (letrec (# # # ...) (gnc:add-extension income-expense-menu) ...)
00:50:29 <pkscwc> In /usr/local/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
00:50:30 <pkscwc> 118: 2* [gnc:hook-run-danglers "hook_report"]
00:50:32 <pkscwc> In /usr/local/share/gnucash/scm/hooks.scm:
00:50:33 <pkscwc> 49: 3* [gnc:debug "Running functions on hook " ...
00:50:35 <pkscwc> 49: 4* [gnc:hook-name-get "hook_report"]
00:50:36 <pkscwc> 74: 5 [vector-ref "hook_report" {0}]
00:50:38 <pkscwc> /usr/local/share/gnucash/scm/hooks.scm:74:3: In procedure vector-ref in expression (vector-ref hook 0):
00:50:39 <pkscwc> /usr/local/share/gnucash/scm/hooks.scm:74:3: Wrong type argument in position 2: 0
00:50:49 <pkscwc> And after that Gnucash shuts down and I am left staring at my Konsole.
00:51:08 <pkscwc> I have compiled from sources/binaries on Slackware 11.0.
00:51:32 *** wizkid238_ has joined #gnucash
00:53:59 <pkscwc> HI everybody.
00:54:23 <pkscwc> Can you help me!
00:55:25 <andi5> from what version did you upgrade?
00:56:06 <pkscwc> Hi Andi
00:56:32 <andi5> hi... please see the topic and use pastebin the next time :)
00:57:31 <pkscwc> I have mandriva 2005 earlier in functional order. I upgraded it to Mandriva 2007 and lost my other important application GRASS GIS package.
00:57:54 <pkscwc> Then, I tried Slackware 11.0.
00:57:58 <andi5> but which gnucash version did you use before?
00:58:07 <pkscwc> It hadn't Gnome support.
00:58:18 <andi5> and where did you install both packages to? /usr/local, i.e. no --prefix?
00:59:38 <pkscwc> I think, in Mandriva 2005. It was something Gnucash-1.8 ... or so.
00:59:39 <pkscwc> Exactly. /usr/local.
00:59:39 <pkscwc> NO change.
00:59:39 <pkscwc> It runs without "Reports".
00:59:58 <andi5> did you uninstall gnucash-1.8?
01:00:33 *** wikzid238 has quit IRC
01:00:35 <pkscwc> I installed Dropline Gnome on Slackware 11.0 for compiling Gnucash only.
01:00:57 <pkscwc> Hey, I uninstalled Mandriva2007 itself. It's so restrictive.
01:03:01 <andi5> ok.... so there has never been gnucash on your slackware?
01:03:29 <pkscwc> In slackware 11.0. It wasn't there.
01:04:41 <pkscwc> In Slackware, It's getting difficult to install applications that require GNOME support or are based on Gnome libs.
01:04:52 <andi5> so you say that your current /usr/local/share/gnucash/scm/hooks.scm file is from the gnucash-2.0.4 tarball?
01:05:15 <pkscwc> Yes.
01:05:26 <pkscwc> And so is the report-gnome.scm.
01:06:10 <andi5> sorry, i cannot find "Running functions on hook" in 2.0... can you please recheck? ... right now i am download the 2.0.4 tarball, so hurry up ;)
01:07:10 <pkscwc> Better stop then.
01:07:59 <pkscwc> Because, its not working in my slackware.
01:08:03 *** esodan has quit IRC
01:08:05 <pkscwc> Which linux you are using.
01:08:13 <andi5> that really does not care
01:08:35 <pkscwc> With Gnome support or without Gnome.
01:08:41 <pkscwc> The desktop.
01:09:04 <pkscwc> I have started with slackware 11.0 without Gnome desktop.
01:09:15 <andi5> pkscwc: please, step into your tarball, subdirectory src/app-utils, file hooks.scm.... does it have 74 lines? compare to /usr/local/share/gnucash/scm/hooks.scm
01:09:16 <pkscwc> May be therein lies something.
01:10:02 <pkscwc> just a moment.
01:10:17 <pkscwc> which Gnucash version, you were using.
01:10:33 <pkscwc> I will go back to that version...
01:10:49 <andi5> pkscwc: i am using all sorts of versions....
01:11:08 <pkscwc> Ha ha ....
01:11:26 <andi5> please check what i told you.... otherwise i have to assume you know better ;)
01:13:05 <pkscwc> andi! /usr/local/share/gnucash/scm/hooks.scm has 130 lines.
01:13:20 <andi5> wow....
01:14:44 <pkscwc> and, src/app-utils, file hooks.scm has only 23 lines.
01:15:01 <andi5> do you still think your setup has never seen gnucash?
01:17:00 <pkscwc> This isn't going to solve the problem as I had tried that 23 line file also earlier. Gnucash stuck at the same line.
01:17:28 <andi5> come on..... fix your setup ;)
01:17:39 <pkscwc> Then, I thought to replace it with one working set of hooks.
01:17:48 <andi5> you did what?
01:17:52 <pkscwc> Exactly
01:18:17 <pkscwc> I too want to reconfigure it from the latest set of files downloaded through SVN.
01:18:42 <pkscwc> From old mandriva 2005 running version of Gnucash
01:18:58 <pkscwc> I replace hooks.scm files.
01:19:06 <andi5> did you replace other files too?
01:19:08 <pkscwc> Is it crazy...
01:19:18 <pkscwc> No..
01:19:34 <pkscwc> The problem lies in line 118 of report-gnome.scm.
01:19:34 <andi5> btw... i asked you whether the file is an original one... you said yes, now you say you replace it.... what the heck
01:20:03 <pkscwc> If you comment it out then Gnucash starts and you can do all sort of things except 'reports'.
01:20:25 <andi5> does not really surprise me
01:20:25 <pkscwc> I had tried with both the original one and replace one.
01:20:52 <pkscwc> When original didn't work then I started out doing things.
01:21:02 <andi5> what about installing from the tarballs and with --prefix=/opt/gnucash? ...
01:21:28 <pkscwc> It will get installed in /opt directory.
01:21:41 <andi5> and never, never replace files unless you are _know_ what you do
01:21:50 <pkscwc> And nothing else.
01:22:03 <pkscwc> You are right about this.
01:22:28 <pkscwc> However, I can still run gnucash by commenting out that line 118.
01:23:39 <andi5> ok.... what error is printed if you copy the file hooks.scm back? please use http://pastebin.ca
01:24:02 <pkscwc> what is this pastebin thing.
01:25:05 <pkscwc> Want to see.
01:25:11 <pkscwc> Just wait a moment.
01:29:12 <pkscwc> Backtrace:
01:29:14 <pkscwc> In current input:
01:29:15 <pkscwc> 1: 0* [gnc:report-menu-setup]
01:29:17 <pkscwc> ?: 1 (letrec (# # # ...) (gnc:add-extension income-expense-menu) ...)
01:29:18 <pkscwc> In /usr/local/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
01:29:20 <pkscwc> 118: 2* [gnc:hook-run-danglers "hook_report" . {#f}]
01:29:21 <pkscwc> In /usr/local/share/gnucash/scm/hooks.scm:
01:29:23 <pkscwc> 22: 3 [gnc:hook-run-danglers-real "hook_report" {#f}]
01:29:24 <pkscwc> /usr/local/share/gnucash/scm/hooks.scm:22:3: In procedure gnc:hook-run-danglers-real in expression (gnc:hook-run-danglers-real hook args):
01:29:26 <pkscwc> /usr/local/share/gnucash/scm/hooks.scm:22:3: Wrong type argument in position 2: #f
01:29:28 <pkscwc> http://pastebin.ca/309068
01:29:37 <pkscwc> Ok , got it.
01:29:41 <pkscwc> Good site.
01:29:47 <pkscwc> Bookmarked it.
01:29:57 <andi5> is there any reason you flooded the channel nonetheless?
01:30:15 <pkscwc> Sorry Buddy.
01:30:17 <andi5> just enter the link, nothing more is needed
01:30:29 <pkscwc> The pastebin took some time to upload.
01:31:04 <pkscwc> And my ctrl+v and enter sequence had all that crap, which got splashed on the channel.
01:31:22 <pkscwc> Let's come to the topic.
01:33:56 <andi5> oh, i just saw your email.... you want to let you know that this guile backtrace is different from the one you posted as you joined the channel
01:33:57 *** pkscwc has quit IRC
01:37:36 *** andi5 has quit IRC
01:39:55 *** rdmiller has quit IRC
02:12:01 * foo enters first transaction
02:12:02 <foo> woohoo
02:12:06 <foo> Expense:Vendor:Newegg
02:12:39 <foo> If I import a QIF, how will gnucash know how to map some of my expenses?
02:36:36 <mishehu> been a long time since I've done that, but it might just be a matter of you having to manually assign it later.
02:36:45 <mishehu> oh wait
02:36:56 <mishehu> if the qif has it categorized, then I think it tries to match it.
02:37:12 <foo> ah, I see
02:37:13 <foo> Hmm
02:37:27 <foo> When I went to post a bill for a vendor, "Accumulate Splits" was checked
02:37:32 <foo> What does this mean? The search in the help sucks
02:41:05 <foo> Hm, maybe the docs are online?
02:41:08 <foo> I could try the search there
02:44:45 *** luke-jr has quit IRC
02:54:35 <mishehu> that one I don't know.
02:55:54 *** jamuraa has joined #gnucash
02:57:26 <jamuraa> I have a patch that changes parsing of dates slightly: if it's january, and you enter a december month without a year, it returns the date as the previous year instead. Useful? Should I bugzilla the patch?
02:57:58 <foo> mishehu: hehe, thanks anyays
04:36:55 *** warlord-afk has quit IRC
07:05:05 *** gander has joined #gnucash
07:21:55 *** andi5 has joined #gnucash
07:21:56 *** gncbot sets mode: +o andi5
07:59:48 *** |gunni| has joined #gnucash
08:28:10 *** |gunni| has quit IRC
08:29:21 *** |gunni| has joined #gnucash
08:38:28 *** mnoir has joined #gnucash
08:39:17 *** Demitar has joined #gnucash
09:14:33 *** eepro100 has joined #gnucash
10:02:05 *** warlord has joined #gnucash
10:02:05 *** gncbot sets mode: +o warlord
10:02:12 <andi5> hi warlord
10:03:09 <warlord> hi
10:05:42 <warlord> foo: during the QIF import you map QIF Accounts, QIF Categories, and QIF Payees/Memos to GnuCash Accounts.
10:06:20 <warlord> andi5: The second backtrace that pkscwc had last night is a bug in guile.
10:06:31 <warlord> or a problem between guile and g-wrap.
10:06:34 <andi5> do we backport changes that introduce new translated strings? ... i want to mark eight (bug #393436) for translation
10:06:49 <andi5> ah, ok
10:07:41 <warlord> sometimes. (only just AFTER a release)
10:08:21 <andi5> so i can mark it backport, but you will decide when you do that?
10:08:34 <andi5> +for
10:09:01 <warlord> Sure. What's the change?
10:10:26 <andi5> i have not yet tested it completely, but http://pastebin.ca/309318
10:12:27 <warlord> andi5: Why are you calling "gettext()" instead of just calling _() ?
10:12:46 <warlord> Also, what is G_N_ELEMENTS() ?
10:13:19 <andi5> oh, i can strip that... i thought the translation could make a problem while determining optCount, but i was wrong
10:13:38 <andi5> G_N_ELEMENTS is in gmacros.h, defined as (sizeof (arr) / sizeof ((arr)[0]))
10:15:29 <andi5> _() is the same as gettext, right.... somehow i think that using _() indicates to the gettext system that in there is a string ("string")
10:17:59 <warlord> But _() is smart enough to handle variables and not try to add it to the translation string. Also, _() works with NO_NLS..
10:19:03 <warlord> We really should just use the macros everywhere.
10:19:35 <andi5> hm... why does _() work, but gettext does not? can you tell me what to google for? ;-)
10:21:59 <warlord> It's just a question of consistency.
10:22:11 <andi5> no problem
10:22:22 <warlord> It's not that gettext() doesn't work, but that we use _() everywhere and should continue to do so.
11:00:26 *** andi5 has quit IRC
11:00:54 *** tortho has joined #gnucash
11:22:01 <warlord> hi tortho
11:33:07 <warlord> gotta run. have a good day, all.
11:33:09 *** warlord is now known as warlord-afk
11:40:01 <jsled> jamuraa: parsing of dates where?
11:40:39 <jamuraa> jsled: well, I changed it in libqof, because I wanted the register parsing to change and that's where it's parsed
11:42:42 <jsled> Hmm. I'd imagine a change like that would go a lot closer to the user (interface), like in the gnc-date-entry.
11:43:00 <jsled> Certainly not in QOF, which shouldn't be guessing at what year is intended.
11:43:59 <jamuraa> you'd have to duplicate a lot of the date parsing done in libqof, was my concern
11:47:56 <jsled> jamuraa: point taken. I'm not sure I like the idea of the change; you could bugzilla it, but I'd recommend sending it to gnucash-devel to get some comment.
11:48:41 <jsled> seeing just how it's implemented might change my opinion, though my opinion isn't all that matters, in any case. :)
11:49:12 <jamuraa> I'll probably do a bit more testing first to make sure it doesn't mess anything up other than expected.
11:49:59 <jsled> it might be useful to that end to run cscope over the files, and figure out what else calls the date parsing routine.
11:50:18 <jsled> And then investigate what the range of their inputs is.
11:50:34 <jsled> I don't know, but I'm guessing QIF, where you might want more traditional date-handling behavior.
11:50:41 <jsled> s/QIF/import/
11:52:46 <jamuraa> unfortunately I probably bungled around a bit in the code - it just touches gnc-date.c and uses a flag to update it at the end
11:54:14 <jamuraa> I will investigate. Obviously this might warrant a option, but I'm just getting into this, so..
12:10:36 *** motin has joined #gnucash
12:26:12 *** eepro100 has quit IRC
12:44:47 *** tortho has quit IRC
12:55:02 *** twunder has joined #gnucash
13:04:11 *** motin has quit IRC
13:50:30 *** jamuraa has quit IRC
14:02:35 *** metal1633 has joined #gnucash
14:03:12 <metal1633> Hello people.
14:03:40 <metal1633> What do I need to do and what info is required for me to sync GNUCash with my bank?
14:04:18 <jsled> metal1633: "sync" how?
14:05:21 <metal1633> Can I use the prog to connect with my bank and retrieve account info. Instead of typing everything by hand
14:06:09 <metal1633> MS Money does it. And so does Quickbooks
14:06:22 <jsled> You can import QIF or OFX files you download from the bank, or if you're adventurous, you can use OFX DirectConnect to do so more automagically.
14:06:40 <jsled> The later is discussed at http://wiki.gnucash.org/wiki/Setting_up_OFXDirectConnect_in_GnuCash_2
14:07:06 <metal1633> Thanks. I will read up on it.
14:07:14 <metal1633> Be back if I have any questions
14:07:34 <jsled> I think importing is in the tutorial.
14:07:47 *** metal1633 has left #gnucash
14:18:35 *** jamuraa has joined #gnucash
14:31:05 *** gander has quit IRC
14:36:57 *** mnoir has quit IRC
14:40:05 *** gander has joined #gnucash
14:41:20 *** hampton has joined #gnucash
14:41:28 *** jamuraa has quit IRC
14:43:15 *** gncbot sets mode: +o hampton
14:50:18 <mishehu> hmm appearantly somethings have changed since the last time I touched gnome... now there's some sort of distinction between platform and desktop...
14:53:57 *** Wilddev has joined #gnucash
14:53:58 *** gncbot sets mode: +o Wilddev
14:59:06 <mishehu> oh I see what they did, they broke up the applications from the base gnome system.
14:59:55 *** hampton has left #gnucash
15:13:32 *** mnoir has joined #gnucash
15:19:40 *** hampton has joined #gnucash
15:19:41 *** gncbot sets mode: +o hampton
15:21:54 <foo> warlord-afk: Yup, I see now - thankis
15:22:00 <foo> I did that and saw, pretty cool stuff
15:30:58 *** gander has quit IRC
15:45:51 *** mnoir has quit IRC
15:51:49 <elb> is the "You are attempting to close the last GnuCash window" dialog at all optional?
15:53:07 <elb> if my accounts are all saved, it doesn't seem like gnucash should ask me about that
15:53:38 * hampton thinks its been removed or made optional in 2.0.4
15:53:53 <elb> awesome
15:53:59 <elb> I think I'm still on 2.0.1
15:54:04 <elb> yeah
15:57:34 *** Demitar has quit IRC
16:15:57 *** Wilddev has quit IRC
16:30:10 *** ErKa has joined #gnucash
16:40:10 *** jamuraa has joined #gnucash
16:56:30 *** mnoir has joined #gnucash
17:00:32 *** jamuraa has quit IRC
17:12:47 *** _gunni_ has joined #gnucash
17:21:21 *** |gunni| has quit IRC
17:34:12 *** twunder has quit IRC
17:38:28 *** mnoir has quit IRC
17:59:52 *** mnoir has joined #gnucash
18:06:21 *** ErKa has quit IRC
18:22:00 *** Demitar has joined #gnucash
18:23:01 *** Demitar has quit IRC
18:37:03 *** _gunni_ has quit IRC
19:30:28 *** mnoir has quit IRC
19:33:45 *** twunder has joined #gnucash
19:50:48 *** warlord-afk is now known as warlord
19:50:52 <warlord> elb: that's been removed.
19:53:19 <jsled> [ot] if you've not seen this graphic, it's awesome: http://jwz.livejournal.com/727932.html
19:57:42 <warlord> interesting.
20:06:10 * foo seconds that
20:10:54 <twunder> why would a split transaction with 4 splits I entered into my checking account also display as 4 separate transactions? (15305)
20:12:32 <warlord> twunder: because you have 4 splits into the same account?
20:12:36 *** mnoir has joined #gnucash
20:13:30 <twunder> but... I don't recall that ever happening before... maybe I should enter it differently...
20:14:25 <mnoir> i have a credit card account where i have all payments as charges and all charges as payments i am just learning to use the qif import method. So everything is perfectly backwards. is there a function to reverse everything?
20:14:48 <warlord> twunder: gnucash has always done this.
20:14:54 <twunder> warlord: yep.. I entered it wrong...
20:15:05 <twunder> nevermind, sorry for the noise ...
20:15:11 <warlord> twunder: NP
20:15:36 <warlord> mnoir: Umm.. only manually..
20:16:10 <mnoir> war - may be better to wipe and import again, corectly this time :)
20:16:31 <warlord> um, maybe.
21:04:07 *** mnoir has quit IRC
21:24:16 *** piku has joined #gnucash
21:24:28 <piku> hey guys... I am using gnucash 2.0.2 FC6 and the account export is broken
21:31:00 <warlord> broken how?
21:31:09 <piku> it just doesn't seem to do anything
21:31:15 <piku> it asks for the file (save dialog)
21:31:21 <piku> I enter in "testtest" in my home folder
21:31:23 <piku> the dialog disappears
21:31:27 <piku> nothing appears on the console output..
21:31:29 <piku> and no file is there
21:32:13 <warlord> same in 2.0.4?
21:33:13 <piku> haven't tried yet.. let me see if someone built and rpm
21:34:20 <warlord> okay
21:34:48 <piku> hrm... devel is still 2.0.2
21:35:03 <warlord> Hmm.. Looks like 2.0.4 still doesn't work.
21:35:18 <piku> aha.. so it really is a problem
21:35:23 <piku> how are people doing year-end then?
21:36:22 <warlord> I've just copied the file off and then manually zero'd the Income and Expense accounts.
21:36:55 <piku> is there an easy way to delete off all the txns?
21:37:16 <elb> I've never done anything special at year ends, myself
21:37:23 <elb> because I always have transactions which cross the boundary
21:37:35 <piku> I just want to start a new file with last years balances
21:37:59 <piku> at one point I used an end of period option
21:37:59 <warlord> piku: why?
21:38:01 <piku> or somehting similar
21:38:05 <piku> but that option seems to be gone
21:38:32 <piku> load times
21:38:35 <piku> and for cleanliness :-P
21:39:39 <warlord> I disagree with cleanliness..
21:39:51 <piku> ??
21:40:14 <piku> I want to be able to absolutely simply say "how much did I spend on gas in 2003"
21:40:22 <piku> and up until now I've been able to do so
21:40:44 <warlord> I can sort of understand load time.. but still unless you have dozens of transactions a day I dont think you'd get really bad load times.
21:40:59 <piku> it's not that bad
21:41:01 <warlord> piku: that's what a P&L (aka Income) Report is for.
21:41:11 <piku> but I want to keep it orderly
21:41:25 <piku> I don't want 4 1 year files
21:41:25 * warlord shrugs.
21:41:29 <piku> and now this file growing huge
21:42:14 <warlord> I've got 3 years of data and my file is only like 100k.
21:42:36 <piku> I'm doing 300-500KB/year
21:42:47 <warlord> Then you must have compression turned off.
21:43:07 <piku> compress files is checked
21:44:21 <warlord> Huh. My data file is 1.1MB uncompressed.. And this has multiple years of data.
21:44:23 <piku> guess I'll just have to check out an old dev version
21:44:43 <warlord> Well, make sure there's a bug filed, please?
21:47:28 <piku> already reported
21:47:33 <piku> workaround is to create a blank file
21:47:35 <piku> then export into it
21:47:43 <piku> thanks, I should have checked bugzilla first
21:48:22 <warlord> Interesting bug!
21:50:37 <elb> I have 55K of data since 9/30/2006
21:50:41 <elb> (compressed)
21:53:37 <elb> 609K uncompressed
21:56:10 <warlord> Eh, that's not too much.
21:57:34 <elb> no, but it supports piku's 300-500KB/year
21:58:15 <elb> (it's not at all a problem for me, load times don't seem unbearable)
22:03:37 *** twunder has quit IRC
22:07:43 *** Rolf has joined #gnucash
22:11:23 <piku> sorry.. just too anal about things
22:11:28 <piku> I have to start a new file every year :-P
22:16:25 <warlord> It's harder to do that when you use the business features.
22:28:52 *** Demitar has joined #gnucash
22:38:54 <warlord> anyways, good night..
22:38:58 *** warlord is now known as warlord-afk
22:49:26 *** jpeach has joined #gnucash
22:49:30 <jpeach> hi
22:50:21 <jpeach> Is there a way to set the defaults for invoices. I have created a style sheet that I want to use but then I go to print the invoice it uses the default style. It always has to be changed.
23:27:41 *** jpeach has quit IRC
23:41:53 *** Demitar has quit IRC
23:57:51 <hampton> F::Q 1.13 is released. Yea! :-)