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

sampleRate is not a field: undefined #343

Closed
muhammadsamir11 opened this issue Apr 11, 2017 · 2 comments
Closed

sampleRate is not a field: undefined #343

muhammadsamir11 opened this issue Apr 11, 2017 · 2 comments
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@muhammadsamir11
Copy link

I always getting this error

lubuntu 16.04

google.cloud.speech.v1.RecognitionConfig#sampleRate is not a field: undefined

@jaumard
Copy link

jaumard commented Apr 29, 2017

Same for me on raspberry pi with minibian distrib
For log:

Error: .google.cloud.speech.v1.RecognitionConfig#sampleRate is not a field: undefined
       at MessagePrototype.set (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:2490:35)
       at MessagePrototype.set (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:2483:38)
       at Message (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:2411:34)
       at Element.ProtoBuf.Reflect.ElementPrototype.verifyValue (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:1925:28)
       at Field.ProtoBuf.Reflect.FieldPrototype.verifyValue (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:3499:33)
       at MessagePrototype.set (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:2493:59)
       at MessagePrototype.set (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:2483:38)
       at Message (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:2411:34)
       at Element.ProtoBuf.Reflect.ElementPrototype.verifyValue (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:1925:28)
       at Field.ProtoBuf.Reflect.FieldPrototype.verifyValue (/var/www/sonus/node_modules/protobufjs/dist/protobuf.js:3499:33)

Node v7.9.0

@jmdobry
Copy link
Member

jmdobry commented May 2, 2017

The sampleRate field was recently renamed to sampleRateHertz. That's annoying I know, but the @google-cloud/speech client library has not yet reached 1.0.0, so make sure to check the changelog every time you upgrade. Here's the release that contained the breaking change.

@jmdobry jmdobry closed this as completed May 2, 2017
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Apr 7, 2020
telpirion pushed a commit that referenced this issue Nov 9, 2022
telpirion pushed a commit that referenced this issue Nov 9, 2022
ace-n pushed a commit that referenced this issue Nov 11, 2022
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-automl/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
ace-n pushed a commit that referenced this issue Nov 11, 2022
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-automl/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
ace-n pushed a commit that referenced this issue Nov 14, 2022
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-automl/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
ace-n pushed a commit that referenced this issue Nov 15, 2022
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-automl/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
ace-n pushed a commit that referenced this issue Nov 15, 2022
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-automl/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
ace-n pushed a commit that referenced this issue Nov 17, 2022
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-automl/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
ace-n pushed a commit that referenced this issue Nov 17, 2022
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-automl/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
ahrarmonsur pushed a commit that referenced this issue Nov 17, 2022
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-automl/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

4 participants