Hi Ben,
I think the RDSR may be malformed or non-standard, which could be causing the errors. Does the RDSR include the attribute “SERIAL NUMBER”? And is that TextValue?
On the other hand, parts of OpenREM expect these values to be present, and it isn’t currently implemented to safely attempt to retrieve them with a fallback to None.
I’ve recently fixed similar issues in my own version. I can share the code if that would help, but you’ll likely need to replace the script appropriately — it would still require some work on your side; and without guarantee.
Alternatively, do you have an anonymised RDSR you could share so I can try to reproduce and fix the issue?
Best wishes,
Orso Pusterla