[Zope-CMF] cmf-tests - OK: 2, UNKNOWN: 2
Tres Seaver
tseaver at palladion.com
Wed Nov 23 02:13:24 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> [1] UNKNOWN FAILED (errors=3) : CMF-trunk Zope-2.13 Python-2.6.6 :
> Linux
> https://mail.zope.org/pipermail/cmf-tests/2011-November/015516.html
>
>
> [2] UNKNOWN FAILED (errors=3) : CMF-trunk Zope-trunk Python-2.6.6 :
> Linux
> https://mail.zope.org/pipermail/cmf-tests/2011-November/015517.html
These failures are all variations on the folloowing::
> Error in test testUpgradeAllProposed
> (Products.CMFDefault.upgrade.tests.test_upgrade.UpgradeFrom20Tests)
> Traceback (most recent call last): File
> "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
> testMethod() File
> "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFDefault/Products/CMFDefault/upgrade/tests/test_upgrade.py",
>
>
>
line 75, in testUpgradeAllProposed expected_export =
> self.app.site.portal_setup.runAllExportSteps() File
> "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py",
>
>
>
line 343, in runAllExportSteps return
> self._doRunExportSteps(self.listExportSteps()) File
> "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py",
>
>
>
line 1021, in _doRunExportSteps messages[step_id] = handler(context)
> File
> "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCore/Products/CMFCore/exportimport/workflow.py",
>
>
>
line 141, in exportWorkflowTool exportObjects(tool, '', context) File
> "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py",
>
>
>
line 819, in exportObjects exportObjects(sub, path+'/', context) File
> "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py",
>
>
>
line 815, in exportObjects context.writeDataFile(filename, body,
> exporter.mime_type) File
> "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/context.py",
>
>
>
line 466, in writeDataFile raise ValueError("Unicode text is not
> supported, even if it only " ValueError: Unicode text is not
> supported, even if it only contains ascii. Please encode your data
which is a result of Patrick Gerken's change to GenericSetup in r123457
(merging r123435 from the 1.7 branch):
Get more picky with unicode and strings
the exporters prevent dumping unicode objects,
the registry handlers always encode unicode to utf-8 strings.
Patrick, this is on you to repair. Even more than that, you need to
document in the CHANGES.txt of GenericSetup what other 3rd-party code
needs to do to be compatible with your changes (preferably, such code
needs to be able to straddle the two versions).
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7MVsQACgkQ+gerLs4ltQ5MMwCgnklM4hVRP7+2gH9urpSwqNHv
0m4Anjr0xln/fVDY9c54n0xgKqQmz2nj
=rAf9
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list