Slackbot
04/19/2023, 1:13 PMNico Großkreuz
04/19/2023, 1:35 PMbentoml.export_bento('test_service:latest',
'test_bucket',
protocol='s3', subpath='bentos',
user='test_user', passwd='test_pw')
fs.opener.errors.OpenerError: invalid bucket name in '<s3://test_user>:test_pw'
For some reason it seems like the bucket and the subpath get removed from the url and instead only the user and passwd staysAaron Pham
04/19/2023, 5:51 PMpip install 'bentoml[aws]'
?Aaron Pham
04/19/2023, 5:52 PMNico Großkreuz
04/20/2023, 7:04 AMpip install 'bentoml[aws]'
worked thanksNico Großkreuz
04/20/2023, 7:16 AMChaoyu
04/21/2023, 3:37 AMbentoml.export_bento('test_service:latest',
'<s3://test_bucket>',
protocol='s3', subpath='bentos',
user='test_user', passwd='test_pw')
you will need to specify a s3://
pathChaoyu
04/21/2023, 3:37 AMNico Großkreuz
04/21/2023, 6:53 AMreturn bento.export(
File "/home/nico_linux/miniforge3/envs/parrot-main/lib/python3.9/site-packages/bentoml/_internal/exportable.py", line 203, in export
raise ValueError(
ValueError: An FS URL was passed as the output path; all additional information should be passed as part of the URL.
Chaoyu
04/21/2023, 6:59 AMNico Großkreuz
04/21/2023, 7:00 AMimport bentoml
was missingNico Großkreuz
04/21/2023, 7:01 AMNico Großkreuz
04/21/2023, 7:54 AMNico Großkreuz
04/25/2023, 6:39 AMChaoyu
04/25/2023, 6:43 AMNico Großkreuz
04/25/2023, 6:48 AMAaron Pham
04/25/2023, 9:41 AM