From: ATCT U. T. <plo...@ep...> - 2005-04-29 06:16:26
|
ATCT Unit Tests : FAILED (failures=1, errors=3) ATCT-1_0-branch Plone-2.1 Zope-2_7-branch Python-2.3.5 Running /usr/local/python2.3/bin/python ATContentTypes/tests/runalltests.py Loading Zope, please stand by ... done (10.269s) test_browserdefaultmixin.py:30: DeprecationWarning: Non-ASCII character '\xe4' in file /autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/ATContentTypes/tests/atcttestcase.py on line 194, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details from Products.ATContentTypes.tests import atcttestcase Installing ATContentTypes ... done (0.330s) Installing ATReferenceBrowserWidget ... done (0.013s) Installing CMFCore ... done (0.114s) Installing CMFDefault ... done (0.044s) Installing CMFCalendar ... done (0.141s) Installing CMFTopic ... done (0.032s) Installing DCWorkflow ... done (0.272s) Installing CMFActionIcons ... done (0.052s) Installing CMFQuickInstallerTool ... done (0.174s) Installing CMFFormController ... done (0.090s) Installing CSSRegistry ... done (5.024s) Installing GroupUserFolder ... done (0.621s) Installing ZCTextIndex ... done (0.794s) Installing ExtendedPathIndex ... done (0.071s) Installing SecureMailHost ... done (0.353s) Installing CMFPlone ... done (2.926s) Installing Archetypes ... done (0.254s) Installing ArchetypesTestUpdateSchema ... done (0.067s) Adding Plone Site ... done (10.754s) Adding CMFFormController ... done (0.001s) Adding Archetypes ... done (0.116s) Adding ATContentTypes done (0.004s) ..........................................................................................................F..............................................................................................................................................................................................................................................................................EE.E........................................................................................................ ====================================================================== ERROR: test_bobo_hook (test_atimage.TestSiteATImage) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_atimage.py", line 146, in test_bobo_hook File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/ATContentTypes/content/image.py", line 371, in setImage self._setATCTFileContent(value, **kwargs) File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/ATContentTypes/content/base.py", line 439, in _setATCTFileContent field.set(self, value, **kwargs) # set is ok File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/Archetypes/Field.py", line 1835, in set self.createScales(instance) File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/Archetypes/Field.py", line 1960, in createScales imgdata, format = self.scale(data, w, h) File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/Archetypes/Field.py", line 2018, in scale image.save(thumbnail_file, format, quality=88) File "/usr/local/python2.3/lib/python2.3/site-packages/PIL/Image.py", line 1136, in save SAVE[string.upper(format)](self, fp, filename) File "/usr/local/python2.3/lib/python2.3/site-packages/PIL/PngImagePlugin.py", line 444, in _save ImageFile._save(im, _idat(fp, chunk), [("zip", (0,0)+im.size, 0, rawmode)]) File "/usr/local/python2.3/lib/python2.3/site-packages/PIL/ImageFile.py", line 384, in _save e.setimage(im.im, b) SystemError: tile cannot extend outside image ====================================================================== ERROR: test_broken_pil (test_atimage.TestSiteATImage) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_atimage.py", line 139, in test_broken_pil File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/ATContentTypes/content/image.py", line 371, in setImage self._setATCTFileContent(value, **kwargs) File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/ATContentTypes/content/base.py", line 439, in _setATCTFileContent field.set(self, value, **kwargs) # set is ok File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/Archetypes/Field.py", line 1835, in set self.createScales(instance) File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/Archetypes/Field.py", line 1960, in createScales imgdata, format = self.scale(data, w, h) File "/autotest/temp/python23-zope27-cmf14-plone21-at13-atct10/Products/Archetypes/Field.py", line 2018, in scale image.save(thumbnail_file, format, quality=88) File "/usr/local/python2.3/lib/python2.3/site-packages/PIL/Image.py", line 1136, in save SAVE[string.upper(format)](self, fp, filename) File "/usr/local/python2.3/lib/python2.3/site-packages/PIL/PngImagePlugin.py", line 444, in _save ImageFile._save(im, _idat(fp, chunk), [("zip", (0,0)+im.size, 0, rawmode)]) File "/usr/local/python2.3/lib/python2.3/site-packages/PIL/ImageFile.py", line 384, in _save e.setimage(im.im, b) SystemError: tile cannot extend outside image ====================================================================== ERROR: test_division_by_0_pil (test_atimage.TestSiteATImage) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_atimage.py", line 162, in test_division_by_0_pil IOError: [Errno 2] No such file or directory: 'test_DivisionError.jpg' ====================================================================== FAIL: test_release_settings_SAVE_TO_FAIL_FOR_DEVELOPMENT (test_installation.TestInstallation) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_installation.py", line 131, in test_release_settings_SAVE_TO_FAIL_FOR_DEVELOPMENT File "/usr/local/python2.3/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: False != True ---------------------------------------------------------------------- Ran 485 tests in 84.110s FAILED (failures=1, errors=3) |