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.

Opearation Error: SpeakerInvalid #11

@jeongtaebang

Description

@jeongtaebang
ERROR:root:Error polling the operation status.
ERROR:root:Error identifying file.
Traceback (most recent call last):
  File "data_processor.py", line 239, in <module>
    azure_analysis(se_times, fs1, guid, profiles, speaker_profile)
  File "data_processor.py", line 174, in azure_analysis
    resp_id = identify_file(AZURE_KEY, output_name, 'true', guid)
  File "somepath/CSRP/Identification/IdentifyFile.py", line 50, in identify_file
    force_short_audio.lower() == "true")
  File "somepath/CSRP/Identification/IdentificationServiceHttpClientHelper.py", line 288, in identify_file
    self._poll_operation(operation_url))
  File "somepath/CSRP/Identification/IdentificationServiceHttpClientHelper.py", line 327, in _poll_operation
    operation_response[self._OPERATION_MESSAGE_FIELD_NAME])
Exception: Operation Error: SpeakerInvalid

I am getting the above error when I submit an identify_file request to the server.

I think I am seeing the following case:

Case 4 - failed
HTTP/1.1 200 Ok
Content-Type: application/json
{
  "status": "failed",
  "createdDateTime":  "2015-09-30T01:28:23Z"
  "lastActionDateTime": "2015-09-30T01:35:23Z"
  "message":  "Some failure info"
}

Can I get some more detailed reasons on what the SpeakerInvalid error message means and what are some things I can do to make the file I upload go through?

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