Skip to content

Missing Files #1

@jjschutz

Description

@jjschutz

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions