Logs for #nikola for 2020-07-18

17:07:27 <erdgeist> Hey, any idea why I would suddenly see with bootstrap4 and mako backend this:
17:07:28 <erdgeist>   File "/Users/erdgeist/Coding/erdgeist.org/cache/.mako.tmp/base_helper.tmpl.py", line 251, in render_html_navigation_links_entries
17:07:31 <erdgeist>     for url, text in navigation_links_source[lang]:
17:07:34 <erdgeist> ValueError: too many values to unpack (expected 2)
17:10:47 <ChrisWarrick> erdgeist: did you change your theme or conf.py recently?
17:11:37 <ChrisWarrick> erdgeist: your navigation_links (_alt_links) don’t match the correct format for bs4
17:12:12 <erdgeist> ChrisWarrick: No, I've had an old bs3 based theme and was kinda forced to finally upgrade to py3, bs4 and stuff
17:12:31 <ChrisWarrick> you can reinstall bs3 with `nikola theme`
17:12:43 <ChrisWarrick> bpaste.net your navigation(_alt)_links
17:13:26 <erdgeist> ChrisWarrick: https://erdgeist.org/gitweb/erdgeist.org/tree/conf.py#n116
17:13:54 <ChrisWarrick> this icon- thing is not supported in bootstrap4
17:15:07 <ChrisWarrick> erdgeist: your old theme did support icons, you can customize base_helper and add those icons in as you did in the old theme
17:17:32 <erdgeist> Understood. Thanks.
17:31:22 <erdgeist> Hm, I also now get a OSError: Path output/<......> already exists and is not a folder
17:31:54 <erdgeist> That wasn't a problem before. I do actually copy from a files/ directory and just want the index.html to be rendered there.
17:32:33 <ChrisWarrick> what is it if it’s not a folder?
17:33:46 <erdgeist> it's a plain text file
17:34:21 <erdgeist> Do I need to add a / at the end of the slug param?
17:34:55 <ChrisWarrick> no
17:36:11 <erdgeist> Just checked my git diff. These files are in the files/ dir ... shouldn't be there. Must be my fault. Sorry
17:44:39 <erdgeist> Hmm, and did post.formatted_date  vanish?
17:46:04 <erdgeist> I've had    ${post.formatted_date('%b %Y')   in my template and now it results in     <div class="post-date">(%b %2001)</div>
17:47:26 <erdgeist> Hmmm. I think, I can fix that. Sorry for the noise.
17:56:05 <ChrisWarrick> (the date format library changed)
17:58:09 <erdgeist> I noticed. And the "b" modifier doesn't work anymore
18:08:20 <ChrisWarrick> erdgeist: http://babel.pocoo.org/en/latest/dates.html#date-fields