2008-05-06 GnuCash IRC logs
00:00:00 <warlord> Okay.... what changed today vs. before today?
00:00:00 <dezinho> yesterday it was ok
00:00:26 <dezinho> nothing
00:01:06 <dezinho> yesterday I closed the file as usually, but today when I open it "crash"!
00:02:09 <warlord> So no Windows Updates? No changes in configuration? No computer shutdown?
00:02:46 <dezinho> no.
00:03:17 <dezinho> is there a way to workaround it creating a lock file?
00:03:24 <dezinho> manually
00:03:52 <warlord> Is your data file on local disk or off on a network server?
00:04:02 <dezinho> local disk
00:04:06 <warlord> Did you have open reports?
00:04:21 <dezinho> yes
00:04:57 <dezinho> expenses and budget
00:05:27 <warlord> Interesting... okay..
00:05:33 <warlord> do you have any gnucash.trace files in c:\Documents and Settings\myname\Local Settings\Temp\
00:05:44 <dezinho> let me check
00:07:33 <warlord> If so, please upload to pastebin.ca
00:07:33 <dezinho> wow, there is a lot of them
00:07:40 <warlord> Find the most recent one, please.
00:07:45 <dezinho> ok
00:09:35 <dezinho> found
00:11:55 <dezinho> I didn't understand: "...please upload to pastebin.ca"
00:12:29 <warlord> which word didn't you understand?
00:13:14 <dezinho> I don't know what pastebin.ca is
00:13:35 <warlord> a website
00:13:49 <dezinho> :P (sorry)
00:15:46 <dezinho> http://pastebin.ca/1009000
00:16:48 <warlord> Huh. That's not very interesting..
00:17:34 <warlord> Well, here's one thing to try.. Look for a folder called .gnucash in your homedir.
00:18:13 <dezinho> check
00:18:23 <warlord> (I think there's a problem in the budget report, but there's no way for me to tell this because there is no "console" on windows)
00:18:38 <warlord> Okay, in there should be... "books"
00:18:47 <dezinho> check
00:19:01 <warlord> In THERE you should have a file that's the same name as your data file..
00:19:12 <dezinho> check
00:19:29 <warlord> Rename that file to something else.. Call it.... <filename>-bak
00:19:55 <dezinho> right
00:20:01 <warlord> Now start gnucash.
00:20:14 <dezinho> ok, just a sec
00:21:01 *** anajilly has joined #gnucash
00:22:00 <dezinho> a dialogue box is about lock file is displayed. Should i open it anyway?
00:22:41 <warlord> Yes
00:22:50 <warlord> (assuming you don't have another gnucash running)
00:23:40 <dezinho> uhuhu! You've safe my life!
00:24:00 <warlord> I bet it was one of your open reports.
00:24:16 <warlord> Can you file a bug report and attach that -bak file to it? It wont have any private data in it.
00:24:54 <dezinho> no problem, i can do it.
00:24:58 <warlord> Thank you!
00:25:06 <dezinho> thank you!
00:25:41 <warlord> I suspect the problem is the budget report.. hopefully your metadata has enough information about what was "open"
00:26:53 <dezinho> ok, is there another file you want I upload in the bug report?
00:27:15 <dezinho> no problem for me upload anyone else
00:28:06 <warlord> Ummm... If you can find a gnucash.trace file that has something that looks like a "backtrace" in it, that would be useful, too..
00:29:33 <dezinho> ok
00:49:04 *** dezinho has quit IRC
01:19:06 *** warlord is now known as warlord-afk
01:26:11 *** twunder has joined #gnucash
01:28:21 *** twunder has quit IRC
02:40:05 *** ErKa has joined #gnucash
02:55:59 *** ErKa has quit IRC
03:41:07 *** ErKa has joined #gnucash
04:06:24 <snaidoo> hey guys
04:06:42 <snaidoo> is there any way t add an alert to budgeting
04:06:56 <snaidoo> say when u overspend on a budgeted item
04:07:01 <snaidoo> it alerts you about it
04:25:45 *** cortana has joined #gnucash
04:50:44 *** vinci has joined #gnucash
06:10:30 *** kling0n has joined #gnucash
06:19:32 *** joerlend_ has joined #GnuCash
06:19:32 *** XiXaQ has quit IRC
07:47:17 <conrad> @notes conrad:
07:47:17 <gncbot> conrad: Sent 1 year, 0 weeks, 6 days, 21 hours, and 44 minutes ago: <cstim> thanks a lot.
07:47:36 <conrad> Hmmm. That's a little dated.
08:23:33 *** warlord-afk is now known as warlord
08:23:38 <warlord> snaidoo: I dont think so.
08:23:45 <warlord> Heh
08:49:19 *** HM2K has joined #gnucash
08:49:46 <HM2K> is there a way to migrate from sage to gnucash?
08:50:23 *** RobbieAB has quit IRC
08:51:11 <warlord> Can sage output QIF?
08:51:24 <warlord> (I suspect the answer is "start over")
08:51:43 <HM2K> haven't you used sage?
08:52:48 <warlord> Nope
08:54:04 <warlord> Nor have I used Quicken or Money.. I've *seen* quickbooks but haven't used it, either.
08:54:58 *** RobbieAB has joined #gnucash
09:08:18 *** ErKa has quit IRC
09:41:34 *** snaidoo has quit IRC
10:08:26 *** riq has joined #gnucash
10:08:52 <riq> Hello
10:09:17 <jsled> hello.
10:10:40 <riq> somebody can give me a way on how to compile the GNUcash on Cygwin
10:10:47 <warlord> you can't
10:10:59 <riq> ???
10:11:04 <warlord> http://wiki.gnucash.org/wiki/Windows
10:11:07 <warlord> You cannot use Cygwin
10:11:12 <warlord> You can use MSys
10:11:13 <riq> then how
10:11:19 <warlord> Read the wiki
10:11:28 <riq> ok what other thing I should have
10:11:36 <warlord> Read the wiki
10:11:50 <riq> I am trying before with cygwin it request to many thing
10:12:04 <warlord> You cannot build it on cygwin
10:12:55 <riq> somemore I integerate with Mingw
10:13:25 <riq> thanks Warlord I appreciate that
10:13:37 <riq> I will try according to your advice
10:14:23 <warlord> Why do you want to build GnuCash instead of just installing the setup.exe?
10:14:40 <riq> I want to change something
10:14:46 <riq> ;)
10:14:57 <warlord> Ok..
10:15:35 <warlord> What?
10:19:37 <riq> I went to the site I had gone they before...I think the author also have trouble to compile the source code
10:20:06 <warlord> What changes are you trying to make?
10:20:08 <warlord> What "site"?
10:20:36 <riq> the site you gave me just now
10:21:01 <riq> http://wiki.gnucash.org/wiki/windows
10:21:08 <warlord> Windows, not windows
10:21:30 <riq> I want to customize to customer request ;)
10:21:48 <warlord> What did your customer request to be customized?
10:21:59 <riq> the look
10:22:19 <riq> the gui and other funtion
10:22:28 <warlord> Could you be any more vague?
10:23:31 <riq> what do you mean
10:23:40 <riq> ther are lot of things
10:24:07 <riq> so hard to tell
10:24:27 <warlord> Like what?
10:24:34 <riq> but there is need some changes
10:24:44 <warlord> such as??
10:24:55 <riq> Is that necessary
10:25:18 <warlord> I'm not trying to discourage you from doing the work; I'm trying to understand what you're looking for because there might be an easier way to do it that doesn't require rebuilding gnucash on windows.
10:25:32 <warlord> (you might also consider doing the work on linux)
10:26:11 <riq> maybe linux is not to much problem but the customer insist in window that's the problem
10:26:19 <jsled> riq: you're talking to some of the lead maintainers/developers; we've been around the project for years. We might know things that can help you.
10:27:15 <warlord> you can still do your development on linux and then build the windows project for the customer. Just because they want it in windows doesn't mean you need to do it in windows. And... ==jsled
10:27:16 <riq> oops I am sorry..did I offend you
10:27:23 <warlord> Not yet.
10:27:45 <jsled> no offense. If you can't or don't want to talk about your customer's request, that's cool too.
10:28:52 <riq> actually it was long time ago I have friend need my help for his customer..I was trying to help but I failed
10:29:16 <riq> so today I got heat of the moment to try it again
10:29:54 <riq> actualy my idea how to compile on window environment
10:30:38 <riq> or how to make change then compile can be use in window..that's it..;)
10:31:03 <riq> sorry boss...
10:33:25 <riq> So do you mean I can compile in linux but for windows..it seem like cross compiling
10:33:57 <warlord> No, I mean you do your development on Linux, send in the patches to us, and then the next release has it.
10:34:22 <riq> So I had to build my own cross compiler for window then..
10:34:22 <warlord> Or you can just run the 'dist.sh' command on windows.. but you can still do your development on Linux because it'll be much faster getting up and running and debugging on linux.
10:34:29 <warlord> No.. no cross compiler.
10:34:33 <warlord> two systems.
10:34:36 <warlord> (or vmware)
10:35:09 *** cortana has quit IRC
10:35:29 <riq> oic
10:38:05 <riq> so after I do debugging in Linux ..I compile on linux..run in linux to see it is working or not then I run 'dist.sh'
10:38:12 <warlord> Also, depending on what changes you need to make, you may not need to recompile gnucash at all... Which is another reason I'm asking what changes you're trying to make.
10:38:13 <riq> in window
10:38:26 <warlord> correct.
10:39:23 <riq> actually I forgot the part I need to change..because my friend is the accountant not me but he said he needs to change something in the GUI
10:39:53 <riq> and something about the value in the COA
10:40:10 <jsled> what "something"?
10:40:38 <riq> a small part like ... the unit variable
10:40:52 <riq> he need to add some more unit base
10:41:04 <riq> like cartoon
10:41:15 <riq> box or something like that
10:41:18 <jsled> unit ... like currency?
10:41:27 <riq> yeah also
10:41:48 <jsled> I don't know what you mean by "unit variable", "unit base" or "cartoon".
10:42:46 <riq> like sometime the unit call kg,pices,box ..is an item unit
10:43:48 <riq> maybe I should go back to the gnucash
10:45:26 <riq> you guy are extremely helpful...;)
10:46:28 <riq> make me scared ... ;) ..I think I should prepare before I ask you guy
10:47:14 <riq> I also dont know what I am asking...now...I think it is general question to answer..
10:47:25 <riq> not so specific..
10:48:01 <riq> thanks guy see you then i will right back..nice to meet u...where all you come from USA?
10:50:32 <riq> ok ..keep up with the good work..God will luv u all..tq
10:50:48 <jsled> yeah, we're in the USA, but not all the devs are.
10:51:56 <riq> World need like you all..save the world for better living...ha ha ha..
10:56:44 *** riq has quit IRC
11:27:37 *** kling0n has quit IRC
11:45:00 <zarchne> Good to be loved.
11:53:58 <warlord> Indeed
12:40:01 *** ErKa has joined #gnucash
12:40:01 *** glatapoui has joined #gnucash
13:20:07 *** twunder has joined #gnucash
13:34:16 *** ErKa has quit IRC
13:37:38 *** twunder has quit IRC
13:53:12 *** cortana has joined #gnucash
14:12:51 *** sjc has joined #gnucash
14:47:33 *** _McLANE_ has joined #gnucash
14:48:33 *** ErKa has joined #gnucash
14:49:08 *** anajilly has quit IRC
14:53:44 *** vinci_ has joined #gnucash
15:01:36 *** vinci has quit IRC
16:19:27 *** cortana has quit IRC
16:27:40 *** cortana has joined #gnucash
16:36:18 *** aindilis` has joined #gnucash
16:36:19 *** aindilis has quit IRC
16:49:17 *** ErKa has quit IRC
16:53:19 *** _McLANE_ has quit IRC
16:57:33 *** ErKa has joined #gnucash
17:00:46 *** HM2K has quit IRC
17:03:20 *** _McLANE_ has joined #gnucash
17:12:07 *** sjc has quit IRC
17:16:39 *** warlord is now known as warlord-afk
17:20:19 *** sjc has joined #gnucash
17:33:23 *** _McLANE_ has quit IRC
17:57:52 *** nomeata has joined #gnucash
18:00:59 *** vinci_ has quit IRC
18:17:06 *** ErKa has quit IRC
19:07:22 *** nomeata has quit IRC
19:09:14 *** glatapoui_ has joined #gnucash
19:18:03 *** glatapoui has quit IRC
19:34:08 *** glatapoui_ has quit IRC
20:15:50 *** fell has joined #gnucash
20:16:21 <fell> hi, when did you last see rolf?
20:16:39 <jsled> @seen rolf
20:16:39 <gncbot> jsled: rolf was last seen in #gnucash 19 weeks, 4 days, 0 hours, 46 minutes, and 48 seconds ago: <Rolf> But not being able to password protect your nick sucks
20:18:41 <fell> It is, because patch 16503 made Johannes and my be other crash
20:20:52 *** anajilly has joined #gnucash
20:21:39 <anajilly> is it possible to run the reports from outside of gnucash? like from guile?
20:23:58 <jsled> hmm. Not practically.
20:24:57 <jsled> I suppose one could figure how to bootstrap guile with the gnucash API bound (unlike now, where we initialize the guile bindings from the C code). It did *used* to be that way, for a while.
20:25:37 <anajilly> I would like to try.
20:25:40 <jsled> But the reports pretty much expect the scheme-bound gnucash API (including some meta/UI bindings) to be available.
20:26:14 <anajilly> I don't know what meta/UI bindings are.
20:26:31 <anajilly> I'm new to scheme... but really want to hack reports, so I'm learning.
20:27:16 <anajilly> the gnucash API... is that implemented within a C library? libwhatever.so ?
20:27:25 <anajilly> or more?
20:27:48 <anajilly> I have a lot of questions I guess.
20:27:57 <jsled> By that I just mean that the reports expect things like the report page tab widget in the UI to be available. Not just "engine" API.
20:28:15 <anajilly> ah, got it.
20:28:19 *** fell is now known as fell_afk
20:28:39 <jsled> It's not a single distinct "libgnucash", no, but there are roughly "qof", "engine", "app-utils", and a bunch of other libraries.
20:29:20 <jsled> Probably the best way to get a sense of the scheme-bound API is to look for the SWIG bindings files. `find src -iname '*.i'` at the top of the checkout.
20:30:06 <anajilly> what is SWIG?
20:30:39 <anajilly> is SWIG a way to map... scheme code to library calls?
20:32:22 <anajilly> I suppose I can use google for that. eh?
20:32:24 <anajilly> thanks.
20:33:36 <jsled> (sorry, phone call)
20:33:41 <jsled> The doxygen-generated docs over the C code might be useful, too http://cvs.gnucash.org/docs/HEAD/
20:34:09 <jsled> SWIG is an interface generator. You describe your C API, and it generates the language bindings for scheme/guile, python, ruby, fortran, … whatever.
20:34:27 <anajilly> oh, interesting.
20:35:32 <anajilly> looks like the doxygen-generated docs might be pretty up-to-date and informative.
20:36:04 <jsled> aye.
20:37:04 <anajilly> one more quick question... about the gnucash API. is there a well-defined set of... header files that define it? is this talked about in the docs?
20:37:22 <jsled> Yes and no.
20:37:51 <jsled> There's no real "libgnucash", as you'd like. Where you can #include <gnucash.h> and -lgnucash and use the C API.
20:38:14 <jsled> But, there are reasonable headers and modularity in the code base.
20:38:47 <jsled> src/engine/ is the core model … Transactions, Accounts, gnc-numeric, Commodities, &c.
20:39:25 <jsled> lib/libqof/qof/ is sort of an underlying infrastructure layer. Sessions and Books and abstract Backends (file or db or...) and some more util code like date-handling and logging.
20:39:57 <jsled> src/app-utils/ is starting to get into application concepts, but still pretty generic. File opening. Generic dialog handling, &c.
20:40:41 <jsled> But most of the app is in src/gnome-utils/ and src-gnome/.
20:41:40 <jsled> There is src/register/, which is both the generic model+controller of a checkbook-style register, as well (in src/register/register-gnome/) of the gnome-specific view.
20:42:24 <anajilly> great information. Thanks.
20:42:39 <anajilly> how interdependent are all these parts?
20:42:58 <anajilly> what I'm most interested in (now) is the data handling.
20:43:08 <jsled> The src/business/ module implements the business functionality (customers, vendors, jobs, invoices). It too is seperated into src/business/business-core/ (core data modeling), and src/business/business-{gnome,ledger,reports}/, which implement the pieces they name.
20:43:18 <jsled> They're as interdepdendent as they need to be. :)
20:43:50 <jsled> We take care to keep the layering correct, and prevent layering inversion and whatnot.
20:44:16 <jsled> The biggest problem right is now probably is that most of the generic application logic is too close to the UI code.
20:44:43 <anajilly> "as interdependent as they need to be" sounds like a good answer. a good sign.
20:44:48 <jsled> By that I mean that – for instance – some relatively UI-generic logic might be in the "clicked" signal handler for a particular button in the UI.
20:47:25 <anajilly> I think I understand. I expect the UI to be dependent on a lot of other systems.... though possibly through only one other system... like the business logic - "system", or something.
20:48:17 <anajilly> it's a lot of code to sort through, and I haven't really spent a lot of time doing it.
20:48:34 <jsled> it is, true.
20:48:58 <anajilly> anyway, I'm really appreciate the info you've given me. I feel like I have a starting place.
20:49:09 <anajilly> have to go. talk to you later.
20:49:36 <jsled> anajilly: good. You're welcome. Take care. :)
20:50:33 *** anajilly has quit IRC
21:13:09 *** sjc has quit IRC
21:50:42 *** twunder has joined #gnucash
22:06:39 *** twunder has quit IRC