Skip to content
This repository has been archived by the owner on Jul 17, 2018. It is now read-only.

rating_score and rating_votes return zero after moving database #6

Open
mdgart opened this issue Feb 6, 2010 · 1 comment
Open

Comments

@mdgart
Copy link

mdgart commented Feb 6, 2010

I have a weird problem when i export my local database to the server (and vice versa)
I still have the votes number and rating.get_ratings() working, but rating_score, rating_votes, rating.get_real_percent etc return all zero! Can you explane this? Is this related with the key field or with the ip?

@dcramer
Copy link
Owner

dcramer commented Feb 8, 2010

It's possible that the md5 hash which is used to calculate the key differs from the local and remote server I suppose. You could test this yourself by doing python -c "import hashlib; print hashlib.md5('test').hexdigest()"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants