-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when opening aaf file #97
Comments
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! |
The updated data model is now in the dev branch, this should fix this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: