rm: das Entfernen von »test.sqlite“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
............E./home/torsten/Entwicklung/Python/ringo/ringo/ringo/__init__.py:127: SAWarning: At least one scoped session is already present.  configure() can not affect sessions that have already been created.
  DBSession.configure(bind=engine)
.......................................................................
======================================================================
ERROR: test_register_ok (ringo.tests.functional.test_auth.TestAuth)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/torsten/Entwicklung/Python/ringo/ringo/ringo/tests/functional/test_auth.py", line 46, in test_register_ok
    self.app.post('/auth/register_user', values, status=302)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/webtest/app.py", line 239, in post
    content_type=content_type,
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/webtest/app.py", line 594, in _gen_request
    expect_errors=expect_errors)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/webtest/app.py", line 467, in do_request
    res = req.get_response(app, catch_exc_info=True)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/WebOb-1.2.3-py2.7.egg/webob/request.py", line 1292, in send
    application, catch_exc_info=True)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/WebOb-1.2.3-py2.7.egg/webob/request.py", line 1260, in call_application
    app_iter = application(self.environ, start_response)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/webtest/lint.py", line 198, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/pyramid-1.4.2-py2.7.egg/pyramid/router.py", line 251, in __call__
    response = self.invoke_subrequest(request, use_tweens=True)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/pyramid-1.4.2-py2.7.egg/pyramid/router.py", line 227, in invoke_subrequest
    response = handle_request(request)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/pyramid-1.4.2-py2.7.egg/pyramid/tweens.py", line 21, in excview_tween
    response = handler(request)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/pyramid_tm-0.7-py2.7.egg/pyramid_tm/__init__.py", line 82, in tm_tween
    reraise(*exc_info)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/pyramid_tm-0.7-py2.7.egg/pyramid_tm/__init__.py", line 70, in tm_tween
    manager.commit()
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/transaction-1.4.1-py2.7.egg/transaction/_manager.py", line 111, in commit
    return self.get().commit()
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/transaction-1.4.1-py2.7.egg/transaction/_transaction.py", line 280, in commit
    reraise(t, v, tb)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/transaction-1.4.1-py2.7.egg/transaction/_transaction.py", line 271, in commit
    self._commitResources()
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/transaction-1.4.1-py2.7.egg/transaction/_transaction.py", line 417, in _commitResources
    reraise(t, v, tb)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/transaction-1.4.1-py2.7.egg/transaction/_transaction.py", line 399, in _commitResources
    rm.tpc_finish(self)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/repoze.sendmail-4.0-py2.7.egg/repoze/sendmail/delivery.py", line 71, in tpc_finish
    self.callable(*self.args)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/repoze.sendmail-4.0-py2.7.egg/repoze/sendmail/mailer.py", line 86, in send
    connection.sendmail(fromaddr, toaddrs, message)
  File "/usr/lib/python2.7/smtplib.py", line 733, in sendmail
    raise SMTPRecipientsRefused(senderrs)
SMTPRecipientsRefused: {'': (501, '5.1.3 Bad recipient address syntax')}
-------------------- >> begin captured logging << --------------------
txn.140345780434752: DEBUG: new transaction
formbar.form: DEBUG: Submitted values: {'login': u'newuser', 'email': u'test@example.com', 'pass2': u'12345678', 'pass': u'12345678'}
formbar.rules: DEBUG: Rule: _bool ( 'newuser' ) -> True
formbar.form: DEBUG: Converted value 'newuser' (<type 'unicode'>) of field 'login' (string)
formbar.rules: DEBUG: Rule: _bool ( 'test@example.com' ) -> True
formbar.form: DEBUG: Converted value '' (<type 'str'>) of field 'email' (email)
formbar.rules: DEBUG: Rule: '12345678' == '12345678' -> True
formbar.form: DEBUG: Converted value '12345678' (<type 'unicode'>) of field 'pass2' (string)
formbar.rules: DEBUG: Rule: _bool ( '12345678' ) -> True
formbar.rules: DEBUG: Rule: len ( '12345678' ) >= 6 -> True
formbar.form: DEBUG: Converted value '12345678' (<type 'unicode'>) of field 'pass' (string)
txn.140345780434752: DEBUG: commit <repoze.sendmail.delivery.MailDataManager object at 0x4532e90>
txn.140345780434752: DEBUG: commit <zope.sqlalchemy.datamanager.SessionDataManager object at 0x487bf50>
txn.140345780434752: CRITICAL: A storage error occurred during the second phase of the two-phase commit.  Resources may be in an inconsistent state.
txn.140345780434752: ERROR: Error in tpc_abort() on manager <zope.sqlalchemy.datamanager.SessionDataManager object at 0x487bf50>
Traceback (most recent call last):
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/transaction-1.4.1-py2.7.egg/transaction/_transaction.py", line 432, in _cleanup
    rm.tpc_abort(self)
  File "/home/torsten/Entwicklung/Python/ringo/python/local/lib/python2.7/site-packages/zope.sqlalchemy-0.7.2-py2.7.egg/zope/sqlalchemy/datamanager.py", line 107, in tpc_abort
    assert self.state is not 'committed'
AssertionError
txn.140345780434752: DEBUG: abort
txn.140345780434752: DEBUG: new transaction
--------------------- >> end captured logging << ---------------------

Name                                     Stmts   Miss  Cover   Missing
----------------------------------------------------------------------
ringo                                      114      0   100%   
ringo.lib                                    0      0   100%   
ringo.lib.helpers                           67      5    93%   29, 53, 96-97, 127
ringo.lib.history                            7      0   100%   
ringo.lib.i18n                              28      7    75%   58-68
ringo.lib.renderer                         145     19    87%   29-33, 39, 45-48, 117-118, 141-143, 156, 247, 303-304
ringo.lib.security                         115     24    79%   22, 88-89, 106-107, 127-128, 138-139, 175-191, 239
ringo.lib.sql                               25      3    88%   23-27, 34
ringo.lib.sql.query                         95     61    36%   64, 71-76, 81-82, 92-115, 120-121, 141-158, 179-180, 184, 193-195, 198-202, 224-226, 237-244, 254-255, 258-265
ringo.model                                  1      0   100%   
ringo.model.base                           126     26    79%   35-42, 46, 76-77, 108-109, 111, 117, 135, 141-151, 187, 239-240
ringo.model.mixins                          24      5    79%   52-53, 57-59
ringo.model.modul                          105     63    40%   58-79, 92-140
ringo.model.user                           128     34    73%   72-78, 188-231
ringo.resources                             73     25    66%   77-96, 122-124, 127-129, 132-137, 142-143
ringo.scaffolds                              4      0   100%   
ringo.scripts                                0      0   100%   
ringo.scripts.add_modul                    171    137    20%   39-43, 46-50, 53-54, 57-60, 63-85, 88-112, 115-131, 134-146, 149-158, 161-170, 174-186, 189-213, 217-232, 235
ringo.scripts.initializedb                  27     15    44%   29-32, 36-42, 45-49
ringo.tests                                 46      2    96%   20-22
ringo.tests.functional                       0      0   100%   
ringo.tests.functional.test_auth            47      1    98%   95
ringo.tests.functional.test_home            13      1    92%   19
ringo.tests.functional.test_moduls          43      2    95%   68, 89
ringo.tests.functional.test_profiles        30      2    93%   27, 49
ringo.tests.functional.test_roles           63      2    97%   36, 96
ringo.tests.functional.test_usergroups      60      2    97%   27, 93
ringo.tests.functional.test_users           59      2    97%   27, 99
ringo.tests.test_views_auth                  0      0   100%   
ringo.views                                  7      0   100%   
ringo.views.auth                           142      7    95%   186-193
ringo.views.base                           233     55    76%   29-32, 48, 63-70, 95-99, 108-109, 143, 153-157, 159, 161, 177-178, 199-214, 216-226, 322
ringo.views.errors                          21      0   100%   
ringo.views.home                            30      0   100%   
ringo.views.json                            50     35    30%   41-43, 46-50, 54-57, 61-64, 75-76, 93-104, 115, 132-140, 151-153
ringo.views.modules                         18      3    83%   48, 55, 62
ringo.views.profiles                        18      3    83%   48, 55, 62
ringo.views.roles                           26      5    81%   64, 71, 78, 85, 92
ringo.views.usergroups                      26      5    81%   64, 71, 78, 85, 92
ringo.views.users                           33      5    85%   76, 83, 90, 97, 104
----------------------------------------------------------------------
TOTAL                                     2220    556    75%   
----------------------------------------------------------------------
Ran 85 tests in 61.973s

FAILED (errors=1)
