[Erp5-report] ERP5 r12074: 617 Tests, 610 Errors, 0 Failures

seb at nexedi.com seb at nexedi.com
Sat Jan 13 20:10:22 CET 2007


Date : 2007-01-13

Revision: 12074
Ran Unit test of CMFActivity (installation failed)
Ran 71 tests in 26.396s
FAILED (errors=71)

Ran Unit test of CMFCategory (installation failed)
Ran 30 tests in 26.221s
FAILED (errors=30)

Ran Unit test of ERP5Catalog (installation failed)
Ran 45 tests in 26.385s
FAILED (errors=45)

Ran Unit test of ListBox (installation failed)
Ran 6 tests in 26.229s
FAILED (errors=6)

Ran Unit test of Portal Preference (installation failed)
Ran 7 tests in 26.012s
FAILED (errors=7)

Ran Unit test of ERP5Security: User Management (installation failed)
Ran Unit test of ERP5Security: User Role Management (installation failed)
Ran 17 tests in 50.990s
FAILED (errors=17)

Ran Unit test of ERP5 SyncML (installation failed)
Ran 33 tests in 26.554s
FAILED (errors=33)

Ran Unit test of ERP5 Accounting l10n M9 (installation failed)
Ran 14 tests in 26.482s
FAILED (errors=14)

Ran Unit test of Accounting (installation failed)
Ran 23 tests in 26.438s
FAILED (errors=23)

Ran Unit test of Accounting Rules (installation failed)
Ran 14 tests in 26.414s
FAILED (errors=14)

Ran Unit test of Alarm (installation failed)
Ran 13 tests in 26.253s
FAILED (errors=13)

Ran Unit test of Amount (installation failed)
Ran Unit test of <class 'testAmount.TestMovement'> (installation failed)
Ran Unit test of <class 'testAmount.TestAccountingTransactionLine'> (installation failed)
Ran 21 tests in 76.963s
FAILED (errors=21)

Ran Unit test of Base (installation failed)
Ran 21 tests in 26.376s
FAILED (errors=14)

Ran Unit test of Business Template (installation failed)
Ran 36 tests in 26.480s
FAILED (errors=36)

Ran Unit test of Divergence Tester (installation failed)
Ran 4 tests in 26.414s
FAILED (errors=4)

Ran Unit test of Domain Tool (installation failed)
Ran 5 tests in 26.284s
FAILED (errors=5)

Ran Unit test of ERP5 Budget (installation failed)
Ran 3 tests in 26.340s
FAILED (errors=3)

Ran Unit test of ERP5 Categories (installation failed)
Ran 8 tests in 26.000s
FAILED (errors=8)

Ran Unit test of ERP5Core (installation failed)
Ran 7 tests in 26.285s
FAILED (errors=7)

Ran Unit test of ERP5 HR (installation failed)
Ran 6 tests in 26.331s
FAILED (errors=6)

Ran Unit test of ERP5Web (installation failed)
Ran 1 test in 26.247s
FAILED (errors=1)

Ran Unit test of Gis (installation failed)
Ran 2 tests in 26.407s
FAILED (errors=2)

Ran Unit test of Immobilisation (installation failed)
Ran 21 tests in 26.372s
FAILED (errors=21)

Ran Unit test of Interaction Workflow (installation failed)
Ran 13 tests in 26.154s
FAILED (errors=13)

Ran Unit test of Tests getInventory methods.
Ran Unit test of Tests getInventoryList methods.
Ran Unit test of Tests Movement history list methods.
Ran 44 tests in 77.055s
FAILED (errors=44)

Ran Unit test of Inventory Module (installation failed)
Ran 4 tests in 26.338s
FAILED (errors=4)

Ran Unit test of Inventory (installation failed)
Ran 3 tests in 26.371s
FAILED (errors=3)

Ran Unit test of Invoices (installation failed)
Ran 15 tests in 26.269s
FAILED (errors=15)

Ran Unit test of Invoices and VAT (installation failed)
Ran 4 tests in 26.381s
FAILED (errors=4)

Ran Unit test of Order (installation failed)
Ran 18 tests in 26.564s
FAILED (errors=18)

Ran Unit test of Packing List (installation failed)
Ran 13 tests in 26.228s
FAILED (errors=13)

Ran Unit test of Predicates (installation failed)
Ran 6 tests in 26.499s
FAILED (errors=6)

Ran Unit test of Production Order (installation failed)
Ran 5 tests in 26.452s
FAILED (errors=5)

Ran Unit test of Resource (installation failed)
Ran 12 tests in 26.254s
FAILED (errors=12)

Ran Unit test of Transformation (installation failed)
Ran 1 test in 26.157s
FAILED (errors=1)

Ran Unit test of Trash Tool (installation failed)
Ran 4 tests in 26.456s
FAILED (errors=4)

Ran 3 tests in 70.940s
OK

Ran Unit test of Cache Tool (installation failed)
Ran 6 tests in 26.361s
FAILED (errors=6)

Ran Unit test of Constraint (installation failed)
Ran 14 tests in 26.547s
FAILED (errors=14)

Ran Unit test of ERP5Type (installation failed)
Ran 31 tests in 26.332s
FAILED (errors=31)

Ran Unit test of Folder (installation failed)
Ran 6 tests in 26.416s
FAILED (errors=6)

Ran Unit test of MemcachedTool (installation failed)
Ran 6 tests in 26.164s
FAILED (errors=6)

Ran Unit test of TimerService (installation failed)
Ran 1 test in 26.351s
FAILED (errors=1)

Ran Unit test of XMLMatrix (installation failed)
Ran 3 tests in 26.527s
FAILED (errors=3)

