所以我正在运行eb init --modules modA modB
并且在应用程序名称步骤每次都崩溃。
Traceback (most recent call last):
File "/Users/myname/Library/Python/3.4/bin/eb", line 11, in <module>
load_entry_point('awsebcli==3.8.3', 'console_scripts', 'eb')()
File "/Users/myname/Library/Python/3.4/lib/python/site-packages/ebcli/core/ebcore.py", line 150, in main
app.run()
File "/Users/myname/Library/Python/3.4/lib/python/site-packages/cement/core/foundation.py", line 797, in run
return_val = self.controller._dispatch()
File "/Users/myname/Library/Python/3.4/lib/python/site-packages/cement/core/controller.py", line 472, in _dispatch
return func()
File "/Users/myname/Library/Python/3.4/lib/python/site-packages/cement/core/controller.py", line 478, in _dispatch
return func()
File "/Users/myname/Library/Python/3.4/lib/python/site-packages/ebcli/core/abstractcontroller.py", line 57, in default
self.do_command()
File "/Users/myname/Library/Python/3.4/lib/python/site-packages/ebcli/controllers/initialize.py", line 64, in do_command
self.initialize_multiple_directories()
File "/Users/myname/Library/Python/3.4/lib/python/site-packages/ebcli/controllers/initialize.py", line 412, in initialize_multiple_directories
default_env=default_env)
File "/Users/myname/Library/Python/3.4/lib/python/site-packages/ebcli/operations/commonops.py", line 470, in create_app
io.log_info('Creating application: ' + app_name)
TypeError: Can't convert 'tuple' object to str implicitly
那为什么会崩溃???
答案 0 :(得分:3)
罗! initialize.py文件中存在错误。它试图将元组用作字符串。应用这个补丁,你很高兴。
398c398
< self.app_name = self.get_app_name()[0]
---
> self.app_name = self.get_app_name()
PS - 我似乎无法在任何地方找到eb cli
工具的维护者。也许他们看Stack Overflow?如果它像aws cli工具一样公开,那肯定会很好。