Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Error enrolling #6

@Strumwulf

Description

@Strumwulf

When running the enrollProfile.py I'm getting the following error.

pi@raspberrypi:~/MS_spkr_recog $ python3 Identification/EnrollProfile.py ----------------------------------------- David "/home/pi/MS_spkr_recog/spkr_profile" true
ERROR:root:Error enrolling profile.
Traceback (most recent call last):
File "Identification/EnrollProfile.py", line 70, in
enroll_profile(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4])
File "Identification/EnrollProfile.py", line 51, in enroll_profile
force_short_audio.lower() == "true")
File "/home/pi/MS_spkr_recog/Identification/IdentificationServiceHttpClientHelper.py", line 226, in enroll_profile
with open(file_path, 'rb') as body:
IsADirectoryError: [Errno 21] Is a directory: '/home/pi/MS_spkr_recog/spkr_profile'

Is the error due to the way the command line arguments are written, or is it something else. the dashes in the command line represent my subscription key.

Thank you,

David Stanley

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions