For the benefit of anyone else reading this in future, the “id” in the __plugin__.py file was an invalid GUID.
I’ll see if I can display a more useful error message in future. You can usually get a better idea of what’s going on by reading the log file, which is saved to “%AppData%\McNeel\Rhinoceros\7.0\logs”.