pombreda / python-xmp-toolkit

Automatically exported from code.google.com/p/python-xmp-toolkit
Other
0 stars 1 forks source link

Test failures: test_can_put_xmp, test_exempi_bad_combinations #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd test
2. python test_all.py

What is the expected output? What do you see instead?

test_can_put_xmp (test_files.XMPFilesTestCase) ... XMPFiles::GetXMP - No open 
file
ERROR
test_close_file (test_files.XMPFilesTestCase) ... ok
test_exempi_bad_combinations (test_files.XMPFilesTestCase) ... XMPFiles::GetXMP 
- No open file
XMPFiles::GetXMP - No open file
XMPFiles::GetXMP - No open file
XMPFiles::GetXMP - No open file
ERROR
test_get_xmp (test_files.XMPFilesTestCase) ... XMPFiles::GetXMP - No open file
.tempsamples/BlueSquare.mov
open_usesmarthandler
1297045024
XMPFiles::GetXMP - No open file
ok
test_init_del (test_files.XMPFilesTestCase) ... ok
test_open_file (test_files.XMPFilesTestCase) ... ok
test_put_xmp (test_files.XMPFilesTestCase) ... ok
test_test_files (test_files.XMPFilesTestCase) ... ok
test_write_in_readonly (test_files.XMPFilesTestCase) ... 
.tempsamples/BlueSquare.mov
open_limitscanning
1297045024
XMPFiles::PutXMP - Not open for update
ok
test_clone (test_core_unit.XMPMetaTestCase) ... ok
test_does_property_exist (test_core_unit.XMPMetaTestCase) ... ok
test_get_localized_text (test_core_unit.XMPMetaTestCase) ... ok
test_get_xmp (test_core_unit.XMPMetaTestCase) ... ok
test_init_del (test_core_unit.XMPMetaTestCase) ... ok
test_parse_str (test_core_unit.XMPMetaTestCase) ... ok
test_serialize_and_format (test_core_unit.XMPMetaTestCase) ... Inconsistent 
options for read-only packet
Inconsistent options for non-packet serialize
Inconsistent options for exact size serialize
ok
test_serialize_str (test_core_unit.XMPMetaTestCase) ... Inconsistent options 
for read-only packet
Inconsistent options for non-packet serialize
Inconsistent options for exact size serialize
ok
test_serialize_unicode (test_core_unit.XMPMetaTestCase) ... Inconsistent 
options for read-only packet
Inconsistent options for non-packet serialize
Inconsistent options for exact size serialize
ok
test_shorthand_rdf (test_core_unit.XMPMetaTestCase) ... ok
test_test_files (test_core_unit.XMPMetaTestCase) ... ok
test_text_property_450 (test_core_unit.XMPMetaTestCase) ... ok
test_text_property_450_file (test_core_unit.XMPMetaTestCase) ... 
XMPFiles::GetXMP - No open file
XMPFiles::GetXMP - No open file
ok
test_file_to_dict (test_core_unit.UtilsTestCase) ... ok
test_file_to_dict_nofile (test_core_unit.UtilsTestCase) ... ok
test_file_to_dict_noxmp (test_core_unit.UtilsTestCase) ... ok
test_object_to_dict (test_core_unit.UtilsTestCase) ... ok
test_object_to_dict_noxmp (test_core_unit.UtilsTestCase) ... ok
test_full (__main__.LibXMPTestCase) ... ok

======================================================================
ERROR: test_can_put_xmp (test_files.XMPFilesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-xmp-toolkit-1.0.2/test/test_files.py", line 122, in test_can_put_xmp
    xmp = xmpfile.get_xmp()
  File "/tmp/python-xmp-toolkit-1.0.2/libxmp/files.py", line 138, in get_xmp
    _check_for_error()
  File "/tmp/python-xmp-toolkit-1.0.2/libxmp/__init__.py", line 105, in _check_for_error
    raise XMPError( _XMP_ERROR_CODES[err] )
XMPError: XMPErr_BadObject

======================================================================
ERROR: test_exempi_bad_combinations (test_files.XMPFilesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-xmp-toolkit-1.0.2/test/test_files.py", line 150, in test_exempi_bad_combinations
    xmpfile.get_xmp()
  File "/tmp/python-xmp-toolkit-1.0.2/libxmp/files.py", line 138, in get_xmp
    _check_for_error()
  File "/tmp/python-xmp-toolkit-1.0.2/libxmp/__init__.py", line 105, in _check_for_error
    raise XMPError( _XMP_ERROR_CODES[err] )
XMPError: XMPErr_BadObject

----------------------------------------------------------------------
Ran 28 tests in 1.096s

FAILED (errors=2)

What version of the product are you using? On what operating system?

python-xmp-toolkit 1.0.2, Python 2.7, exempi 2.1.1, Debian unstable

Original issue reported on code.google.com by jwilk@jwilk.net on 27 Jan 2012 at 11:24