I've tried to review program installed from PPA and got same error.
I've also found this bugreport: Cannot review software updated from PPA
A notable qoute from an Ubuntu Bug Squad volunteer:
I have tried rating another software (indicator-weather) from a PPA and I have got the same stacktrace, so we can make this bug a bit more specific, like Reviewing software from PPA doesn't work and doesn't tell the user that he can not rate software from PPA's, only from the official repos.
The bug is currently marked as invalid as it was filed against an Ubuntu release that has reached the end of its life (EOL). It looks like nobody picked it up, but there is the possibility that the behavior was changed in the meantime in other bug reports (please edit or provide your own answer if you have more information).