All pastes #756309 Raw Edit

Stuff

public text v1 · immutable
#756309 ·published 2007-10-31 11:24 UTC
rendered paste body
Running tests in pytoolkit/trunk...
F.....
======================================================================
FAIL: Test all possible types of fuzzy strings generated with the fuzzy_time_since().
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/laura/svn/pytoolkit/trunk/pytoolkit/test_conversion.py", line 36, in test_different_branches
    self.assert_('vk sitten' in fuzzy_time_since(datetime.datetime(now.year, now.month-1, 1)))
AssertionError

----------------------------------------------------------------------
Ran 6 tests in 0.009s

FAILED (failures=1)
Running tests in calendero/trunk/calendero/calendero/tests...
/home/laura/svn/calendero/trunk/calendero/calendero/model/__init__.py:9: DeprecationWarning: pylons.database is deprecated, and will be removed from a future version of Pylons. SQLAlchemy 0.3.x users are recommended to migrate to SAContext (http://cheeseshop.python.org/pypi/SAContext) for similar functionality
  from pylons.database import session_context as ctx
Running setup_config() from calendero.websetup
.............................E.EEE...................................................ERROR:calendero.controllers.login:ALERT: [unknown] tried to send new password for a non-existing user valid_uSerNämåöÖ
ERROR:calendero.controllers.login:ALERT: [unknown] tried to send new password for a non-existing user valid_uSerNämåöÖ
E..........ERROR:calendero.controllers.picture:User 265 does not have rights to edit picture 32
ERROR:calendero.controllers.picture:User 265 does not have rights to edit picture 32
ERROR:calendero.controllers.picture:Anonymous tried to delete picture 30
ERROR:calendero.controllers.picture:User 265 does not have rights to edit picture 32
ERROR:calendero.controllers.picture:User 265 does not have rights to delete picture 32
.............ERROR:calendero.controllers.sms:user with login xc34c34 not found
ERROR:calendero.controllers.sms:user with login xc32c32 not found
..........
======================================================================
ERROR: test_changing_properties_and_deleting_without_rights (calendero.tests.functional.test_calendar.TestCalendarController)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/laura/svn/calendero/trunk/calendero/calendero/tests/functional/test_calendar.py", line 165, in test_changing_properties_and_deleting_without_rights
    not_my_cal2 = self._create_test_cal(name='private calender of user 0', public=False, price=None)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/tests/__init__.py", line 96, in _create_test_cal
    response = self.app.get(url_for(controller='calendar', action='new'))
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 209, in get
    return self.do_request(req, status=status)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 384, in do_request
    **req.environ)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/wsgilib.py", line 341, in raw_interactive
    app_iter = application(basic_environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/lint.py", line 170, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/cascade.py", line 92, in __call__
    return self.apps[-1](environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/registry.py", line 340, in __call__
    app_iter = self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/recursive.py", line 80, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/errordocument.py", line 185, in __call__
    app_iter = self.application(environ, change_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/evalexception/middleware.py", line 186, in __call__
    return self.respond(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/error.py", line 231, in respond
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 315, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/cache.py", line 180, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/session.py", line 405, in __call__
    response = self.wrap_app(environ, session_start_response)
  File "/usr/lib/python2.5/site-packages/Routes-1.7-py2.5.egg/routes/middleware.py", line 104, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 95, in __call__
    response = self.dispatch(controller, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 237, in dispatch
    return controller(environ, start_response)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 152, in __call__
    return WSGIController.__call__(self, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 164, in __call__
    response = self._dispatch_call()
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 120, in _dispatch_call
    response = self._inspect_call(func)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 79, in _inspect_call
    result = func(**args)
  File "<string>", line 1, in <lambda>
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 38, in require_login
    return func(*args, **kw)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 324, in new
    return self.randomize_calendar_pictures(calendar.id, resuffle=True)
  File "<string>", line 1, in <lambda>
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 38, in require_login
    return func(*args, **kw)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 503, in randomize_calendar_pictures
    (hatch_smaller_max, hatch_bigger_max) = self._get_hatch_maximum_sizes(pic.width, pic.height)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 44, in _get_hatch_maximum_sizes
    hatch_smaller_max = int(cal_width / 12)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

======================================================================
ERROR: test_new (calendero.tests.functional.test_calendar.TestCalendarController)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/laura/svn/calendero/trunk/calendero/calendero/tests/functional/test_calendar.py", line 66, in test_new
    response = self.app.get(url_for(controller='calendar', action='set_background_picture', id=created_calendar, pic=pic_id1))
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 209, in get
    return self.do_request(req, status=status)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 384, in do_request
    **req.environ)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/wsgilib.py", line 341, in raw_interactive
    app_iter = application(basic_environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/lint.py", line 170, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/cascade.py", line 92, in __call__
    return self.apps[-1](environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/registry.py", line 340, in __call__
    app_iter = self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/recursive.py", line 80, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/errordocument.py", line 185, in __call__
    app_iter = self.application(environ, change_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/evalexception/middleware.py", line 186, in __call__
    return self.respond(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/error.py", line 231, in respond
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 315, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/cache.py", line 180, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/session.py", line 405, in __call__
    response = self.wrap_app(environ, session_start_response)
  File "/usr/lib/python2.5/site-packages/Routes-1.7-py2.5.egg/routes/middleware.py", line 104, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 95, in __call__
    response = self.dispatch(controller, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 237, in dispatch
    return controller(environ, start_response)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 152, in __call__
    return WSGIController.__call__(self, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 164, in __call__
    response = self._dispatch_call()
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 120, in _dispatch_call
    response = self._inspect_call(func)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 79, in _inspect_call
    result = func(**args)
  File "<string>", line 1, in <lambda>
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 38, in require_login
    return func(*args, **kw)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 434, in set_background_picture
    self._regenerate_hatches(calendar, hatches, picture)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 286, in _regenerate_hatches
    background_pic.height)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 44, in _get_hatch_maximum_sizes
    hatch_smaller_max = int(cal_width / 12)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

======================================================================
ERROR: Test rating calendar.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/laura/svn/calendero/trunk/calendero/calendero/tests/functional/test_calendar.py", line 236, in test_rating_calendar
    response = self.app.get(url_for(controller='calendar', action='new'))
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 209, in get
    return self.do_request(req, status=status)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 384, in do_request
    **req.environ)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/wsgilib.py", line 341, in raw_interactive
    app_iter = application(basic_environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/lint.py", line 170, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/cascade.py", line 92, in __call__
    return self.apps[-1](environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/registry.py", line 340, in __call__
    app_iter = self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/recursive.py", line 80, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/errordocument.py", line 185, in __call__
    app_iter = self.application(environ, change_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/evalexception/middleware.py", line 186, in __call__
    return self.respond(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/error.py", line 231, in respond
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 315, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/cache.py", line 180, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/session.py", line 405, in __call__
    response = self.wrap_app(environ, session_start_response)
  File "/usr/lib/python2.5/site-packages/Routes-1.7-py2.5.egg/routes/middleware.py", line 104, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 95, in __call__
    response = self.dispatch(controller, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 237, in dispatch
    return controller(environ, start_response)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 152, in __call__
    return WSGIController.__call__(self, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 164, in __call__
    response = self._dispatch_call()
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 120, in _dispatch_call
    response = self._inspect_call(func)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 79, in _inspect_call
    result = func(**args)
  File "<string>", line 1, in <lambda>
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 38, in require_login
    return func(*args, **kw)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 324, in new
    return self.randomize_calendar_pictures(calendar.id, resuffle=True)
  File "<string>", line 1, in <lambda>
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 38, in require_login
    return func(*args, **kw)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 503, in randomize_calendar_pictures
    (hatch_smaller_max, hatch_bigger_max) = self._get_hatch_maximum_sizes(pic.width, pic.height)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 44, in _get_hatch_maximum_sizes
    hatch_smaller_max = int(cal_width / 12)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

======================================================================
ERROR: Test adding tags to calendar.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/laura/svn/calendero/trunk/calendero/calendero/tests/functional/test_calendar.py", line 273, in test_tags
    response = self.app.get(url_for(controller='calendar', action='new'))
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 209, in get
    return self.do_request(req, status=status)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 384, in do_request
    **req.environ)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/wsgilib.py", line 341, in raw_interactive
    app_iter = application(basic_environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/lint.py", line 170, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/cascade.py", line 92, in __call__
    return self.apps[-1](environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/registry.py", line 340, in __call__
    app_iter = self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/recursive.py", line 80, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/errordocument.py", line 185, in __call__
    app_iter = self.application(environ, change_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/evalexception/middleware.py", line 186, in __call__
    return self.respond(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/error.py", line 231, in respond
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 315, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/cache.py", line 180, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/session.py", line 405, in __call__
    response = self.wrap_app(environ, session_start_response)
  File "/usr/lib/python2.5/site-packages/Routes-1.7-py2.5.egg/routes/middleware.py", line 104, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 95, in __call__
    response = self.dispatch(controller, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 237, in dispatch
    return controller(environ, start_response)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 152, in __call__
    return WSGIController.__call__(self, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 164, in __call__
    response = self._dispatch_call()
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 120, in _dispatch_call
    response = self._inspect_call(func)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 79, in _inspect_call
    result = func(**args)
  File "<string>", line 1, in <lambda>
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 38, in require_login
    return func(*args, **kw)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 324, in new
    return self.randomize_calendar_pictures(calendar.id, resuffle=True)
  File "<string>", line 1, in <lambda>
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 38, in require_login
    return func(*args, **kw)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 503, in randomize_calendar_pictures
    (hatch_smaller_max, hatch_bigger_max) = self._get_hatch_maximum_sizes(pic.width, pic.height)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/calendar.py", line 44, in _get_hatch_maximum_sizes
    hatch_smaller_max = int(cal_width / 12)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

======================================================================
ERROR: test_password_sending (calendero.tests.functional.test_login.TestLoginController)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/laura/svn/calendero/trunk/calendero/calendero/tests/functional/test_login.py", line 102, in test_password_sending
    response = form.submit()
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 1084, in submit
    params=fields, **args)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 767, in goto
    return method(href, **args)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 258, in post
    expect_errors=expect_errors)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 239, in _gen_request
    return self.do_request(req, status=status)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/fixture.py", line 384, in do_request
    **req.environ)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/wsgilib.py", line 341, in raw_interactive
    app_iter = application(basic_environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/lint.py", line 170, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/cascade.py", line 92, in __call__
    return self.apps[-1](environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/registry.py", line 340, in __call__
    app_iter = self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/recursive.py", line 80, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/errordocument.py", line 185, in __call__
    app_iter = self.application(environ, change_response)
  File "/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/evalexception/middleware.py", line 186, in __call__
    return self.respond(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/error.py", line 231, in respond
    return self.application(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 315, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/cache.py", line 180, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Beaker-0.7.5-py2.5.egg/beaker/session.py", line 405, in __call__
    response = self.wrap_app(environ, session_start_response)
  File "/usr/lib/python2.5/site-packages/Routes-1.7-py2.5.egg/routes/middleware.py", line 104, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 95, in __call__
    response = self.dispatch(controller, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/wsgiapp.py", line 237, in dispatch
    return controller(environ, start_response)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/lib/base.py", line 152, in __call__
    return WSGIController.__call__(self, environ, start_response)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 164, in __call__
    response = self._dispatch_call()
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 120, in _dispatch_call
    response = self._inspect_call(func)
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/controllers/core.py", line 79, in _inspect_call
    result = func(**args)
  File "<string>", line 1, in <lambda>
  File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.1-py2.5.egg/pylons/decorators/__init__.py", line 191, in wrapper
    return func(self, *args, **kwargs)
  File "/home/laura/svn/calendero/trunk/calendero/calendero/controllers/login.py", line 115, in send_password
    _(u"New password to the 24 days service").encode('utf8'), text, encoding='utf8')
  File "/home/laura/svn/pytoolkit/trunk/pytoolkit/mail.py", line 24, in send_mail
    s.connect()
  File "smtplib.py", line 310, in connect
    raise socket.error, msg
error: (111, 'Connection refused')

----------------------------------------------------------------------
Ran 119 tests in 30.753s

FAILED (errors=5)
Validating XHTML...
validating: http://localhost:8000/front
*** Errors validating /tmp/tmp.bvpxG11377: ***
Error at line 1, character 1:  missing document type declaration; assuming
        HTML 4.01 Transitional
validating: http://localhost:8000/registration
*** Errors validating /tmp/tmp.gBSpI11382: ***
Error at line 1, character 1:  missing document type declaration; assuming
        HTML 4.01 Transitional
validating: http://localhost:8000/login/missing_password
*** Errors validating /tmp/tmp.DwzHG11387: ***
Error at line 1, character 1:  missing document type declaration; assuming
        HTML 4.01 Transitional
validating: http://localhost:8000/calendar/list?categ=public&sort=latest
*** Errors validating /tmp/tmp.EhhuK11392: ***
Error at line 1, character 1:  missing document type declaration; assuming
        HTML 4.01 Transitional