Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mysql encoding? #14

Open
MrEko opened this issue Jan 3, 2020 · 1 comment
Open

Mysql encoding? #14

MrEko opened this issue Jan 3, 2020 · 1 comment

Comments

@MrEko
Copy link

MrEko commented Jan 3, 2020

I'm getting:
File "d:\Users\ekondrat\meu\dejavu-master\dejavu-master\dejavu\database.py", line 139, in return_matches
yield (fingerprint.song_id, fingerprint.offset - mapper[fingerprint.hash])
KeyError: '+4aOiJtNIKO+ow==\n'

I tried with both pymysql and mysqlconnector.

Which encoding should I use?

@gerasoul
Copy link

gerasoul commented Mar 9, 2020

mysql works for fingerprinting but not for prediction. needs to be fixed i think. use sqlite it works well.

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

No branches or pull requests

2 participants