Found the error! Previously, for my sources I was using:
bld.path.find_resource(file_name) for file_name in
One of the file paths did not exist, so the resource became None. Since I was using absolute file paths, I solved by changing to:
file_name for file_name in