[Python-modules-team] Bug#658787: cssutils: FTBFS: tests fail
Jakub Wilk
jwilk at debian.org
Mon Feb 6 00:57:19 UTC 2012
Source: cssutils
Version: 0.9.8-1
Severity: serious
Justification: fails to build from source
cssutils FTBFS:
| set -e; \
| for py in python2.7 python2.6; do \
| $py setup.py nosetests; \
| done
| running nosetests
| running egg_info
| writing src/cssutils.egg-info/PKG-INFO
| writing top-level names to src/cssutils.egg-info/top_level.txt
| writing dependency_links to src/cssutils.egg-info/dependency_links.txt
| writing entry points to src/cssutils.egg-info/entry_points.txt
| writing manifest file 'src/cssutils.egg-info/SOURCES.txt'
| reading manifest file 'src/cssutils.egg-info/SOURCES.txt'
| writing manifest file 'src/cssutils.egg-info/SOURCES.txt'
| running build_ext
| ............................................................................................................................................................................................................F...............................E....................................................................................................................
| ======================================================================
| ERROR: CSSParser.parseUrl()
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/cssutils-ugzhNj/cssutils-0.9.8/src/tests/test_parse.py", line 143, in test_parseUrl
| self.assertRaises(urllib2.HTTPError, parser.parseUrl, 'http://cthedot.de/not-present.css')
| File "/usr/lib/python2.7/unittest/case.py", line 471, in assertRaises
| callableObj(*args, **kwargs)
| File "/build/cssutils-ugzhNj/cssutils-0.9.8/src/cssutils/parse.py", line 196, in parseUrl
| overrideEncoding=encoding)
| File "/build/cssutils-ugzhNj/cssutils-0.9.8/src/cssutils/util.py", line 840, in _readUrl
| r = fetcher(url)
| File "/build/cssutils-ugzhNj/cssutils-0.9.8/src/cssutils/_fetch.py", line 37, in _defaultFetcher
| log.warn(u'URLError, %s' % e.reason, error=e)
| File "/build/cssutils-ugzhNj/cssutils-0.9.8/src/cssutils/_fetch.py", line 24, in _defaultFetcher
| res = urllib2.urlopen(request)
| File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
| return _opener.open(url, data, timeout)
| File "/usr/lib/python2.7/urllib2.py", line 400, in open
| response = self._open(req, data)
| File "/usr/lib/python2.7/urllib2.py", line 418, in _open
| '_open', req)
| File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
| result = func(*args)
| File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
| return self.do_open(httplib.HTTPConnection, req)
| File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
| raise URLError(err)
| URLError: <urlopen error [Errno -2] Name or service not known>
|
| ======================================================================
| FAIL: cssutils.log
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/cssutils-ugzhNj/cssutils-0.9.8/src/tests/test_errorhandler.py", line 114, in test_handlers
| u'ERROR Expected "text/css" mime type')
| AssertionError: '' != u'ERROR Expected "text/css" mime type'
| -------------------- >> begin captured logging << --------------------
| IGNORED-CSSUTILS-TEST: ERROR: Property: Invalid value for "CSS Color Module Level 3/CSS Level 2.1" property: 1 [1:5: color]
| --------------------- >> end captured logging << ---------------------
|
| ----------------------------------------------------------------------
| Ran 353 tests in 7.505s
|
| FAILED (errors=1, failures=1)
| make[1]: *** [override_dh_auto_test] Error 1
--
Jakub Wilk
More information about the Python-modules-team
mailing list