-------------- next part --------------
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.128s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.056s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.931s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.021s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.010s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.524s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.027s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.593s)
Installing ERP5Form ... done (1.873s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.013s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.051s)
Installing ERP5Subversion ... done (0.088s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of CMFActivity (installation failed)
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_DeferedSetTitleSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_DeferedSetTitleSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_03_DeferedSetTitleRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_04_DeferedSetTitleRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_05_InvokeAndCancelSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_06_InvokeAndCancelSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_07_InvokeAndCancelRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_08_InvokeAndCancelRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_09_CallOnceWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_10_CallOnceWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_11_CallOnceWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_12_CallOnceWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_13_TryMessageWithErrorOnSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_14_TryMessageWithErrorOnSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_15_TryMessageWithErrorOnRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_16_TryMessageWithErrorOnRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_17_TryFlushActivityWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_18_TryFlushActivityWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_19_TryFlushActivityWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_20_TryFlushActivityWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_21_TryActivateInsideFlushWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_22_TryActivateInsideFlushWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_23_TryActivateInsideFlushWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_24_TryActivateInsideFlushWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_25_TryTwoMethodsWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_26_TryTwoMethodsWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_27_TryTwoMethodsWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_28_TryTwoMethodsWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_29_TryTwoMethodsAndFlushThemWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_30_TryTwoMethodsAndFlushThemWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_31_TryTwoMethodsAndFlushThemWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_32_TryTwoMethodsAndFlushThemWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_33_TryActivateFlushActivateTicWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_34_TryActivateFlushActivateTicWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_35_TryActivateFlushActivateTicWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_36_TryActivateFlushActivateTicWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_37_TryActivateFlushActivateTicWithMultipleActivities (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_38_TryCommitSubTransactionWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_39_TryCommitSubTransactionWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_40_TryCommitSubTransactionWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_41_TryCommitSubTransactionWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_42_TryRenameObjectWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_43_TryRenameObjectWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_44_TryRenameObjectWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_45_TryRenameObjectWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_46_TryActiveProcessWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_47_TryActiveProcessWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_48_TryActiveProcessWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_49_TryActiveProcessWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_50_TryActiveProcessInsideActivityWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_51_TryActiveProcessInsideActivityWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_52_TryActiveProcessInsideActivityWithRAMDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_53_TryActiveProcessInsideActivityWithRAMQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_54_TryAfterMethodIdWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_55_TryAfterMethodIdWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_56_TryCallActivityWithRightUser (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_57_ExpandedMethodWithDeletedSubObject (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_58_ExpandedMethodWithDeletedObject (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_59_TryAfterTagWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_60_TryAfterTagWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_61_CheckSchedulingWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_62_CheckSchedulingWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_63_CheckClearActivitiesWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_64_CheckClearActivitiesWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: after_method_id and failed activities.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_66_TestCountMessageWithTagWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: Cancel an active object to make sure that it does not refer to
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_68_TestConflictErrorsWhileProcessingWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_69_TestConflictErrorsWhileProcessingWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_70_TestConflictErrorsWhileValidatingWithSQLDict (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

======================================================================
ERROR: test_71_TestConflictErrorsWhileValidatingWithSQLQueue (testCMFActivity.TestCMFActivity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e already failed, giving up

----------------------------------------------------------------------
Ran 71 tests in 26.396s

FAILED (errors=71)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.113s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.932s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.517s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.565s)
Installing ERP5Form ... done (1.857s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e6c82e480d59da035cd5dd757d7af09 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of CMFCategory (installation failed)
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_00_HasEverything (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_01_SingleCategory (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_02_MultipleCategory (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_03_CategoryValue (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_04_ReturnNone (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_05_SingleAcquisition (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_06_ListAcquisition (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_07_SubordinationValue (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_08_SubordinationMultipleValue (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_09_GetCategoryParentUidList (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_10_FallBackBaseCategory (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_11_ParentAcquisition (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_12_GetRelatedValueAndValueList (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_13_RenameCategory (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_13b_RenameCategoryUsingCutAndPaste (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_13c_RenameCategoryUsingCutAndPasteButNotCopy (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: Checks that categories support different value per portal_type,
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: Checks on sorting child categories
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: Checks on getting related values
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: Tests Categories and Domain Selection
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_18_CategoryIsMemberOfSelf (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: Test strict_membership parameter to Category Member Value List
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_19_getCategoryList (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: Tests getCategoryChildTitleAndIdItemList.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_FallBackAcquisitionIsMemberOf (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_isMemberOf (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_listAcquisitionIsMemberOf (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_parentAcquisitionIsMemberOf (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_parentAcquisitionIsMemberOfWithDifferentCategories (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

======================================================================
ERROR: test_singleAcquisitionIsMemberOf (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e6c82e480d59da035cd5dd757d7af09 already failed, giving up

----------------------------------------------------------------------
Ran 30 tests in 26.221s

FAILED (errors=30)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.138s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.047s)
Installing Formulator ... done (0.939s)
Installing FCKeditor ... done (0.063s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.517s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.036s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.564s)
Installing ERP5Form ... done (1.852s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.014s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5Catalog (installation failed)
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_HasEverything (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_EverythingCatalogued (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_03_CreateAndDeleteObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_04_SearchFolderWithDeletedObjects (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_05_SearchFolderWithImmediateReindexObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_06_SearchFolderWithRecursiveImmediateReindexObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_07_ClearCatalogAndTestNewContent (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_08_ClearCatalogAndTestRecursiveImmediateReindexObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_09_ClearCatalogAndTestImmediateReindexObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_10_OrderedSearchFolder (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_11_CastStringAsInt (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_12_TransactionalUidBuffer (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_13_ERP5Site_reindexAll (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_14_ReindexWithBrokenCategory (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_15_getObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_16_newUid (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_17_CreationDate_ModificationDate (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: Tests that buildSQLQuery works with another query_table than 'catalog'
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_19_SearchFolderWithNonAsciiCharacter (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_20_SearchFolderWithDynamicRelatedKey (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_21_SearchFolderWithDynamicStrictRelatedKey (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_22_SearchingWithUnicode (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_23_DeleteObjectRaiseErrorWhenQueryFail (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_24_SortOn (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_25_SortOnDescending (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_26_SortOnUnknownKeys (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_27_SortOnAmbigousKeys (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_28_SortOnMultipleKeys (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: Sort-on parameter and related key. (Assumes that region_title is a     valid related key)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: use a dict as a keyword parameter.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: use a dict as a keyword parameter, but using a related key
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: use a dict as a keyword parameter, with OR operator.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: use a dict as a keyword parameter, with AND operator.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: use a dict as a keyword parameter, with max range parameter ( < )
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: use a dict as a keyword parameter, with min range parameter ( >= )
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: use a dict as a keyword parameter, with ngt range parameter ( <= )
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: use a dict as a keyword parameter, with minmax range parameter ( >=  < )
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: use a dict as a keyword parameter, with minngt range parameter ( >= <= )
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: ERP5Catalog uses a deferred connection for full text indexing.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: Simple test to exercise object deletion
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test that proxy roles apply to catalog queries within python scripts
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: Tests SearchableText is working in ERP5Catalog
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_43_ManagePasteObject (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_44_ParentRelatedKeys (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

======================================================================
ERROR: test_46_QueryAndComplexQuery (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_87898169f8a6babfe15e14cbf4d59bab already failed, giving up

----------------------------------------------------------------------
Ran 45 tests in 26.385s

FAILED (errors=45)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.115s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.927s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.519s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.561s)
Installing ERP5Form ... done (1.836s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_27fd033bf95fdc3939b1d537bd566a59 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ListBox (installation failed)
EEEEEE
======================================================================
ERROR: test_01_CheckListBoxLinesWithStat (testListBox.TestListBox)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: Defaults sort parameters must be passed to the list method, under the
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_27fd033bf95fdc3939b1d537bd566a59 already failed, giving up

======================================================================
ERROR: Defaults parameters are passed as keyword arguments to the list method
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_27fd033bf95fdc3939b1d537bd566a59 already failed, giving up

======================================================================
ERROR: Unicode properties are handled.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_27fd033bf95fdc3939b1d537bd566a59 already failed, giving up

======================================================================
ERROR: Listbox edits selection with request parameters. Special care must be
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_27fd033bf95fdc3939b1d537bd566a59 already failed, giving up

======================================================================
ERROR: test_06_LineFields (testListBox.TestListBox)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_27fd033bf95fdc3939b1d537bd566a59 already failed, giving up

----------------------------------------------------------------------
Ran 6 tests in 26.229s

FAILED (errors=6)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.110s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.937s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.009s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.010s)
Installing TimerService ... done (0.010s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.520s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.562s)
Installing ERP5Form ... done (1.845s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d89dcedc2a70af3a878932c35aff4822 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Portal Preference (installation failed)
EEEEEEE
======================================================================
ERROR: Tests Preference can be added in Preference Tool.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: tests preference workflow
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d89dcedc2a70af3a878932c35aff4822 already failed, giving up

======================================================================
ERROR: checks that preference methods can be called directly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d89dcedc2a70af3a878932c35aff4822 already failed, giving up

======================================================================
ERROR: checks that getPreference returns the good preferred value
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d89dcedc2a70af3a878932c35aff4822 already failed, giving up

======================================================================
ERROR: Tests that the title of the preference tool is correct.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d89dcedc2a70af3a878932c35aff4822 already failed, giving up

======================================================================
ERROR: check setting a preference modifies
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d89dcedc2a70af3a878932c35aff4822 already failed, giving up

======================================================================
ERROR: check that the preferences are related to the user.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d89dcedc2a70af3a878932c35aff4822 already failed, giving up

----------------------------------------------------------------------
Ran 7 tests in 26.012s

FAILED (errors=7)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.110s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.922s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.519s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.564s)
Installing ERP5Form ... done (1.838s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.014s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e468efb2fd2fcf20106e66c1102e533d ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5Security: User Management (installation failed)
EEEEEEEEEEEE
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5e45001269a288a3c43035bef0520519 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5Security: User Role Management (installation failed)
EEEEE
======================================================================
ERROR: Tests group manager plugin respects interfaces.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: Tests that it's refused to create two Persons with same reference.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: If we copy and paste a person, login must not be copyied.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Login/password are case sensitive.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Login can contain non ascii chars.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Tests a person with a login & password is a valid user.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Tests a person with a login & password is a valid user.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Tests a person with a login but no password is not a valid user.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Tests one cannot use the "super user" special login.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Tests one cannot create person with the "super user" special login.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Tests user folder has correct meta type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Tests user manager plugin respects interfaces.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e468efb2fd2fcf20106e66c1102e533d already failed, giving up

======================================================================
ERROR: Tests that document does not acquire loal roles from their parents if
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: Test simple case of setting a dynamic role.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5e45001269a288a3c43035bef0520519 already failed, giving up

======================================================================
ERROR: Test users have the Member role.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5e45001269a288a3c43035bef0520519 already failed, giving up

======================================================================
ERROR: Test simple case of setting a role.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5e45001269a288a3c43035bef0520519 already failed, giving up

======================================================================
ERROR: Tests group manager plugin respects interfaces.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5e45001269a288a3c43035bef0520519 already failed, giving up

----------------------------------------------------------------------
Ran 17 tests in 50.990s

FAILED (errors=17)
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'has_key'" in <bound method SkinDataCleanup.__del__ of <Products.CMFCore.Skinnable.SkinDataCleanup instance at 0xb378944c>> ignored
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.114s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.933s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.009s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.517s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.567s)
Installing ERP5Form ... done (1.857s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.098s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_9e65457b8c720545f93801e29ef908ea ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5 SyncML (installation failed)
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_HasEverything (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_AddPublication (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_03_AddSubscription1 (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_04_AddSubscription2 (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_05_GetSynchronizationList (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_06_GetObjectList (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_07_ExportImport (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_08_FirstSynchronization (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_09_FirstSynchronizationWithLongLines (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_10_GetObjectFromGid (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_11_GetSynchronizationState (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_12_UpdateSimpleData (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_13_GetConflictList (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_14_GetPublisherAndSubscriberDocument (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_15_ApplyPublisherValue (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_16_ApplySubscriberValue (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_17_AddSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_18_UpdateSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_19_DeleteObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_20_DeleteSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_21_GetConflictListOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_22_ApplyPublisherDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_23_ApplySubscriberDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_24_SynchronizeWithStrangeGid (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_25_MultiNodeConflict (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_26_SynchronizeWorkflowHistory (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_27_UpdateLocalRole (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_28_PartialData (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_29_BrokenMessage (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_30_GetSynchronizationType (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_31_UpdateLocalPermission (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_32_AddOneWaySubscription (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

======================================================================
ERROR: test_33_OneWaySync (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9e65457b8c720545f93801e29ef908ea already failed, giving up

----------------------------------------------------------------------
Ran 33 tests in 26.554s

FAILED (errors=33)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.122s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.935s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.521s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.034s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.565s)
Installing ERP5Form ... done (1.850s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.039s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e95bc12f89154ad644e2510c93f4b035 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5 Accounting l10n M9 (installation failed)
EEEEEEEEEEEEEE
======================================================================
ERROR: test_AccountTypeConstaintFixFor4718 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_AccountTypeConstaintFixFor4721 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintFixFor4731 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintFixFor4735 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintFixForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintFixForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintFixForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: test_AccountTypeConstaintForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: Tests that the accounting plan is well installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: Simple use case for a transmission sheet.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: Transmission sheet cannot be emitted if it doesn't contain any invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

======================================================================
ERROR: Checks the invoice transmission sheet module is installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up

----------------------------------------------------------------------
Ran 14 tests in 26.482s

FAILED (errors=14)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.103s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.927s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.528s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.563s)
Installing ERP5Form ... done (1.851s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Accounting (installation failed)
EEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: Tests the 'credit_account' property on account, which was named
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: Basic test for Accounting Periods
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Accounting Periods refuse to close when some transactions are
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Accounting Periods does not change other section transactions.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Accounting Periods prevents transactions to be validated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Transaction validation and accounts
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Transaction validation and balance
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Transaction validation and currency
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Transaction validation and dates
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Transaction validation and payment
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Validating a transaction with categories as sections is refused.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Transaction validation removes empty lines
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Transaction validation and section
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Tests acquisition, categories and portal types are well
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Simple creating a related payment transaction when we have two line for
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Simple creating a related payment transaction when grouping reference of
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Simple creating a related payment transaction when we have related
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Simple creating a related payment transaction when we have related
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Simple creating a related payment transaction when we have related
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Simple case of creating a related payment transaction.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Tests using an account on one sides uses the mirror account
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Basic test for multi currency accounting
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

======================================================================
ERROR: Make sure acounting transactions created by createAccountingTransaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd already failed, giving up

----------------------------------------------------------------------
Ran 23 tests in 26.438s

FAILED (errors=23)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.125s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.939s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.012s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.520s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.567s)
Installing ERP5Form ... done (1.853s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Accounting Rules (installation failed)
EEEEEEEEEEEEEE
======================================================================
ERROR: check necessary tools and modules are present.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test edition of matrix and rule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: test predicates for the cells of invoice transaction rule
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

======================================================================
ERROR: Payment Rule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_dcfea2620c5518173c2447c6c5320b6b already failed, giving up

----------------------------------------------------------------------
Ran 14 tests in 26.414s

FAILED (errors=14)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.109s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.924s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.021s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.512s)
Installing CMFMailIn ... done (0.010s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.563s)
Installing ERP5Form ... done (1.841s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_7e756eb972f79d46577096e1f775b137 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Alarm (installation failed)
EEEEEEEEEEEEE
======================================================================
ERROR: test_01_HasEverything (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_Initialization (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: test_03_EveryHour (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: test_04_Every3Hours (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: test_05_SomeHours (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: test_06_EveryDayOnce (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: - every 3 days at 14 and 15 and 17
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: - every monday and friday, at 6 and 15
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: - every 1st and 15th every month, at 12 and 14
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: - every 1st day of every 2 month, at 6
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: test_11_EveryDayOnceWeek41And42 (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: test_12_Every5Minutes (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

======================================================================
ERROR: test_13_EveryMinute (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_7e756eb972f79d46577096e1f775b137 already failed, giving up

----------------------------------------------------------------------
Ran 13 tests in 26.253s

FAILED (errors=13)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.120s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.928s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.515s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.568s)
Installing ERP5Form ... done (1.861s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.039s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_0d7bd79f7d0b231461cc179eb8177e5b ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Amount (installation failed)
E
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_71b4cd1e5afc7ef362e5986e78fdd5c7 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of <class 'testAmount.TestMovement'> (installation failed)
EEEEEEEE
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c2b1a8a08fc264b9779fbecee783f918 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of <class 'testAmount.TestAccountingTransactionLine'> (installation failed)
EEEEEEEEEEEE
======================================================================
ERROR: test_01_variationProperty (testAmount.TestAmount)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: testDestinationCredit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: testDestinationDebit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_71b4cd1e5afc7ef362e5986e78fdd5c7 already failed, giving up

======================================================================
ERROR: testDestinationDebitCredit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_71b4cd1e5afc7ef362e5986e78fdd5c7 already failed, giving up

======================================================================
ERROR: testPrice (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_71b4cd1e5afc7ef362e5986e78fdd5c7 already failed, giving up

======================================================================
ERROR: testQuantity (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_71b4cd1e5afc7ef362e5986e78fdd5c7 already failed, giving up

======================================================================
ERROR: testSourceCredit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_71b4cd1e5afc7ef362e5986e78fdd5c7 already failed, giving up

======================================================================
ERROR: testSourceDebit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_71b4cd1e5afc7ef362e5986e78fdd5c7 already failed, giving up

======================================================================
ERROR: testSourceDebitCredit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_71b4cd1e5afc7ef362e5986e78fdd5c7 already failed, giving up

======================================================================
ERROR: testDefautDestinationTotalAssetCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: testDefautDestinationTotalAssetDebit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testDefautSourceTotalAssetCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testDefautSourceTotalAssetDebit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testDestinationCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testDestinationDebit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testDestinationDebitCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testPrice (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testQuantity (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testSourceCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testSourceDebit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

======================================================================
ERROR: testSourceDebitCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c2b1a8a08fc264b9779fbecee783f918 already failed, giving up

----------------------------------------------------------------------
Ran 21 tests in 76.963s

FAILED (errors=21)
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'has_key'" in <bound method SkinDataCleanup.__del__ of <Products.CMFCore.Skinnable.SkinDataCleanup instance at 0xb3707cac>> ignored
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'has_key'" in <bound method SkinDataCleanup.__del__ of <Products.CMFCore.Skinnable.SkinDataCleanup instance at 0xb429a1ec>> ignored
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.116s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.922s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.521s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.014s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.564s)
Installing ERP5Form ... done (1.857s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_727747cf82e06a68e4b85b45326f6050 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Base (installation failed)
EEEEEEEEEEEEEE.......
======================================================================
ERROR: test_01_areActivitiesWellLaunchedByPropertyEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_areActivitiesWellLaunchedByCategoryEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: test_03_areActivitiesWellLaunchedByPropertySetter (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: test_04_areActivitiesWellLaunchedByCategorySetter (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: test_05_getPropertyWithoutPropertySheet (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: test_06_getPropertyOnTempClass (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: test_07_setEditProperty (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: test_07_setEditTalesExpression (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: Test that an empty object has no title.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: Test for setProperty on Base, when the property is defined.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: Test for setProperty on Base, when the property is not defined.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: Test for setProperty on Base, when the property is defined on the
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: Simple test to edit a temp object.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

======================================================================
ERROR: Test if _aq_dynamic still works even if an associated workflow
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_727747cf82e06a68e4b85b45326f6050 already failed, giving up

----------------------------------------------------------------------
Ran 21 tests in 26.376s

FAILED (errors=14)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.115s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.056s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.927s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.010s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.520s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.027s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.558s)
Installing ERP5Form ... done (1.852s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.050s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_5052d51039b979b3e050891c12342c2c ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Business Template (installation failed)
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_checkNewSite (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_BusinessTemplateWithPortalTypes (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_03_BusinessTemplateWithSkins (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_04_BusinessTemplateWithWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_05_BusinessTemplateWithModule (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_06_BusinessTemplateWithBaseCategory (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_07_BusinessTemplateWithOneAction (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_08_BusinessTemplateWithTwoActions (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_09_BusinessTemplateWithPath (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_10_BusinessTemplateWithPathAndJoker1 (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_11_BusinessTemplateWithPathAndJoker2 (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_12_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_13_BusinessTemplateWithRole (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_14_BusinessTemplateWithLocalRoles (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_155_BusinessTemplateUpdateWithPropertySheet (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_156_BusinessTemplateWithConstraint (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_157_BusinessTemplateUpdateWithConstraint (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_15_BusinessTemplateWithPropertySheet (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_16_BusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_18_upgradeBusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_21_CategoryIncludeSubobjects (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_22_RevisionNumberIsIncremented (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_23_CheckNoDependencies (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_24_CheckMissingDependency (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_25_CheckNoMissingDependency (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_26_ImportWithDoubleSlashes (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_27_CheckInstallWithBackup (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_28_CheckBuildWithUnexistingPath (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_29_CheckUninstallRemovedSkinFolder (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_30_CheckInstalledCatalogProperties (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_31_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: test_32_BusinessTemplateWithDuplicatedPortalTypes (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

======================================================================
ERROR: Tests the Title of the Template Tool.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5052d51039b979b3e050891c12342c2c already failed, giving up

----------------------------------------------------------------------
Ran 36 tests in 26.480s

FAILED (errors=36)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.114s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.931s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.518s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.018s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.561s)
Installing ERP5Form ... done (1.849s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_cbb9ec7d4f41d7c22c2432d141d9ec6d ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Divergence Tester (installation failed)
EEEE
======================================================================
ERROR: test_01_QuantityDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_cbb9ec7d4f41d7c22c2432d141d9ec6d already failed, giving up

======================================================================
ERROR: test_03_PropertyDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_cbb9ec7d4f41d7c22c2432d141d9ec6d already failed, giving up

======================================================================
ERROR: test_04_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_cbb9ec7d4f41d7c22c2432d141d9ec6d already failed, giving up

----------------------------------------------------------------------
Ran 4 tests in 26.414s

FAILED (errors=4)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.121s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.940s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.009s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.518s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.011s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.566s)
Installing ERP5Form ... done (1.863s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Domain Tool (installation failed)
EEEEE
======================================================================
ERROR: test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e409e02fd9d3331c5822785a4fd66452 already failed, giving up

======================================================================
ERROR: test_03_GenerateMappedValue (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e409e02fd9d3331c5822785a4fd66452 already failed, giving up

======================================================================
ERROR: test_04_GenerateMappedValueWithRanges (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e409e02fd9d3331c5822785a4fd66452 already failed, giving up

======================================================================
ERROR: test_05_GenerateMappedValueWithVariation (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e409e02fd9d3331c5822785a4fd66452 already failed, giving up

----------------------------------------------------------------------
Ran 5 tests in 26.284s

FAILED (errors=5)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.140s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.047s)
Installing Formulator ... done (0.939s)
Installing FCKeditor ... done (0.063s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.520s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.568s)
Installing ERP5Form ... done (1.860s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_a8a4d6ea3b58ec3f7cdb7fc71a26e973 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5 Budget (installation failed)
EEE
======================================================================
ERROR: test_01_HasEverything (testERP5Budget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_HasBudgetCells (testERP5Budget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a8a4d6ea3b58ec3f7cdb7fc71a26e973 already failed, giving up

======================================================================
ERROR: test_03_Enough_budget (testERP5Budget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a8a4d6ea3b58ec3f7cdb7fc71a26e973 already failed, giving up

----------------------------------------------------------------------
Ran 3 tests in 26.340s

FAILED (errors=3)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.112s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.922s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.010s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.526s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.562s)
Installing ERP5Form ... done (1.836s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5 Categories (installation failed)
EEEEEEEE
======================================================================
ERROR: test_01 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 already failed, giving up

======================================================================
ERROR: test_03 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 already failed, giving up

======================================================================
ERROR: test_04 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 already failed, giving up

======================================================================
ERROR: test_05 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 already failed, giving up

======================================================================
ERROR: test_06 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 already failed, giving up

======================================================================
ERROR: test_07 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 already failed, giving up

======================================================================
ERROR: test_08 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 already failed, giving up

----------------------------------------------------------------------
Ran 8 tests in 26.000s

FAILED (errors=8)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.107s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.926s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.010s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.528s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.564s)
Installing ERP5Form ... done (1.854s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_99235ecfa4a096fe03307aeab7a33fbd ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5Core (installation failed)
EEEEEEE
======================================================================
ERROR: test_01_ERP5Site_createModule (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_FavouritesMenu (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_99235ecfa4a096fe03307aeab7a33fbd already failed, giving up

======================================================================
ERROR: Tests allowed content types from the action menu are translated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_99235ecfa4a096fe03307aeab7a33fbd already failed, giving up

======================================================================
ERROR: Test we can view the front page.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_99235ecfa4a096fe03307aeab7a33fbd already failed, giving up

======================================================================
ERROR: Tests jump actions are translated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_99235ecfa4a096fe03307aeab7a33fbd already failed, giving up

======================================================================
ERROR: Test anonymous user are redirected to login_form
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_99235ecfa4a096fe03307aeab7a33fbd already failed, giving up

======================================================================
ERROR: Test we can view tools.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_99235ecfa4a096fe03307aeab7a33fbd already failed, giving up

----------------------------------------------------------------------
Ran 7 tests in 26.285s

FAILED (errors=7)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.129s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.932s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.010s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.519s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.567s)
Installing ERP5Form ... done (1.860s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_f80541c5aaf4c3f119b407441b57c512 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5 HR (installation failed)
EEEEEE
======================================================================
ERROR: test_01_Organisation (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_Person (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f80541c5aaf4c3f119b407441b57c512 already failed, giving up

======================================================================
ERROR: test_03_Subordination (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f80541c5aaf4c3f119b407441b57c512 already failed, giving up

======================================================================
ERROR: test_04_SubordinationAndAddress (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f80541c5aaf4c3f119b407441b57c512 already failed, giving up

======================================================================
ERROR: Tests dates on Person objects.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f80541c5aaf4c3f119b407441b57c512 already failed, giving up

======================================================================
ERROR: Tests dates on Organisation objects.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f80541c5aaf4c3f119b407441b57c512 already failed, giving up

----------------------------------------------------------------------
Ran 6 tests in 26.331s

FAILED (errors=6)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.108s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.931s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.010s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.525s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.037s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.561s)
Installing ERP5Form ... done (1.865s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_8557a40cc0c75f3fa8a78aa67823165b ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5Web (installation failed)
E
======================================================================
ERROR: test_01_ERP5Web_recatalog (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

----------------------------------------------------------------------
Ran 1 test in 26.247s

FAILED (errors=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.119s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.930s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.514s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.563s)
Installing ERP5Form ... done (1.847s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e381d50264f1774871fa07c9f53d9194 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Gis (installation failed)
EE
======================================================================
ERROR: test_01_standardAddress (testGis.TestGis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_asTextScript (testGis.TestGis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e381d50264f1774871fa07c9f53d9194 already failed, giving up

----------------------------------------------------------------------
Ran 2 tests in 26.407s

FAILED (errors=2)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.118s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.058s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.932s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.021s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.010s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.525s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.027s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.558s)
Installing ERP5Form ... done (1.843s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.050s)
Installing ERP5Subversion ... done (0.087s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_97ad677fdc3692c02e03838b9465053d ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Immobilisation (installation failed)
EEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_singlePackingListImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_singleItemImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_03_complexItemStructureImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_04_TestContinuousMethodMovementValidity (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_05_TestImmobilisationPeriodsWithContinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_08_TestImmobilisationPeriodsWithUncontinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_09_TestAmortisationPriceAndSimulationForLinearAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_10_TestAmortisationPriceForDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_11_TestAmortisationPriceAndSimulationForUncontinuousDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_12_TestAmortisationPriceForActualUseDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_13_TestAmortisationPriceForNoAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_14_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_15_TestOwnerChangeSimulationForUnContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_16_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_17_TestMonthlyAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_18_TestAccountingBuilding (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

======================================================================
ERROR: test_21_TestSimulationBuildingWithValidatedTransactions (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_97ad677fdc3692c02e03838b9465053d already failed, giving up

----------------------------------------------------------------------
Ran 21 tests in 26.372s

FAILED (errors=21)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.108s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.925s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.010s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.520s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.563s)
Installing ERP5Form ... done (1.848s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Interaction Workflow (installation failed)
EEEEEEEEEEEEE
======================================================================
ERROR: test_01 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_03 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_04 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_05 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_06 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_07 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_08 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_09 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_10 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_11 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_12 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

======================================================================
ERROR: test_13 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 already failed, giving up

----------------------------------------------------------------------
Ran 13 tests in 26.154s

FAILED (errors=13)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.137s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
  DeprecationWarning)
Installing ExtFile ... done (0.057s)
Installing Photo ... done (0.047s)
Installing Formulator ... done (0.997s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.040s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.009s)
Installing ExternalMethod ... done (0.020s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.009s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.032s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.523s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.018s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.010s)
Installing CMFActivity ... done (0.021s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.221s)
Installing ERP5Form ... done (1.858s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.101s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Tests getInventory methods.
   (installation failed)
EEEEEEEEEEEEEE
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d6b7e9ea1e7bce8a8eab161c15cdaa13 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Tests getInventoryList methods.
   (installation failed)
EE
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Tests Movement history list methods.
   (installation failed)
EEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: testPrecision (testInventoryAPI.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: testPrecisionAndFloatRoundingIssues (testInventoryAPI.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: getInventory returns a float
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Tests inventory on mirror section category.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Test section category with many nodes.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Tests inventory on section category / section uid, when the section is    empty.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Tests inventory on node_category
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Test omit_simulation argument to getInventory.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Tests inventory on payment_category
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Tests inventory on resource_category
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Tests inventory on section category.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Test Simulation Movements works in this testing environnement.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Test Simulation Movements are not accountable if related to a delivery.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: Tests inventory on simulation state.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4696ad1df00639ea4c3ec2ea97f222b3 already failed, giving up

======================================================================
ERROR: test_GroupByNode (testInventoryAPI.TestInventoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: Inventory List returns a sequence object
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d6b7e9ea1e7bce8a8eab161c15cdaa13 already failed, giving up

======================================================================
ERROR: Movement History List uses InventoryListBrain for brains
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: testDifferentDatesPerSection (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testMirrorNode (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testMirrorSection (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: Movement History List returns movement from both sides
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testNode (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testNodeCategoryAndSectionCategory (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testPrecision (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testPrecisionAndFloatRoundingIssues (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testResource (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: Movement History List returns a sequence object
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testRunningQuantityWithQuantity0 (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testSameNodeDifferentDates (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testSection (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: testSectionCategory (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: test_AtDate (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: test_FromDate (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: test_FromDateAtDate (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: test_FromDateToDate (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: test_Limit (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: Test omit_simulation argument to getMovementHistoryList.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: Test that a running_total_price attribute is set on brains
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: Test that a running_total_quantity attribute is set on brains
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: Test running_total_price and running_total_quantity with an initial
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: Test simulation movement are listed in getMovementHistoryList
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: test_SimulationState (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: test_SortOnDate (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

======================================================================
ERROR: test_ToDate (testInventoryAPI.TestMovementHistoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_b4b0286d6d9d8dc0ceda6f31e4efcfc4 already failed, giving up

----------------------------------------------------------------------
Ran 44 tests in 77.055s

FAILED (errors=44)
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'has_key'" in <bound method SkinDataCleanup.__del__ of <Products.CMFCore.Skinnable.SkinDataCleanup instance at 0xb37a816c>> ignored
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'has_key'" in <bound method SkinDataCleanup.__del__ of <Products.CMFCore.Skinnable.SkinDataCleanup instance at 0xb38a4d0c>> ignored
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.119s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.932s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.518s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.037s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.563s)
Installing ERP5Form ... done (1.853s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Inventory Module (installation failed)
EEEE
======================================================================
ERROR: test_01_NotVariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 already failed, giving up

======================================================================
ERROR: test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 already failed, giving up

======================================================================
ERROR: test_04_VariatedAggregatedInventoryGetInventoryList (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 already failed, giving up

----------------------------------------------------------------------
Ran 4 tests in 26.338s

FAILED (errors=4)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.116s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.047s)
Installing Formulator ... done (0.934s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.531s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.563s)
Installing ERP5Form ... done (1.857s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_2007b7d0ea09f77195204bf0c30be51b ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Inventory (installation failed)
EEE
======================================================================
ERROR: test_01_getInventory (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_InventoryModule (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_2007b7d0ea09f77195204bf0c30be51b already failed, giving up

======================================================================
ERROR: test_02_InventoryModuleWithVariation (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_2007b7d0ea09f77195204bf0c30be51b already failed, giving up

----------------------------------------------------------------------
Ran 3 tests in 26.371s

FAILED (errors=3)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.117s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.044s)
Installing Formulator ... done (0.925s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.513s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.014s)
Installing ERP5Security ... done (0.011s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.562s)
Installing ERP5Form ... done (1.839s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Invoices (installation failed)
EEEEEEEEEEEEEEE
======================================================================
ERROR: Test copy on paste on Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_01_SimpleInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_02_TwoInvoicesFromTwoPackingList (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_03_InvoiceEditAndInvoiceRule (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_04_PackingListEditAndInvoiceRule (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_05_InvoiceEditPackingListLine (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_06_InvoiceDeletePackingListLine (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_07_InvoiceAddPackingListLine (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_08_InvoiceDecreaseQuantity (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_09_InvoiceChangeStartDate (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_10_AcceptDecisionOnPackingList (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_11_AcceptDecisionOnPackingListAndInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_12_SplitPackingListAndAcceptInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_13_SplitAndDeferInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

======================================================================
ERROR: test_14_AcceptDecisionOnInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_3e4a0d2d45ee766e3fa783f39820361c already failed, giving up

----------------------------------------------------------------------
Ran 15 tests in 26.269s

FAILED (errors=15)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.103s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.931s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.044s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.514s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.563s)
Installing ERP5Form ... done (1.856s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_a5cda8653174ac2532ca143c067402a9 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Invoices and VAT (installation failed)
EEEE
======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a5cda8653174ac2532ca143c067402a9 already failed, giving up

======================================================================
ERROR: Test VAT for a simple invoice created directly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a5cda8653174ac2532ca143c067402a9 already failed, giving up

======================================================================
ERROR: Test VAT for a simple invoice created directly; empty lines should not
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a5cda8653174ac2532ca143c067402a9 already failed, giving up

----------------------------------------------------------------------
Ran 4 tests in 26.381s

FAILED (errors=4)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.115s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.943s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.021s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.535s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.565s)
Installing ERP5Form ... done (1.870s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Order (installation failed)
EEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_OrderLine_getVariationRangeCategoryList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_OrderLine_getVariationRangeCategoryItemList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_03_OrderLine_getVariationCategoryList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_04_OrderLine_getVariationCategoryItemList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_05_OrderLine_Matrix (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_06_OrderLine_getTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_07_OrderLine_getTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_08_Order_testTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_08b_Order_testTotalPriceAndQuantityFastParameter (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_09_Order_testTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_10_Order_testSimulationState (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_11_testPropertiesAcquisition (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_12_testAppliedRuleGeneration (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_13_testAppliedRuleUpdate (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_15_deliveryBuilder (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

======================================================================
ERROR: test_17_orderExpand (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_f56e40505f8cecd1db294fdab2822698 already failed, giving up

----------------------------------------------------------------------
Ran 18 tests in 26.564s

FAILED (errors=18)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.117s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.930s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.513s)
Installing CMFMailIn ... done (0.010s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.567s)
Installing ERP5Form ... done (1.847s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Packing List (installation failed)
EEEEEEEEEEEEE
======================================================================
ERROR: test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_PackingListChangeDestination (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_03_PackingListChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_04_PackingListDeleteLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_06_SimulationChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_08_AddContainers (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_10_PackingListIncreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: test_12_PackingListLineChangeResource (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

======================================================================
ERROR: Deliveries must have a price currency category. #252
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e549dcf540388768207010303f288957 already failed, giving up

----------------------------------------------------------------------
Ran 13 tests in 26.228s

FAILED (errors=13)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.125s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.930s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.010s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.011s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.514s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.011s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.567s)
Installing ERP5Form ... done (1.845s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.039s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Predicates (installation failed)
EEEEEE
======================================================================
ERROR: Test basic category membership
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: Test empty and always false predicates.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 already failed, giving up

======================================================================
ERROR: Test Predicate implements Predicate interface.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 already failed, giving up

======================================================================
ERROR: Test simple predicates fusion.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 already failed, giving up

======================================================================
ERROR: Test predicates fusion and test_method_id attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 already failed, giving up

======================================================================
ERROR: Test test_method_id attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 already failed, giving up

----------------------------------------------------------------------
Ran 6 tests in 26.499s

FAILED (errors=6)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.116s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.924s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.516s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.566s)
Installing ERP5Form ... done (1.853s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.018s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Production Order (installation failed)
EEEEE
======================================================================
ERROR: test_01_testProductionSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_testSourcingSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_445eec84cfafcd54035971a79b90526e already failed, giving up

======================================================================
ERROR: test_03_testIndustrialPhase (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_445eec84cfafcd54035971a79b90526e already failed, giving up

======================================================================
ERROR: test_04_testCopyPaste (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_445eec84cfafcd54035971a79b90526e already failed, giving up

======================================================================
ERROR: test_05_testCutPasteInAnotherContainer (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_445eec84cfafcd54035971a79b90526e already failed, giving up

----------------------------------------------------------------------
Ran 5 tests in 26.452s

FAILED (errors=5)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.104s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.924s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.532s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.018s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.564s)
Installing ERP5Form ... done (1.851s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_11168acb17e5ee22093b7f163496420e ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Resource (installation failed)
EEEEEEEEEEEE
======================================================================
ERROR: test how to define quantity precision on resources.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_01_getVariationBaseCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_02_getVariationRangeCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_03_getVariationRangeCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_04_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_05_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_06_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_07_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_08_variationPropertyList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_09_getPrice (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

======================================================================
ERROR: test_11_getPriceWithDestination (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_11168acb17e5ee22093b7f163496420e already failed, giving up

----------------------------------------------------------------------
Ran 12 tests in 26.254s

FAILED (errors=12)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.108s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.922s)
Installing FCKeditor ... done (0.060s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.010s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.521s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.562s)
Installing ERP5Form ... done (1.848s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Transformation (installation failed)
E
======================================================================
ERROR: test_01_getAggregatedAmountList (testTransformation.TestTransformation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

----------------------------------------------------------------------
Ran 1 test in 26.157s

FAILED (errors=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.124s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.063s)
Installing Photo ... done (0.048s)
Installing Formulator ... done (0.935s)
Installing FCKeditor ... done (0.063s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.032s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.524s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.034s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.565s)
Installing ERP5Form ... done (1.865s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.039s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Trash Tool (installation failed)
EEEE
======================================================================
ERROR: test_01_checkTrashBinCreation (testTrashTool.TestTrashTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_checkBackupWithoutSave (testTrashTool.TestTrashTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c8b4d6047454e867221ea4876ba0d68f already failed, giving up

======================================================================
ERROR: test_03_checkBackupWithSave (testTrashTool.TestTrashTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c8b4d6047454e867221ea4876ba0d68f already failed, giving up

======================================================================
ERROR: test_04_checkBackupWithSubObjects (testTrashTool.TestTrashTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c8b4d6047454e867221ea4876ba0d68f already failed, giving up

----------------------------------------------------------------------
Ran 4 tests in 26.456s

FAILED (errors=4)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.122s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
...
----------------------------------------------------------------------
Ran 3 tests in 70.940s

OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.129s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.936s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.517s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.566s)
Installing ERP5Form ... done (1.868s)
Installing ERP5SyncML ... done (0.034s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_9cf37051965bb024b61a089d8579ab35 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Cache Tool (installation failed)
EEEEEE
======================================================================
ERROR: test_01_CheckCacheTool (testCacheTool.TestCacheTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_CheckPortalTypes (testCacheTool.TestCacheTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9cf37051965bb024b61a089d8579ab35 already failed, giving up

======================================================================
ERROR: test_03_CreateCacheFactories (testCacheTool.TestCacheTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9cf37051965bb024b61a089d8579ab35 already failed, giving up

======================================================================
ERROR: test_04_CreateCachedMethod (testCacheTool.TestCacheTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9cf37051965bb024b61a089d8579ab35 already failed, giving up

======================================================================
ERROR: Test cache factory containing only one cache plugin.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9cf37051965bb024b61a089d8579ab35 already failed, giving up

======================================================================
ERROR: Test a cache factory containing multiple cache plugins.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_9cf37051965bb024b61a089d8579ab35 already failed, giving up

----------------------------------------------------------------------
Ran 6 tests in 26.361s

FAILED (errors=6)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.116s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.056s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.930s)
Installing FCKeditor ... done (0.064s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.021s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.016s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.012s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.009s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.537s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.018s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.022s)
Installing ERP5Type ... done (0.561s)
Installing ERP5Form ... done (1.867s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.014s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Constraint (installation failed)
EEEEEEEEEEEEEE
======================================================================
ERROR: test_01_Constraint (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_PropertyExistence (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: test_03_PropertyTypeValidity (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: test_04_AttributeEquality (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: test_05_CategoryExistence (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: test_06_CategoryMembershipArity (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: test_07_CategoryRelatedMembershipArity (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: Tests PropertyTypeValidity can handle boolean values.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: Tests PropertyTypeValidity can fix boolean values.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: Tests PropertyTypeValidity can repairs local property when this property
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: Tests PropertyTypeValidity can repairs local property of type content
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: Tests PropertyTypeValidity can repairs categories when this property
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: Tests TALESConstraint
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

======================================================================
ERROR: Tests TALESConstraint with an invalid expression
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c already failed, giving up

----------------------------------------------------------------------
Ran 14 tests in 26.547s

FAILED (errors=14)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.107s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.045s)
Installing Formulator ... done (0.922s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.009s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.010s)
Installing CMFReportTool ... done (0.514s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.567s)
Installing ERP5Form ... done (1.852s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_c7320eb496224a747fda62ecf1eddd88 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of ERP5Type (installation failed)
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: testBusinessTemplate (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: testCategoryToolHasGetId (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: testCommonHasImageType (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: testCommonHasParentBaseCategory (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: testHasCategoryTool (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: testHasTemplateTool (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: testTemplateToolHasGetId (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_01_AqDynamic (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_02_AqDynamic (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_03_NewTempObject (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_04_CategoryAccessors (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_05_setProperty (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests Caching methods.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: manage_afterClone can call a type based script.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests accessor generation doesn't generate error messages.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Test object renaming.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_10_ConstraintNotFound (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_11_valueAccessor (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_12_listAccessor (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_13_acquiredAccessor (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_14_bangAccessor (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: test_15_DefaultValue (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests that the default value is returned correctly when a default
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests a simple string accessor.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests for workflow state. assumes that validation state is chained to
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests a simple content accessor.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests a content setters do not set the property on acquired object
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests an acquired content accessor.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests a content setters do not set the property on acquired object
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: asContext method return a temporary copy of an object.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

======================================================================
ERROR: Tests action conditions
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 32, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_c7320eb496224a747fda62ecf1eddd88 already failed, giving up

----------------------------------------------------------------------
Ran 31 tests in 26.332s

FAILED (errors=31)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.127s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.928s)
Installing FCKeditor ... done (0.062s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.032s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.530s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.034s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.565s)
Installing ERP5Form ... done (1.860s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.101s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_e4065a9cfbfc92476212a68f5fc861f9 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of Folder (installation failed)
EEEEEE
======================================================================
ERROR: test_01_folderType (testFolder.TestFolder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_defaultGenerateNewId (testFolder.TestFolder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e4065a9cfbfc92476212a68f5fc861f9 already failed, giving up

======================================================================
ERROR: test_03_customGenerateNewId (testFolder.TestFolder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e4065a9cfbfc92476212a68f5fc861f9 already failed, giving up

======================================================================
ERROR: test_AllowedContentTypes (testFolder.TestFolder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e4065a9cfbfc92476212a68f5fc861f9 already failed, giving up

======================================================================
ERROR: test_AllowedContentTypesCacheExpiration (testFolder.TestFolder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e4065a9cfbfc92476212a68f5fc861f9 already failed, giving up

======================================================================
ERROR: test_AllowedContentTypesObjectIndependance (testFolder.TestFolder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e4065a9cfbfc92476212a68f5fc861f9 already failed, giving up

----------------------------------------------------------------------
Ran 6 tests in 26.416s

FAILED (errors=6)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.110s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.060s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.920s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.010s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.515s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.033s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.563s)
Installing ERP5Form ... done (1.841s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.103s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_d00f90cfaaee372a9108f3616f1fc446 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of MemcachedTool (installation failed)
EEEEEE
======================================================================
ERROR: test_01_dictionnaryIsUsable (testMemcachedTool.TestMemcachedTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/Products/ERP5Type/tests/testMemcachedTool.py", line 49, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_insertValue (testMemcachedTool.TestMemcachedTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/Products/ERP5Type/tests/testMemcachedTool.py", line 49, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d00f90cfaaee372a9108f3616f1fc446 already failed, giving up

======================================================================
ERROR: test_03_insertValueAndCommit (testMemcachedTool.TestMemcachedTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/Products/ERP5Type/tests/testMemcachedTool.py", line 49, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d00f90cfaaee372a9108f3616f1fc446 already failed, giving up

======================================================================
ERROR: test_04_deleteValue (testMemcachedTool.TestMemcachedTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/Products/ERP5Type/tests/testMemcachedTool.py", line 49, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d00f90cfaaee372a9108f3616f1fc446 already failed, giving up

======================================================================
ERROR: test_05_deteteValueAndCommit (testMemcachedTool.TestMemcachedTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/Products/ERP5Type/tests/testMemcachedTool.py", line 49, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d00f90cfaaee372a9108f3616f1fc446 already failed, giving up

======================================================================
ERROR: test_06_checkNonStringKeyFails (testMemcachedTool.TestMemcachedTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/Products/ERP5Type/tests/testMemcachedTool.py", line 49, in setUp
    ERP5TypeTestCase.setUp(self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_d00f90cfaaee372a9108f3616f1fc446 already failed, giving up

----------------------------------------------------------------------
Ran 6 tests in 26.164s

FAILED (errors=6)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.117s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.062s)
Installing Photo ... done (0.046s)
Installing Formulator ... done (0.927s)
Installing FCKeditor ... done (0.061s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.024s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.009s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.010s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.009s)
Installing CMFCalendar ... done (0.030s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.517s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.012s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.032s)
Installing CMFActivity ... done (0.022s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.561s)
Installing ERP5Form ... done (1.852s)
Installing ERP5SyncML ... done (0.032s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.038s)
Installing ERP5Subversion ... done (0.100s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_9f295f9ace46ae534d692b8af7ed4288 ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of TimerService (installation failed)
E
======================================================================
ERROR: test_01_checkAnonymousProcessing (testTimerService.TestTimerService)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

----------------------------------------------------------------------
Ran 1 test in 26.351s

FAILED (errors=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
.. done (1.113s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: 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 utils, CMFCorePermissions
Installing ExtFile ... done (0.061s)
Installing Photo ... done (0.047s)
Installing Formulator ... done (0.936s)
Installing FCKeditor ... done (0.063s)
Installing ZSQLMethods ... done (0.008s)
Installing ZMySQLDA ... done (0.045s)
Installing ZSQLCatalog ... done (0.025s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.008s)
Installing MailHost ... done (0.020s)
Installing PageTemplates ... done (0.008s)
Installing PythonScripts ... done (0.008s)
Installing ExternalMethod ... done (0.015s)
Installing iHotfix ... done (0.008s)
Installing Localizer ... done (0.009s)
Installing TimerService ... done (0.011s)
Installing CMFCore ... done (0.011s)
Installing CMFDefault ... done (0.010s)
Installing CMFTopic ... done (0.008s)
Installing DCWorkflow ... done (0.010s)
Installing CMFCalendar ... done (0.031s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.011s)
Installing CMFReportTool ... done (0.533s)
Installing CMFMailIn ... done (0.009s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.017s)
Installing PluggableAuthService ... done (0.013s)
Installing ERP5Security ... done (0.010s)
Installing VerboseSecurity ... NOT FOUND
Installing Zelenium ... done (0.038s)
Installing CMFActivity ... done (0.023s)
Installing ERP5Catalog ... done (0.016s)
Installing ERP5Type ... done (0.565s)
Installing ERP5Form ... done (1.880s)
Installing ERP5SyncML ... done (0.033s)
Installing CMFCategory ... done (0.011s)
Installing ERP5 ... done (0.012s)
Installing ZMySQLDDA ... done (0.013s)
Installing ERP5OOo ... done (0.037s)
Installing ERP5Subversion ... done (0.099s)

Adding ERP5TypeTestCase user ... 
Adding erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e ERP5 Site ... Traceback (most recent call last):
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
     'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias
  = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
 SyntaxError: invalid syntax
Ran Unit test of XMLMatrix (installation failed)
EEE
======================================================================
ERROR: test_01_RenameCellRange (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 509, in setupERP5Site
    create_activities=create_activities,
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site
    reindex=reindex)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 990, in create
    reindex=reindex, **kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1383, in setup
    self.setupERP5Core(p,**kw)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1426, in setupERP5Core
    template_tool.download(template, id=id)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 361, in download
    bt.importFile(dir=1, file=file_list, root_path=name)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4505, in importFile
    getattr(self, item_name).importFile(bta)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 408, in importFile
    bta.importFiles(klass=self)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 258, in importFiles
    klass._importFile(file_name, file)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1897, in _importFile
    obj = connection.importFile(file, customImporters=customImporters)
  File "/usr/lib/zope/lib/python/ZODB/ExportImport.py", line 77, in importFile
    return customImporters[magic](self, file, clue)
  File "/usr/lib/zope/lib/python/OFS/XMLExportImport.py", line 117, in importXML
    r=p.Parse(data)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/xyap.py", line 61, in unknown_endtag
    if end.has_key(tag): top=end[tag](self, tag, top)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/ppml.py", line 610, in save_string
    v=unconvert(encoding,v)
  File "/usr/lib/zope/lib/python/Shared/DC/xml/ppml.py", line 77, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'SELECT\n  COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n<dtml-if select_expression>\n  , <dtml-var select_expression>\n</dtml-if>\nFROM\n  <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n  <dtml-if selection_domain>\n    <dtml-let expression="selection_domain.asSQLJoinExpression(category_table_alias = 'domain_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\n  <dtml-if selection_report>\n    <dtml-let expression="selection_report.asSQLJoinExpression(category_table_alias = 'report_category')">\n      <dtml-if expression> , <dtml-var expression> </dtml-if>\n    </dtml-let>\n  </dtml-if>\nWHERE\n  1 = 1\n<dtml-if where_expression>\n  AND <dtml-var where_expression>\n</dtml-if>\n<dtml-if selection_domain>\n  <dtml-let expression="selection_domain.asSQLExpression(category_table_alias 
 = 'domain_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if selection_report>\n  <dtml-let expression="selection_report.asSQLExpression(strict_membership=1, category_table_alias = 'report_category')">\n    <dtml-if expression> AND <dtml-var expression> </dtml-if>\n  </dtml-let>\n</dtml-if>\n<dtml-if sort_on>\nORDER BY\n  <dtml-var sort_on>\n</dtml-if>\n<dtml-if group_by_expression>\nGROUP BY\n  <dtml-var group_by_expression>\n</dtml-if>\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_02_SetCellRangeAndCatalogWithActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e already failed, giving up

======================================================================
ERROR: test_03_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 308, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 473, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e already failed, giving up

----------------------------------------------------------------------
Ran 3 tests in 26.527s

FAILED (errors=3)


More information about the Erp5-report mailing list