Logs for #nikola for 2018-04-02

02:25:23 <KwBot> [plugins] huhuang03 opened issue #266: [orgmode]Error while highlighting: UnicodeEncodeError: 'ascii' codec can't encode characters https://github.com/getnikola/plugins/issues/266
03:51:30 <BxCx> Buenas!!!
05:41:12 <gour> morning
05:42:05 <gour> i've noticed that irc logs are not generated for the April?
08:17:27 <ChrisWarrick> KwBot: ping
08:17:27 <KwBot> ChrisWarrick: pong
08:18:59 <ChrisWarrick> BxCx: please set your IRC client to UTF-8
08:19:25 <BxCx> ChrisWarrick: Ok. Thanks.
08:20:38 <BxCx> ChrisWarrick: Actually works in utf-8
08:24:46 <ChrisWarrick> gour: fixed.  Nikola does not support non-UTF-8 files, and BxCx’s client used to send latin1. (KwBot does not bother re-encoding stuff, it just saves raw bytes it gets from the server.)
08:27:09 <BxCx> https://ibb.co/nEhmEn <--- Check it
08:27:41 <ChrisWarrick> BxCx: restart your client and try using non-ASCII letters
08:29:38 <BxCx> ok
08:30:38 * BxCx Hola!
08:31:22 <BxCx> It's ok?
08:31:43 <ChrisWarrick> try ¡Hola!
08:32:09 <BxCx> �Hola!
08:32:27 <ChrisWarrick> no, that’s still latin1
08:32:39 <ChrisWarrick> http://xchat.org/encoding/
08:32:40 <BxCx> Mmm.
08:35:02 <BxCx> �Hola!
08:35:43 <ChrisWarrick> still wrong :(
08:36:04 <BxCx> ):
08:37:13 <BxCx> I'm on Mac. Any suggestion of irc client?
08:37:57 <ChrisWarrick> Colloquy is popular
08:53:28 <BxCx> ¡Hola!
08:53:36 <BxCx> What about now?
08:56:39 <BxCx> ChrisWarrick: ?
08:56:57 <ChrisWarrick> BxCx: much better!
08:57:10 <BxCx> Thanks :D
09:02:17 <BxCx> How can update nikola?
09:09:43 <ChrisWarrick> BxCx: how did you install it?
09:10:07 <ChrisWarrick> BxCx: if you’re using a virtualenv:  pip install --upgrade Nikola  (will get you 7.8.14)
09:11:15 <BxCx> Ah, that's the way.
09:11:21 <BxCx> Thanks ChrisWarrick 
09:11:25 <ChrisWarrick> you’re welcome
09:16:11 <BxCx> Updated!!!
09:16:13 <BxCx> :D
09:52:58 <berti> ChrisWarrick: yes, the expression you posted for getting timezones works on gentoo
09:53:05 <berti> good morning ;-)
09:56:18 <BxCx> Adios amigos!!!
10:12:06 <berti> ChrisWarrick: ok, it's broken in the python-dateutil gentoo package, but naturally works in a virtualenv.
15:37:19 <berti> hm, now my "lightweight" related posts plugin works really nice when only static data like title and permalink is added to the posts meta data
15:38:18 <berti> trying to add the related post object itself leads to an infinite recursion
15:38:43 <berti> the plugin is implemented as a 'compiled' SignalHandler
15:39:28 <berti> is there a 'safe' method to change posts meta data, without generating infinite recursions?
16:07:06 <ChrisWarrick> berti: if you have a bugs.gentoo.org account, could you mention this behavior in the Gentoo issue linked?
16:07:16 <berti> ChrisWarrick: sure
16:09:04 <ChrisWarrick> berti: where does this infinte recursion appear?
16:09:23 <berti> hmpf, Michal Gorny is as friendly and accommodating as usual...
16:10:36 <berti> ChrisWarrick: during render_post. if the posts meta data is changed its representation changes and since posts are crosslinked this seems to be cause
16:10:55 <ChrisWarrick> Oh yeah, that sounds like something likely to break
16:11:16 <berti> repr is recalculated until python gives up
16:13:46 <berti> https://bugs.gentoo.org/652174
16:14:38 <ChrisWarrick> a comment about dateutil.zoneinfo.get_zonefile_instance().zones being empty (mentioning this is a public, documented API) would be nice
16:15:14 <berti> oh, ok. if its public gorny is wrong?
16:15:38 <ChrisWarrick> the api we’re currently using is not public
16:15:46 <ChrisWarrick> the alternate API I mentioned is though
16:19:44 <berti> i have to open a new bug, re-opening isn't allowed
16:26:24 <ChrisWarrick> you can’t comment under that old bug?
16:26:29 <ChrisWarrick> did I mention that bugzilla is garbage?
16:26:42 <berti> ChrisWarrick: it's the gentoo configuration
16:27:10 <ChrisWarrick> nah, thhe platform itself sucks
16:27:20 <berti> there were literally "reopen-wars" years ago
16:28:02 <berti> did you ever use Rational ClearQuest or something like that?? ;-D
16:28:47 <ChrisWarrick> > googles
16:28:53 <ChrisWarrick> > sees IBM in front of the name
16:28:55 <ChrisWarrick> ’nuff said
16:29:03 <berti> this sucks really
16:30:07 <ChrisWarrick> …is this really a desktop app based on bloody Eclipse?!
16:32:32 <berti> yes, it is, like DOORS for requirement and the whole family of rational products
16:32:59 <berti> I'm enforced to use all of these crappy tools
16:33:35 <berti> I really like eclipse and use it every day, but the IBM tools are ...
16:34:12 <berti> https://bugs.gentoo.org/652226
16:36:05 <ChrisWarrick> berti: one more question: what does dateutil.tz.gettz('Europe/Berlin') output in the interactive shell when using Gentoo packages vs in a virtualenv?
16:38:15 <berti> normal:
16:38:16 <berti> >>> import dateutil.tz; dateutil.tz.gettz('Europe/Berlin')
16:38:16 <berti> tzfile('/usr/share/zoneinfo/Europe/Berlin')
16:38:39 <berti> virtualenv:
16:38:41 <berti> >>> import dateutil.tz; dateutil.tz.gettz('Europe/Berlin')
16:38:41 <berti> tzfile('/usr/share/zoneinfo/Europe/Berlin')
16:38:52 <ChrisWarrick> at least that is not broken
16:40:49 <ChrisWarrick> although since you are in Germany, it might be good to test some other timezone (Europe/Busingen) just in case
16:42:14 <berti> both return tzfile('/usr/share/zoneinfo/Europe/Busingen')
16:42:22 <ChrisWarrick> aye, that works
16:43:01 <ChrisWarrick> (in other news, 1358 people have their own timezone: https://en.wikipedia.org/wiki/B%C3%BCsingen_am_Hochrhein )
16:52:18 <berti> hm, using the scanned signal instead of compiled gives the same infinite recursion
16:54:24 <berti> hm, where to add the additional data for relted posts, so it can be used in templates easily?
16:57:00 <ChrisWarrick> berti: I’d add an arbitrary property of the post object
16:57:30 <ChrisWarrick> post.related = other_post
16:57:44 <ChrisWarrick> it’s legal, won’t be picked up by __repr__, and should work otherwise
17:04:58 <berti> ok, i will try that
18:23:42 -GitHub[nikola]:#nikola- [nikola] Kwpolska created fix-3006 (+1 new commit): https://git.io/vxiBi
18:23:42 -GitHub[nikola]:#nikola- nikola/fix-3006 68b2ae8 Chris Warrick: Fix #3006 - use documented dateutil API for time zone list...
18:27:06 -GitHub[nikola]:#nikola- [nikola] Kwpolska opened pull request #3007: Fix #3006 — use documented dateutil API for time zone list (master...fix-3006) https://git.io/vxiBh
18:31:50 -travis-ci:#nikola- getnikola/nikola#9773 (fix-3006 - 68b2ae8 : Chris Warrick): The build failed.
18:31:51 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/68b2ae8f7120
18:31:51 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/361291948
18:35:27 -GitHub[nikola]:#nikola- [nikola] Kwpolska force-pushed fix-3006 from 68b2ae8 to 6071041: https://git.io/vxi0k
18:35:27 -GitHub[nikola]:#nikola- nikola/fix-3006 6071041 Chris Warrick: Fix #3006 -- use documented dateutil API for time zone list...
18:38:44 <BxCx> ¿Hola!
18:43:25 -travis-ci:#nikola- getnikola/nikola#9775 (fix-3006 - 6071041 : Chris Warrick): The build was fixed.
18:43:26 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/68b2ae8f7120...607104104536
18:43:26 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/361297478
19:03:37 <berti> ChrisWarrick: eventually this means i have to extend the post class. What about #1709?
19:04:12 <ChrisWarrick> berti: I don’t have Issue numbers memorized
19:04:33 <berti> Refactor the Post object #1709
19:05:38 <ChrisWarrick> berti: no idea, ralsina seems to be doing it now
19:05:52 <berti> ok
19:05:55 <ChrisWarrick> berti: Since this is Python, you can add any arbitrary attributes to your posts without needing to declare them anywhere
19:06:28 <berti> i feel dirty doing so :-D
19:18:30 <ChrisWarrick> I love Swift’s (and apparently Kotlin’s) extension system that lets you do the same thing but slightly more formally
23:33:59 <KwBot> [nikola] ralsina closed issue #3006: [7.8.14] Timezone input "Berlin" crashes `nikola init`? https://github.com/getnikola/nikola/issues/3006
23:34:11 -GitHub[nikola]:#nikola- [nikola] ralsina closed pull request #3007: Fix #3006 — use documented dateutil API for time zone list (master...fix-3006) https://git.io/vxiBh
23:34:17 -GitHub[nikola]:#nikola- [nikola] ralsina deleted fix-3006 at 6071041: https://git.io/vxiAX
23:41:18 -travis-ci:#nikola- getnikola/nikola#9777 (master - e86cb9e : Chris Warrick): The build passed.
23:41:18 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/2d759c5eef6b...e86cb9e5e258
23:41:19 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/361409873