Logs for #nikola for 2017-10-27

19:10:33 <martin__> Hello, I am old Nikola user who has been doing other things for some years and now when I try to pick up Nikola again I fall on my face. I can't even build the Nikola demo. Anyone willing to offer a helping hand?
19:17:42 <ralsina> martin__: sure!
19:17:52 <ralsina> martin__: what is the problem?
19:18:20 <martin__> Let me describe what I have done:
19:18:40 <martin__> sudo pip install nikola (worked fine I think)
19:19:19 <ralsina> ok
19:19:25 <martin__> nikola init --demo Demo (followed by agreeing to defaults)
19:19:40 <martin__> cd Demo
19:19:46 <martin__> nikola build
19:20:30 <martin__> Which gives me: ERROR: scan_posts: Error reading post post/1.rst
19:20:33 <martin__> etc
19:22:19 <martin__> And yes 1.rst does exist and look good as far as I can tell.
19:22:40 <martin__> This is on a Debian box.
19:23:28 <martin__> Maybe the rest of the error messages helps:
19:23:46 <martin__> ERROR: Nikola: Error reading timeline
19:24:23 <martin__> ERROR: Nikola: Error loading tasks. An unhandled exception occurred.
19:25:28 <ChrisWarrick> Try again with the following env variable:
19:25:50 <ChrisWarrick> NIKOLA_DEBUG=1 nikola build
19:26:19 <ChrisWarrick> or:  NIKOLA_SHOW_TRACEBACKS=1 nikola build
19:29:53 <martin__> Now I get a ton of things -- too much to cite. There seems to a problem with Unicode. I get a UnicodeWarning saying Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
19:31:40 <martin__> At the very bottom of all I get: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
19:35:00 <martin__> At the very top I find: /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py:1892: UserWarning: /usr/lib/pymodules/python2.7/rpl-1.5.5.egg-info could not be properly decoded in UTF-8
19:37:39 <ralsina> weee, you have something broken in your python
19:38:04 <ralsina> Do you have python 3?
19:39:10 <martin__> Not something I have noticed before. I do use python 3 and I have noticed Nikola is now python 3 so at first I tried a pip3 install which did not work. I ended up with error messages.
19:39:59 <martin__> I actually try to stick to python 3 when write programs myself.
19:40:14 <martin__> (I am not a programmer)
19:44:15 <ralsina> weird
19:44:43 <martin__> Me not being a programmer? :-)
19:49:56 <martin__> Yes something is broken. pip list results in the expected list of modules but also, for the first time ever, I get a bunch of exceptions!
19:52:35 <martin__> I actually only installed pip the other day to be able to install Nikola. pip3 has been around on my machine for some time and pip3 list only results in a list. No errors.
20:03:19 <martin__> OK, guys, I have to leave now. I will try to repair my python 2.7 environment and then try Nikola again. It is not likely to happen the next few days as I have a busy weekend in front of me so don't hold your breath.