2019-05-01 GnuCash IRC logs

00:06:10 *** chris has joined #gnucash
00:06:10 *** ChanServ sets mode: +v chris
00:06:36 <chris> jralls: yes that would work, but we'd lose the 'anchor->register' and 'anchor->report' magic
00:08:25 <chris> peanutbutterandcrackers: https://code.gnucash.org/docs/MAINT/group__Invoice.html#gaad521d725d780a6c763713060fd32e29
00:09:20 <peanutbutterandcrackers> chris: wow. Thank you. So I have to look at the C source to figure out what it means!?
00:10:04 <peanutbutterandcrackers> chris, do you also happen to know if there is a way for me to export customers from gnucash (v.2.6.19) and then import it elsewhere (also in 2.6.19)) please?
00:12:22 <chris> you'll want to learn to read C to figure stuff out
00:12:26 <chris> dunno re customers
00:12:41 <chris> and perhaps learn to read scheme too :)
00:16:10 <peanutbutterandcrackers> chris, so much learning to do. so little time. Thank you anyways. But I really really need to be able to export customers.
00:26:51 *** mpiechotka has quit IRC
01:17:29 *** fell has quit IRC
01:18:20 *** fell has joined #gnucash
01:18:20 *** ChanServ sets mode: +o fell
01:32:50 *** fell has quit IRC
01:33:36 *** fell has joined #gnucash
01:33:36 *** ChanServ sets mode: +o fell
01:44:01 *** alpha_ has joined #gnucash
01:45:15 *** peanutbutterandcrackers has quit IRC
01:47:31 *** Mechtilde has joined #gnucash
01:47:31 *** ChanServ sets mode: +v Mechtilde
01:51:32 *** alpha_ has quit IRC
01:52:09 *** Mechtilde has quit IRC
01:53:31 *** Mechtilde has joined #gnucash
01:53:31 *** ChanServ sets mode: +v Mechtilde
01:55:05 *** Mechtilde has quit IRC
01:55:28 *** Mechtilde has joined #gnucash
01:55:28 *** ChanServ sets mode: +v Mechtilde
02:10:21 *** nimish2711 has quit IRC
02:18:38 *** nimish2711 has joined #gnucash
02:31:57 *** peanutbutterandcrackers has joined #gnucash
02:31:57 *** ChanServ sets mode: +v peanutbutterandcrackers
02:41:51 *** mpiechotka has joined #gnucash
02:41:51 *** ChanServ sets mode: +v mpiechotka
02:57:50 *** Mechtilde has quit IRC
02:58:08 *** Mechtilde has joined #gnucash
02:58:08 *** ChanServ sets mode: +v Mechtilde
03:04:50 *** Mechtilde has quit IRC
03:11:41 *** bertbob has quit IRC
03:12:36 *** gjanssens has joined #gnucash
03:12:37 *** ChanServ sets mode: +o gjanssens
03:15:07 *** bertbob has joined #gnucash
03:15:07 *** ChanServ sets mode: +v bertbob
03:21:30 *** Mechtilde has joined #gnucash
03:21:30 *** ChanServ sets mode: +v Mechtilde
03:28:21 *** Mechtilde has quit IRC
03:31:26 *** O01eg has quit IRC
03:34:51 *** nimish2711 has quit IRC
03:37:34 *** nimish2711 has joined #gnucash
03:43:07 *** mpiechotka has quit IRC
03:57:23 *** nicoroumeau has joined #gnucash
03:57:47 <peanutbutterandcrackers> Does someone have any idea as to what the 'id' in Invoice(book, id, currency, owner) means? Is it the invoice id? From the GUI, I always trusted Gnucash to give me the invoice id, is there a way to do the same in my scripts too?
04:25:55 *** nicoroumeau has quit IRC
05:13:23 *** Aussie_matt has quit IRC
05:20:14 <peanutbutterandcrackers> Okay so I did find a method with the name NextID in >>> help(gnucash_business.Invoice) but the documentation isn't clear enough. Looking further.
05:21:54 *** nimish2711 has quit IRC
05:29:15 *** nimish2711 has joined #gnucash
05:54:01 *** Aussie_matt has joined #gnucash
06:15:07 <peanutbutterandcrackers> Anybody there please? I am out of my depths. And I want to complete my script today. Please help.
06:15:55 <peanutbutterandcrackers> How would I have gnucash automatically assign invoice number (ids) without me intervening? It sets invoice ids automatically from the GUI.
06:24:18 *** nicoroumeau has joined #gnucash
06:30:32 <mikee> Try: from gnucash.gnucash_core_c import gncInvoiceNextID
06:30:45 <mikee> gncInvoiceNextID(book, owner)
06:31:03 <mikee> It's been a while since I tested that though.
06:34:16 <peanutbutterandcrackers> mikee, Thank you. I did figure it out though. Yes, that is it. But I did it like so: I called the book.InvoiceNextID(customer) method
06:34:24 <peanutbutterandcrackers> mikee, Thank you nevertheless for your help :)
06:35:30 <peanutbutterandcrackers> mikee, However, the method's help text (in python) says this: InvoiceNextID(self, customer)
06:35:31 <peanutbutterandcrackers> | Return the next invoice ID.
06:35:31 <peanutbutterandcrackers> | This works but I'm not entirely happy with it. FIX ME
06:35:31 <peanutbutterandcrackers> |
06:35:40 <peanutbutterandcrackers> Do you think I should be worried? o.O
06:36:55 <mikee> OR: iID = gnucash.gnucash_core_c.gncInvoiceNextID(book.get_instance(),customer.GetEndOwner().get_instance()[1])
06:37:30 <mikee> peanutbutterandcrackers: book.InvoiceNextID(customer) is denitely better
06:38:07 <peanutbutterandcrackers> mikee, Thank you. What about the warning in the help text?
06:39:35 <mikee> I wrote that. I forget why now.
06:40:13 <peanutbutterandcrackers> mikee, Wow! You are one of the core developers! Super cool! Thank you for your hard work and dedication in making this amazing free software. People like you are the best!
06:40:26 <mikee> Since it works, perhaps I should remove the FIXME
06:40:45 <peanutbutterandcrackers> Yes, sir! It does seem to work. :)
06:40:54 <mikee> Well, not so much lately.
06:41:42 <peanutbutterandcrackers> Still, you played a part in getting gnucash up to this point. And we are very grateful to you. Thank you. Please do keep up the good work. (This is like meeting a celebrity. haha)
06:41:55 <mikee> lol
06:43:07 <peanutbutterandcrackers> :)
06:47:35 *** Jimraehl1 has joined #gnucash
06:47:53 *** Jimraehl1 has left #gnucash
06:50:57 * chris bows to mikee
06:51:13 <mikee> lol again
06:51:13 <chris> however I can't understand python anymore
06:51:55 <mikee> I'd forgotten all about adding InvoiceNextID(customer)
06:52:06 <chris> <peanutbutterandcrackers> I realize that I am asking to ask, which is against
06:52:06 <chris> the guidelines. So here's my question: How does gnucash GUI
06:52:06 <chris> automatically know what the next invoice number should be (it
06:52:06 <chris> increments it automatically)? And how can I use the same
06:52:09 <chris> internal function in my python-gnucash script? [17:08]
06:52:12 <chris> - I have no idea
06:53:43 <peanutbutterandcrackers> chris, Hey sorry I didn't want to SPAM the channel so I thought of DM-ing you. Yes, we did figure it out. By using the book.InvoiceNextID(customer) method. Thank you nevertheless
06:54:09 <mikee> 2012-04-04 seems such a long time ago
06:55:02 <peanutbutterandcrackers> However, I am stuck again. So I have created an invoice in the script, now I would like to process payment for it. I can see that there's an ApplyPayment() method on Invoices, but I'm not sure what arguments it takes
06:55:30 <peanutbutterandcrackers> chris, I'm sorry I couldn't figure out how to look it up on the docs either. I am unable to navigate up from the page you sent me this morning (which was very helpful)
06:55:50 <chris> you can glean some info by analyzing test-invoice.scm
06:55:59 <chris> it's in scheme but the order of parameters is similar to python
06:56:49 <peanutbutterandcrackers> chris, I beg your pardon but I believe the test-invoice.scm file will be in the main GNUcash repo?
06:57:43 <peanutbutterandcrackers> I can't seem to know where exactly it is
06:57:49 <peanutbutterandcrackers> *still looking*
07:00:58 <chris> ApplyPayment seems to be a shadow for gncOwnerApplyPayment so search that one instead
07:01:21 <chris> https://code.gnucash.org/docs/MAINT/group__Business.html
07:01:31 <mikee> I have some random invoice related stuff at https://github.com/EvansMike/pycash
07:02:10 <mikee> May be of use. Mostly half written and abadoned
07:02:35 <chris> mikee I'm gonna make a full HMRC-specific VAT report
07:03:11 <chris> but I'd like some sample txns especially these EC ones
07:04:16 <mikee> chris:
07:04:44 <mikee> I don't do VAT so I'm not sure I can help.
07:05:28 <chris> ok i'll work with maf then, and hopefully you'll create a python bridge :)
07:05:36 *** trying2Simplify has joined #gnucash
07:06:36 <peanutbutterandcrackers> chris, mikee - Thank you. I will look into those.
07:07:15 *** chris has left #gnucash
07:07:51 *** chris has joined #gnucash
07:07:51 *** ChanServ sets mode: +v chris
07:09:06 *** warlord has quit IRC
07:10:27 *** warlord has joined #gnucash
07:10:28 *** gncbot sets mode: +o warlord
07:12:02 <chris> peanutbutterandcrackers: welcome, and ask away anytime; someone usually answers (after a few hours)
07:14:03 <peanutbutterandcrackers> chris, Thank you. I will. I am writing a script in order to solve a real-life problem. Hopefully, if I manage to get it to look not-too-ugly, I might submit it here for review as well. :)
07:19:56 *** Mechtilde has joined #gnucash
07:19:57 *** ChanServ sets mode: +v Mechtilde
07:36:22 *** jervin has joined #gnucash
07:40:51 *** jervin has quit IRC
07:41:28 *** nicoroumeau_ has joined #gnucash
07:41:39 *** nicoroumeau has quit IRC
07:42:08 *** nicoroumeau_ is now known as nicoroumeau
07:50:09 *** oozer has joined #gnucash
08:01:36 *** nicoroumeau_ has joined #gnucash
08:01:48 *** nicoroumeau has quit IRC
08:02:16 *** nicoroumeau_ is now known as nicoroumeau
08:10:22 *** trying2Simplify has quit IRC
08:13:09 *** nicoroumeau has quit IRC
08:17:37 *** warlord has quit IRC
08:17:48 *** warlord has joined #gnucash
08:17:49 *** gncbot sets mode: +o warlord
08:41:10 *** fabior has joined #gnucash
09:00:55 *** Aussie_matt has quit IRC
09:02:38 *** nimish2711 has quit IRC
09:14:41 *** jervin has joined #gnucash
09:16:38 *** peanutbutterandcrackers has quit IRC
09:23:59 *** jervin has joined #gnucash
09:31:45 *** jervin has quit IRC
09:36:59 *** alpha has joined #gnucash
10:09:59 <warlord> .
10:11:05 <warlord> mikee, why did you push a bug branch to code?
10:13:08 <mikee> warlord: By accident. I deleted it again.
10:13:44 <mikee> I was removing a comment. I thought I was in maint.
10:22:03 *** warlord has quit IRC
10:23:49 *** jerryq has quit IRC
10:28:47 *** warlord has joined #gnucash
10:28:47 *** gncbot sets mode: +o warlord
10:50:37 *** Mechtilde has quit IRC
10:55:01 *** warlord has quit IRC
10:58:33 *** warlord has joined #gnucash
10:58:33 *** gncbot sets mode: +o warlord
11:00:49 *** fabior has quit IRC
11:01:56 *** jerryq has joined #gnucash
11:02:52 *** wget has quit IRC
11:15:06 *** fabior has joined #gnucash
11:15:51 *** storyjesse has quit IRC
11:17:33 *** wget has joined #gnucash
11:22:37 *** guak has joined #gnucash
11:25:02 *** wget has quit IRC
11:34:59 <warlord> gjanssens, do you have e-handshake dot be?
11:35:26 *** Mechtilde has joined #gnucash
11:35:26 *** ChanServ sets mode: +v Mechtilde
11:36:57 *** mpiechotka has joined #gnucash
11:36:58 *** ChanServ sets mode: +v mpiechotka
11:42:58 *** nicoroumeau has joined #gnucash
11:44:10 *** alpha has quit IRC
11:45:05 *** mikee has quit IRC
11:50:22 *** mikee has joined #gnucash
11:50:22 *** ChanServ sets mode: +o mikee
11:50:28 *** nicoroumeau has quit IRC
11:59:09 *** warlord has quit IRC
11:59:21 *** warlord has joined #gnucash
11:59:21 *** gncbot sets mode: +o warlord
12:08:02 <gjanssens> warlord: that's the first time I have heard of that domain
12:08:24 <gjanssens> Doesn't seem to have a website either
12:11:00 *** mpiechotka has quit IRC
12:11:30 <gjanssens> What about it ?
12:13:54 <warlord> there was a geert at it, subscribed to one of the gnucash lists.
12:29:56 *** fabior has quit IRC
12:40:08 *** nicoroumeau has joined #gnucash
12:45:01 *** fabior has joined #gnucash
12:59:00 *** wget has joined #gnucash
13:00:07 *** wget has quit IRC
13:03:39 *** wget has joined #gnucash
13:04:22 *** alpha has joined #gnucash
13:12:57 *** nicoroumeau has quit IRC
13:31:13 *** tienne has joined #gnucash
13:45:00 *** tienne has quit IRC
13:45:31 *** tienne has joined #gnucash
13:52:12 *** tienne has quit IRC
13:52:50 *** tienne has joined #gnucash
13:54:43 *** calvinct has joined #gnucash
13:55:14 <gjanssens> Ok. Not me...
14:00:29 <warlord> gjanssens, ok
14:02:55 *** fabior has quit IRC
14:12:52 *** Agfarmer18 has joined #gnucash
14:18:37 *** Mechtilde has quit IRC
14:19:26 *** frakturfreak has joined #gnucash
14:26:06 *** warlord has quit IRC
14:27:03 *** warlord has joined #gnucash
14:27:03 *** gncbot sets mode: +o warlord
14:34:08 *** alpha has quit IRC
14:36:04 *** calvinct has quit IRC
14:39:43 *** nimish2711 has joined #gnucash
14:54:29 *** nimish2711 has quit IRC
14:57:09 *** nimish2711 has joined #gnucash
15:02:18 *** nicoroumeau has joined #gnucash
15:24:16 *** nicoroumeau has quit IRC
15:38:10 *** nicoroumeau has joined #gnucash
15:44:49 *** nimish2711 has quit IRC
15:47:36 *** nimish2711 has joined #gnucash
15:50:09 *** nimish2711 has quit IRC
15:50:45 *** nimish2711 has joined #gnucash
15:50:45 *** calvinct has joined #gnucash
15:54:39 *** nicoroumeau has quit IRC
15:56:58 *** Robert847 has joined #gnucash
15:56:58 *** ChanServ sets mode: +v Robert847
16:00:30 *** nimish2711 has quit IRC
16:00:44 *** gjanssens has quit IRC
16:01:02 *** warlord has quit IRC
16:01:05 *** warlord has joined #gnucash
16:01:05 *** gncbot sets mode: +o warlord
16:01:05 *** nimish2711 has joined #gnucash
16:02:02 *** gjanssens has joined #gnucash
16:02:02 *** ChanServ sets mode: +o gjanssens
16:08:04 <Robert847> Hi. I have a strange problem with Release 2.6.19 in a Ubuntu 18.04 guest on Virtualbox. After several months of uneventful use, this morning Ubuntu started having issues communicating via SMB share with my NAS. I initailly needed to log in twice to the server before I could open the .gnucash data file residing there. Then something happened to cause GnuCash to fail to complete an automagical save. In attempting to do a manual
16:08:05 <Robert847> Gnucash could not follow the path that it was supposed to follow. I then tried a 'Save AS' and I could find the folder on the NAS with the correct file and lock file. I tapped the Save As button and noy it seems to be hung.
16:09:24 <Robert847> There is a very lengthy
16:09:46 <Robert847> import hanging in this unsaved file
16:12:58 <Robert847> The Cancel button does nothing. Is it possible to somehow abort the save as some other way without losing this import?
16:14:18 <Robert847> If I could save the file on the 'local' drive, I could use the file manager copy it to the NAS
16:20:51 *** nimish2711 has quit IRC
16:21:25 *** nimish2711 has joined #gnucash
16:24:31 <Robert847> I just found a warning that the file already exists hiding under the 'save as' dialog
16:26:30 <Robert847> I said yes and now Ubuntu says Gnucash is not responding
16:27:27 <Robert847> now it is responding. I think it has resumed working
16:28:30 <Robert847> the imported transactions appear to be present
16:34:46 <Robert847> However, I closed the program but it did not delete the lck file.
16:36:00 <Robert847> there is a new copy of the data file and a new backup so I will try open anyway
16:38:35 <Robert847> One of the other changes that I know happened is that I replaced a Cat 5 jumper from the laptop to the wall with a new Cat 6 jumper from WalMart
16:39:59 <Robert847> not sure if their definition of Cat 6 is the same as the rest of the world
16:41:43 *** nicoroumeau has joined #gnucash
16:41:44 <Robert847> I know some other products are not the same as sold in other stores, tho they seem to be labelled as the same
16:43:14 <warlord> A bad cable could certainly cause issues.
16:46:33 *** phebus has joined #gnucash
16:46:34 *** ChanServ sets mode: +v phebus
16:52:48 <Robert847> After opening the new file, it appears to have all the recent entries. Not sure about working with a somewhat unreliable system, tho
16:54:05 <Robert847> save and save again for now
16:54:18 *** Robert847 has left #gnucash
16:55:45 *** nicoroumeau has quit IRC
16:56:11 *** nimish2711 has quit IRC
16:56:45 *** nimish2711 has joined #gnucash
16:57:33 *** calvinct has quit IRC
16:58:52 <warlord> Weird.
16:59:04 <warlord> I'll note that there may be weird LNK issues on CIFS
17:03:14 *** nicoroumeau has joined #gnucash
17:04:50 *** nicoroumeau has quit IRC
17:06:31 *** nimish2711 has quit IRC
17:07:06 *** nimish2711 has joined #gnucash
17:12:17 *** frakturfreak has quit IRC
17:15:21 *** calvinct has joined #gnucash
17:18:59 *** calvinct has quit IRC
17:36:51 *** nimish2711 has quit IRC
17:37:28 *** nimish2711 has joined #gnucash
17:41:06 *** warlord has quit IRC
17:42:15 *** warlord has joined #gnucash
17:42:15 *** gncbot sets mode: +o warlord
17:47:31 *** warlord has quit IRC
17:55:38 *** warlord has joined #gnucash
17:55:39 *** gncbot sets mode: +o warlord
18:02:14 *** nimish2711 has quit IRC
18:02:48 *** nimish2711 has joined #gnucash
18:13:18 *** jerryq has quit IRC
18:15:37 *** jervin has joined #gnucash
18:24:48 *** jervin has quit IRC
18:42:35 *** nimish2711 has quit IRC
18:43:09 *** nimish2711 has joined #gnucash
18:48:02 *** jervin has joined #gnucash
18:50:40 *** jervin has quit IRC
18:52:56 *** nimish2711 has quit IRC
18:53:31 *** nimish2711 has joined #gnucash
18:57:42 *** sbluhm has quit IRC
18:58:31 *** sbluhm has joined #gnucash
18:58:31 *** ChanServ sets mode: +v sbluhm
19:13:16 *** nimish2711 has quit IRC
19:13:51 *** nimish2711 has joined #gnucash
19:16:00 *** Aussie_matt has joined #gnucash
19:23:37 *** nimish2711 has quit IRC
19:24:12 *** nimish2711 has joined #gnucash
19:29:48 *** tienne has quit IRC
19:38:58 *** nimish2711 has quit IRC
19:39:34 *** nimish2711 has joined #gnucash
19:44:19 *** nimish2711 has quit IRC
19:44:55 *** nimish2711 has joined #gnucash
19:46:51 *** warlord has quit IRC
19:46:53 *** warlord has joined #gnucash
19:46:54 *** gncbot sets mode: +o warlord
19:49:40 *** nimish2711 has quit IRC
19:50:15 *** nimish2711 has joined #gnucash
19:58:27 *** User_ has joined #gnucash
20:15:00 *** nimish2711 has quit IRC
20:15:35 *** nimish2711 has joined #gnucash
20:19:34 *** marusich has joined #gnucash
20:19:34 *** ChanServ sets mode: +v marusich
20:20:20 *** nimish2711 has quit IRC
20:20:53 *** nimish2711 has joined #gnucash
20:25:41 *** nimish2711 has quit IRC
20:26:14 *** nimish2711 has joined #gnucash
20:52:06 *** User_ has quit IRC
20:56:02 *** nimish2711 has quit IRC
20:56:37 *** nimish2711 has joined #gnucash
21:01:22 *** nimish2711 has quit IRC
21:01:37 *** warlord has quit IRC
21:02:19 *** nimish2711 has joined #gnucash
21:02:57 *** warlord has joined #gnucash
21:02:57 *** gncbot sets mode: +o warlord
21:13:39 *** warlord has quit IRC
21:15:01 *** nimish2711 has quit IRC
21:17:23 *** guak has quit IRC
21:19:57 *** alpha has joined #gnucash
21:23:14 *** alpha has quit IRC
21:30:46 *** nimish2711 has joined #gnucash
21:33:26 *** jerryq has joined #gnucash
21:34:23 *** nimish2711 has quit IRC
21:34:56 *** nimish2711 has joined #gnucash
21:50:31 *** alpha has joined #gnucash
22:06:24 *** oozer has quit IRC
22:09:43 *** nimish2711 has quit IRC
22:10:18 *** nimish2711 has joined #gnucash
22:25:04 *** nimish2711 has quit IRC
22:25:40 *** nimish2711 has joined #gnucash
22:27:16 *** alpha has quit IRC
22:33:21 *** nimish2711 has quit IRC
22:33:42 *** nimish2711 has joined #gnucash
22:35:03 *** nimish2711 has joined #gnucash
23:27:07 *** linas has quit IRC
23:34:51 *** nimish2711 has quit IRC
23:35:24 *** nimish2711 has joined #gnucash
23:43:39 <fell> I just realized "Memorised" is british English. I could change the strings, but don't know, how to convert the gschema key.
23:46:40 <fell> Found it by [Bug 797223]
23:55:10 *** nimish2711 has quit IRC
23:55:59 *** nimish2711 has joined #gnucash