I was also receiving this error while adding prc/mobi files and using the mobidedrm plugin, but after updating the plugin to the latest version of mobidedrm, 0.10, the error no longer occurs and calibre is again able to read the metadata successfully.