Comments (5)
This will be fixed on next release.
from python-translate.
commit: 273983a
buildURL: Build Status, Sponge
status: failed
Test output
args = (parent: "projects/python-docs-samples-tests/locations/us-central1" source_language_code: "en" target_language_codes: ... glossary: "projects/python-docs-samples-tests/locations/us-central1/glossaries/DO_NOT_DELETE_TEST_GLOSSARY" } } ,) kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/locations/us-central1'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.38.0 gax/1.30.0 gapic/3.2.0')]}@six.wraps(callable_) def error_remapped_callable(*args, **kwargs): try:
return callable_(*args, **kwargs)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:67:
self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f8574076a90>
request = parent: "projects/python-docs-samples-tests/locations/us-central1"
source_language_code: "en"
target_language_codes: "...
glossary: "projects/python-docs-samples-tests/locations/us-central1/glossaries/DO_NOT_DELETE_TEST_GLOSSARY"
}
}timeout = None
metadata = [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/locations/us-central1'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.38.0 gax/1.30.0 gapic/3.2.0')]
credentials = None, wait_for_ready = None, compression = Nonedef __call__(self, request, timeout=None, metadata=None, credentials=None, wait_for_ready=None, compression=None): state, call, = self._blocking(request, timeout, metadata, credentials, wait_for_ready, compression)
return _end_unary_response_blocking(state, call, False, None)
.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py:946:
state = <grpc._channel._RPCState object at 0x7f8574083040>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f8574081680>
with_call = False, deadline = Nonedef _end_unary_response_blocking(state, call, with_call, deadline): if state.code is grpc.StatusCode.OK: if with_call: rendezvous = _MultiThreadedRendezvous(state, call, None, deadline) return state.response, rendezvous else: return state.response else:
raise _InactiveRpcError(state)
E grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E status = StatusCode.FAILED_PRECONDITION
E details = "The model is deprecated and no longer servable, please try to use other models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'."
E debug_error_string = "{"created":"@1623929074.965843221","description":"Error received from peer ipv4:74.125.195.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"The model is deprecated and no longer servable, please try to use other models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'.","grpc_status":9}"
E >.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py:849: _InactiveRpcError
The above exception was the direct cause of the following exception:
capsys = <_pytest.capture.CaptureFixture object at 0x7f8575985610>
bucket = <Bucket: test-bucket-for-glossary-978de1e2-cf5e-11eb-bbd5-42010a8a0007>def test_batch_translate_text_with_glossary_and_model(capsys, bucket):
translate_v3_batch_translate_text_with_glossary_and_model.batch_translate_text_with_glossary_and_model(
"gs://cloud-samples-data/translation/text_with_custom_model_and_glossary.txt", "gs://{}/translation/BATCH_TRANSLATION_GLOS_MODEL_OUTPUT/".format(bucket.name), PROJECT_ID, MODEL_ID, GLOSSARY_ID, )
translate_v3_batch_translate_text_with_glossary_and_model_test.py:41:
translate_v3_batch_translate_text_with_glossary_and_model.py:57: in batch_translate_text_with_glossary_and_model
operation = client.batch_translate_text(
../../google/cloud/translate_v3/services/translation_service/client.py:823: in batch_translate_text
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:69: in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
value = None
from_value = <_InactiveRpcError of RPC that terminated with:
status = StatusCode.FAILED_PRECONDITION
details = "The model is depr...models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'.","grpc_status":9}"???
E google.api_core.exceptions.FailedPrecondition: 400 The model is deprecated and no longer servable, please try to use other models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'.:3: FailedPrecondition
from python-translate.
flaky-bot commented on July 2, 2024
commit: 7ef5f04
buildURL: Build Status, Sponge
status: failedTest output
args = (parent: "projects/python-docs-samples-tests/locations/us-central1" source_language_code: "en" target_language_codes: ... glossary: "projects/python-docs-samples-tests/locations/us-central1/glossaries/DO_NOT_DELETE_TEST_GLOSSARY" } } ,) kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/locations/us-central1'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.0 gax/1.30.0 gapic/3.2.0')]}@six.wraps(callable_) def error_remapped_callable(*args, **kwargs): try:
return callable_(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:67:
self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7fad9e79d198>
request = parent: "projects/python-docs-samples-tests/locations/us-central1"
source_language_code: "en"
target_language_codes: "...
glossary: "projects/python-docs-samples-tests/locations/us-central1/glossaries/DO_NOT_DELETE_TEST_GLOSSARY"
}
}timeout = None
metadata = [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/locations/us-central1'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.0 gax/1.30.0 gapic/3.2.0')]
credentials = None, wait_for_ready = None, compression = Nonedef __call__(self, request, timeout=None, metadata=None, credentials=None, wait_for_ready=None, compression=None): state, call, = self._blocking(request, timeout, metadata, credentials, wait_for_ready, compression)
return _end_unary_response_blocking(state, call, False, None)
.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:946:
state = <grpc._channel._RPCState object at 0x7fad9e79d4a8>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fad9e7963c8>
with_call = False, deadline = Nonedef _end_unary_response_blocking(state, call, with_call, deadline): if state.code is grpc.StatusCode.OK: if with_call: rendezvous = _MultiThreadedRendezvous(state, call, None, deadline) return state.response, rendezvous else: return state.response else:
raise _InactiveRpcError(state)
E grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E status = StatusCode.FAILED_PRECONDITION
E details = "The model is deprecated and no longer servable, please try to use other models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'."
E debug_error_string = "{"created":"@1624093766.041845408","description":"Error received from peer ipv4:142.250.99.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"The model is deprecated and no longer servable, please try to use other models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'.","grpc_status":9}"
E >.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:849: _InactiveRpcError
The above exception was the direct cause of the following exception:
capsys = <_pytest.capture.CaptureFixture object at 0x7fad9efe9828>
bucket = <Bucket: test-bucket-for-glossary-0af5c200-d0de-11eb-8225-42010a8a00b8>def test_batch_translate_text_with_glossary_and_model(capsys, bucket): translate_v3_batch_translate_text_with_glossary_and_model.batch_translate_text_with_glossary_and_model( "gs://cloud-samples-data/translation/text_with_custom_model_and_glossary.txt", "gs://{}/translation/BATCH_TRANSLATION_GLOS_MODEL_OUTPUT/".format(bucket.name), PROJECT_ID, MODEL_ID,
GLOSSARY_ID,
)
translate_v3_batch_translate_text_with_glossary_and_model_test.py:46:
translate_v3_batch_translate_text_with_glossary_and_model.py:65: in batch_translate_text_with_glossary_and_model
"glossaries": glossaries,
../../google/cloud/translate_v3/services/translation_service/client.py:823: in batch_translate_text
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:69: in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
value = None
from_value = <_InactiveRpcError of RPC that terminated with:
status = StatusCode.FAILED_PRECONDITION
details = "The model is depr...models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'.","grpc_status":9}"???
E google.api_core.exceptions.FailedPrecondition: 400 The model is deprecated and no longer servable, please try to use other models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'.:3: FailedPrecondition
from python-translate.
flaky-bot commented on July 2, 2024
commit: 4916991
buildURL: Build Status, Sponge
status: failedTest output
args = (parent: "projects/python-docs-samples-tests/locations/us-central1" source_language_code: "en" target_language_codes: ... glossary: "projects/python-docs-samples-tests/locations/us-central1/glossaries/DO_NOT_DELETE_TEST_GLOSSARY" } } ,) kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/locations/us-central1'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.0 gax/1.30.0 gapic/3.2.0')]}@six.wraps(callable_) def error_remapped_callable(*args, **kwargs): try:
return callable_(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:67:
self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f1ea056a128>
request = parent: "projects/python-docs-samples-tests/locations/us-central1"
source_language_code: "en"
target_language_codes: "...
glossary: "projects/python-docs-samples-tests/locations/us-central1/glossaries/DO_NOT_DELETE_TEST_GLOSSARY"
}
}timeout = None
metadata = [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/locations/us-central1'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.0 gax/1.30.0 gapic/3.2.0')]
credentials = None, wait_for_ready = None, compression = Nonedef __call__(self, request, timeout=None, metadata=None, credentials=None, wait_for_ready=None, compression=None): state, call, = self._blocking(request, timeout, metadata, credentials, wait_for_ready, compression)
return _end_unary_response_blocking(state, call, False, None)
.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:946:
state = <grpc._channel._RPCState object at 0x7f1ea056a438>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f1ea05670c8>
with_call = False, deadline = Nonedef _end_unary_response_blocking(state, call, with_call, deadline): if state.code is grpc.StatusCode.OK: if with_call: rendezvous = _MultiThreadedRendezvous(state, call, None, deadline) return state.response, rendezvous else: return state.response else:
raise _InactiveRpcError(state)
E grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E status = StatusCode.FAILED_PRECONDITION
E details = "The model is deprecated and no longer servable, please try to use other models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'."
E debug_error_string = "{"created":"@1624180464.408265844","description":"Error received from peer ipv4:74.125.195.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"The model is deprecated and no longer servable, please try to use other models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'.","grpc_status":9}"
E >.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:849: _InactiveRpcError
The above exception was the direct cause of the following exception:
capsys = <_pytest.capture.CaptureFixture object at 0x7f1ea0d9c048>
bucket = <Bucket: test-bucket-for-glossary-e73e8106-d1a7-11eb-9992-42010a8a00ad>def test_batch_translate_text_with_glossary_and_model(capsys, bucket): translate_v3_batch_translate_text_with_glossary_and_model.batch_translate_text_with_glossary_and_model( "gs://cloud-samples-data/translation/text_with_custom_model_and_glossary.txt", "gs://{}/translation/BATCH_TRANSLATION_GLOS_MODEL_OUTPUT/".format(bucket.name), PROJECT_ID, MODEL_ID,
GLOSSARY_ID,
)
translate_v3_batch_translate_text_with_glossary_and_model_test.py:46:
translate_v3_batch_translate_text_with_glossary_and_model.py:65: in batch_translate_text_with_glossary_and_model
"glossaries": glossaries,
../../google/cloud/translate_v3/services/translation_service/client.py:823: in batch_translate_text
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:69: in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
value = None
from_value = <_InactiveRpcError of RPC that terminated with:
status = StatusCode.FAILED_PRECONDITION
details = "The model is depr...models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'.","grpc_status":9}"???
E google.api_core.exceptions.FailedPrecondition: 400 The model is deprecated and no longer servable, please try to use other models.; Model name: 'projects/1012616486416/locations/us-central1/models/TRL3128559826197068699'.:3: FailedPrecondition
from python-translate.
munkhuushmgl commented on July 2, 2024
Fixed by #178
from python-translate.
Related Issues (20)
- Multiple translations for ambiguously gendered inputs HOT 2
- Weird text encoding returned in v2 translation HOT 5
- Google Cloud Translation - Glossaries - Failed to Initialize Glossary HOT 2
- Your .repo-metadata.json file has a problem 🤒
- tests.system.TestTranslate: test_detect_language failed HOT 2
- Translate APIのドキュメント翻訳機能をPythonを使って呼び出しをした際に、登録した辞書の内容が反映されない。 HOT 1
- use unittest.mock or mock consistently
- Warning: a recent release failed HOT 1
- translate_v3beta1_translate_document.py fails to save translation to a local file
- tests.system.TestTranslate: test_detect_language failed
- Configuration error for release-please
- tests.unit.v2.test__http.TestConnection: test_build_api_url_no_extra_query_params failed HOT 7
- tests.unit.v2.test__http.TestConnection: test_build_api_url_w_custom_endpoint failed HOT 2
- tests.unit.v2.test__http.TestConnection: test_build_api_url_w_extra_query_params failed HOT 4
- tests.unit.v2.test__http.TestConnection: test_build_api_url_w_extra_query_params_tuple failed HOT 3
- tests.unit.v2.test__http.TestConnection: test_extra_headers failed HOT 2
- tests.unit.v2.test_client.TestClient: many tests failed HOT 3
- tests.unit.v2.test__http.TestConnection: test_build_api_url_w_extra_query_params_tuple failed HOT 5
- tests.unit.v2.test__http.TestConnection: test_extra_headers failed HOT 5
- tests.unit.v2.test_client.TestClient: many tests failed HOT 5
Recommend Projects
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
TensorFlow
An Open Source Machine Learning Framework for Everyone
Django
The Web framework for perfectionists with deadlines.
Laravel
A PHP framework for web artisans
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
web
Some thing interesting about web. New door for the world.
server
A server is a program made to process requests and deliver data to clients.
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Visualization
Some thing interesting about visualization, use data art
Game
Some thing interesting about game, make everyone happy.
Recommend Org
We are working to build community through open source technology. NB: members must have two-factor auth.
Microsoft
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba
Alibaba Open Source for everyone
D3
Data-Driven Documents codes.
Tencent
China tencent open source team.
Jobs
Jooble
from python-translate.