2013-02-08 GnuCash IRC logs

00:09:44 *** arrainey has joined #gnucash
00:19:56 *** arrainey has quit IRC
00:20:42 *** arrainey has joined #gnucash
00:25:45 *** arrainey has quit IRC
00:26:36 *** arrainey has joined #gnucash
00:36:42 *** arrainey has quit IRC
00:37:18 *** arrainey has joined #gnucash
00:56:34 *** john has joined #gnucash
00:56:35 *** gncbot sets mode: +o john
01:14:53 *** arrainey has quit IRC
01:39:09 *** benoitg has joined #gnucash
02:05:34 *** john has quit IRC
02:20:31 *** john has joined #gnucash
02:20:32 *** gncbot sets mode: +o john
02:42:18 *** nafg has quit IRC
02:47:44 *** gjanssens has joined #gnucash
02:47:44 *** gncbot sets mode: +o gjanssens
02:50:09 *** john has quit IRC
03:45:39 *** Jimraeh1 has joined #gnucash
04:26:06 *** uXus has quit IRC
04:30:38 *** kpreid has joined #gnucash
04:58:26 *** fell__ has joined #gnucash
04:58:26 *** gncbot sets mode: +o fell__
05:01:25 *** altruizine has joined #gnucash
05:31:00 *** fabior has joined #gnucash
05:43:57 *** uXus has joined #gnucash
06:47:11 *** Jimraeh1 has left #gnucash
06:48:40 *** Jimraeh1 has joined #gnucash
07:07:54 *** fabior has quit IRC
07:09:19 *** wizkid238 has quit IRC
07:15:13 *** Topcat has joined #gnucash
07:16:43 *** wizkid238 has joined #gnucash
07:26:57 *** Topcat has quit IRC
07:27:31 *** Topcat has joined #gnucash
07:47:08 *** Topcat has quit IRC
07:47:31 *** Topcat has joined #gnucash
07:50:24 *** fell has joined #gnucash
07:50:25 *** gncbot sets mode: +o fell
07:55:35 *** fell__ has quit IRC
07:57:33 *** fabior has joined #gnucash
08:07:53 *** Topcat has quit IRC
08:12:33 *** aqua___ has joined #gnucash
08:25:12 *** aqua___ has quit IRC
08:28:49 *** calbasi has joined #gnucash
08:30:49 *** calbasi has left #gnucash
09:00:43 *** Tommy43 has joined #gnucash
09:01:20 <Tommy43> Hy I need some cash flow report for gnucash. You can help me finding some ?
09:11:12 <warlord> Tommy43: Reports -> Income & Expense -> Cash Flow
09:11:36 <warlord> are you sure you want that and not a Profi&Loss/Income Statement?
09:16:08 <Tommy43> I already saw these
09:16:36 *** Franck has joined #gnucash
09:16:37 <Tommy43> I Wanted some custom report with
09:16:41 <Franck> hi
09:17:57 <Tommy43> I want some custom report with the columns and lines of a budget control bus only with actual values and with initial and final totals
09:19:19 <Tommy43> *bus = but
09:20:30 <warlord> Tommy43: I'm not sure what you mean? Are you looking for a Budget Report (budgeted vs. actual amounts?) If so -- if you have a Budget set up in gnucash there is a Budget Report. (I've never used that feature so don't know much about it)
09:26:52 <Tommy43> i can have the sources of the oficial gnucash reports for me to customize them ?
09:27:00 <Tommy43> where are they ?
09:27:08 <Tommy43> in which folder ?
09:27:39 <Tommy43> and if i can customize it, where should i put them to see them in the custom reports menu ?
09:34:20 <warlord> Tommy43: the reports are in scheme, so they live in the gnucash install directory. You can take and modify the reports; I recommend you change the filename, report name, and report guid. Then just put it in the same 'standard-reports' directory and it will auto-load. But it wont be in the 'custom' menu, it will be in whatever menu the original report is (unless you change it in the source)
09:35:22 <Tommy43> thanks
09:35:25 <Tommy43> Dear warlord, Profi&Loss is almost what I want, only need the initial and final balances
09:36:43 <Tommy43> I will take a look in the sources, if you know where are some customizations made by the community, let me know... thanks
09:37:03 <warlord> If you add the balance columns to the report, feel free to submit your change as a patch for inclusion in future releases.
09:37:18 <warlord> You can check the wiki, but *generally* improvements to reports get included directly.
09:38:30 <Tommy43> you mean the community customizations are already available in the last version of gnucash ?
09:40:27 <warlord> I mean there aren't any "community customizations" because pretty much anything that gets submitted by the community gets included.
09:41:24 <Tommy43> ok, I was tinking about some site with reports sharings
09:41:32 <Tommy43> for download
09:41:34 <Tommy43> but
09:41:43 <Tommy43> You know if there is some MySql version of the reports ?
09:41:53 <Tommy43> in somewhere ?
09:42:06 <Franck> Hi, while using the python extension of gnucash, i'm trying to get an entry in an invoice, the goal is to EntryRemove. To find the right entry in the invoice, i do an "entries = invoice.GetEntries() ; for entry in entries: " and there, i try to compare entry.GetDescription() == description_i_m_looking_for
09:43:05 <Franck> but an Error is Raised, telling me that
09:43:07 <Franck> AttributeError: 'SwigPyObject' object has no attribute 'GetDescription'
09:44:31 <Franck> i wondered how i could get that description, def gncEntryGetDescription(*args):
09:44:36 <warlord> Tommy43: Nope, not that I know of. Any distributed report would use the gnucash api, because 'mysql' isn't the default (and wouldn't work with any other backend)
09:44:44 <Franck> maybe i'm calling it wrong ?
09:45:27 <Franck> the gncEntryGetDescription is in : /usr/share/pyshared/gnucash/gnucash_core_c.py
09:45:34 <warlord> Franck: try gncEntryGetDescription(entry)
09:45:55 <warlord> I dont think it's wrapped as a class method.
09:46:54 <Franck> the variable "entry" == Swig Object of type 'GncEntry *' at 0x3bf62a0
09:47:12 <Tommy43> @warlord, thank you, I have to go now. if I do some progress I will send the report to where ? What you mean with Patch ?
09:47:12 <gncbot> Tommy43: Error: "warlord," is not a valid command.
09:47:49 <warlord> Tommy43: best thing is create a bugzilla entry and attach the patch (diff -u)
09:48:00 <warlord> see http://wiki.gnucash.org/wiki/Bugzilla
09:48:32 <warlord> Franck: I have no clue what that error means. (I dont use the python bindings -- i don't even build them locally -- I'm not a python hacker)
09:48:38 <Tommy43> thank you. By.
09:48:44 <warlord> good luck
09:51:14 *** pestilence has joined #gnucash
09:51:35 <Franck> entry.GetDescription(entry) i still get an "AttributeError", meaning that GetDescription can't be an "entry" (object got from list of invoice_entries (invoice.GetEntries))
09:51:46 <pestilence> Is there a report that plots account balance vs time as a line?
09:53:55 <pestilence> or is the best I can do to use something like "average balance"
09:53:59 <pestilence> (a bar chart)
09:55:29 *** kpreid has quit IRC
09:55:56 *** kpreid has joined #gnucash
09:57:06 <warlord> Franck: there is no "entry.GetDescription".
09:58:01 <warlord> There is no "GetDescription" method to the 'entry' object you get. It's not a python object.
09:58:03 <warlord> pestilence: I don't think there is such a line chart...
10:01:40 *** gncbot has joined #gnucash
10:02:11 <Franck> https://github.com/fluxspir/odontux/blob/del_act/odontux/gnucash_handler.py#L339 and L341 ...
10:02:35 <Franck> seems to work on 339 ; 341 is where it fails
10:03:38 *** warlord sets mode: +o gncbot
10:04:08 <warlord> Franck: How many times do I need to repeat that there is no "GetDescription" method?
10:04:15 <warlord> It's "gncEntryGetDescription"
10:04:36 <Franck> sorry :(
10:05:01 <warlord> the wrapping isn't very "pythony"
10:21:57 <gjanssens> Franck: you probably have to convert the entry you get to a python Entry instance
10:22:02 <gjanssens> Something like
10:22:12 <gjanssens> pyentry = Entry(instance=entry)
10:23:02 <gjanssens> I have had to do the same to work with splits I got from lot.get_split_list()
10:24:25 *** pestilence has quit IRC
10:27:32 <gjanssens> But even then, there is no GetDescription in the Entry's dictionary
10:28:05 <gjanssens> As warlord already pointed out, it's gncEntryGetDescription
10:28:49 <gjanssens> Unless the wrappings do create it somehow I'm not aware of
10:29:09 <gjanssens> I didn't write them, and don't use the python bindings very often
10:47:44 *** altruizine has left #gnucash
10:57:13 <gjanssens> Franck: cool project you're working on btw
10:58:13 <gjanssens> (odontux)
10:58:13 *** linas__ has quit IRC
10:58:30 *** linas__ has joined #gnucash
10:59:14 *** john has joined #gnucash
10:59:14 *** gncbot sets mode: +o john
11:18:08 *** aqua___ has joined #gnucash
11:18:48 *** nafg has joined #gnucash
11:18:48 *** linas__ has quit IRC
11:19:03 *** linas__ has joined #gnucash
11:20:12 *** linas__ has quit IRC
11:20:32 *** linas__ has joined #gnucash
11:21:27 <Tommy43> why we have to many people in the list and almost nothing hapenning here in the main chat... there are particular talk features in IRC ? how does it work ?
11:27:00 <warlord> Tommy43: because it's not a high-volume channel. It comes in fits and spurts.
11:29:51 *** john has quit IRC
11:35:02 *** aqua___ has quit IRC
11:48:49 *** calbasi has joined #gnucash
11:49:09 *** calbasi has left #gnucash
12:04:56 *** arrainey has joined #gnucash
12:05:41 *** uXus has quit IRC
12:09:33 *** uXus has joined #gnucash
12:24:27 *** ErKa has joined #gnucash
12:29:40 *** uXus has quit IRC
12:34:24 *** uXus has joined #gnucash
12:34:36 *** pkfg1 has quit IRC
12:42:06 *** benoitg has joined #gnucash
12:47:03 *** pkfg has joined #gnucash
13:00:11 *** talso has quit IRC
13:12:26 *** arrainey has quit IRC
13:13:00 *** arrainey has joined #gnucash
13:18:05 *** arrainey has quit IRC
13:18:41 *** arrainey has joined #gnucash
13:24:34 *** talso has joined #gnucash
13:47:51 <Tommy43> great, I fell better not filling like standing out of the chat.
13:51:44 <warlord> :)
13:56:28 <fell> warlord: I just blocked a user with a 2 1/2 lines username. It seems they try now to put their spam in the user name.
13:56:45 <warlord> LOVELY...
13:56:55 <warlord> Ever growing escalations..
13:58:00 *** nafg has quit IRC
13:58:16 <fell> The downside is, we have now 2 entries with this "name" in recent changes.
13:59:19 *** Dave_is_sexy has joined #gnucash
14:00:22 <warlord> Hmm, and no easy way to remove that? I wonder if there is a way to limit name length?
14:01:56 <warlord> Dave_is_sexy: 1) Different people will have different contents in those windows. You can't please all the people all the time, so yeah, sometimes you need to resize.
14:02:20 <warlord> 2) Correct, there is no way to operate on multiple transactions simultaneously. This wont get fixed anytime soon.
14:03:20 <warlord> 3) This is as designed. The A/R and A/P accounts are not for user inputs, so if you are entering transactions into those accounts you are doing something wrong. There is lots of additional data that needs to be displayed in A/R and A/P so no, the layout wont change.
14:04:40 <warlord> 4) QIF generally wont create txns into an Imbalance account. However if you delete *half* of a transaction it can get moved. So it all depends on what you did when you "deleted those accounts". Note that deleting an account does NOT delete the transactions in that account! This is also not a bug.
14:05:22 <Dave_is_sexy> It would be nice if it remembered the previous size and position for the pop-up windows though (relating to point 1).
14:05:49 <warlord> Re: Undo -- agreed, it's something that should be in there. However any dangerous operations are slowed down by a "are you sure?" dialog... Unless you manually disable that by clicking the "dont show this again"..
14:06:05 <warlord> 5) Yes, this *is* a known bug.. Patches always welcome. :)
14:06:51 <warlord> Dave_is_sexy: file a bug report.. gnucash memorizes MOST window size/placements.. That this is missing can definitely be construed as a bug. But as always, patches welcome
14:07:02 <Dave_is_sexy> Regarding 4.... I deleted the account. Gnucash gave the option to move or delete all entries in the account. So it literally just deletes their entries in the account and not the 'other halves'?
14:07:17 <warlord> Correct.
14:07:53 <Dave_is_sexy> I'd love to patch it, and I'd work on it for days if I could, but it'd take me years to learn how ;-) I could design you a nice Linux tablet to run it on though, or re-draw the UI ;-)
14:09:41 <warlord> LOL
14:09:47 <warlord> No C experience?
14:09:57 <Dave_is_sexy> I have one more question. When I'm making a new split entry, and I'm adding all the lines to it (eg, salary, income tax, national insurance / social security) what do I push to make a new row? Neither Enter nor Tab move to the next row.
14:10:11 <Dave_is_sexy> I'm not bad in VB6...
14:10:36 <warlord> tab will put you in the next row once you tab off the end of the line. Or you can use down-arrow.
14:10:54 <warlord> (let me test to be sure)
14:11:41 <Dave_is_sexy> Ah yeah it's arrow down :-)
14:11:46 <Dave_is_sexy> Thanks
14:12:09 <warlord> Ah, no, it wont quite work if it's the last line -- then you need to up arrow then down arrow..
14:12:29 <Dave_is_sexy> Oh. Should fix that too ;-)
14:12:37 <warlord> ... the up arrow will process the current line, and add a new one. Then you can down-arrow twice.
14:13:32 <warlord> I'm not convinced it's a bug.
14:15:27 <Dave_is_sexy> It kinda interrupts the workflow though. Making split entries takes ages because of all the mouse action required. Same for deleting. Do you think Gnucash will get keyboard shortcuts any time soon?
14:18:45 *** Topcat has joined #gnucash
14:21:14 *** fabior has quit IRC
14:27:50 <gjanssens> Dave_is_sexy: if you can come up with a set of keyboard shortcuts that doesn't conflict with the existing ones, I'll happily apply them
14:28:05 <gjanssens> Don't need to know C for this :)
14:28:12 <gjanssens> Just open a bug with your proposal
14:28:57 <gjanssens> Also re: "or re-draw the UI" - do you have UX design experience ?
14:29:12 <gjanssens> I'm always interested in good feedback there
14:29:48 <gjanssens> I'm sure our current interface can be improved
14:30:21 <gjanssens> How much I actually will apply, would largely depend on how well the improvement is documented
14:30:38 <gjanssens> I don't have time to do much research myself right now
14:30:58 <gjanssens> And obviously how disruptive the changes would be
14:32:27 <warlord> Dave_is_sexy: no mouse action is required (except, arguably, to hit the 'split' button). Beyond that you don't need the mouse. Everything else can be done by keyboard.
14:33:25 <warlord> You can use tab and shift-tab to move right and left. tabbing off the right end will either commit or create a new line and put you at the start..
14:33:32 <warlord> hit 'enter' when you're done.
14:39:41 *** arrainey has quit IRC
14:40:19 *** arrainey has joined #gnucash
14:43:05 <Dave_is_sexy> I guess. I prefer the tab/enter convention used in spreadsheet apps when it comes to navigating cells though. For example Excel knows which column you last changed and returns you to that column rather than the start of a row, saving many tab pushes. Implementing Ctrl + Enter or Alt + Enter would go a long way.
14:49:36 *** TommyB43 has joined #gnucash
14:50:40 *** Dave_is_sexy has left #gnucash
14:52:26 *** Tommy43 has quit IRC
15:04:45 *** TommyB43 has left #gnucash
15:11:16 *** nafg has joined #gnucash
15:17:17 *** nomeata has joined #gnucash
15:33:02 *** Topcat has quit IRC
15:37:36 *** nafg has quit IRC
16:29:21 *** arrainey has quit IRC
16:30:00 *** arrainey has joined #gnucash
16:39:30 *** Jimraeh1 has quit IRC
16:55:17 *** arrainey has quit IRC
16:55:50 *** arrainey has joined #gnucash
17:05:59 *** arrainey has quit IRC
17:06:36 *** arrainey has joined #gnucash
17:39:19 *** arrainey has quit IRC
17:51:24 *** arrainey has joined #gnucash
17:51:37 *** arrainey has quit IRC
18:15:50 *** gjanssens has quit IRC
18:58:20 *** nomeata has quit IRC
19:35:16 *** benoitg has quit IRC
19:45:52 *** benoitg has joined #gnucash
19:46:13 *** ErKa has quit IRC
19:52:13 *** pkfg1 has joined #gnucash
19:57:24 *** pkfg has quit IRC
20:03:08 *** benoitg has quit IRC
20:04:42 *** arrainey has joined #gnucash
20:25:43 *** arrainey has quit IRC
20:25:52 *** fell has quit IRC
20:26:17 *** arrainey has joined #gnucash
20:34:22 *** arrainey1 has joined #gnucash
20:36:42 *** arrainey has quit IRC
20:40:26 *** ecocode has joined #gnucash
20:45:37 *** arrainey1 has quit IRC
21:00:10 *** pkfg has joined #gnucash
21:01:06 *** ecocode` has joined #gnucash
21:01:39 *** pkfg has quit IRC
21:02:51 *** arrainey has joined #gnucash
21:05:21 *** pkfg1 has quit IRC
21:09:30 *** ecocode has quit IRC
21:09:58 *** ErKa has joined #gnucash
21:13:52 *** kpreid has quit IRC
21:14:45 *** kpreid has joined #gnucash
21:23:00 *** arrainey has quit IRC
21:23:35 *** arrainey has joined #gnucash
21:28:39 *** arrainey has quit IRC
21:29:15 *** arrainey has joined #gnucash
21:33:35 *** Jimraeh1 has joined #gnucash
21:39:18 *** arrainey has quit IRC
21:40:01 *** arrainey has joined #gnucash
21:44:47 *** ecocode` has quit IRC
21:55:04 *** arrainey has quit IRC
21:55:37 *** arrainey has joined #gnucash
22:05:21 *** ErKa has quit IRC
22:10:52 *** arrainey has quit IRC
22:11:30 *** arrainey has joined #gnucash
22:54:00 *** arrainey has quit IRC
22:54:34 *** arrainey has joined #gnucash
22:59:38 *** arrainey has quit IRC
23:00:14 *** arrainey has joined #gnucash
23:10:20 *** arrainey has quit IRC
23:11:00 *** arrainey has joined #gnucash
23:14:57 *** arrainey has quit IRC
23:17:23 *** arrainey has joined #gnucash
23:33:31 *** arrainey has quit IRC
23:34:10 *** arrainey has joined #gnucash
23:39:14 *** arrainey has quit IRC
23:39:52 *** arrainey has joined #gnucash