awscli 错误 - 无法将“NoneType”对象隐式转换为 str

马克·肯尼

我正在尝试使用以下方法创建环境:

eb create xxx-env --database

但我收到以下 Python 错误:

无法将“NoneType”对象隐式转换为 str

通过阅读本文,问题似乎与 cli 工具无法获取凭据有关。

我已经创建了一个.aws/config文件和一个./aws/credentials文件,但仍然没有。

eb --version = EB CLI 3.14.6 (Python 3.5.2)

有没有人反对这个?

编辑

eb create命令的完整输出是:

输入 RDS 数据库用户名(默认为“ebroot”):输入 RDS 数据库主密码: 重新输入密码以确认:创建应用程序版本存档“app-26c8a-181108_105531”。将 beebop-staging/app-26c8a-181108_105531.zip 上传到 S3。可能还要等一下。上传完成。错误:TypeError - 无法将“NoneType”对象隐式转换为 str

马克·肯尼

为了确认,问题出在[app_directory]/.elasticbeanstalk/config.yml 中,其中没有设置区域。我从~/.aws/config强制删除区域eb init以提示我选择区域。执行此操作后,区域设置正确并按eb create ...预期工作

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

python gettext错误:无法将'__proxy__'对象隐式转换为str

Python3错误:TypeError:无法将“字节”对象隐式转换为str

“无法将'int'对象隐式转换为str”错误(Python)

Python 错误:写入 json 文件时无法将“列表”对象隐式转换为 str

无法将“ int”对象隐式转换为str。Python错误

TypeError:无法将'int'对象转换为str隐式错误python

Python:错误“类型错误:无法将 int 隐式转换为 str”

无法将'nonetype'对象隐式转换为str-Python3

TypeError:无法将“ int”对象隐式转换为str

TypeError:无法将“ int”对象隐式转换为str

TypeError:无法将“列表”对象隐式转换为str

无法将“字节”对象隐式转换为str

TypeError:无法将“节点”对象隐式转换为str

“无法将'float'对象转换为隐式str“

TypeError:无法将“模块”对象隐式转换为str

Python无法将'列表'对象转换为str错误

当var应该有一个值时,出现“ TypeError:无法将'NoneType'对象隐式转换为str”

TypeError-无法将“用户”对象隐式转换为str

Tensorflow TypeError:无法将'numpy.int64'对象转换为隐式str

Boto3和Python3:无法将“字节”对象隐式转换为str

Python:TypeError:无法将“生成器”对象隐式转换为str

TypeError:无法将“ builtin_function_or_method”对象隐式转换为str

python3无法将字节隐式转换为对象'str'

TypeError:使用套接字时无法将“ bytes”对象转换为隐式str

无法在python 3.4.3中将'int'对象隐式转换为str

Masonite-TypeError:无法将“未定义”对象隐式转换为str

无法将'int'对象隐式转换为str:Python 3+

TypeError:无法将'int'对象隐式转换为str(python)

TypeError:对于Pascode系统,无法将“ int”对象隐式转换为str