Skip to content

Instantly share code, notes, and snippets.

@disconsented
Created December 31, 2016 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save disconsented/7cc55c677d76f107d5af0cac44f627fb to your computer and use it in GitHub Desktop.
Save disconsented/7cc55c677d76f107d5af0cac44f627fb to your computer and use it in GitHub Desktop.
(nikola) [root@disconsented disconsented]# nikola build
[2016-12-31T01:14:21Z] WARNING: Nikola: The RSS_LINKS_APPEND_QUERY option is deprecated, use FEED_LINKS_APPEND_QUERY ins
tead.
[2016-12-31T01:14:21Z] WARNING: Nikola: The RSS_READ_MORE_LINK option is deprecated, use FEED_READ_MORE_LINK instead.
[2016-12-31T01:14:21Z] WARNING: Nikola: Could not guess locale for language en, using locale C
[2016-12-31T01:14:21Z] WARNING: Nikola: Please fix your OS locale configuration or use the LOCALES option in conf.py to
specify your preferred locale.
[2016-12-31T01:14:21Z] WARNING: Nikola: Make sure to use an UTF-8 locale to ensure Unicode support.
[2016-12-31T01:14:21Z] ERROR: yapsy: Unable to import plugin: /var/www/disconsented/plugins/projectpages/projectpages
Traceback (most recent call last):
File "/nikola/lib/python3.5/site-packages/yapsy/PluginManager.py", line 488, in loadPlugins
candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
File "/usr/lib/python3.5/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 693, in _load
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 661, in exec_module
File "<frozen importlib._bootstrap_external>", line 766, in get_code
File "/usr/lib/python3.5/imp.py", line 156, in get_data
return file.read()
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 37: ordinal not in range(128)
Scanning posts.....done!
. render_galleries:output/galleries/index.html
########################################
TaskError - taskid:render_galleries:output/galleries/index.html
PythonAction Error
Traceback (most recent call last):
File "/nikola/lib/python3.5/site-packages/doit/action.py", line 383, in execute
returned_value = self.py_callable(*self.args, **kwargs)
File "/nikola/lib/python3.5/site-packages/nikola/utils.py", line 935, in unlessLink
action(target)
File "/nikola/lib/python3.5/site-packages/nikola/filters.py", line 180, in html_tidy_wrap_attr
return _html_tidy_runner(infile, "-quiet --show-info no --show-warnings no -utf8 -indent --indent-attributes yes --s
ort-attributes alpha --wrap 80 --wrap-sections no --drop-empty-elements no --tidy-mark no -modify %1", executable=execut
able)
File "/nikola/lib/python3.5/site-packages/nikola/filters.py", line 192, in _html_tidy_runner
status = runinplace(executable + " " + options, infile)
File "/nikola/lib/python3.5/site-packages/nikola/filters.py", line 120, in runinplace
subprocess.check_call(command)
File "/usr/lib/python3.5/subprocess.py", line 576, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.5/subprocess.py", line 557, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'tidy5'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment