Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Intel(R) Iris(R) Plus Graphics Intel 4.5.0 - Build 220.127.116.1181
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: rB84da05a8b806
Short description of error
When using the as_module function on a script and running register blender throws an error:
Exact steps for others to reproduce the error
Run the two commands specified in the text file to get the module and register it. I modified the Simple Operator template to make it as simple as possible.
This worked for me in 2.92 for registering and unregistering generated addons dynamically. While it still seems to register in 2.93 operators throw this error. They do appear to be registered when you use them in buttons for example but the property ('test' in the example file) isn't found.