2013-10-20 GnuCash IRC logs

00:08:35 *** keryell has joined #gnucash
01:49:20 *** kpreid has quit IRC
01:50:28 *** kpreid has joined #gnucash
03:02:57 *** keryell has quit IRC
03:53:23 *** TradeBorG has joined #gnucash
04:10:01 *** john has quit IRC
04:41:14 *** JoTraGo has joined #gnucash
04:42:06 *** madprops has quit IRC
04:54:32 *** JoTraGo has quit IRC
04:55:11 *** JoTraGo has joined #gnucash
04:56:53 *** benoitg has joined #gnucash
05:40:30 *** benoitg has quit IRC
05:45:44 *** Bodhi-Baum has joined #gnucash
05:51:00 *** Topcat has joined #gnucash
05:56:41 *** Topcat has quit IRC
06:59:24 *** Bodhi-Baum has quit IRC
07:47:21 *** jmd has joined #gnucash
08:00:59 *** JoTraGo has quit IRC
08:01:26 *** PaulFertser has joined #gnucash
08:02:44 <PaulFertser> Hi there :) Inability to load .gnucash file if it has some broken utf-8 inside: a known bug or should be reported?
08:08:39 *** gjanssens has quit IRC
09:44:37 *** benoitg has joined #gnucash
10:04:40 <warlord> PaulFertser: known issue. How did it get broken utf-8?
10:05:47 <warlord> (technically that isnt the bug -- the bug is allowing non-utf8 input somewhere)
10:06:57 <PaulFertser> warlord: I had a long utf-8 string in bank id in OFX file, but libofx takes only first N bytes from it.
10:07:57 <warlord> hmm... I dont know why it would cut it off. how long is it?
10:08:15 <PaulFertser> Another case was when I imported a CSV file with broken unicode, not sure how it happened to have it.
10:08:38 <PaulFertser> I'll check. But it's libofx doing cutting, no idea why, specs doesn't seem to require it.
10:08:42 <warlord> Can you report those two bugs, please?
10:09:10 <warlord> if it is libofx maybe benoitg knows
10:09:13 <PaulFertser> warlord: sure
10:10:21 <warlord> thanks
10:12:25 <PaulFertser> It's very annoying to not being able to open a file after you just imported a bank statement with ~20 transactions, heh.
10:12:44 <benoitg> PaulFertser: Libofx does have length limit, libofx does static memory allocation (a remnant of another time) so could cut strings, but i doubt that's your problem.
10:13:44 <warlord> gotta run.
10:13:46 <benoitg> PaulFertser: Most likely you have an encoding problem. Some were fixed pretty recently.
10:14:39 <benoitg> PaulFertser: See if you can reproduce the problem with ofxdump. If you can, try upgrading your libofx.
10:14:45 <benoitg> Gotta run also.
10:15:13 <PaulFertser> benoitg: heh
10:15:25 <PaulFertser> benoitg: if it does cut the string, how can it not cut it? :)
10:15:44 <PaulFertser> I've checked the git log for libofx.
10:16:22 <PaulFertser> I know releases prior to 0.9.6 do not work with unicode xml files and 0.9.6 has a very serious line ending detection bug that makes it unusable too.
10:18:34 <benoitg> Oh, I just checked the spec, bankid is limited to 9 character, branchid 22.
10:18:45 <benoitg> PaulFertser: You are pretty much out of luck.
10:19:10 <PaulFertser> benoitg: probably libofx shouldn't output broken utf-8 regardless.
10:19:28 <PaulFertser> And gnucash shouldn't break receiving it too :)
10:20:31 <benoitg> I was young back then, I had this silly idea that software should be coded against spec...
10:20:49 <PaulFertser> In fact that limit seems arbitrary and unnecessary
10:21:09 <PaulFertser> benoitg: btw, thank you for the library, it's really useful!
10:22:23 <PaulFertser> I do not think anything should break if the limits for BANKID and ACCTID are removed altogether.
10:23:03 <benoitg> The strings are allocated statically, having dynamic memory allocation there would completely break the api.
10:23:04 <PaulFertser> The gnucash for android app is emitting ofx files with very long acctid and one can't see the account name (as it comes about last in that long string).
10:23:44 <benoitg> The gnucash for android app should not emit invalid OFX ;)
10:23:45 <PaulFertser> Making a static buffer a bit larger won't be noticed by anybody :)
10:23:59 <PaulFertser> Yes, it shouldn't. In fact it emits very invalid ofx :/
10:24:06 <benoitg> PaulFertser: I't already been quadrupled I think...
10:24:55 <PaulFertser> It's not an embedded system and statics are allocated only once...
10:27:22 <PaulFertser> benoitg: i've written a parser for my bank's statements (in brain-dead "txt" format) and it outputs OFX. I'd prefer to have the full "name" of my card (as emitted by the bank) in ACCTID: "VISA ELECTRON XXXX XXXX XXX2 6616 ОСНОВНАЯ" . Why shouldn't I do that?
10:31:03 *** Jimraehl1 has left #gnucash
10:32:19 *** Topcat has joined #gnucash
10:33:55 *** benoitg has quit IRC
10:38:51 *** Jimraehl1 has joined #gnucash
10:47:05 *** Topcat has quit IRC
10:47:37 *** Topcat has joined #gnucash
10:54:36 *** Topcat has quit IRC
10:55:26 *** Topcat has joined #gnucash
11:02:25 *** Topcat has quit IRC
11:02:58 *** Topcat has joined #gnucash
11:09:57 *** Topcat has quit IRC
11:10:33 *** Topcat has joined #gnucash
11:23:22 *** Topcat1 has joined #gnucash
11:27:44 *** Topcat has quit IRC
11:35:27 *** Topcat1 has quit IRC
11:36:12 *** Topcat has joined #gnucash
11:46:25 *** Topcat has quit IRC
13:10:58 *** john has joined #gnucash
13:10:58 *** gncbot sets mode: +o john
13:25:22 *** Bodhi-Baum has joined #gnucash
14:26:14 *** Anton has joined #gnucash
14:27:33 *** Anton_ has quit IRC
14:30:57 *** shaun has joined #gnucash
15:10:16 *** shaun has quit IRC
15:10:52 *** shaun has joined #gnucash
15:18:38 *** Bodhi-Baum has quit IRC
15:36:13 *** jmd has quit IRC
15:43:56 *** madprops has joined #gnucash
15:54:29 *** Bodhi-Baum has joined #gnucash
16:01:20 *** Bodhi-Baum has quit IRC
16:16:48 *** aqua___ has joined #gnucash
16:23:49 *** TradeBorG has quit IRC
16:36:07 *** aqua_ has joined #gnucash
16:40:10 *** aqua___ has quit IRC
16:42:21 <john> warlord: Derek, are you there?
16:46:00 *** kpreid_ has joined #gnucash
16:48:52 *** nafg has joined #gnucash
16:52:36 *** kpreid has quit IRC
16:52:37 *** kpreid_ is now known as kpreid
17:28:01 *** puck has quit IRC
17:29:22 *** puck has joined #gnucash
17:30:02 *** aqua_ has quit IRC
17:37:49 *** madprops has quit IRC
17:59:23 *** benoitg has joined #gnucash
18:00:18 *** benoitg has quit IRC
18:21:58 *** nafg has quit IRC
18:38:40 *** brucemint15 has joined #gnucash
18:43:12 <brucemint15> Good morning ladies and gents (well it's morning in Australia). I have a question about exports. Apparently the only format I can use is XML. Is there any way I can export to CSV, or something else to work with?
19:35:43 <warlord> john: I am here now.
19:38:47 <warlord> brucemint15: http://wiki.gnucash.org/wiki/FAQ#Importing.2FExporting_Data
19:39:07 <brucemint15> Thanks, I'll have a look
20:31:24 *** bpburns has quit IRC
21:13:15 *** brucemint15 has quit IRC
21:41:02 *** fell has joined #gnucash
21:41:02 *** gncbot sets mode: +o fell
21:48:42 *** fell__ has quit IRC
22:18:33 *** shaun has quit IRC
22:19:50 *** shaun has joined #gnucash
22:35:09 *** shaun has quit IRC
23:44:43 *** cosmix has joined #gnucash
23:47:43 *** cosmix has quit IRC