Logs for #nikola for 2015-08-31

00:15:24 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to master: http://git.io/vG8kX
00:15:24 -GitHub[nikola]:#nikola- nikola/master 0b24500 Daniel Aleksandersen: Merge pull request #1981 from getnikola/posts-categories...
00:19:50 -travis-ci:#nikola- getnikola/nikola#6079 (master - 0b24500 : Daniel Aleksandersen): The build was broken.
00:19:51 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/083ce3c5c0f3...0b24500725d9
00:19:51 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77971626
07:49:20 <ChrisWarrick> Aeyoun: it looks like my 2000th commit is a one-line addition to the docs.
07:49:35 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vG43h
07:49:35 -GitHub[nikola]:#nikola- nikola/master d50bf52 Chris Warrick: Add note about mathjax tag (#1984)...
07:50:06 -GitHub[nikola]:#nikola- [nikola] Kwpolska closed pull request #1972: WIP: render author pages (master...master) http://git.io/vsXBn
07:55:50 -travis-ci:#nikola- getnikola/nikola#6082 (master - d50bf52 : Chris Warrick): The build is still failing.
07:55:51 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/0b24500725d9...d50bf527bfc0
07:55:51 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78002646
08:01:49 -travis-ci:#nikola- Invariant build by Chris Warrick: The build passed. See https://travis-ci.org/getnikola/invariant-builds/builds/78003318.
08:18:06 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vG48W
08:18:06 -GitHub[nikola]:#nikola- nikola/master 73c8f50 Chris Warrick: Jinjify; clean up translations...
08:24:56 -travis-ci:#nikola- getnikola/nikola#6084 (master - 73c8f50 : Chris Warrick): The build was fixed.
08:24:57 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/d3b0263f18fb...73c8f508169e
08:24:57 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78005582
10:22:59 <KwBot> [nikola] Kwpolska assigned issue #1984 to Kwpolska: mathjax not rendering out of box https://github.com/getnikola/nikola/issues/1984
10:32:22 <KwBot> [nikola] Kwpolska closed issue #1984: mathjax not rendering out of box https://github.com/getnikola/nikola/issues/1984
10:32:36 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vGBOf
10:32:36 -GitHub[nikola]:#nikola- nikola/master 86aa454 Chris Warrick: Fix #1984 -- fix mathjax support...
10:34:26 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 1 new commit to master: http://git.io/vGBO7
10:34:26 -GitHub[site]:#nikola- nikola-site/master c88db69 Chris Warrick: Fix mathjax (getnikola/nikola#1984)...
10:36:59 -travis-ci:#nikola- getnikola/nikola#6085 (master - 86aa454 : Chris Warrick): The build was broken.
10:37:00 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/73c8f508169e...86aa454e1c3e
10:37:00 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78021681
10:46:52 -travis-ci:#nikola- Invariant build by Chris Warrick: The build passed. See https://travis-ci.org/getnikola/invariant-builds/builds/78022825.
10:54:00 -travis-ci:#nikola- getnikola/nikola#6085 (master - 86aa454 : Chris Warrick): The build passed.
10:54:01 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/73c8f508169e...86aa454e1c3e
10:54:01 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78021681
12:24:01 <KwBot> [nikola] Aeyoun closed issue #1686: Atom for lists https://github.com/getnikola/nikola/issues/1686
12:24:15 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to master: http://git.io/vGBdu
12:24:15 -GitHub[nikola]:#nikola- nikola/master 9a07634 Daniel Aleksandersen: Atom for tag lists...
12:28:30 -travis-ci:#nikola- getnikola/nikola#6086 (master - 9a07634 : Daniel Aleksandersen): The build was broken.
12:28:31 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/86aa454e1c3e...9a07634edf97
12:28:31 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78033442
12:51:20 <ralsina> Aeyoun: I just got a bug report from a user for whom the base url is making life much harder than needed. It's an unusual situation (accessing a site from behind a very restrictive corporate firewall)... can we add a flag for it? I don't even  mind it being on by default, but I have seen at least 3x problems because of this :-P
12:52:35 <Aeyoun> ralsina: what exactly is his problem, though?
12:52:58 <ralsina> Aeyoun: he needs to access the site by IP address, and the base tag makes all links have the name
12:54:12 <Aeyoun> So the base tag does what it's supposed to. Hm, jeg see.
12:54:46 <ralsina> yes, it's working correctly but it makes a site that worked for him  not work :-)
12:54:48 <Aeyoun> Uhm. My phone autoreplaced "I" with "jeg" (Norwegian for "I"). Never seen it do that before.
12:55:09 <ralsina> norwegian nativist phones.
12:55:48 <Aeyoun> ralsina: what browser is he using?
12:56:37 <ralsina> firefox
13:07:30 <Aeyoun> ralsina: document.head.removeChild(document.querySelector("\base")); as a Greasemonkey script in Firefox for the IP address of his site.
13:07:53 <ralsina> hmmm
13:08:21 <ralsina> Honestly, I still don't see the point in having base with relative URLs. It just makes all URLs absolute.
13:08:33 <ralsina> But hey, whatever.
13:08:48 <ralsina> I'll add the flag myself
13:09:09 <Aeyoun> That is exactly the point. Instructing the browser on how to turn relative paths to absolute paths.
13:09:12 <Aeyoun> Okay
13:10:03 <KwBot> [nikola] ralsina opened issue #1985: Make base tag optional via flag. https://github.com/getnikola/nikola/issues/1985
13:10:08 <KwBot> [nikola] ralsina assigned issue #1985 to ralsina: Make base tag optional via flag. https://github.com/getnikola/nikola/issues/1985
13:10:27 <Aeyoun> BASE_URL_ENFORCED?
13:10:43 <Aeyoun> Matching the BASE_URL option.
13:11:37 <ChrisWarrick> which one is <base> actually using?
13:12:02 <Aeyoun> abs_link(permalink)
13:12:03 <ChrisWarrick> (and what is the difference between SITE_URL and BASE_URL?)
13:12:20 <Aeyoun> That, I do not know.
13:22:27 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vGROw
13:22:27 -GitHub[nikola]:#nikola- nikola/master d9ecd24 Chris Warrick: Document #1686...
13:26:48 -travis-ci:#nikola- getnikola/nikola#6087 (master - d9ecd24 : Chris Warrick): The build is still failing.
13:26:49 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/9a07634edf97...d9ecd242105b
13:26:49 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78041784
13:31:05 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vGRZt
13:31:05 -GitHub[nikola]:#nikola- nikola/master dcdad18 Chris Warrick: too many blank lines...
13:33:25 <ralsina> SITE_URL is meant for a link to the root of the site, BASE_URL is where the nikola-built site is deployed to
13:33:38 <ralsina> so it should use BASE_URL
13:33:49 <ralsina> if it were using one of those
13:37:15 -travis-ci:#nikola- getnikola/nikola#6088 (master - dcdad18 : Chris Warrick): The build was fixed.
13:37:16 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/d9ecd242105b...dcdad188090e
13:37:16 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78043076
14:47:50 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vGRHh
14:47:50 -GitHub[nikola]:#nikola- nikola/master 72dd558 Chris Warrick: pygal==2.0.5...
14:49:57 -travis-ci:#nikola- Invariant build by Chris Warrick: The build passed. See https://travis-ci.org/getnikola/invariant-builds/builds/78056596.
14:54:01 -travis-ci:#nikola- getnikola/nikola#6089 (master - 72dd558 : Chris Warrick): The build passed.
14:54:02 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/dcdad188090e...72dd5583763a
14:54:02 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78056757
15:14:55 -GitHub[nikola]:#nikola- [nikola] jjconti pushed 1 new commit to master: http://git.io/vGRjm
15:14:55 -GitHub[nikola]:#nikola- nikola/master 5c428c9 Juan José Conti: Update CHANGES.txt
15:16:51 -GitHub[nikola]:#nikola- [nikola] jjconti pushed 1 new commit to master: http://git.io/vGRjp
15:16:51 -GitHub[nikola]:#nikola- nikola/master bc87d26 Juan José Conti: Add myself after PR #1972 got merged
15:20:56 -travis-ci:#nikola- getnikola/nikola#6090 (master - 5c428c9 : Juan José Conti): The build passed.
15:20:57 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/72dd5583763a...5c428c9f83e7
15:20:57 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78061735
15:23:35 -travis-ci:#nikola- getnikola/nikola#6091 (master - bc87d26 : Juan José Conti): The build passed.
15:23:36 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/5c428c9f83e7...bc87d2663efd
15:23:36 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78062130
15:25:08 -GitHub[nikola]:#nikola- [nikola] jjconti pushed 1 new commit to master: http://git.io/vG0Jn
15:25:08 -GitHub[nikola]:#nikola- nikola/master 4a7d899 Juan José Conti: Add bits of doc about new author pages feature
15:28:44 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vG0Uj
15:28:44 -GitHub[nikola]:#nikola- nikola/master b5763c6 Chris Warrick: Standardize on “Issue”...
15:29:42 -travis-ci:#nikola- getnikola/nikola#6092 (master - 4a7d899 : Juan José Conti): The build passed.
15:29:43 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/bc87d2663efd...4a7d89974ed7
15:29:43 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78063753
15:30:17 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vG0T6
15:30:17 -GitHub[nikola]:#nikola- nikola/master d73ed1b Chris Warrick: Update manual.txt...
15:34:48 -travis-ci:#nikola- getnikola/nikola#6093 (master - d73ed1b : Chris Warrick): The build passed.
15:34:49 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/b5763c6b4ad8...d73ed1b2074c
15:34:49 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78064792
18:23:20 <juanjo_> I've run import_wordpress and all the post endend with an extra tag called "category"
18:23:25 <juanjo_> is this a known bug?
18:36:20 <ralsina> juanjo_: not a KNOWN one :-)
18:43:34 <Aeyoun> Inspiring. http://www.commitstrip.com/en/2015/08/31/fixing-a-bug-when-the-whole-world-seems-to-be-against-you/
18:49:50 <juanjo_> this line should be related to the bug https://github.com/getnikola/nikola/blob/master/nikola/plugins/command/import_wordpress.py#L278
18:52:09 <juanjo_> maybe not, i'm not using the flag export_categories_as_categories
18:56:06 <ralsina> juanjo_: by default Nikola looks for the "category" items for a post and stores them as tags
18:56:16 <ralsina> https://github.com/getnikola/nikola/blob/master/nikola/plugins/command/import_wordpress.py#L810
18:56:27 <ralsina> because at the time Nikola had no categories
18:57:50 <juanjo_> but why I ended up with a tag called 'category' instead of 'python-category' for example?
18:58:35 <ralsina> juanjo_: I have no idea, I'd have to see the data
18:58:53 <ralsina> juanjo_: a pdb.set_trace() there should clear it fast
18:59:15 <juanjo_> i'll import it again because the importer chrashed a couple of time
18:59:36 <juanjo_> (i have a local fix)
18:59:38 <juanjo_> import my wp blogs takes a couple of hours...
18:59:51 <ralsina> juanjo_: the importer's development is basicallydriven by "it crashed for me so I fixed this"
18:59:55 <ralsina> hours?
19:00:02 <ralsina> is it downloading a lot of images?
19:00:07 <juanjo_> yes
19:00:17 <ralsina> then you can use the flag not to download them if you already did
19:00:21 <juanjo_> i can use the arg to not download
19:00:34 <juanjo_> but im not sure if it dowloaded them all...
19:00:46 <juanjo_> probably yes
19:00:49 <ralsina> you can download them all once you know it doesn't crash :-)
19:00:52 <juanjo_> i'll cehck
19:26:17 <juanjo_> the 'category' bug was introduced here
19:26:17 <juanjo_> https://github.com/getnikola/nikola/commit/79d590db5dc62de7d61ae2d3054a1e4f128aaf14
19:26:52 <juanjo_> categories.append(type) should be categories.append(text)
19:27:05 <juanjo_> i'm creating a branch with this fix and the crash fixes
19:27:10 <juanjo_> is that ok?
19:27:18 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to master: http://git.io/vGEhI
19:27:18 -GitHub[nikola]:#nikola- nikola/master 16558fc Daniel Aleksandersen: Would be nice to actually generate the Atom feeds too...
19:28:07 <ralsina> sure
19:28:13 <ralsina> juanjo_: much appreciated :-)
19:31:17 -GitHub[nikola]:#nikola- [nikola] jjconti created import_wordpress_fixes (+2 new commits): http://git.io/vGEjN
19:31:17 -GitHub[nikola]:#nikola- nikola/import_wordpress_fixes b0ff75e Juanjo Conti: Don't crash if can't decode
19:31:17 -GitHub[nikola]:#nikola- nikola/import_wordpress_fixes ca78c3b Juanjo Conti: Don't add a category called 'category' to each post
19:31:42 -GitHub[nikola]:#nikola- [nikola] jjconti opened pull request #1986: import_wordpress fixes (master...import_wordpress_fixes) http://git.io/vGueT
19:33:06 -travis-ci:#nikola- getnikola/nikola#6094 (master - 16558fc : Daniel Aleksandersen): The build passed.
19:33:07 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/d73ed1b2074c...16558fc41ab0
19:33:07 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78102416
19:35:32 <ralsina> juanjo_: the unicode fix is not a great idea
19:35:42 -travis-ci:#nikola- getnikola/nikola#6095 (import_wordpress_fixes - ca78c3b : Juanjo Conti): The build passed.
19:35:43 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/b0ff75e6ad0b^...ca78c3b9281d
19:35:43 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78103085
19:35:49 <ralsina> juanjo_: because you are going to have some tag_str that are bytes and things will  break
19:36:20 <ralsina> juanjo_: you could try decode('utf8', 'replace') maybe
19:36:49 <ralsina> ahhh wait, this is tricky
19:36:58 <ralsina> juanjo_: you are getting UnicodeEncodeError????
19:37:12 <ralsina> juanjo_: can you pdf into it and see what repr(tag) is?
19:37:18 <ralsina> pdb*
19:37:40 <ralsina> if it's python2 and it's unicode, then we should not decode it at all.
19:37:55 <ralsina> if it's python2 and it's bytes, then we should decode it differently :-)
19:38:50 <juanjo_> yes, i'll try later
19:39:09 -GitHub[nikola]:#nikola- [nikola] masayuko opened pull request #1987: Small bug fixes (master...for-upstream) http://git.io/vGukm
19:41:57 <ralsina> juanjo_: you already have the 1st branch fixing stuff you committed, that was quick ;-)
19:42:01 <ralsina> https://github.com/getnikola/nikola/pull/1987/files
20:02:47 <juanjo_> ralsina: 
20:02:51 <juanjo_> (Pdb) repr(path)
20:02:51 <juanjo_> "u'2005/09/08/\\xc2\\xbfes-el-software-un-arte'"
20:03:41 <juanjo_> http://www.juanjoconti.com.ar/2005/09/08/%C2%BFes-el-software-un-arte/
20:03:50 <juanjo_> thats a '¿'
20:05:35 <juanjo_> there are more
20:07:28 <ralsina> hmmm
20:07:48 <ralsina> ok, so it's unicode already
20:08:45 <ralsina> juanjo_: capaz que algo tipo if isinstance(tag_str, utils.bytes_str): tag_str = tag.decode('utf8', 'replace') else: tag_str = tag
20:08:55 <ralsina> muy defensivo, pero bué
20:10:03 <juanjo_> crash is a bad thing in an import tool
20:10:12 <juanjo_> so... never is too defensive
20:10:25 <juanjo_> i'll do this change and run it again
20:10:29 -GitHub[nikola]:#nikola- [nikola] felixfontein closed pull request #1986: import_wordpress fixes (master...import_wordpress_fixes) http://git.io/vGueT
20:11:28 <juanjo_> ooops! someone merged my branch ralsina :)
20:14:16 <ralsina> juanjo_: propose it again :-)
20:14:23 <ralsina> psh to it and PR it
20:18:21 <juanjo_> ok
20:21:06 -GitHub[nikola]:#nikola- [nikola] jjconti pushed 1 new commit to import_wordpress_fixes: http://git.io/vGu8M
20:21:06 -GitHub[nikola]:#nikola- nikola/import_wordpress_fixes bfe8186 Juanjo Conti: Use defensive programming
20:21:53 -GitHub[nikola]:#nikola- [nikola] jjconti opened pull request #1988: Use defensive programming (master...import_wordpress_fixes) http://git.io/vGuBm
20:23:23 -GitHub[nikola]:#nikola- [nikola] ralsina closed pull request #1988: Use defensive programming (master...import_wordpress_fixes) http://git.io/vGuBm
20:25:40 -travis-ci:#nikola- getnikola/nikola#6100 (import_wordpress_fixes - bfe8186 : Juanjo Conti): The build was broken.
20:25:41 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/ca78c3b9281d...bfe8186a733f
20:25:41 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/78110740