A readonly library will definitely cause problems. I suggest you simply create a new library folder and re-import the books from the old library by right clicking the add books button and choosing add book from sub-folder, one per folder.
Start calibre from a command prompt as
calibre --with-library "C:/path/to/new/library/folder"
|