2023/06/02:UPdate failed升级失败,程序无法正常启动,failure error_code:128
在提问之前...
- [X] 我已经搜索了现有的 issues
- [X] 我在提问题之前至少花费了 5 分钟来思考和准备
- [X] 我已经阅读了 Wiki 中的 常见问题(FAQ)
- [X] 我正在使用最新版的 Alas
描述你的问题
显示升级失败,程序无法启动,删除重新安装后依然存在问题
如何复现
- 前往 '...'
- 点击 '....'
- 滑动到 '....'
- 出现问题
预期行为
No response
相关 Logs
"E:\AzurLaneAutoScript
./toolkit/Lib/site-packages/requests/sessions.py trust_env already patched
./toolkit/Lib/site-packages/pip/_vendor/requests/sessions.py trust_env already patched
./toolkit/Lib/site-packages/uiautomator2/init.py minicap_urls no need to patch
./toolkit/Lib/site-packages/uiautomator2/init.py appdir already patched
./toolkit/Lib/site-packages/adbutils/mixin.py apkutils2 no need to patch
==================== SHOW DEPLOY CONFIG ====================
Repository: https://e.coding.net/llop18870/alas/AzurLaneAutoScript.git
PypiMirror: https://pypi.tuna.tsinghua.edu.cn/simple
Language: zh-CN
Rest of the configs are the same as default
+---------------------------------------------------+
| UPDATE ALAS |
+---------------------------------------------------+
==================== GIT INIT ====================
"E:/AzurLaneAutoScript/toolkit/Git/mingw64/bin/git.exe" init
Reinitialized existing Git repository in E:/AzurLaneAutoScript/.git/
[ success ]
==================== SET GIT PROXY ====================
"E:/AzurLaneAutoScript/toolkit/Git/mingw64/bin/git.exe" config --local --unset http.proxy
[ allowed failure ], error_code: 5
"E:/AzurLaneAutoScript/toolkit/Git/mingw64/bin/git.exe" config --local --unset https.proxy
[ allowed failure ], error_code: 5
"E:/AzurLaneAutoScript/toolkit/Git/mingw64/bin/git.exe" config --local http.sslVerify true
[ success ]
==================== SET GIT REPOSITORY ====================
"E:/AzurLaneAutoScript/toolkit/Git/mingw64/bin/git.exe" remote set-url origin https://e.coding.net/llop18870/alas/AzurLaneAutoScript.git
[ success ]
==================== FETCH REPOSITORY BRANCH ====================
"E:/AzurLaneAutoScript/toolkit/Git/mingw64/bin/git.exe" fetch origin master
remote: CODING 提示: team 3532843 is locked
fatal: unable to access 'https://e.coding.net/llop18870/alas/AzurLaneAutoScript.git/': The requested URL returned error: 403
[ failure ], error_code: 128
+-----------------------------------------------------+
| UPDATE FAILED |
+-----------------------------------------------------+
==================== SHOW DEPLOY CONFIG ====================
Repository: https://e.coding.net/llop18870/alas/AzurLaneAutoScript.git
PypiMirror: https://pypi.tuna.tsinghua.edu.cn/simple
Language: zh-CN
Rest of the configs are the same as default
Last command: "E:/AzurLaneAutoScript/toolkit/Git/mingw64/bin/git.exe" fetch origin master
Please check your deploy settings in config/deploy.yaml and re-open Alas.exe
Take the screenshot of entire window if you need help
截图
还有别的吗?
没有
有梯子的,把config/deploy.yaml里的Repository: https://e.coding.net/llop18870/alas/AzurLaneAutoScript.git改成Repository: https://github.com/LmeSzinc/AzurLaneAutoScript.git
双击打开 console.bat ,执行:
python -m deploy.set Repository=git://git.lyoko.io/AzurLaneAutoScript
当出现 Repository Set 时可以关闭
再重新打开 Alas。
暂时把config/deploy.yaml里的Repository: https://e.coding.net/llop18870/alas/AzurLaneAutoScript.git改成Repository: https://github.com/LmeSzinc/AzurLaneAutoScript.git 要挂梯子 估计抽风了
换完之后在这步出问题了请问怎么解决? ==================== UIAUTOMATOR2 INIT ==================== [I 230601 15:01:17 init:156] uiautomator2 version: 2.16.17 [I 230601 15:01:17 init:372] Install minicap, minitouch [D 230601 15:01:17 init:59] Use cached assets: C:\Users\liuzh\Downloads\AzurLaneAutoScript\toolkit\lib\site-packages\uiautomator2cache\cache\minitouch-69336c8f34\minitouch [D 230601 15:01:17 init:238] Push to /data/local/tmp/minitouch:0755 [D 230601 15:01:17 init:256] apk-debug package-info: {'package_name': 'com.github.uiautomator', 'version_name': '2.3.3', 'version_code': '2003003', 'flags': ['DEBUGGABLE', 'HAS_CODE', 'ALLOW_CLEAR_USER_DATA', 'ALLOW_BACKUP'], 'first_install_time': datetime.datetime(2023, 5, 29, 22, 59, 50), 'last_update_time': datetime.datetime(2023, 5, 29, 22, 59, 50), 'signature': '4b76292'} [D 230601 15:01:17 init:257] apk-debug-test package-info: {'package_name': 'com.github.uiautomator.test', 'version_name': '', 'version_code': '', 'flags': ['DEBUGGABLE', 'HAS_CODE', 'ALLOW_CLEAR_USER_DATA', 'ALLOW_BACKUP'], 'first_install_time': datetime.datetime(2023, 5, 29, 22, 59, 51), 'last_update_time': datetime.datetime(2023, 5, 29, 22, 59, 51), 'signature': '4b76292'} [I 230601 15:01:17 init:390] Already installed com.github.uiautomator apks [D 230601 15:01:17 init:167] Shell: ('/data/local/tmp/atx-agent', 'server', '--stop') [D 230601 15:01:17 init:296] Real version: [0, 10, 0], Expect version: [0, 10, 0] [D 230601 15:01:17 init:167] Shell: ('/data/local/tmp/atx-agent', 'server', '--nouia', '-d', '--addr', '127.0.0.1:7912') [I 230601 15:01:17 init:350] Check atx-agent version [D 230601 15:01:17 init:359] Forward: local:tcp:58927 -> remote:tcp:7912 [D 230601 15:01:18 init:359] Forward: local:tcp:58927 -> remote:tcp:7912 [D 230601 15:01:18 init:362] atx-agent version 0.10.0 [D 230601 15:01:18 init:365] device wlan ip: 10.0.2.15 Successfully init AdbDevice(serial=127.0.0.1:7555)
显示成功init之后紧接着print出了traceback然后就是这个error raise AdbError(self.read_string_block()) adbutils.errors.AdbError: closed
同样的问题,更换Repository解决
uiautomator2的repository在哪改啊?deploy.yaml里面没找到。 目前把InstallUiautomator2设置成false了,不重装就可以启动
还是不行
双击打开 console.bat ,执行:
python -m deploy.set Repository=https://git.saarcenter.com/LmeSzinc/AzurLaneAutoScript.git再重新打开 Alas。
注意:这是托管在群友的小水管上的,不要通过这个地址完整下载 Alas。
还是不行
还是不行,难崩
暂时把config/deploy.yaml里的Repository: https://e.coding.net/llop18870/alas/AzurLaneAutoScript.git改成Repository: https://github.com/LmeSzinc/AzurLaneAutoScript.git 要挂梯子 估计抽风了
我用这个方案更新成功了
改仓库之后能进去了,难崩
都试过了
刚才我改完Repository之后把加速github什么的代理全都关了,然后就能正常更新了,你可以试试(查了查他那个报错的原因好像就是使用了错误的代理啥的)
如果使用https://git.saarcenter.com/LmeSzinc/AzurLaneAutoScript.git显示failure error code:128的,
改成https://e.coding.net/saarcenter/alas/AzurLaneAutoScript.git
可以更新了但是更新一半闪退
如果使用
https://git.saarcenter.com/LmeSzinc/AzurLaneAutoScript.git显示失败错误码:128的, 改成https://e.coding.net/saarcenter/alas/AzurLaneAutoScript.git
感谢老哥,解决了,改完关掉梯子重新启动就好了
如果使用
https://git.saarcenter.com/LmeSzinc/AzurLaneAutoScript.git显示失败错误码:128的, 改成https://e.coding.net/saarcenter/alas/AzurLaneAutoScript.git感谢老哥,解决了,改完关掉梯子重新启动就好了
有梯子的直接用gh的链
万分感谢
感谢
有梯子的,把config/deploy.yaml里的Repository: https://e.coding.net/llop18870/alas/AzurLaneAutoScript.git改成Repository: https://github.com/LmeSzinc/AzurLaneAutoScript.git
按照你的的方法修改之后就行了