Hi Alexey,
It's just one merged chunk that's giving me the problem, all the others have worked fine. There are 36,594 cameras in the chunk and there are six of each camera. The chunk is now appended into another project and same issue, so it's something to do with this specific chunk.
Console:
2020-02-03 08:24:05 start
2020-02-03 08:24:06 Traceback (most recent call last):
2020-02-03 08:24:06 File "C:/Users/Rory/Documents/Agisoft/remove_duplicates.py", line 8, in <module>
2020-02-03 08:24:06 if camera.photo.path in paths:
2020-02-03 08:24:06 AttributeError: 'NoneType' object has no attribute 'path'
2020-02-03 08:24:06 Error: 'NoneType' object has no attribute 'path'