2018-01-29 GnuCash IRC logs

01:00:48 *** chf has quit IRC
01:12:49 *** Mechtilde has joined #gnucash
01:27:55 *** fell has quit IRC
01:28:59 *** fell has joined #gnucash
01:29:42 *** Adrien1 has joined #gnucash
01:30:30 *** Adrien1 is now known as AdrienM
02:06:26 *** Mechtilde has quit IRC
02:08:21 *** bertbob has quit IRC
02:08:31 *** bertbob has joined #gnucash
02:13:26 *** bertbob has quit IRC
02:13:43 *** bertbob has joined #gnucash
02:19:25 *** jotrago has quit IRC
02:34:46 *** harshitaneja has quit IRC
02:35:35 *** harshitaneja has joined #gnucash
02:39:18 *** harshitaneja has quit IRC
02:40:12 *** harshitaneja has joined #gnucash
03:23:44 *** fekepp has joined #gnucash
03:29:08 *** gjanssens has joined #gnucash
03:29:10 *** ChanServ sets mode: +o gjanssens
03:29:15 <gjanssens> .
03:29:39 *** gjanssens sets mode: +o gncbot
03:59:04 *** CDB-Man_ has joined #gnucash
04:00:09 *** CDB-Away has joined #gnucash
04:00:17 *** marusich has quit IRC
04:00:45 *** marusich has joined #gnucash
04:01:18 *** CDB-Man has quit IRC
04:01:18 *** CDB-Away_ has quit IRC
04:10:17 *** gncbot has joined #gnucash
04:24:00 *** marusich has quit IRC
04:59:36 *** pilotauto has quit IRC
05:27:51 *** fabior has joined #gnucash
05:57:36 *** AdrienM has quit IRC
05:59:49 *** harshitaneja has quit IRC
06:00:38 *** harshitaneja has joined #gnucash
06:04:18 *** harshitaneja has quit IRC
06:05:09 *** harshitaneja has joined #gnucash
06:24:06 *** harshitaneja has quit IRC
06:30:32 *** jotrago has joined #gnucash
06:46:02 *** User_ has joined #gnucash
06:52:21 *** User_ has quit IRC
07:00:29 *** oozer has joined #gnucash
07:07:20 *** fabior has quit IRC
07:27:22 <fell> gjanssens, can you op gncbot?
07:28:51 *** gjanssens sets mode: +o gncbot
07:28:59 <gjanssens> fell: done
07:29:10 <fell> chris, whithout a msgctx, gettext will replace all occurrences of msgid with the localized msgstr.
07:29:18 <fell> thx
07:31:42 *** gncbot sets mode: +o fell
07:32:51 <fell> chris: ... with the same localized ...
07:33:08 <gjanssens> fell: do you know which non-source files are required in the dist tarball ?
07:33:25 <fell> No
07:33:25 <gjanssens> I know LICENCE and such are obvious.
07:33:48 <gjanssens> But we also add the gnucash man page, although this can easily be rebuilt even from the tar ball
07:34:53 <gjanssens> Oh well, let's search a bit further then...
07:44:10 <fell> gjanssens might consider to create a wiki page tarball with the respective pointers. :-)
07:49:03 <gjanssens> If I find some info, I might... :)
07:51:34 *** oozer has quit IRC
07:52:14 *** jotrago has quit IRC
08:15:18 <chris> fell I have no idea what msgctx mean but that's fine. :)
08:15:35 <chris> let's focus on learning testing :)
08:21:26 <fell> message context
08:22:14 *** bob_ has joined #gnucash
08:25:35 <fell> chris, you saw it in the recurrence example.
08:31:37 *** To7 has joined #gnucash
08:37:19 <warlord> .
09:05:27 *** harshitaneja has joined #gnucash
09:18:33 *** fabior has joined #gnucash
09:23:39 *** hhn11 has joined #gnucash
09:24:00 <warlord> chris: RE Strings: Yes. They are global.
09:37:37 *** KaiForce has joined #gnucash
09:45:32 *** Mechtilde has joined #gnucash
10:12:40 *** bob_ has quit IRC
10:19:15 *** Mechtilde has quit IRC
10:24:12 *** meb has joined #gnucash
10:28:24 *** meb has quit IRC
10:32:18 *** kael has joined #gnucash
10:39:12 *** jotrago has joined #gnucash
10:53:20 *** kael has quit IRC
10:57:25 *** oozer has joined #gnucash
11:01:00 *** harshitaneja has quit IRC
11:04:39 *** meb has joined #gnucash
11:12:37 *** meb has quit IRC
11:15:24 *** KaiForce has quit IRC
11:20:27 *** meb has joined #gnucash
11:31:05 *** jotrago has quit IRC
11:35:46 *** meb has quit IRC
11:36:01 *** meb has joined #gnucash
11:53:49 *** lucky has joined #gnucash
11:54:24 *** meb has quit IRC
11:57:31 *** lucky has quit IRC
12:01:50 *** fekepp has quit IRC
12:01:54 *** bob_ has joined #gnucash
12:31:21 *** ArtGravity has joined #gnucash
12:38:34 *** harshitaneja has joined #gnucash
12:44:01 *** Mechtilde has joined #gnucash
13:18:02 *** kael has joined #gnucash
13:30:46 *** kael has quit IRC
13:32:52 *** kael has joined #gnucash
13:35:57 *** kael has quit IRC
13:40:57 *** Mechtilde has quit IRC
13:43:11 *** kael has joined #gnucash
13:44:57 *** Mechtilde has joined #gnucash
13:50:12 <gjanssens> jralls: I have finished my work on the dist dependencies
13:50:31 <jralls> gjanssens: OK. Anything startling?
13:50:34 <gjanssens> I believe what we have now is in a much better shape than it was before.
13:51:13 <gjanssens> You can now do "cmake bla; make dist" in an empty build directory and it should work
13:51:41 <gjanssens> I have dropped a few files from the dist tarball as they are generated anyway and don't depend on anything git nor swig
13:52:13 <gjanssens> There are still a few dependency issues though:
13:53:03 *** fabior has quit IRC
13:54:35 <gjanssens> - gnucash.pot is still not automatically updated when files are changed. That would require adding all files in POTFILES.in but not in POTFILES.skip/ignore to be set as dependencies for gnucash.pot
13:55:25 <gjanssens> - I also found by experimentation one can't run "cmake ...; ninja-build check" in an empty build directory
13:55:42 <gjanssens> It works almost, except for the python bindings test.
13:56:00 <gjanssens> One should first do a ninja-build before a ninja-build check still
13:56:15 <gjanssens> That's not the end of the world, just something to keep in mind
13:56:47 *** kael has quit IRC
13:57:45 <gjanssens> I have also simplified the invocation of gnc_add_swig_*_command: these macros will now detect for themselves whether we're building from git and do-the-right-thing depending on that
13:57:46 *** kael has joined #gnucash
13:58:30 <gjanssens> So calls to these no longer have to be wrapped in if(BUILDING_FROM_VCS) conditions
13:58:48 <jralls> Why not just make gnucash.pot an every-build target?
13:59:13 <gjanssens> Because it only matters when creating a dist file ?
13:59:52 <jralls> Well, it would if it weren't for fell and Mechtilde...
13:59:55 <gjanssens> It takes some time to generate that file, so I wouldn't want it to be updated every time.
14:00:46 <Mechtilde> jralls, and the othere translaters
14:00:53 <Mechtilde> ;-)
14:02:15 <jralls> Mechtilde: The other translators work from tarballs. You and fell work from git. That's good because the German translation is always up-to-date and you can iterate between fixing msgids and msgstrs. But it means that you need gnucash.pot to be updated when you fix msgids.
14:02:32 <gjanssens> One can also run "make/ninja-build dist-po-gnucash-pot" to manually rebuild the po file
14:03:00 <gjanssens> But still that would require to do an rm po/gnucash.pot first because it doesn't detect updated files (yet)
14:04:02 <gjanssens> So in short (for now), to get an updated gnucash.pot: rm po/gncuash.pot; make/ninja-build dist-po-gnucash-pot
14:04:12 *** gjanssens is now known as gjanssens_afk
14:05:11 <jralls> OK, that's probably good enough for fell and Mechtilde.
14:05:50 <Mechtilde> this can be execute in the source tree?
14:06:02 <gjanssens_afk> In the build directory
14:06:40 <fell> A strange target - does it mean a dist must be built to get a pot?
14:08:14 <jralls> fell: That's what we were just talking about. Do rm po/gnucash.pot && make dist-po-gnucash-pot.
14:08:52 <fell> Can someboy write it in wiki:Translation?
14:09:01 <fell> +d
14:09:36 <fell> and you forgot DiMan
14:10:28 <jralls> Is he working from git too?
14:10:55 <fell> He send PRs for ru and de
14:12:22 <jralls> But does he make a new gnucash.pot and re-merge the po files?
14:12:57 <fell> I would assume TP members use the tarball, most other might build frim git.
14:15:02 <fell> As gnucash.pot is not in git, it has to be built befor msgmerge and he sent as expected msgmerge commits as preparation of his real work.
14:19:32 *** frakturfreak has joined #gnucash
14:24:20 <jralls> Looking back over the last year it appears that at least the Latvian and Finnish translators are also using git-sourced gnucash.pot, Portuguese and TP are using tarball versions.
14:27:10 *** kycka has joined #gnucash
14:27:18 <kycka> 'lo world
14:30:09 *** kael has quit IRC
14:31:58 *** frozenjim has joined #gnucash
14:32:27 <frozenjim> I am no longer able to print Vendor Bill. Error says "This report is designed for customer (sales) invoices only."
14:33:04 <frozenjim> Unhappily, I also see a "Bug" fix for printing invoice allows bill printing... has this "BUG" been fixed and now I have no way to print Vendor Bills?
14:33:39 <Mechtilde> which version do you use?
14:38:58 *** kael has joined #gnucash
14:39:04 *** serrador has joined #gnucash
14:40:53 *** serrador has quit IRC
15:04:03 <fell> frozenjim, you can find the version a) on the command line: gnucash --version or b) About in the Help menu.
15:05:25 *** fekepp has joined #gnucash
15:06:37 *** gjanssens_afk is now known as gjanssens
15:07:02 <gjanssens> fell: the odd target name is because it's automatically generated
15:07:34 <gjanssens> If you prefer I can also add a more straightforward extra target, such as gnucash-pot
15:08:58 <frozenjim> I just updated from 2.6.17 to 2.6.19 hoping it was a short-term problem.
15:09:03 <fell> a simple 'make pot' would be nice.
15:09:44 <fell> let's see in Translation
15:10:49 *** Mechtilde has quit IRC
15:11:29 <fell> frozenjim, where did you first see it?
15:12:35 <fell> gjanssens: https://wiki.gnucash.org/wiki/Translation#Get_a_fresh_template has 'mak pot'
15:12:43 <fell> +e
15:15:26 *** fabior has joined #gnucash
15:15:42 <frozenjim> fell: I presume 2.6.17 update. My workflow includes printing vendor bills that are expensed to a company account. So the presumption is that I noticed almost immediately.
15:15:54 <jralls> gjanssens: It turns out that you were at least partly right about etc/fonts/fonts.conf. The bundle wanted to find the one in the build directory and I was able to get GnuCash to crash in the same place by hiding it. I added FONTCONFIG_FILE to etc/gnucash/environment and that solved the crash... as long as I run it as me on the build machine. But it still crashes for another user on that machine or on a different machine.
15:16:21 <fell> frozenjim: which of the several invoice reports are you using?
15:16:53 *** kael has quit IRC
15:16:58 <frozenjim> fell: I never once considered it. I "press the print button". Only once the report failed did I ponder the guile setups.
15:17:09 <frozenjim> fell: best answer is that I use whatever is/was default.
15:17:30 <frozenjim> fell: I have never touched report files.
15:18:26 *** kael has joined #gnucash
15:19:03 <frozenjim> fell: presuming "tax invoice" has been default all along. I see no specific "vendor bill".scm. Bug reports DID mention that printing bills was a "BUG"...
15:21:57 <fell> which one?
15:28:01 *** bob_ has quit IRC
15:43:38 <fell> frozenjim: I have no problem to create a bill, press the print button, which opens a printable invoice and print a pdf from it.
15:44:32 *** hoijui has joined #gnucash
15:46:12 *** harshitaneja has quit IRC
15:52:23 <gjanssens> fell, mechtilde: on popular demand I have now added a 'pot' target again :)
15:52:47 <gjanssens> And it will automatically detect when gnucash.pot should be regenerated
15:53:03 <fell> thank you, gjanssens! :-)
15:53:05 <gjanssens> So no need anymore to run 'rm po/gnucash.pot' beforeahnd
15:53:15 <gjanssens> beforehand*
15:54:03 <gjanssens> Just a heads up: an ordinary "make" or "ninja-build" will not depend on gnucash.pot and hence will not trigger its (re)generation
15:54:22 <gjanssens> If you want to potfile, you should use either 'make pot' or 'make dist'
15:54:42 <gjanssens> 'make pot' will be considerably faster, so should be preferred for translators
15:55:28 <fell> before I would run make dist, I would call my own xgettext
15:56:38 <gjanssens> why is that ?
15:57:02 <fell> make dist needs way too much time
15:57:33 <gjanssens> sure. It's spending lots of time generating two dist tarballs
15:57:36 <gjanssens> That takes time
15:57:53 <jralls> make dist doesn't take that much longer than make. It's make distcheck that takes a long time.
15:58:15 <gjanssens> make dist and make are two totally different beasts
15:58:27 <gjanssens> make will build all sources into a runnable gnucash
15:58:56 <gjanssens> make dist will only generate the absolute minimum required built artifacts to be able to generate two tarballs
15:59:07 <gjanssens> As it currently stands that's about 20 files
15:59:27 <fell> my main workflow in recent month was make pot, msgmerge, edit de.po, edit source, loop
16:00:16 <gjanssens> I didn't follow what the reference to xgettext above was trying to bring in ?
16:00:40 <gjanssens> Do you run xgettext manually or did you mean to say you would prefer that rather than running make dist ?
16:00:53 <fell> It is the main part of make pot
16:01:05 <fell> the latter
16:01:10 <gjanssens> Ok
16:02:00 <fell> and at some point in time get rid of the stalled intltool
16:02:13 *** hoijui has quit IRC
16:04:13 <gjanssens> well, in cmake it's much more transparent where the intltool calls happen
16:04:30 <gjanssens> so if you know the alternative invocations, I'd be more than happy to replace them
16:06:10 <fell> My current problem: I can not find the google test stuff for this machine.
16:06:49 <fell> So I will first set up my new laptop and then update this desptop
16:07:25 <gjanssens> what OS are you currently on ?
16:08:33 <fell> This has opensuse 13.2 still. Big "Leaps" are always suspect to me ;-)
16:12:34 <luc14n0> Wooo! 13.2 died and was buried long ago. What release will you use?
16:13:02 <fell> But I might still run one review in stable: Bob Fewell used a bunch of variations of already used strings.
16:13:37 <gjanssens> Sure go ahead
16:13:49 <fell> luc14n0:13.2 is the base. All important programs are from OBS.
16:15:18 <fell> Because the upgrade was always the weakest part of Suse, I consider tumbleweed.
16:16:35 <gjanssens> Fell, you don't really need a *package* for gmock and friends
16:16:47 <gjanssens> (fell, not Fell)
16:17:16 <fell> Booth forms play the sound ;-)
16:17:28 <gjanssens> You can also clone the repository and add two variables to the cmake invocation that tell cmake where to find google-test and google-mock
16:18:10 *** codesmythe has quit IRC
16:18:11 <gjanssens> https://github.com/google/googletest
16:18:17 <luc14n0> fell: Well, if the recommendations are followed, you can upgrade without sweating. But Tumbleweed is a good choice though.
16:18:38 <gjanssens> But I have to go now...
16:18:41 *** gjanssens is now known as gjanssens_afk
16:20:09 <luc14n0> I had to made some changes in googletes package for gnucash (and some others packages to work) work.
16:22:12 <luc14n0> So, st the moment, only Tumbleweed use gtest/gmock out of the box. Leap 15.0, the next release will have it too.
16:25:07 <frozenjim> fell: would you mind doing a quick check for me? Pull up the Vendor Bill report, choose options/display and tell me which report template you are using? Mine is using taxinvoice.eguile.scm which gives the error: "This report is designed for customer (sales) invoices only. Please use the Options menu to select an Invoice, not a Bill or Expense Voucher."
16:25:29 <frozenjim> fell: if you do... i will owe you a beer if you are ever in Montreal! :-D
16:26:30 <fell> frozenjim: Before I got the "printable invoice"
16:27:49 <frozenjim> fell: printable.invoice.scm?
16:28:02 <fell> yeah
16:28:15 <fell> How got you the taxinvoice?
16:28:45 <fell> AH, not from edit bill
16:29:47 <frozenjim> fell: I am editing the Vendor Bill and press the "Print Invoice" button as I always have. It just fails now with the error that you cannot print a BILL with an INVOICE report.
16:29:59 <frozenjim> really odd that it is only me....
16:30:34 <frozenjim> Well, I will keep digging I guess. Clearly not a known issue.
16:30:57 <frozenjim> thanks for looking at it :-)
16:34:12 <fell> frozenjim, when chris wakes up, you might ask him. He knows more about the tax invoice report.
16:35:04 <frozenjim> will do.
16:37:20 <fell> 'Edit->Preferences->Business->Report for printing' I was missing.
16:41:00 *** frakturfreak has quit IRC
16:41:21 <fell> So, yes, I can confirm the tax invoice dislikes bills.
16:45:27 *** fabior has quit IRC
17:28:36 *** gjanssens_afk has quit IRC
17:32:31 *** weasel has quit IRC
17:34:26 *** weasel has joined #gnucash
17:37:13 *** pilotauto has joined #gnucash
17:41:52 * chris woke up
17:45:08 <chris> if it's a Vendor Bill it launches invoice.scm
18:00:26 *** kael has quit IRC
18:09:02 *** chf has joined #gnucash
18:11:20 <chris> I can't reproduce the "This report is designed for customer (sales) invoices only." error on unstable
18:12:07 <chris> frozenjim - perhaps you could file a bug report, and describe exactly steps to trigger error
18:36:41 <fell> chris, choose it before in 'Edit->Preferences->Business->Report for printing'
18:42:35 *** chris has quit IRC
19:18:49 *** cyphra has joined #gnucash
19:19:39 *** cyphra is now known as serrador
19:21:07 *** serrador has quit IRC
19:34:14 *** kus has joined #gnucash
19:36:12 *** ArtGravity has quit IRC
19:54:27 *** bertbob has quit IRC
19:57:14 *** bertbob has joined #gnucash
20:02:41 <fell> jralls, what is the state of your release and string freeze?
20:15:16 <frozenjim> chris, yep. I had been using the "tax report" - which failed. Then I tried to change it from the report options dialog AFTER the report was open. But as you say, changing report BEFOREHAND solves the problem. Wow. Thanks for that.
20:15:47 <frozenjim> In fact, I may have inadvertently changed it to "Tax Report" at year-end.
20:17:34 <fell> Nice to hear, but can you create a bug report? We should at least document it.
20:18:32 <fell> or at least add a section to wiki:FAQ
21:08:13 *** kus has quit IRC
21:27:44 *** fell is now known as fell_afk
21:36:38 *** oozer has quit IRC
23:07:13 *** O01eg has quit IRC
23:16:07 *** puck has quit IRC
23:21:14 *** jotrago has joined #gnucash
23:24:31 *** puck has joined #gnucash
23:32:22 *** O01eg has joined #gnucash
23:37:13 *** marusich has joined #gnucash
23:58:25 *** Mechtilde has joined #gnucash