You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "aaf_test.py", line 9, in
with aaf2.open(sys.argv[1], 'r') as f:
File "/Volumes/dl-tests/lucid/bl-pulls/aaf_test/pyaaf2/aaf2/file.py", line 200, in init
self.metadict.read_properties()
File "/Volumes/dl-tests/lucid/bl-pulls/aaf_test/pyaaf2/aaf2/metadict.py", line 470, in read_properties
self.typedefs_by_name[typedef.type_name] = typedef
AttributeError: 'AAFObject' object has no attribute 'type_name'
including the code lines 470 and 471 in "try: except:" block seem to bring a quick fix but might be worth investigating.
The aaf in question attached, it is made with the recent Avid 2021.9 and comes back just fine: TestMarkers.aaf.zip
Thank you!
The text was updated successfully, but these errors were encountered:
talosh
changed the title
Error with parsing aaf
Error with opening aaf file
Oct 7, 2021
talosh
changed the title
Error with opening aaf file
Error when opening aaf file
Oct 7, 2021
Looks like a new Type Definition got added ,something called a TypeDefinitionGenericCharacter. First time I've seen that, looks like it was added the SDK in 2018 on that avid2018 branch. I'll add it when I get a chance. Thanks for reporting!
Hi guys, having this error when parsing AAF:
Traceback (most recent call last):
File "aaf_test.py", line 9, in
with aaf2.open(sys.argv[1], 'r') as f:
File "/Volumes/dl-tests/lucid/bl-pulls/aaf_test/pyaaf2/aaf2/file.py", line 200, in init
self.metadict.read_properties()
File "/Volumes/dl-tests/lucid/bl-pulls/aaf_test/pyaaf2/aaf2/metadict.py", line 470, in read_properties
self.typedefs_by_name[typedef.type_name] = typedef
AttributeError: 'AAFObject' object has no attribute 'type_name'
including the code lines 470 and 471 in "try: except:" block seem to bring a quick fix but might be worth investigating.
The aaf in question attached, it is made with the recent Avid 2021.9 and comes back just fine:
TestMarkers.aaf.zip
Thank you!
The text was updated successfully, but these errors were encountered: