cubicweb-sysinfo #343854 NameError: global name 'device' is not defined [done]

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 3)</p>
Literal block expected; none found.

2009-06-24 09:55:54 - (cubicweb.web) ERROR: NameError("global name 'device' is not defined",) Traceback (most recent call last):

ReST / HTML errors:System Message: ERROR/3 (&lt;string&gt; , line 5)</p>
Unexpected indentation.
File "/usr/lib/python2.5/site-packages/cubicweb/web/application.py", line 321, in main_publish
result = controller.publish(rset=rset)
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/basecontrollers.py", line 112, in publish
return self.vreg.main_template(self.req, template, rset=rset, view=view)
File "/usr/lib/python2.5/site-packages/cubicweb/cwvreg.py", line 214, in main_template

res = self.render('views', oid, req, **context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 10); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.5/site-packages/cubicweb/cwvreg.py", line 207, in render

return selected.render(**context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 12); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.5/site-packages/cubicweb/view.py", line 148, in render

view_func(**context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 14); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/basetemplates.py", line 124, in call
view.render(w=w)
File "/usr/lib/python2.5/site-packages/cubicweb/view.py", line 148, in render

view_func(**context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 18); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/editforms.py", line 227, in call
self.render_form(entity)
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/editforms.py", line 193, in render_form
self.w(form.form_render(formvid=u'edition'))
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/forms.py", line 144, in form_render
return renderer.render(self, values)
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/formrenderers.py", line 317, in render
rendered = super(EntityFormRenderer, self).render(form, values)
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/formrenderers.py", line 78, in render
self.render_fields(w, form, values)
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/formrenderers.py", line 327, in render_fields
super(EntityFormRenderer, self).render_fields(w, form, values)
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/formrenderers.py", line 170, in render_fields
self._render_fields(fields, w, form)
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/formrenderers.py", line 334, in _render_fields
super(EntityFormRenderer, self)._render_fields(fields, w, form)
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/formrenderers.py", line 200, in _render_fields
w(field.render(form, self))
File "/usr/lib/python2.5/site-packages/cubicweb/web/formfields.py", line 160, in render
return self.get_widget(form).render(form, self)
File "/usr/lib/python2.5/site-packages/cubicweb/web/formwidgets.py", line 184, in render
for label, value in field.vocabulary(form):
File "/usr/lib/python2.5/site-packages/cubicweb/web/formfields.py", line 438, in vocabulary
vocab = res + form.form_field_vocabulary(self) + relatedvocab
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/forms.py", line 447, in form_field_vocabulary
return vocabfunc(rtype, limit)
File "/usr/share/cubicweb/cubes/sysinfo/views/forms.py", line 13, in subject_hosted_by_vocabulary
if device:
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 47)</p>
Block quote ends without a blank line; unexpected unindent.

NameError: global name 'device' is not defined

prioritynormal
typebug
done in<not specified>
load left0.000
closed by<not specified>