Package: nikola
Version: 7.1.0-1
Severity: normal

I, upgrading nikola to 7.1 I get this error when building a website:

[...]
.  render_tags:output/tags/winter/index.html
.  render_tags:output/tags/canonical/index.html
.  render_tags:output/tags/ubuntu/index.html
.  render_tags:output/tags/legal/index.html
.  render_tags:output/tags/montreal/index.html
.  render_tags:output/tags/sepaq/index.html
.  render_tags:output/tags/quebec/index.html
.  render_tags:output/tags/mont-tremblant/index.html
.  render_tags:output/tags/autumn/index.html
.  render_tags:output/tags/sensors/index.html
.  render_tags:output/tags/leonardo/index.html
.  render_tags:output/tags/synthesis/index.html
.  render_tags:output/tags/python/index.html
.  render_tags:output/tags/arduino/index.html
.  render_tags:output/tags/audio/index.html
.  render_tags:output/tags/osc/index.html
.  render_tags:output/tags/pyo/index.html
.  render_pages:output/posts/minidc-bcn2014-were-all-there/index.html
########################################
TaskError -
taskid:render_pages:output/posts/minidc-bcn2014-were-all-there/index.html
PythonAction Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/doit/action.py", line 360, in
execute
    returned_value = self.py_callable(*self.args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/nikola/nikola.py", line 785, in
render_template
    template_name, None, local_context)
  File
"/usr/lib/python2.7/dist-packages/nikola/plugins/template/mako.py", line
108, in render_template
    data = template.render_unicode(**context)
  File "/usr/lib/python2.7/dist-packages/mako/template.py", line 452, in
render_unicode
    as_unicode=True)
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 803, in
_render
    **_kwargs_for_callable(callable_, data))
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 835, in
_render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 860, in
_exec_template
    callable_(context, *args, **kwargs)
  File
"/home/tiago/ownCloud/website-tiago/cache/.mako.tmp/base.tmpl.py", line
56, in render_body
    __M_writer(unicode(base.html_headstart()))
  File
"/home/tiago/ownCloud/website-tiago/cache/.mako.tmp/base_helper.tmpl.py",
line 116, in render_html_headstart
    __M_writer(unicode(html_stylesheets()))
  File
"/home/tiago/ownCloud/website-tiago/cache/.mako.tmp/base_helper.tmpl.py",
line 90, in html_stylesheets
    return render_html_stylesheets(context)
  File
"/home/tiago/ownCloud/website-tiago/cache/.mako.tmp/base_helper.tmpl.py",
line 239, in render_html_stylesheets
    __M_writer(unicode(notes.css()))
AttributeError: 'Undefined' object has no attribute 'css'

It used to work with previews versio, any hint?

Regards,


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'unstable'), (500, 'testing'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nikola depends on:
ii  libjs-bootstrap          3.2.0+dfsg-1
ii  libjs-imagesloaded       3.1.8-1
ii  libjs-jquery             1.7.2+dfsg-3.1
ii  libjs-jquery-colorbox    1.5.14-1
ii  libjs-twitter-bootstrap  2.0.2+dfsg-5
ii  python                   2.7.8-1
ii  python-blinker           1.3.dfsg2-1
ii  python-dateutil          2.2-2
ii  python-docutils          0.12+dfsg-1
ii  python-doit              0.25.0-2
ii  python-imaging           2.5.3-1
ii  python-logbook           0.7.0-1
ii  python-lxml              3.4.0-1
ii  python-mako              1.0.0-1
ii  python-natsort           3.5.1-1
ii  python-pkg-resources     5.5.1-1
ii  python-pygments          1.6+dfsg-1
ii  python-pyrss2gen         1.1-1
ii  python-unidecode         0.04.16-1
ii  python-yapsy             1.10.423-1
pn  python:any               <none>

Versions of packages nikola recommends:
ii  python-livereload  2.2.2-1
ii  python-requests    2.3.0-1
ii  python-typogrify   1:2.0.7-1
ii  python-webassets   3:0.10.1-2

Versions of packages nikola suggests:
pn  bpython              <none>
pn  ipython              <none>
ii  node-less            1.4.2-1
pn  pandoc               <none>
pn  python-creoleparser  <none>
ii  python-feedparser    5.1.3-2
ii  python-jinja2        2.7.3-1
ii  python-markdown      2.4.1-1
pn  python-misaka        <none>
pn  python-textile       <none>
pn  txt2tags             <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to