Skip to content

Instantly share code, notes, and snippets.

@terrycojones
Created September 16, 2017 07:22
Show Gist options
  • Save terrycojones/6768c7e0eb70b059883f4146227cde6e to your computer and use it in GitHub Desktop.
Save terrycojones/6768c7e0eb70b059883f4146227cde6e to your computer and use it in GitHub Desktop.
WARNING: Unable to find `/docs/papers/lipkin-VirCapSeq-VERT-2015.pdf`, skipping url replacement.
CRITICAL: RuntimeError: Warning encountered
Traceback (most recent call last):
File "/Users/terry/.virtualenvs/dmp3/bin/pelican", line 11, in <module>
sys.exit(main())
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/__init__.py", line 487, in main
pelican.run()
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/__init__.py", line 179, in run
p.generate_output(writer)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/generators.py", line 600, in generate_output
self.generate_pages(writer)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/generators.py", line 494, in generate_pages
self.generate_articles(write)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/generators.py", line 372, in generate_articles
blog=True)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/writers.py", line 230, in write_file
override_output)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/writers.py", line 171, in _write_file
output = template.render(localcontext)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/themes/notmyidea/templates/article.html", line 1, in top-level template code
{% extends "base.html" %}
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/themes/notmyidea/templates/base.html", line 39, in top-level template code
{% block content %}
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/themes/notmyidea/templates/article.html", line 15, in block "content"
{{ article.content }}
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/jinja2/environment.py", line 430, in getattr
return getattr(obj, attribute)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/contents.py", line 290, in content
return self.get_content(self.get_siteurl())
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/utils.py", line 173, in __call__
value = self.func(*args)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/contents.py", line 286, in get_content
return self._update_content(content, siteurl)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/contents.py", line 275, in _update_content
return hrefs.sub(replacer, content)
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/contents.py", line 251, in replacer
'limit_msg': ("Other resources were not found "
File "/Users/terry/.virtualenvs/dmp3/lib/python3.6/site-packages/pelican/log.py", line 193, in warning
raise RuntimeError('Warning encountered')
RuntimeError: Warning encountered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment