You are not logged in.

#1 2012-04-24 08:56:46

Micah89
Member
Registered: 2011-05-01
Posts: 29

Failed to install python2-webob

Hey,

today i tried to install python2-webob, which i now need to use in a project
but had the following error:

======================================================================
ERROR: test_headers (tests.test_request.RequestTests_functional)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/tests/test_request.py", line 1555, in test_headers
    "if_none_match: <ETag etag001 or etag002>",
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/WebTest-1.3.3-py2.7.egg/webtest/app.py", line 448, in mustcontain
    "Body does not contain string %r" % s)
IndexError: Body does not contain string 'if_modified_since: datetime.datetime(1994, 10, 29, 19, 43, 31, tzinfo=UTC)'

======================================================================
FAIL: tests.test_datetime_utils.test_parse_date
Testing datetime_utils.parse_date.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/tests/test_datetime_utils.py", line 42, in test_parse_date
    1995, 11, 21, 0, 12, 8, tzinfo=datetime_utils.UTC))
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/nose-1.1.2-py2.7.egg/nose/tools.py", line 31, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: datetime.datetime(1995, 11, 20, 23, 12, 8, tzinfo=UTC) != datetime.datetime(1995, 11, 21, 0, 12, 8, tzinfo=UTC)
    """Shorthand for 'assert a == b, "%r != %r" % (a, b)
    """
>>  assert datetime.datetime(1995, 11, 20, 23, 12, 8, tzinfo=UTC) == datetime.datetime(1995, 11, 21, 0, 12, 8, tzinfo=UTC), None or "%r != %r" % (datetime.datetime(1995, 11, 20, 23, 12, 8, tzinfo=UTC), datetime.datetime(1995, 11, 21, 0, 12, 8, tzinfo=UTC))
    

======================================================================
FAIL: tests.test_datetime_utils.test_parse_date_delta
Testing datetime_utils.parse_date_delta
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/tests/test_datetime_utils.py", line 74, in test_parse_date_delta
    1995, 11, 21, 0, 12, 8, tzinfo=datetime_utils.UTC))
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/nose-1.1.2-py2.7.egg/nose/tools.py", line 31, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: datetime.datetime(1995, 11, 20, 23, 12, 8, tzinfo=UTC) != datetime.datetime(1995, 11, 21, 0, 12, 8, tzinfo=UTC)
    """Shorthand for 'assert a == b, "%r != %r" % (a, b)
    """
>>  assert datetime.datetime(1995, 11, 20, 23, 12, 8, tzinfo=UTC) == datetime.datetime(1995, 11, 21, 0, 12, 8, tzinfo=UTC), None or "%r != %r" % (datetime.datetime(1995, 11, 20, 23, 12, 8, tzinfo=UTC), datetime.datetime(1995, 11, 21, 0, 12, 8, tzinfo=UTC))
    

======================================================================
FAIL: tests.test_descriptors.test_converter_date
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/tests/test_descriptors.py", line 334, in test_converter_date
    datetime.datetime(1994, 11, 15, 8, 12, 31, tzinfo=UTC))
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/nose-1.1.2-py2.7.egg/nose/tools.py", line 31, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: datetime.datetime(1994, 11, 15, 7, 12, 31, tzinfo=UTC) != datetime.datetime(1994, 11, 15, 8, 12, 31, tzinfo=<tests.test_descriptors.GMT object at 0x220fe10>)
    """Shorthand for 'assert a == b, "%r != %r" % (a, b)
    """
>>  assert datetime.datetime(1994, 11, 15, 7, 12, 31, tzinfo=UTC) == datetime.datetime(1994, 11, 15, 8, 12, 31, tzinfo=<tests.test_descriptors.GMT object at 0x220fe10>), None or "%r != %r" % (datetime.datetime(1994, 11, 15, 7, 12, 31, tzinfo=UTC), datetime.datetime(1994, 11, 15, 8, 12, 31, tzinfo=<tests.test_descriptors.GMT object at 0x220fe10>))
    

======================================================================
FAIL: tests.test_descriptors.test_date_header_fset_fget
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/tests/test_descriptors.py", line 360, in test_date_header_fset_fget
    eq_(desc.fget(resp), datetime.datetime(1994, 11, 15, 8, 12, 31, tzinfo=UTC))
  File "/tmp/yaourt-tmp-helder/aur-python2-webob/src/WebOb-1.1.1/nose-1.1.2-py2.7.egg/nose/tools.py", line 31, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: datetime.datetime(1994, 11, 15, 7, 12, 31, tzinfo=UTC) != datetime.datetime(1994, 11, 15, 8, 12, 31, tzinfo=<tests.test_descriptors.GMT object at 0x2210ed0>)
    """Shorthand for 'assert a == b, "%r != %r" % (a, b)
    """
>>  assert datetime.datetime(1994, 11, 15, 7, 12, 31, tzinfo=UTC) == datetime.datetime(1994, 11, 15, 8, 12, 31, tzinfo=<tests.test_descriptors.GMT object at 0x2210ed0>), None or "%r != %r" % (datetime.datetime(1994, 11, 15, 7, 12, 31, tzinfo=UTC), datetime.datetime(1994, 11, 15, 8, 12, 31, tzinfo=<tests.test_descriptors.GMT object at 0x2210ed0>))
    

----------------------------------------------------------------------
Ran 872 tests in 1.310s

FAILED (failures=4, errors=1)
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/multiprocessing/util.py", line 284, in _exit_function
    info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/multiprocessing/util.py", line 284, in _exit_function
    info('process shutting down')
TypeError: 'NoneType' object is not callable
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Makepkg was unable to build python2-webob.

anyone with similar problem? or someone with a solution for this?


Thanks!!

Offline

Board footer

Powered by FluxBB