ITADN

3.23.2 version errors due to missing Microsoft.Web.Administration.dll

#551ClosedBobDankert 创建于 2025-04-30
bug
B
BobDankertcommented
### Description After updating to awsebcli 3.23.2, I am unable to run the eb command, and get this error: > eb Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\bob.dankert\AppData\Local\Programs\Python\Python313\Scripts\eb.exe\__main__.py", line 4, in <module> from ebcli.core.ebcore import main File "C:\Users\bob.dankert\AppData\Local\Programs\Python\Python313\Lib\site-packages\ebcli\core\ebcore.py", line 35, in <module> from ebcli.controllers.migrate import MigrateController, MigrateExploreController, MigrateCleanupController File "C:\Users\bob.dankert\AppData\Local\Programs\Python\Python313\Lib\site-packages\ebcli\controllers\migrate.py", line 33, in <module> clr.AddReference(r"C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ System.IO.FileNotFoundException: Unable to find assembly 'C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll'. at Python.Runtime.CLRModule.AddReference(String name) ### Steps to reproduce Update, try to run eb. ### Observed result Errors with the above error. ### Expected result Should not error. ### Additional environment details (Ex: Windows, Mac, Amazon Linux etc) 1. OS: Windows. 2. EBCLI version: 3.23.2 Note: This appears related to the addition of migrate.py, which appears to have been added here: https://github.com/aws/aws-elastic-beanstalk-cli/commit/e31744cc6d6607bcc4e7e52e88b6c473e3b1fcbb
关闭于 2025-05-05 4 条评论