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

Missing Files #1

Open
jjschutz opened this issue Dec 27, 2022 · 0 comments
Open

Missing Files #1

jjschutz opened this issue Dec 27, 2022 · 0 comments

Comments

@jjschutz
Copy link

Hi - your tool at https://sites.google.com/view/voiceprint-sec appears to be down right now so I've installed from source.

There appear to be some files missing, perhaps a file called 'backend.py' or folder called 'backend'? This is the error:

File "app.py", line 21, in
from backend.read_word_metric import create_score_table, create_baseline_list, create_element_table, count_phone_sequence, search_f1, search_f2, search_f3, get_score
ModuleNotFoundError: No module named 'backend'

Also, to get this far I had to make two other changes:

  1. pip install markupsafe==2.0.1
    due to error: ImportError: cannot import name 'soft_unicode' from 'markupsafe'

diff --git a/forms.py b/forms.py
index f323256..44f430a 100644
--- a/forms.py
+++ b/forms.py
@@ -10,7 +10,7 @@ from flask_wtf import FlaskForm
from flask_wtf.file import FileField, FileRequired, FileAllowed
from wtforms import StringField, PasswordField, BooleanField, IntegerField,
TextAreaField, SubmitField, MultipleFileField
-from wtforms.fields.core import SelectField
+from wtforms.fields import SelectField
from wtforms.validators import DataRequired, Length, ValidationError, Email

which was due to the error: ImportError: cannot import name 'SelectField' from 'wtforms.fields.core'

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

1 participant