2007-10-03 GnuCash IRC logs

02:29:11 *** Ger has joined #gnucash
02:29:35 <Ger> HI
02:31:08 <Ger> ik just instald gnucash on a windows pc an ik get this errror CORBA fout: IDL:omg.org/CORBA/COMM_FAILURE:1.0
02:38:43 *** ErKa has joined #gnucash
02:55:26 *** ErKa has quit IRC
03:01:18 *** Ger has left #gnucash
03:10:13 *** ErKa has joined #gnucash
03:11:05 *** Jaran has quit IRC
03:41:57 *** ikh has quit IRC
04:17:57 *** ErKa has quit IRC
05:02:32 *** Zoolooc__ has joined #gnucash
05:03:45 *** Jaran has joined #gnucash
05:03:51 *** ErKa has joined #gnucash
05:07:07 *** Zoolooc has joined #gnucash
05:08:37 *** Zoolooc_ has quit IRC
05:15:08 *** Zoolooc__ has quit IRC
05:20:07 *** njende has joined #gnucash
05:20:55 <njende> Is there a possibility to import my business letterhead into GC? Haven't found as yet anything in the online help manual
06:02:33 *** njende has left #gnucash
06:27:52 *** ErKa has quit IRC
07:12:34 *** andrewsw has quit IRC
07:27:49 *** andi5 has joined #gnucash
07:27:49 *** gncbot sets mode: +o andi5
07:44:35 *** ErKa has joined #gnucash
07:50:43 *** pecisk has joined #gnucash
07:52:48 *** twunder has joined #gnucash
08:01:38 *** nbinont-afk has quit IRC
08:27:20 *** ErKa has quit IRC
08:50:10 *** tjanssen has joined #gnucash
08:52:20 *** twunder has quit IRC
08:52:34 *** twunder has joined #gnucash
08:59:14 *** A_N_A_S_T_A_S_U_A has joined #gnucash
09:03:05 *** A_N_A_S_T_A_S_U_A has quit IRC
09:06:37 *** kielein has joined #gnucash
09:13:21 *** ErKa has joined #gnucash
09:22:53 *** warlord-afk is now known as warlord
09:35:29 *** walbert has joined #gnucash
09:39:50 *** twunder has quit IRC
10:44:33 *** twunder has joined #gnucash
11:24:58 *** Zoolooc_ has joined #gnucash
11:28:11 *** Zoolooc__ has joined #gnucash
11:32:39 *** Zoolooc has quit IRC
11:36:39 *** Zoolooc_ has quit IRC
11:49:24 *** Zoolooc_ has joined #gnucash
11:58:41 *** Zoolooc__ has quit IRC
11:59:47 *** Zoolooc__ has joined #gnucash
12:05:21 *** ErKa has quit IRC
12:08:39 *** Zoolooc_ has quit IRC
12:08:58 *** walbert has left #gnucash
12:17:41 *** tbic has joined #gnucash
12:18:14 *** ErKa has joined #gnucash
12:23:29 <tbic> is there anyway to tell ifa given account type (i.e. 'income) has it's sign reversed?
12:24:46 <jsled> tbic: you could look at the preference... but I don't think there's a (is-sign-reversed (name-of account)) or anything.
12:25:06 <jsled> (or, uh, without the useless name-of.)
12:25:53 <tbic> there is a (gnc:account-reverse-balance? acct), but I'm looking for by type.
12:25:59 *** Zoolooc_ has joined #gnucash
12:26:15 <jsled> Oh, there is? Shows how much I know.
12:27:04 <jsled> Where is that defined?
12:28:22 <jsled> I'd imagine it's just going to immediately get the account's type to determine what it does, so you might just factor that part out.
12:29:18 <tbic> actully I don't see it defined anywhere
12:29:23 <jsled> Uh. I don't see account-reverse-balance anywhere.
12:30:07 <tbic> it's used in budget.scm, register.scm, and some others
12:31:06 <jsled> Hmm. I see (gnc-reverse-balance acct)
12:31:06 *** Zoolooc has joined #gnucash
12:32:49 <jsled> Ah. src/app-utils/app-utils.i maps gnc_reverse_balance
12:33:17 <jsled> which cscope tells me is in src/app-utils/gnc-ui-util.c
12:33:36 <jsled> yeah, which immediately just gets the account type and uses that.
12:33:40 *** Zoolooc__ has quit IRC
12:34:10 <jsled> So, you could factor that into gnc_reverse_balance(Account) and gnc_reverse_balance_by_type(int acctType), I suppose.
12:34:34 <tbic> there is a gnc_reverse_balance_type (GNCAccountType type)
12:34:34 <jsled> Except ... gnc_reverse_balance_type is defined right above that.
12:34:38 <jsled> heh.
12:34:46 <tbic> but I don't know how to access that from guile
12:35:00 <warlord> gnc-reverse-balance-type would be my guess.
12:35:14 <jsled> I'm not exactly sure how the enum is going to work, but you can try just adding gnc_reverse_balance_type to app-utils.i, and see what happens.
12:35:39 <jsled> I'm almost sure there's already a binding for xaccAccountGetType(acct) somewhere..
12:38:58 <chris> there is
12:39:39 *** Zoolooc_ has quit IRC
12:39:53 <tbic> would changeing app-utils.i require me to recompile gnucash?
12:40:23 <warlord> tbic: yes
12:41:06 <tbic> ok, well thats not exactly an option.
12:44:48 *** Rolf has joined #gnucash
12:50:10 *** Zoolooc has quit IRC
12:51:37 *** gjanssens has joined #gnucash
12:52:26 *** Rol1 has quit IRC
12:52:56 <tbic> Thanks
12:53:02 *** tbic has quit IRC
12:53:45 <gjanssens> Hi, I compiled Gnucash 2.2.1 today on Mandriva 2007.1 (Spring). This distro normally comes with version 2.0.5.
12:54:27 <gjanssens> I used the source rpm's that are to be used for Mandriva 2008.0 (beta2 is just out)
12:54:58 <gjanssens> Compilation and installation went fine. I also had to compile goffice this way to get there
12:55:10 <gjanssens> Now I have a strange issue in the business features
12:55:32 <gjanssens> Whenever I post an invoice or bill, I take these steps:
12:55:52 <gjanssens> - Click the post button on for the invoice/bill to post
12:56:04 <gjanssens> - adjust the date if necessary
12:56:12 <gjanssens> - click ok in the post dialog
12:56:33 <gjanssens> Until previous versions of Gnucash this worked fine.
12:56:46 <gjanssens> With the new version however, I get his error:
12:57:11 <gjanssens> No Account selected. Please try again.
12:57:35 <jsled> even though one is selected, but you need to re-select it again?
12:57:35 *** andrewsw has joined #gnucash
12:57:46 <gjanssens> Yes, that
12:58:07 <warlord> Sounds like an issue in the GncAccountSel widget?
12:58:28 <gjanssens> Even simply clicking on the selected one is sufficient, I don't really have to reselect one
12:58:58 <gjanssens> Is this a known issue ?
12:59:23 *** andi5 has quit IRC
12:59:27 <warlord> Seems to be an issue with certain versions of gtk
13:01:46 * gjanssens looks for gtk version on Mandriva 2007.1...
13:02:11 <gjanssens> rpm -qa | grep gtk shows a long list of packages...
13:02:24 <gjanssens> which one is my gtk package ? libgtk+ ?
13:03:00 <jsled> Is this <http://bugzilla.gnome.org/show_bug.cgi?id=443971> ? Sounds a bit different...
13:04:09 <jsled> libgtk+ probably, yes.
13:04:17 <jsled> what's the version number for it?
13:05:23 <warlord> jsled: looks like that one.
13:05:27 *** cortilap has quit IRC
13:07:28 <gjanssens> I have libgtk+1.2-1.2.10-45mdv2007.0 and libgtk+2.0_0-2.10.11-2.1mdv2007.1
13:07:35 <gjanssens> That seems like one too many...
13:07:45 <gjanssens> I'll try to remove the older one
13:08:43 <gjanssens> jsled: the bugreport indicates the same error, but in my case the account does exist. This is probably why simply clicking on the widget allows me to continue
13:08:44 <warlord> no, 1.2 and 2.x can happily co-exist
13:10:45 * gjanssens came to the same conclusion
13:11:19 <gjanssens> Trying to remove 1.2 will remove half of my installed packages (well, that's slightly exagerated :-) )
13:13:41 <warlord> gtk 1.2 is irrelevant.
13:15:21 * warlord has 2.10.14 on Fedora 7 and I don't see the problem.
13:20:29 <gjanssens> Indeed, I have Fedora 7 on my laptop, and I don't have the problem there as well
13:23:02 <gjanssens> I hope Mandriva 2008.0 will fix the problem when it's released.
13:23:29 <gjanssens> Another question in that area
13:23:52 <gjanssens> I have defined a number of A/R and A/P accounts
13:28:44 <warlord> You really only need one per currency.
13:29:36 <warlord> Anyways, gotta run.
13:29:39 *** warlord is now known as warlord-afk
13:30:25 <gjanssens> The problem I have is that in one of my books the wrong A/P is selected by default whenever I try to pay a bill
13:32:30 <gjanssens> I have three A/P's: A/P to owner, A/P to vendors and A/P for pseudo bills (pro forma's)
13:33:20 <gjanssens> The A/P to vendors is the most commonly used, it's actually the one that is in the GnuCash accounts by default. The other two I have added.
13:34:19 <gjanssens> I would prefer GnuCash to always select the A/P to vendors account by default, when making a payment.
13:34:22 *** tjanssen has quit IRC
13:34:42 <gjanssens> But in one book, it always selects the A/P to owner
13:35:21 <gjanssens> Is there a way to have it select the another one by default (even if it means digging in the book's xml file) ?
13:36:00 <jsled> gjanssens: you might try naming the A/P > Vendor account lexically before the owner account, if it's not.
13:36:06 <jsled> What are the actaul account names?
13:36:31 <gjanssens> jsled: I have translated them to Dutch, becoming
13:37:08 <gjanssens> jsled: Rekening Courant Eigenaar
13:37:19 <gjanssens> jsled: Handelsgoederen
13:37:26 <gjanssens> Pro Forma facturen
13:38:00 <gjanssens> GnuCash always proposes Rekening Courrant.
13:38:26 <jsled> Which is "<phenny> jsled: "Account currently owner" (nl)" I understand.
13:38:44 <gjanssens> I'll try to rename it such that Handelsgoederen becomes the lexically last one.
13:38:49 <gjanssens> jsled: indeed
13:39:10 <jsled> Hmm. So, it's selecting the last one? That's weird.
13:39:18 <jsled> We might be on the wrong path, then.
13:39:29 <jsled> But, you can try it. If it works, then great! :)
13:45:56 <gjanssens> No luck... Even if I rename the accounts the Rekening Courant is selected by default.
13:46:19 <gjanssens> It doesn't matter if it's lexically first, last or in the middle
13:46:38 <gjanssens> I also changed the description and account numbers, but that didn't matter
13:47:34 <gjanssens> Ideally GnuCash should remember to which account the bill was originally posted, and propose that one when paying the bill, right ?
13:47:48 <gjanssens> I don't think it's implemented that way though...
13:51:16 <jsled> ideally, sure. I doubt it is, either.
13:53:06 <gjanssens> I can add that the lexical order is not used to build the combobox list either. The Rekening Courant entry is first in this list, no matter where it would be lexically.
14:07:22 <gjanssens> Hmm, apparently this behaviour got even more annoying with version 2.2.1
14:08:14 <gjanssens> Now when I try to post a new bill, this Rekening Courant A/P is selected by default as well. In 2.0.5, I got the correct "Handelsgoederen" A/P
14:08:37 <gjanssens> So now I have to manually select an A/P twice for each invoice.
14:09:16 * gjanssens hopes I am the only one working with multiple A/P's, it's no fun this way...
14:10:07 <gjanssens> ... and no, that's not a complaint to any of the dev's at all :-)
14:12:04 *** cortana has joined #gnucash
14:17:40 *** Zoolooc has joined #gnucash
14:22:57 *** pdc__ has quit IRC
14:22:57 *** pdc_ has joined #gnucash
14:44:48 *** twunder has quit IRC
14:48:35 *** sjc has joined #gnucash
15:12:40 *** Zoolooc_ has joined #gnucash
15:18:53 *** Zoolooc__ has joined #gnucash
15:21:09 *** Zoolooc has quit IRC
15:21:27 *** twunder has joined #gnucash
15:28:09 *** Zoolooc_ has quit IRC
15:35:09 <gjanssens> I compiled gnucash from source starting from the most recent svn trunk HEAD
15:35:37 <gjanssens> I try to start gnucash from within the source tree (src/bin) instead of installing it.
15:35:49 <gjanssens> It crashes during startup with this console message:
15:35:51 <gjanssens> gnc.bin-Message: main: binreloc relocation support was disabled at configure time.
15:35:59 <gjanssens> What does this error mean ?
15:37:52 <jsled> hmm. That in particular shouldn't cause a crash.
15:37:52 <Plouj> that's not an error message
15:38:10 <Plouj> I get that when I run Fedora's gnucash
15:38:16 <jsled> I'm not sure if running from the source tree can work, easily.
15:38:35 <jsled> Most of us `./configure --prefix /opt/gnc/svn/` or something, and install/run it from there.
15:39:21 <jsled> One optimization is to make that /opt/gnc/ directory user-owned, then you can do everything (build, install, run) from your user account.
15:39:35 <jsled> (or /opt/gnucash, or whatever. Doesn't matter.)
15:39:55 <jsled> Also, you can `rm -Rf` the whole directory if/when you're done with it, or want ot ensure cleanliness.
15:44:21 <gjanssens> Ok, I'll try the preferred way. Thanks
15:49:24 *** ErKa has quit IRC
15:52:42 *** ErKa has joined #gnucash
16:06:50 <gjanssens> I ran a './configure --prefix /opt/gnc/svn/', then 'make' and then 'make install'
16:06:58 <gjanssens> Now I get this error during make install:
16:07:24 <gjanssens> /usr/bin/install -c .libs/libgnc-core-utils.lai /opt/gnc/svn//lib/libgnc-core-utils.la
16:07:24 <gjanssens> libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
16:07:24 <gjanssens> test -z "/opt/gnc/svn//share/gnucash/guile-modules/gnucash" || mkdir -p -- "/opt/gnc/svn//share/gnucash/guile-modules/gnucash"
16:07:24 <gjanssens> /usr/bin/install -c -m 644 'core-utils.scm' '/opt/gnc/svn//share/gnucash/guile-modules/gnucash/core-utils.scm'
16:07:26 <gjanssens> make[4]: Leaving directory `/home/aragorn/janssege/Development/gnucash/src/core-utils'
16:07:28 <gjanssens> make[3]: Leaving directory `/home/aragorn/janssege/Development/gnucash/src/core-utils'
16:07:30 <gjanssens> Making install in gnc-module
16:07:32 <gjanssens> make[3]: Entering directory `/home/aragorn/janssege/Development/gnucash/src/gnc-module'
16:07:34 <gjanssens> Making install in .
16:07:34 <jsled> ah, pastebin please.
16:07:36 <gjanssens> make[4]: Entering directory `/home/aragorn/janssege/Development/gnucash/src/gnc-module'
16:07:38 <gjanssens> make[5]: Entering directory `/home/aragorn/janssege/Development/gnucash/src/gnc-module'
16:07:38 <jsled> http://pastebin.ca/
16:07:40 <gjanssens> test -z "/opt/gnc/svn//lib" || mkdir -p -- "/opt/gnc/svn//lib"
16:07:42 <gjanssens> /bin/sh ../../libtool --mode=install /usr/bin/install -c 'libgnc-module.la' '/opt/gnc/svn//lib/libgnc-module.la'
16:07:45 <gjanssens> libtool: install: error: cannot install `libgnc-module.la' to a directory not ending in /usr/local/lib
16:09:00 <jsled> hmm. Well, you don't need the trailing '/' on /opt/gnc/svn
16:09:09 <jsled> But, clearly, it's still trying to install into /usr/local
16:09:27 <gjanssens> Sorry, I'll use pastebin next time
16:09:27 <jsled> Er, nevermind me.
16:09:57 <gjanssens> Should I have run a make clean first ?
16:10:02 <jsled> you might need to `make distclean` first.
16:10:12 <gjanssens> I'll try that
16:38:52 *** twunder has quit IRC
16:39:35 *** twunder has joined #gnucash
17:11:40 *** twunder has quit IRC
17:17:01 *** twunder has joined #gnucash
17:18:23 *** warlord-afk is now known as warlord
17:18:35 <warlord> Yeah, you probably need a "make distclean" if you change your $prefix
17:31:07 *** twunder-konv has joined #gnucash
17:31:08 *** twunder has quit IRC
17:39:12 <andrewsw> hi guys, I've only got a minute here, but, are there any tools for profiling scheme?
17:39:28 <andrewsw> everything I've seen looks like it was only "discussed" years ago.
17:42:18 <andrewsw> question restated: is there some better tool for figuring out where the slow reports...
17:42:38 <andrewsw> are spending their time other than a whole bunch of (display foo) statements?
17:50:11 *** kielein has quit IRC
17:55:53 <gjanssens> Indeed the make distclean did the trick
17:56:12 <gjanssens> I have just sent some (gui) patches to the devel list
17:56:28 <gjanssens> I'll hear the comments via the list
17:56:31 <gjanssens> Got to go now
17:56:37 *** gjanssens has left #gnucash
18:06:24 <jsled> andrewsw: I don't know about profiling, but one could probably wrap GTimer pretty easily, and do some manual profiling.
18:08:14 <warlord> andrewsw: yeah, I suspect you'll have to add some manual profiling support and make calls into some C-based routines to profile sections of guile code.
18:14:22 <andrewsw> ah well. I was hoping for something nice and easy like 'set -x' that would give me something to look at.
18:14:56 <andrewsw> my general fu is pretty weak and it would probably take me as much time to figure out how to do real profiling as...
18:15:05 <andrewsw> it would to just put in a bunch of displays and watch it.
18:16:00 <andrewsw> any way, I gotta go. thanks. I'll be back soon.
18:23:35 <warlord> okay.
18:23:50 *** Rol1 has joined #gnucash
18:27:40 *** Rol2 has joined #gnucash
18:30:19 *** Rolf has quit IRC
18:30:58 *** ErKa has quit IRC
18:35:21 *** Rol1 has quit IRC
18:36:06 *** Rolf has joined #gnucash
18:41:44 *** Demitar has quit IRC
18:43:41 *** Rol2 has quit IRC
18:59:12 *** Rol1 has joined #gnucash
19:07:07 *** Rolf has quit IRC
19:13:34 *** warlord is now known as warlord-afk
19:25:23 *** pecisk has quit IRC
19:30:39 *** Rolf has joined #gnucash
19:34:30 *** foo has left #gnucash
19:38:14 *** Rol1 has quit IRC
20:36:51 *** nbinont-afk has joined #gnucash
20:46:22 *** sjc has quit IRC
21:18:11 *** cortana has quit IRC
21:36:00 *** twunder-konv has quit IRC
21:36:57 *** twunder has joined #gnucash
21:46:17 *** Rol1 has joined #gnucash
21:54:11 *** Rolf has quit IRC
22:05:46 *** Rolf has joined #gnucash
22:12:49 *** Rol1 has quit IRC
22:22:28 *** tjanssen has joined #gnucash
22:34:54 *** twunder has quit IRC
22:35:29 *** Zoolooc_ has joined #gnucash
22:44:44 *** Zoolooc__ has quit IRC
22:51:40 *** tjanssen has quit IRC
22:56:28 *** Zoolooc__ has joined #gnucash
23:05:44 *** Zoolooc_ has quit IRC