Logs for #nikola for 2016-06-23

04:04:39 -GitHub[nikola]:#nikola- [nikola] punchagan pushed 1 new commit to master: https://git.io/voXAN
04:04:39 -GitHub[nikola]:#nikola- nikola/master 11e7772 Puneeth Chaganti: Fix UnboundLocalError when building jinja site...
04:09:22 -travis-ci:#nikola- getnikola/nikola#7202 (master - 11e7772 : Puneeth Chaganti): The build passed.
04:09:23 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/826d11010d0f...11e77728ede9
04:09:23 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/139664813
04:09:50 <[Tritium]> oopse
06:21:13 <KwBot> [plugins] Kwpolska closed issue #152: rest_html5: code blocks indented incorrectly https://github.com/getnikola/plugins/issues/152
06:42:51 <KwBot> [plugins] felixfontein opened issue #153: ReST plugin strips single title https://github.com/getnikola/plugins/issues/153
09:16:17 <rlindner> ralsina, are you there? you closed plugin issue 152 (rest_html5 code blocks) and as I don't want to reopen the bug, I'll ask here
09:17:43 <rlindner> I have the current rst2html5 version (1.8) and when I manually start "rst2html5 output/posts/test/index.rst", the output is correct
09:20:01 <rlindner> what parameters are forwarded to rst2html5 from the nikola plugin? I don't see any but the above output has html/head/body in it and no '<a name="rest_code_...'
09:25:00 <ChrisWarrick> please double-check the name of the person responsible for the closure
09:25:30 <ChrisWarrick> (hint, it’s me)
09:30:05 <rlindner> hmm, I had 2 issues open and on the other one ralsina posted something... 
09:30:24 <ChrisWarrick> rlindner: I can’t reproduce your issue.
09:30:45 <ChrisWarrick> rlindner: try updating pygments though, that’s also part of the pipeline
09:31:19 <rlindner> even if it's working with rest html4? let me look at the pygments version...
09:33:30 <rlindner> pygments updated, no change
09:33:59 <ChrisWarrick> make a zip of your site source (or a small example that reproduces the error on your side) and upload it somewhere
09:34:06 <ChrisWarrick> and show me `pip freeze` output
09:35:56 <rlindner> every html file in the cache folder is indented by 4 or more spaces
09:36:11 <rlindner> I'll try to build a minimal site
09:37:12 <ChrisWarrick> pip install -U lxml
09:38:34 <rlindner> rest_html5/requirements.txt has "Pygments==2.0.2" in it - that's why it was not uptodate - but that changes nothing
09:39:47 <ChrisWarrick> actually, it looks like rst2html5 is doing something stupid
09:44:31 <rlindner> do you know which conf.py option changes the output too this: <a name="rest_code_24f8b6ad3cf04863b2949f7aac0ee7f8-2"></a><span class="c1"># this is indented by 4 spaces</span> ?
09:44:49 <rlindner> the rest_code part is not at the beginning of the line in my test
09:45:06 <ChrisWarrick> rlindner: that’s not a config option
09:45:21 <ChrisWarrick> rlindner: that’s either our code magic or reStructuredText’s
09:45:50 <ChrisWarrick> rlindner: let’s try this: open rest_html5.py and after line 100, add   'tab_width': 0,
09:46:09 <ChrisWarrick> rlindner: then add another line indented by more spaces than the rest to your test post and rebuild
09:46:10 <rlindner> nikola/plugins/compile/rest/listing.py
09:46:50 <rlindner> my current problem is that the minimal example is working :-/ 
09:47:09 <rlindner> in listing.py the rest_code_X is added conditionally
09:47:24 <ChrisWarrick> depending on site.invariant?
09:47:46 <rlindner> hm yes, but apart from this there is no other condition
09:48:03 <ChrisWarrick> ignore that and try my patch?
09:48:10 <ChrisWarrick> (you really don’t want to touch invariant mode)
09:50:26 <rlindner> https://dev.ronnylindner.de/posts/test/ <- working
09:52:54 <ChrisWarrick> https://dev.ronnylindner.de/posts/intel-studybook-onboard-tastatur-bei-login-sichtbar-machen/ - broken?
09:53:36 <rlindner> tab_width: 0 is working, although I don't know why the issue is not showing in my minimal example site
09:53:43 <rlindner> I only regenerated the test page
09:54:06 <rlindner> your link is also working now
09:55:15 <ChrisWarrick> rlindner: this is because of a HTML syntax peculiarity
09:57:45 <ChrisWarrick> rlindner: if you selected those larger code boxes (eg. the first one with `sudo vim`), you would notice there are eight spaces on this line. Because rst2html5 defaults to creating code with indentation, there was some whitespace between the newline after </span> and </pre>
09:58:41 <KwBot> [plugins] Kwpolska assigned issue #152 to Kwpolska: rest_html5: code blocks indented incorrectly https://github.com/getnikola/plugins/issues/152
09:58:42 <KwBot> [plugins] Kwpolska reopened issue #152: rest_html5: code blocks indented incorrectly https://github.com/getnikola/plugins/issues/152
10:00:20 <KwBot> [plugins] Kwpolska closed issue #152: rest_html5: code blocks indented incorrectly https://github.com/getnikola/plugins/issues/152
10:00:36 -GitHub[plugins]:#nikola- [plugins] Kwpolska pushed 1 new commit to master: https://git.io/vo149
10:00:36 -GitHub[plugins]:#nikola- plugins/master 79ebde9 Chris Warrick: Fix #152 -- fix <pre>/indent in rst2html5 output...
10:00:59 <ChrisWarrick> rlindner: there, all fixed. (You can reinstall the plugin, but since you patched it manually, that’s unnecessary)
10:01:31 <rlindner> thank you :)
10:01:44 <ChrisWarrick> you’re welcome, and sorry for the slightly harsh close
10:03:08 <rlindner> no problem - I couldn't find the issue in a fresh blog so I was wondering myself :)
10:06:17 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#899 (master - 79ebde9 : Chris Warrick): The build passed.
10:06:18 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/f205c97e35af...79ebde924f20
10:06:18 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/139716877
10:29:52 <ralsina> ChrisWarrick: does the tab width option for code blocks still work with that? https://github.com/getnikola/nikola/issues/1514
10:30:05 <ChrisWarrick> ralsina: which option?
10:30:12 <ralsina> Also, what happens if someone indents his code with tabs? 
10:30:29 <ChrisWarrick> that’s a different option afaik
10:30:35 <ralsina> ChrisWarrick: .. code:: supports  :tab-width:
10:30:39 <ralsina> cool then
10:34:00 <ChrisWarrick> ralsina: actually, no
10:34:03 <ChrisWarrick> ralsina: that breaks it
10:34:46 <ralsina> ChrisWarrick: indenting with tabs?
10:35:10 <ChrisWarrick> yes
10:36:06 <ralsina> That's bad
10:37:16 <ChrisWarrick> there’s gotta be some middle ground thing
10:37:56 <ralsina> setting it to 4?
10:38:51 <ChrisWarrick> that’s the default
10:42:52 <ralsina> then it may just be a rsthtml5 problem since the output differs
10:46:26 <ChrisWarrick> ralsina: the problem is two-fold, actually
10:46:51 <ChrisWarrick> ralsina: rest_html5 goes crazy with our custom code block implementation
11:03:55 <ChrisWarrick> ralsina: https://github.com/marianoguerra/rst2html5/issues/86
11:39:50 <KwBot> [plugins] felixfontein closed issue #153: ReST plugin strips single title https://github.com/getnikola/plugins/issues/153
11:40:30 <KwBot> [nikola] felixfontein opened issue #2382:  ReST plugin strips single title https://github.com/getnikola/nikola/issues/2382
16:32:33 <rllindner_> Hello again
16:32:54 <rllindner_> ChrisWarrick: what problems did you have with the tab character?
16:35:56 <rlindner_> ah, now I see it in the irc logs
18:05:57 <KwBot> [nikola] Kwpolska closed issue #915: routes like nanoc/acrylamid https://github.com/getnikola/nikola/issues/915
21:14:42 -GitHub[nikola]:#nikola- [nikola] felixfontein force-pushed earlytask_impl from 0c9302f to 902a20d: https://git.io/zEQY8Q
21:14:42 -GitHub[nikola]:#nikola- nikola/earlytask_impl 3e8f9e6 Felix Fontein: Split tasks into stages, with three (four) default stages: EarlyTask, Task and LateTask....
21:14:42 -GitHub[nikola]:#nikola- nikola/earlytask_impl 86d5b42 Felix Fontein: Setting doit minimal version....
21:14:42 -GitHub[nikola]:#nikola- nikola/earlytask_impl 43319fb Felix Fontein: Added support for target regexes.
21:24:27 -travis-ci:#nikola- getnikola/nikola#7204 (earlytask_impl - 902a20d : Felix Fontein): The build passed.
21:24:28 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/0c9302f602f4...902a20d7621d
21:24:28 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/139880598