Public feed
#376604
tim@eccles:~$ im --test=Marshall addweb21
INFO zope: test on port 8080.
Running tests via: /opt/python/python2.3.5/bin/python /opt/zope/zope2.8.8/bin/test.py -v --config-file /home/tim/instances/addweb21/etc/zope.conf --libdir /home/tim/instances/addweb21/Products/Marshall
Running unit tests at level 1
Running unit tests from /home/tim/svn/Marshall
Parsing /home/tim/instances/addweb21/etc/zope.conf
/home/tim/instances/addweb21/Products/Marshall/config.py:29: UserWarning: libxml2 not available. Unable to register libxml2 based marshallers
warnings.warn('libxml2 not available. Unable to register libxml2 based ' \
WARNING:PortalTransforms:Unable to find binary "rtf-converter" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
2007-03-01 16:55:22 WARNING PortalTransforms Unable to find binary "rtf-converter" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
WARNING:PortalTransforms:Unable to find binary "rtf2xml" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
2007-03-01 16:55:22 WARNING PortalTransforms Unable to find binary "rtf2xml" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
WARNING:PortalTransforms:Unable to find binary "lynx" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
2007-03-01 16:55:22 WARNING PortalTransforms Unable to find binary "lynx" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
/home/tim/instances/addweb21/Products/Archetypes/__init__.py:12: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import CMFCorePermissions
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.017s)
Installing CMFCalendar ... done (0.019s)
Installing CMFTopic ... done (0.014s)
Installing DCWorkflow ... done (0.046s)
Installing CMFActionIcons ... done (0.011s)
Installing CMFQuickInstallerTool ... done (0.016s)
Installing CMFFormController ... /home/tim/instances/addweb21/Products/CMFFormController/__init__.py:25: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: CMFFormController
product_name='CMFFormController', icon='tool.gif',
done (0.063s)
Installing GroupUserFolder ... done (0.020s)
Installing ZCTextIndex ... done (0.009s)
Installing CMFPlone ... /home/tim/instances/addweb21/Products/CMFPlone/__init__.py:196: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: CMFPlone
, icon='tool.gif'
done (0.077s)
Installing Archetypes ... /home/tim/instances/addweb21/Products/Archetypes/__init__.py:102: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: Archetypes
icon="tool.gif",
done (0.101s)
/home/tim/instances/addweb21/Products/MimetypesRegistry/__init__.py:34: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: MimetypesRegistry
icon="tool.gif",
/home/tim/instances/addweb21/Products/PortalTransforms/__init__.py:35: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: PortalTransforms
icon="tool.gif",
Installing ATContentTypes ... WARNING:Init:Class Products.ATContentTypes.content.base.ATCTFolderMixin has a security declaration for nonexistent method 'manage_copyObjects'
2007-03-01 16:55:23 WARNING Init Class Products.ATContentTypes.content.base.ATCTFolderMixin has a security declaration for nonexistent method 'manage_copyObjects'
/home/tim/instances/addweb21/Products/ATContentTypes/__init__.py:82: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: ATContentTypes
icon='tool.gif', ).initialize(context)
done (0.378s)
Installing ATReferenceBrowserWidget ... done (0.010s)
Installing CMFDynamicViewFTI ... done (0.009s)
Installing ExternalEditor ... done (0.011s)
Installing ExtendedPathIndex ... done (0.011s)
Installing ResourceRegistries ... /home/tim/instances/addweb21/Products/ResourceRegistries/__init__.py:20: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: ResourceRegistries
icon = 'tool.gif',
done (0.029s)
Installing SecureMailHost ... done (0.009s)
Installing ArchetypesTestUpdateSchema ... NOT FOUND
Adding Plone Site ... /home/tim/instances/addweb21/Products/CMFPlone/Portal.py:193: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 2.0
typeinfo_name='CMFPlone: Plone Folder')
/home/tim/instances/addweb21/Products/CMFPlone/Portal.py:196: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 2.0
typeinfo_name='CMFPlone: Large Plone Folder')
/home/tim/instances/addweb21/Products/CMFCore/TypesTool.py:270: DeprecationWarning: getActionById() is deprecated and will be removed in CMF 2.0. Please use getActionInfo()['url'] if you need an URL or queryMethodID() if you need a method ID.
DeprecationWarning)
/home/tim/instances/addweb21/Products/CMFPlone/migrations/v2/plone2_base.py:248: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 2.0
typeinfo_name='CMFCore: Portal Folder')
/home/tim/instances/addweb21/Products/CMFPlone/migrations/v2/plone2_base.py:384: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 2.0
typeinfo_name='CMFPlone: Plone Site')
/home/tim/instances/addweb21/Products/Archetypes/Extensions/utils.py:254: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 2.0
typeinfo_name=typeinfo_name)
ERROR:Zope.ZCatalog:uncatalogObject unsuccessfully attempted to uncatalog an object with a uid of events/events_topic/previous.
2007-03-01 16:55:27 ERROR Zope.ZCatalog uncatalogObject unsuccessfully attempted to uncatalog an object with a uid of events/events_topic/previous.
ERROR:Zope.ZCatalog:uncatalogObject unsuccessfully attempted to uncatalog an object with a uid of events_topic/previous.
2007-03-01 16:55:27 ERROR Zope.ZCatalog uncatalogObject unsuccessfully attempted to uncatalog an object with a uid of events_topic/previous.
done (4.118s)
Adding CMFFormController ... done (0.001s)
Adding Archetypes ... done (0.067s)
Installing Marshall ... done (0.012s)
F..E......
======================================================================
ERROR: test_expression_content_type (tests.test_predicate.DefaultPredicateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tim/svn/Marshall/tests/test_predicate.py", line 99, in test_expression_content_type
component_name='simple_xml')
File "/home/tim/instances/addweb21/Products/Marshall/predicates/_base.py", line 142, in manage_addPredicate
obj = createPredicate(predicate, id, title, expression, component_name)
File "/home/tim/instances/addweb21/Products/Marshall/registry.py", line 65, in createPredicate
return registry[name].create(id, title, expression, component_name)
File "/home/tim/instances/addweb21/Products/Marshall/registry.py", line 44, in create
return self.factory(id, title or self.title, expression, component_name)
File "/home/tim/instances/addweb21/Products/Marshall/predicates/_base.py", line 65, in __init__
self.setComponentName(component_name)
File "/home/tim/instances/addweb21/Products/Marshall/predicates/_base.py", line 92, in setComponentName
raise ValueError, ('Not a valid registered '
ValueError: Not a valid registered component: simple_xml
======================================================================
FAIL: Doctest: README.txt
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/zope/zope2.8.8/lib/python/zope/testing/doctest.py", line 2102, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for README.txt
File "/home/tim/instances/addweb21/Products/Marshall/doc/README.txt", line 0
----------------------------------------------------------------------
File "/home/tim/instances/addweb21/Products/Marshall/doc/README.txt", line 75, in README.txt
Failed example:
p = add_predicate(tool, id='atxml',
title='ATXML Predicate',
predicate='xmlns_attr',
expression='',
component_name='atxml')
Exception raised:
Traceback (most recent call last):
File "/opt/zope/zope2.8.8/lib/python/zope/testing/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[5]>", line 5, in ?
component_name='atxml')
File "/home/tim/instances/addweb21/Products/Marshall/predicates/_base.py", line 142, in manage_addPredicate
obj = createPredicate(predicate, id, title, expression, component_name)
File "/home/tim/instances/addweb21/Products/Marshall/registry.py", line 65, in createPredicate
return registry[name].create(id, title, expression, component_name)
File "/home/tim/instances/addweb21/Products/Marshall/registry.py", line 44, in create
return self.factory(id, title or self.title, expression, component_name)
File "/home/tim/instances/addweb21/Products/Marshall/predicates/_base.py", line 65, in __init__
self.setComponentName(component_name)
File "/home/tim/instances/addweb21/Products/Marshall/predicates/_base.py", line 92, in setComponentName
raise ValueError, ('Not a valid registered '
ValueError: Not a valid registered component: atxml
----------------------------------------------------------------------
File "/home/tim/instances/addweb21/Products/Marshall/doc/README.txt", line 84, in README.txt
Failed example:
p.edit(element_ns=AT_NS, element_name='metadata', value=None)
Exception raised:
Traceback (most recent call last):
File "/opt/zope/zope2.8.8/lib/python/zope/testing/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[6]>", line 1, in ?
p.edit(element_ns=AT_NS, element_name='metadata', value=None)
NameError: name 'p' is not defined
----------------------------------------------------------------------
File "/home/tim/instances/addweb21/Products/Marshall/doc/README.txt", line 168, in README.txt
Failed example:
article.Title()
Differences (ndiff with -expected +actual):
- 'Some Title'
+ 'Example Article'
----------------------------------------------------------------------
File "/home/tim/instances/addweb21/Products/Marshall/doc/README.txt", line 171, in README.txt
Failed example:
article.getText()
Differences (ndiff with -expected +actual):
- '<p>Here is some Text</p>'
+ '<?xml version="1.0" ?>\n<metadata xmlns="http://plone.org/ns/archetypes/"\n xmlns:dc="http://purl.org/dc/elements/1.1/"\n xmlns:xmp="adobe:ns:meta">\n <dc:title>\n Some Title\n </dc:title>\n <xmp:CreateDate>\n 2004-01-01T00:02:04Z\n </xmp:CreateDate>\n <field id="expirationDate">\n 2004-09-09T09:09:08Z\n </field>\n <field id="text">\n Here is some Text\n </field>\n</metadata>'
----------------------------------------------------------------------
File "/home/tim/instances/addweb21/Products/Marshall/doc/README.txt", line 174, in README.txt
Failed example:
article.CreationDate()
Differences (ndiff with -expected +actual):
- '2004-01-01 00:02:04'
+ '2007-03-01 16:55:28'
----------------------------------------------------------------------
File "/home/tim/instances/addweb21/Products/Marshall/doc/README.txt", line 177, in README.txt
Failed example:
article.ExpirationDate()
Differences (ndiff with -expected +actual):
- '2004-09-09 09:09:08'
+ 'None'
----------------------------------------------------------------------
File "/home/tim/instances/addweb21/Products/Marshall/doc/README.txt", line 198, in README.txt
Failed example:
article.Title()
Differences (ndiff with -expected +actual):
- 'Some Title'
+ 'Example Article'
----------------------------------------------------------------------
Ran 10 tests in 0.739s
FAILED (failures=1, errors=1)