Skip to content
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

strange crash when exporting pbcore #33

Open
NumerousHats opened this issue Jan 13, 2023 · 0 comments
Open

strange crash when exporting pbcore #33

NumerousHats opened this issue Jan 13, 2023 · 0 comments
Labels

Comments

@NumerousHats
Copy link
Member

Traceback (most recent call last):
File "/home/andrec/.local/pipx/venvs/autoBWF/lib/python3.8/site-packages/autoBWF/autoBWF.py", line 704, in export_metadata
write_pbcore(vals["outfile"], md, self.filename, ohms_file, vals["audacity_button"])
File "/home/andrec/.local/pipx/venvs/autoBWF/lib/python3.8/site-packages/autoBWF/bwf2pbcore.py", line 156, in write_pbcore
pbcore = generate_pbcore(bwf_filename, metadata, ohms_root)
File "/home/andrec/.local/pipx/venvs/autoBWF/lib/python3.8/site-packages/autoBWF/bwf2pbcore.py", line 99, in generate_pbcore
add_multivalue_child(pbcore_root, "pbcoreSubject", metadata["names"], {"subjectType": "name"})
File "/home/andrec/.local/pipx/venvs/autoBWF/lib/python3.8/site-packages/autoBWF/bwf2pbcore.py", line 58, in add_multivalue_child
child.set(attribute, attributes[attribute])
AttributeError: 'NoneType' object has no attribute 'set'

Might be a bit hard to reproduce...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant