GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Client library incorrectly returns error when FLAC is used with long-running-recognize · Issue #3285 · googleapis/google-cloud-python

Client library incorrectly returns error when FLAC is used with long-running-recognize #3285

New issue
Copy link
New issue
Copy link
Closed
Closed
Client library incorrectly returns error when FLAC is used with long-running-recognize#3285
Copy link
Assignees
lukesneeringer
Labels
api: speechIssues related to the Speech-to-Text API.

Description

@pbogle
pbogle
opened on Apr 11, 2017
Issue body actions

The client library incorrectly returns an error when anything other than LINEAR16 is used for a long-running recognize request:

https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/speech/google/cloud/speech/sample.py#L173

The v1 server support all encodings so this breaks functionality.

In general, the client library should almost never do it's own validation; it should always delegate to the server to be sure that that behavior and error messages are consistent across APIs.

Activity

  1. dhermes commented on Apr 11, 2017

    @dhermes
    dhermes
    on Apr 11, 2017
    Contributor
    More actions

    In general, the client library should almost never do it's own validation; it should always delegate to the server to be sure that that behavior and error messages are consistent across APIs.

    I am +(a million) on this.

  2. dhermes
    added
    api: speechIssues related to the Speech-to-Text API.
    on Apr 11, 2017
  3. lukesneeringer
    added a commit that references this issue on Apr 12, 2017

    Do not force LRO to be FLAC only in Speech.

    This issue will close once commit 364af77 is merged into the 'master' branch.
    364af77
  4. lukesneeringer
    closed this as completedin #3291on Apr 12, 2017
  5. lukesneeringer
    added a commit that references this issue on Apr 12, 2017

    Do not force LRO to be LINEAR16 only in Speech. (#3291)

    This issue will close once commit f7d74ca is merged into the 'main' branch.
    f7d74ca
  6. richkadel
    added a commit that references this issue on May 6, 2017

    Do not force LRO to be LINEAR16 only in Speech. (googleapis#3291)

    This issue will close once commit 2af68e3 is merged into the 'master' branch.
    2af68e3
  7. JustinBeckwith
    assigned
    lukesneeringer
    on Feb 1, 2021
  8. atulep
    added a commit that references this issue on Apr 3, 2023

    Do not force LRO to be LINEAR16 only in Speech. (#3291)

    This issue will close once commit 3b3c771 is merged into the 'main' branch.
    3b3c771
  9. atulep
    added a commit that references this issue on Apr 18, 2023

    Do not force LRO to be LINEAR16 only in Speech. (#3291)

    This issue will close once commit 07284cd is merged into the 'main' branch.
    07284cd
  10. parthea
    added 2 commits that reference this issue on Oct 21, 2023

    move monitoring samples from python-docs-samples (#51)

    d95f563

    Do not force LRO to be LINEAR16 only in Speech. (#3291)

    6343af2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lukesneeringer
    lukesneeringer

Labels

api: speechIssues related to the Speech-to-Text API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.