I’ve had a problem for a while where when I open the UI I get a require.js error. I was waiting for it to just go away with an update but it hasn’t, so I took a look at the console output.
Turns out that the compressor is having trouble parsing something.
That’s just seriously messed up. It appears the json object pertaining to the ratings is corrupted (missing a double-quote in there)
Really dunno how that could’ve possibly happened.
It’s possible to repair it, but you’ll need to run a sqlite command. On windows you’ll need a tool to execute it, any sqlite db editor will work. Personally I use the SQLite Manager extension for firefox but there are other options.
The required SQL is: UPDATE Series SET Ratings = "{}"
This will empty those properties, but running Update Library on the UI afterwards will fetch everything again from trakt.
You might wanna backup the nzbdrone.db (and .db-shm .db-wal too if they exist) first.
Lemme know if it worked, and if you need more help just ask.
I tried to set the Actors field to {} hoping that it would re-fetch that field as well and got: http://pastebin.com/Z1Vs2WPW
Edit: Tried setting the Actors field to [] hoping that it might be strictly an array and it was! Had to copy over the CoverImages from my backup but now everything works. Thanks for the help!