openframeworks / ofSite

openFrameworks web site
http://openframeworks.cc
157 stars 577 forks source link

Nikola: Error loading tasks. An unhandled exception occurred #679

Open hamoid opened 5 years ago

hamoid commented 5 years ago

Hi, I cloned the repo, ran install.sh and then build.sh on Ubuntu 18.04. I'm getting this:

[2018-10-30T13:36:14Z] WARNING: Nikola: The UNSLUGIFY_TITLES setting was renamed to FILE_METADATA_UNSLUGIFY_TITLES.
[2018-10-30T13:36:14Z] WARNING: Nikola: The sections feature has been removed and its functionality has been merged into categories.
[2018-10-30T13:36:14Z] WARNING: Nikola: For more information on how to migrate, please read: https://getnikola.com/blog/upgrading-to-nikola-v8.html#sections-were-replaced-by-categories
[2018-10-30T13:36:14Z] INFO: Nikola: Setting CATEGORY_DESTPATH_AS_DEFAULT = True
[2018-10-30T13:36:14Z] WARNING: Nikola: Your BASE_URL doesn't end in / -- adding it, but please fix it in your config file!
[2018-10-30T13:36:14Z] WARNING: Nikola: Cannot load theme "openframeworks", using 'bootblog4' instead.
Scanning posts................done!
[2018-10-30T13:36:15Z] ERROR: Nikola: Error loading tasks. An unhandled exception occurred.
[2018-10-30T13:36:15Z] ERROR: Nikola: mako.exceptions.TopLevelLookupException: Cant locate template for uri 'tutorial.mako'
[2018-10-30T13:36:15Z] NOTICE: Nikola: To see more details, run Nikola in debug mode (set environment variable NIKOLA_DEBUG=1) or use NIKOLA_SHOW_TRACEBACKS=1

While installing I got this warning (I don't know if related):

The directory '/home/user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

It does work on my other computer with Arch though... Any suggestions?

hamoid commented 5 years ago

Now that I try in my Arch computer, I get the same exact error. Maybe something in nikola was updated that requires changes?

majoravery commented 4 years ago

Hi! I'm not sure if you ever got the site up and running, but I'm facing the same issue right now as well. I figured this line could be a clue:

[2018-10-30T13:36:14Z] WARNING: Nikola: Cannot load theme "openframeworks", using 'bootblog4' instead.

since tutorial.mako lives in ofSite/themes/openframeworks/templates. Haven't gone very far beyond this but thought I'd comment in case it gives anyone else an idea

hamoid commented 4 years ago

I didn't get it running and I'm not working on it anymore. But I hope you find a way! :)