[Erp5-report] ERP5_z28 r17513: 1310 Tests, 19 Errors, 8 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Nov 11 07:00:16 CET 2007
Test Suite: ERP5_z28
Revision: 17513
Result: FAIL
All tests: 1310
Failures: 8
Errors: 19
The following tests failed:
testGeographicalAddress (1 failures)
test_02_asTextScript (testGeographicalAddress.TestGeographicalAddress)
testImmobilisation (1 failures)
test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
testInventoryAPI (3 failures)
test_TimeZone (testInventoryAPI.TestInventory)
test_07_InventoryListAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
test_08_InventoryListBeforeFullInventoryAfterPartialInventory (testInventoryAPI.TestInventoryDocument)
testPerformance (2 failures)
test_00_viewBarObject (testPerformance.TestPerformance)
test_01_viewBarModule (testPerformance.TestPerformance)
testSessionTool (3 errors)
Create a session object and check if API (newContent) is properly working.
Delete session keys.
Get session object and check keys stored in previous test.
testIngestion (8 failures, 1 errors)
test_03_TextDoc (testIngestion.TestIngestion)
test_041_MetadataEditing (testIngestion.TestIngestion)
test_04_MetadataExtraction (testIngestion.TestIngestion)
test_05_FormatIngestion (testIngestion.TestIngestion)
test_06_FormatGeneration (testIngestion.TestIngestion)
test_07_SnapshotGeneration (testIngestion.TestIngestion)
test_09_Contribute (testIngestion.TestIngestion)
test_10_MetadataSettingPreferenceOrder (testIngestion.TestIngestion)
test_11_EmailIngestion (testIngestion.TestIngestion)
testDms (6 errors)
testOOoDocument_get_size (testDms.TestDocument)
testOOoDocument_hasData (testDms.TestDocument)
testTempOOoDocument_hasData (testDms.TestDocument)
test_02_RevisionSystem (testDms.TestDocument)
test_Member_download_pdf_format (testDms.TestDocument)
test_Owner_Base_download (testDms.TestDocument)
testOOoImport (2 errors)
test_CategoryTool_importCategoryFile (testOOoImport.TestOOoImport)
test_CategoryTool_importCategoryFileXLS (testOOoImport.TestOOoImport)
-------------- next part --------------
FAIL: test_02_asTextScript (testGeographicalAddress.TestGeographicalAddress)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testGeographicalAddress.py", line 201, in test_02_asTextScript
sequence_list.play(self)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateEntity
CreateAddress
SetTextAddressValue
CreateAsTextScript
> CheckAddressAsTextScript
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testGeographicalAddress.py", line 181, in stepCheckAddressAsTextScript
"%s %s\n%s %s" % (self.street_address_number,
AssertionError: '11 rue Truc\nCity1 12345' != '11 rue Truc\n12345 City1'
FAIL: test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3679, in test_19_TestAccountingBuildingAndDivergence
sequence_list.play(self)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
SetTest19SequenceData
DeleteAccounting
Tic
DeleteAllPackingLists
Tic
TestAllAppliedRulesAreEmpty
CreatePackingList
DeliverPackingList
AggregateItems
Tic
BuildAccounting
Tic
TestSimpleAccountingBuild
SetTest19SequenceData2
CreatePackingList
DeliverPackingList
AggregateItems
Tic
TestSimulationBuildAfterFirstAccountingChange
BuildAccounting
Tic
TestAccountingBuildAfterFirstChange
DeletePackingList
Tic
TestSimulationBuildAfterSecondAccountingChange
BuildAccounting
Tic
TestAccountingBuildAfterSecondChange
AdoptPrevision
Tic
> TestAccountingBuildAfterAdoptPrevision
Test19ModifyPackingList
Tic
TestSimulationBuildAfterPackingListModification
BuildAccounting
Tic
TestAccountingBuildAfterPackingListModification
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 2640, in stepTestAccountingBuildAfterAdoptPrevision
self._testAccountingBuild(c_transaction_list, e_transaction_list)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3027, in _testAccountingBuild
self.failUnless(e_found_line is not None)
AssertionError
FAIL: test_TimeZone (testInventoryAPI.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 618, in test_TimeZone
at_date=date_gmt1))
AssertionError: 0 != 1.0
FAIL: test_07_InventoryListAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1786, in test_07_InventoryListAtEarlierFullInventoryDate
self._checkInventoryList(inventory, reference_inventory)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1685, in _checkInventoryList
raise AssertionError, 'No line in %r match %r' % \
AssertionError: No line in [{'variation_text': '', 'total_price': None, 'total_quantity': 10000.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/372', 'node_uid': 1421L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1415L, 'resource_relative_url': 'currency_module/73', 'inventory': 10000.0, 'section_relative_url': 'organisation_module/370', 'simulation_state': 'delivered', 'date': DateTime('2007/10/20'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/14/1', 'stock_uid': 1406L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1423L}, {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1417L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/372', 'node_uid': 1421L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1415L, 'resource_relative_url': 'currency_module/73', 'inventory': 2.0, 'section_relative_url': 'organisation_module/370', 'simulation_state': 'delivered', 'date': DateTime('2007/10/29'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/128', 'stock_uid': 1405L, 'mirror_node_uid': 1416L, 'payment_uid': None, 'section_uid': 1423L}] match {'date': DateTime('2007/10/20'), 'node_uid': 1421L, 'inventory': 10000}
FAIL: test_08_InventoryListBeforeFullInventoryAfterPartialInventory (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1806, in test_08_InventoryListBeforeFullInventoryAfterPartialInventory
self._checkInventoryList(inventory, reference_inventory)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1685, in _checkInventoryList
raise AssertionError, 'No line in %r match %r' % \
AssertionError: No line in [{'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1395L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/377', 'node_uid': 1399L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1393L, 'resource_relative_url': 'currency_module/74', 'inventory': 2.0, 'section_relative_url': 'organisation_module/375', 'simulation_state': 'delivered', 'date': DateTime('2007/10/19'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/130', 'stock_uid': 1386L, 'mirror_node_uid': 1394L, 'payment_uid': None, 'section_uid': 1401L}, {'variation_text': '', 'total_price': None, 'total_quantity': 999.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/377', 'node_uid': 1399L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1393L, 'resource_relative_url': 'currency_module/74', 'inventory': 999.0, 'section_relative_url': 'organisation_module/375', 'simulation_state': 'delivered', 'date': DateTime('2007/10/10'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/15/1', 'stock_uid': 1387L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1401L}, {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1395L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/377', 'node_uid': 1399L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1393L, 'resource_relative_url': 'currency_module/74', 'inventory': 2.0, 'section_relative_url': 'organisation_module/375', 'simulation_state': 'delivered', 'date': DateTime('2007/10/09'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/129', 'stock_uid': 1389L, 'mirror_node_uid': 1394L, 'payment_uid': None, 'section_uid': 1401L}] match {'date': DateTime('2007/10/09'), 'node_uid': 1399L, 'inventory': 2}
FAIL: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 129, in test_00_viewBarObject
prefix='objective')
File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 117, in checkViewBarObject
'%.4f < %.4f < %.4f' % (min, req_time, max))
AssertionError: 0.1120 < 0.1598 < 0.1220
FAIL: test_01_viewBarModule (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 202, in test_01_viewBarModule
'View: %.4f < %.4f < %.4f' % (
AssertionError: View: 0.1250 < 0.1984 < 0.1750
ERROR: Create a session object and check if API (newContent) is properly working.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testSessionTool.py", line 103, in test_02_CreateSessionObject
attr_6 = 'string',)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 129, in newContent
session = self._getSessionObject(id)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 152, in _getSessionObject
return self._getCacheMethod(session_id)()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
value = CachingMethod.factories[self.cache_factory](
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 112, in __call__
self.quick_cache.set(cache_id, scope, value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/CachePlugins/RamCache.py", line 84, in set
cache[scope][cache_id] = CacheEntry(value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 795, in __init__
dumps(value)
File "/usr/lib/python2.4/pickle.py", line 1386, in dumps
Pickler(file, protocol, bin).dump(obj)
File "/usr/lib/python2.4/pickle.py", line 231, in dump
self.save(obj)
File "/usr/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/lib/python2.4/pickle.py", line 712, in save_inst
args = obj.__getinitargs__()
TypeError: 'NoneType' object is not callable
ERROR: Delete session keys.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testSessionTool.py", line 128, in test_03_DeleteSessionObjectAttributes
session = portal_sessions[self.session_id]
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 119, in __getitem__
session = self._getSessionObject(key)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 152, in _getSessionObject
return self._getCacheMethod(session_id)()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
value = CachingMethod.factories[self.cache_factory](
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 112, in __call__
self.quick_cache.set(cache_id, scope, value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/CachePlugins/RamCache.py", line 84, in set
cache[scope][cache_id] = CacheEntry(value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 795, in __init__
dumps(value)
File "/usr/lib/python2.4/pickle.py", line 1386, in dumps
Pickler(file, protocol, bin).dump(obj)
File "/usr/lib/python2.4/pickle.py", line 231, in dump
self.save(obj)
File "/usr/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/lib/python2.4/pickle.py", line 712, in save_inst
args = obj.__getinitargs__()
TypeError: 'NoneType' object is not callable
ERROR: Get session object and check keys stored in previous test.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testSessionTool.py", line 146, in test_04_DeleteSessionObject
session = portal_sessions[self.session_id]
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 119, in __getitem__
session = self._getSessionObject(key)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 152, in _getSessionObject
return self._getCacheMethod(session_id)()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
value = CachingMethod.factories[self.cache_factory](
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 112, in __call__
self.quick_cache.set(cache_id, scope, value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/CachePlugins/RamCache.py", line 84, in set
cache[scope][cache_id] = CacheEntry(value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 795, in __init__
dumps(value)
File "/usr/lib/python2.4/pickle.py", line 1386, in dumps
Pickler(file, protocol, bin).dump(obj)
File "/usr/lib/python2.4/pickle.py", line 231, in dump
self.save(obj)
File "/usr/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/lib/python2.4/pickle.py", line 712, in save_inst
args = obj.__getinitargs__()
TypeError: 'NoneType' object is not callable
ERROR: test_03_TextDoc (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 983, in test_03_TextDoc
self.playSequence(step_list, quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CleanUp
CreateTextDocument
CheckEmptyState
> StraightUpload
CheckConvertedState
DialogUpload
CheckConvertedState
DiscoverFromFilename
CheckConvertedContent
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 547, in stepStraightUpload
document.edit(file=f)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_041_MetadataEditing (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1021, in test_041_MetadataEditing
self.playSequence(step_list, quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CleanUp
CreateTextDocument
> DialogUpload
EditMetadata
CheckChangedMetadata
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 567, in stepDialogUpload
context.Document_uploadFile(file=f)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 773, in _exec
return PythonScript_exec(self, *args)
File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
result = f(*args, **kw)
File "Script (Python)", line 32, in Document_uploadFile
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_04_MetadataExtraction (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1005, in test_04_MetadataExtraction
self.playSequence(step_list, quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CleanUp
CreateTextDocument
SetSimulatedDiscoveryScript
> TestMetadataSetting
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 628, in stepTestMetadataSetting
context.Document_uploadFile(file=f)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 773, in _exec
return PythonScript_exec(self, *args)
File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
result = f(*args, **kw)
File "Script (Python)", line 32, in Document_uploadFile
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_05_FormatIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1050, in test_05_FormatIngestion
self.playSequence(step_list, quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CleanUp
CreateTextDocument
> IngestTextFormats
CreateSpreadsheetDocument
IngestSpreadsheetFormats
CreatePresentationDocument
IngestPresentationFormats
CreateDrawingDocument
IngestDrawingFormats
CreatePDFDocument
IngestPDFFormats
CreateImageDocument
IngestImageFormats
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 683, in stepIngestTextFormats
self.ingestFormatList('one', format_list)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 311, in ingestFormatList
context.edit(file=f)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_06_FormatGeneration (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1075, in test_06_FormatGeneration
self.playSequence(step_list, quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CleanUp
CreateTextDocument
> CheckTextDocumentExportList
CreateSpreadsheetDocument
CheckSpreadsheetDocumentExportList
CreatePresentationDocument
CheckPresentationDocumentExportList
CreateDrawingDocument
CheckDrawingDocumentExportList
CreatePDFDocument
ExportPDF
CreateImageDocument
ExportImage
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 733, in stepCheckTextDocumentExportList
self.checkDocumentExportList('one', 'doc', ['pdf', 'doc', 'rtf', 'writer.html', 'txt'])
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 335, in checkDocumentExportList
context.edit(file=f)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_07_SnapshotGeneration (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1096, in test_07_SnapshotGeneration
self.playSequence(step_list, quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CleanUp
CreateTextDocument
> DialogUpload
CheckHasNoSnapshot
CreateSnapshot
TryRecreateSnapshot
CheckHasSnapshot
DeleteSnapshot
CheckHasNoSnapshot
CreateSnapshot
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 567, in stepDialogUpload
context.Document_uploadFile(file=f)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 773, in _exec
return PythonScript_exec(self, *args)
File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
result = f(*args, **kw)
File "Script (Python)", line 32, in Document_uploadFile
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_09_Contribute (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1120, in test_09_Contribute
self.playSequence(step_list, quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CleanUp
> ContributeFileListWithNoType
CleanUp
ContributeFileListWithType
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 807, in stepContributeFileListWithNoType
self.contributeFileList(with_portal_type=False)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 379, in contributeFileList
ob = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 314, in newContent
document._edit(set_filename__=0, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_10_MetadataSettingPreferenceOrder (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1155, in test_10_MetadataSettingPreferenceOrder
self.playSequence(step_list, quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CleanUp
CreateTextDocument
> StraightUpload
SetSimulatedDiscoveryScriptForOrdering
CheckMetadataSettingOrderFICU
CreateTextDocument
StraightUpload
SetSimulatedDiscoveryScriptForOrdering
CheckMetadataSettingOrderCUFI
CreateTextDocument
StraightUpload
SetSimulatedDiscoveryScriptForOrdering
CheckMetadataSettingOrderUIFC
CreateTextDocument
StraightUpload
SetSimulatedDiscoveryScriptForOrdering
CheckMetadataSettingOrderICUF
CreateTextDocument
StraightUpload
SetSimulatedDiscoveryScriptForOrdering
CheckMetadataSettingOrderUFCI
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 547, in stepStraightUpload
document.edit(file=f)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
FAIL: test_11_EmailIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1171, in test_11_EmailIngestion
self.playSequence(step_list, quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CleanUp
ReceiveEmailFromUnknown
CreatePerson
> ReceiveEmailFromJohn
VerifyEmailedDocuments
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 888, in stepReceiveEmailFromJohn
self.failIf(res)
AssertionError
ERROR: testOOoDocument_get_size (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 435, in testOOoDocument_get_size
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: testOOoDocument_hasData (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 450, in testOOoDocument_hasData
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: testTempOOoDocument_hasData (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 458, in testTempOOoDocument_hasData
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 173, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 173, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_02_RevisionSystem (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 257, in test_02_RevisionSystem
document = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 314, in newContent
document._edit(set_filename__=0, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_Member_download_pdf_format (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 489, in test_Member_download_pdf_format
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_Owner_Base_download (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 467, in test_Owner_Base_download
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/File.py", line 120, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 196, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 146, in _setFile
delattr(self, 'base_data')
AttributeError: base_data
ERROR: test_CategoryTool_importCategoryFile (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 201, in test_CategoryTool_importCategoryFile
self.portal.portal_categories.CategoryTool_importCategoryFile(
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 773, in _exec
return PythonScript_exec(self, *args)
File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
result = f(*args, **kw)
File "Script (Python)", line 81, in CategoryTool_importCategoryFile
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 359, in convert
if not self.isTargetFormatAllowed(format):
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 280, in isTargetFormatAllowed
return format in self.getTargetFormatList()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 271, in getTargetFormatList
return map(lambda x: x[1], self.getTargetFormatItemList())
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 255, in getTargetFormatItemList
return cached_getTargetFormatItemList(self.getBaseContentType())
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
value = CachingMethod.factories[self.cache_factory](
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 109, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 236, in cached_getTargetFormatItemList
raise ConversionError("OOoDocument: can not get list of allowed acceptable"
ConversionError: OOoDocument: can not get list of allowed acceptable formats for conversion: 404 (oood accepts either 1-4 arguments: filename [, data [, meta [, extension]] or only one argument - a dictionary)
ERROR: test_CategoryTool_importCategoryFileXLS (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 218, in test_CategoryTool_importCategoryFileXLS
self.portal.portal_categories.CategoryTool_importCategoryFile(
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 773, in _exec
return PythonScript_exec(self, *args)
File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
result = f(*args, **kw)
File "Script (Python)", line 81, in CategoryTool_importCategoryFile
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 359, in convert
if not self.isTargetFormatAllowed(format):
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 280, in isTargetFormatAllowed
return format in self.getTargetFormatList()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 271, in getTargetFormatList
return map(lambda x: x[1], self.getTargetFormatItemList())
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 255, in getTargetFormatItemList
return cached_getTargetFormatItemList(self.getBaseContentType())
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
value = CachingMethod.factories[self.cache_factory](
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 109, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 236, in cached_getTargetFormatItemList
raise ConversionError("OOoDocument: can not get list of allowed acceptable"
ConversionError: OOoDocument: can not get list of allowed acceptable formats for conversion: 404 (oood accepts either 1-4 arguments: filename [, data [, meta [, extension]] or only one argument - a dictionary)
More information about the Erp5-report
mailing list