Logs for #nikola for 2015-08-09

01:27:54 <mathstuf> hi, is there a way to add extra flags to isso comment support?
01:27:59 <mathstuf> http://posativ.org/isso/docs/configuration/client/
09:10:50 <KwBot> [nikola] disconsented opened issue #1934: Work around for installing ghp-import https://github.com/getnikola/nikola/issues/1934
09:11:01 <DrDisconsented> Well that works
09:12:28 <DrDisconsented> Anyone have an idea about the issue I just opened?
09:53:00 <KwBot> [coil] schettino72 opened issue #38: "world" symbol to view live site is not clear enough https://github.com/getnikola/coil/issues/38
09:58:05 <KwBot> [coil] schettino72 opened issue #39: demo site does not display "pages" https://github.com/getnikola/coil/issues/39
14:29:00 <KwBot> [nikola] ralsina closed issue #1934: Work around for installing ghp-import https://github.com/getnikola/nikola/issues/1934
16:51:39 <amokleben> heyho
16:52:24 <amokleben> just updated to 7.6.3 and unfortunate it is unable to build.
16:52:56 <amokleben> it gives me TaskError - taskid:_scan_locs:sitemap
16:53:17 <amokleben> Is this something known? (Was unable to find something on github)
16:53:31 <Aeyoun> does it give a more detailed error? like a trace?
16:53:42 <amokleben> Aeyoun: give me a sec and I'll pastebin it
16:54:29 <amokleben> Aeyoun: paste.triple6.org/HglAXA
16:57:49 <Aeyoun> Shoot. That's my code.
16:59:25 <amokleben> Aeyoun: I hope I didn't detroy your evening ;)
16:59:35 <amokleben> if there is anything I can assist with just let me know
17:00:39 <Aeyoun> amokleben: does this character look like it belong on your blog?   Ã
17:01:41 <amokleben> Aeyoun: yes. It is written in German
17:01:55 <amokleben> Aeyoun: to make it even harder there is a "ß" in the Title ;)
17:02:08 <amokleben> But removing this did not change the error
17:02:22 <amokleben> Was one of my first guesses.
17:02:41 <Aeyoun> amokleben: no, I got the bug nailed down now. Nikola reads 1024 bytes from the file. This character is a two-byte character, and I'm cutting the character in half.
17:03:47 <Aeyoun> Need to find a nicer way to handle multibyte characters.
17:06:55 <amokleben> Aeyoun: not that pretty but opening the complete file into bla and then do filehead = bla[:1024]?
17:08:58 <Aeyoun> I'm considering reading everything up until "</head>"
17:11:17 <amokleben> seems a good idea as far as I am able to understand the code
17:12:56 <Aeyoun> It's reading meta elements from <head> and assumes head is within the first 1024 bytes of any given file. (Same assumption as HTML5 does for determining some document properties from metadata.)
17:15:22 <Aeyoun> amokleben: you still there?
17:15:29 <amokleben> Aeyoun: I am
17:15:57 <Aeyoun> Are you comfortable with adjusting the code in one place and testing whether it works?
17:16:18 <amokleben> Aeyoun: sure
17:16:28 <amokleben> I do this for a living :D
17:16:29 <Aeyoun> nikola/plugins/task/sitemap/__init__.py line 191
17:16:35 <Aeyoun> Replace it with this:
17:16:40 <Aeyoun>                             lowquothead = filehead.lower().decode('utf-8', 'ignore').replace('"', '').encode('utf-8')
17:17:40 <amokleben> Aeyoun: works for me
17:17:56 <Aeyoun> amokleben: must be sure not to scare you away before getting you to test whether it works, you know. ;) Otherwise I'd have to spend time replicating the problem and testing myself. Much more work. :P
17:18:14 <Aeyoun> Great. We'll just 'ignore' the problem then. :D
17:18:32 <amokleben> :D
17:19:46 <amokleben> works even after a clean
17:19:51 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to master: http://git.io/v3IFd
17:19:51 -GitHub[nikola]:#nikola- nikola/master 4d859e0 Daniel Aleksandersen: Ignore sliced multibyte characters when reading metadata for sitemaps
17:19:57 <Aeyoun> Done and done.
17:21:40 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to master: http://git.io/v3IbG
17:21:40 -GitHub[nikola]:#nikola- nikola/master 63ab1e7 Daniel Aleksandersen: +master in changelog
17:21:49 <Aeyoun> Even more done. Quite finished with it, actually.
17:23:46 <amokleben> I got another bug but I'll try to fix this myself :)
17:26:58 <Aeyoun> amokleben: document it here anyway so Google will know about it.
17:28:30 -travis-ci:#nikola- getnikola/nikola#5919 (master - 63ab1e7 : Daniel Aleksandersen): The build passed.
17:28:31 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/4d859e026597...63ab1e73c185
17:28:31 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/74813176
17:28:57 <amokleben> the auto plugin fails for me
17:29:00 <amokleben> f = WebSocketWSGIHandler.finish_response
17:29:03 <amokleben> NameError: name 'WebSocketWSGIHandler' is not defined
17:29:04 <amokleben> easy one ;)
17:29:10 <amokleben> Will work on it after dinner
17:29:12 <amokleben> bbl
18:06:21 -GitHub[nikola]:#nikola- [nikola] okin opened pull request #1935: Fix NameError caused by failed import in auto plugin. (master...fix_websocketwsgihandler_name_error) http://git.io/v3Lko
18:06:52 <amokleben> There we go :)
20:40:06 <Wayneoween> ohai.
20:52:59 <amokleben> ohai Wayneoween 
20:53:06 <amokleben> and good night
21:27:49 <verbalshadow> is there a good way to include common rst fragments? so i have only one place to update them all
21:30:41 <verbalshadow> as soon as i asked i found the answer
22:56:10 <KwBot> [nikola] humitos opened issue #1936: Same images on multilanguage page https://github.com/getnikola/nikola/issues/1936