All pastes #108821 Raw Edit

Untitled

public text v1 · immutable
#108821 ·published 2006-07-31 18:09 UTC
rendered paste body
E.E.....EEE......E...............................................................
======================================================================
ERROR: tests.test_forms.test_rendering
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/core.py", line 124, in runTest
    self.testFunc()
  File "/home/kaan/projects/turbogears/turbogears/widgets/tests/test_forms.py", line 27, in test_rendering
    output = form.render(action="mylocation")
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 234, in render
    elem = self.display(value, **params)
  File "turbogears/widgets/meta.py", line 107, in lockwidget
    output = self.__class__.display(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 307, in display
    return super(CompoundWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 51, in _update_path
    returnval = func(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 225, in display
    return super(InputWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 226, in display
    return view.engines.get('kid').transform(params, self.template_c)
AttributeError: 'NoneType' object has no attribute 'transform'


======================================================================
ERROR: tests.test_forms.test_passing_instance
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/core.py", line 124, in runTest
    self.testFunc()
  File "/home/kaan/projects/turbogears/turbogears/widgets/tests/test_forms.py", line 54, in test_passing_instance
    output = form.render(Person())
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 234, in render
    elem = self.display(value, **params)
  File "turbogears/widgets/meta.py", line 107, in lockwidget
    output = self.__class__.display(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 307, in display
    return super(CompoundWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 51, in _update_path
    returnval = func(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 225, in display
    return super(InputWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 226, in display
    return view.engines.get('kid').transform(params, self.template_c)
AttributeError: 'NoneType' object has no attribute 'transform'


======================================================================
ERROR: tests.test_forms.test_disabled_widget
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/core.py", line 124, in runTest
    self.testFunc()
  File "/home/kaan/projects/turbogears/turbogears/widgets/tests/test_forms.py", line 115, in test_disabled_widget
    output = form.render(disabled_fields=["age"])
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 234, in render
    elem = self.display(value, **params)
  File "turbogears/widgets/meta.py", line 107, in lockwidget
    output = self.__class__.display(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 307, in display
    return super(CompoundWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 51, in _update_path
    returnval = func(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 225, in display
    return super(InputWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 226, in display
    return view.engines.get('kid').transform(params, self.template_c)
AttributeError: 'NoneType' object has no attribute 'transform'


======================================================================
ERROR: tests.test_forms.test_class_attributes_form
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/core.py", line 124, in runTest
    self.testFunc()
  File "/home/kaan/projects/turbogears/turbogears/widgets/tests/test_forms.py", line 126, in test_class_attributes_form
    output = form.render()
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 234, in render
    elem = self.display(value, **params)
  File "turbogears/widgets/meta.py", line 107, in lockwidget
    output = self.__class__.display(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 307, in display
    return super(CompoundWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 51, in _update_path
    returnval = func(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 225, in display
    return super(InputWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 226, in display
    return view.engines.get('kid').transform(params, self.template_c)
AttributeError: 'NoneType' object has no attribute 'transform'


======================================================================
ERROR: tests.test_forms.test_help_text
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/core.py", line 124, in runTest
    self.testFunc()
  File "/home/kaan/projects/turbogears/turbogears/widgets/tests/test_forms.py", line 144, in test_help_text
    output = form.render()
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 234, in render
    elem = self.display(value, **params)
  File "turbogears/widgets/meta.py", line 107, in lockwidget
    output = self.__class__.display(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 307, in display
    return super(CompoundWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 51, in _update_path
    returnval = func(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/forms.py", line 225, in display
    return super(InputWidget, self).display(value, **params)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 226, in display
    return view.engines.get('kid').transform(params, self.template_c)
AttributeError: 'NoneType' object has no attribute 'transform'


======================================================================
ERROR: tests.test_datagrid.TestDataGrid.test_wiki_samples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/core.py", line 185, in runTest
    self.testCase()
  File "/home/kaan/projects/turbogears/turbogears/widgets/tests/test_datagrid.py", line 56, in test_wiki_samples
    print grid.display(users)
  File "turbogears/widgets/meta.py", line 107, in lockwidget
    output = self.__class__.display(self, *args, **kw)
  File "/home/kaan/projects/turbogears/turbogears/widgets/base.py", line 226, in display
    return view.engines.get('kid').transform(params, self.template_c)
AttributeError: 'NoneType' object has no attribute 'transform'


----------------------------------------------------------------------
Ran 81 tests in 6.269s

FAILED (errors=6)