Skip to content

[其他] 安装器下载python路径存在问题 #1257

Description

@732Bread

请确认您已完成以下几件事并勾选项目,未按要求勾选可能被认作无效反馈直接关闭

  • 正在使用最新的 OneDragon
  • 已搜索过 issue 中无人提出相似问题或无解决方案
  • 已为所有模型以及战斗脚本更新至最新版
  • 已经依照 官方文档常见问题排查 进行过问题自查
  • 运行时无任何帧率显示或其他覆盖层窗口遮盖游戏
  • 未认真阅读此处选项随意勾选
  • 未安装任何修改游戏UI和贴图的模组
  • 了解反馈时应携带日志和问题截图,且明白应该使用F11截图
  • 已经修改了此issue的标题为想要反馈的问题简述

代码版本

安装器问题,无关代码版本

问题类型

Bug

问题范围

其他

问题描述

安装器下载python虚拟环境时报错404,经查验下载尝试拉取python-3.11-embed-amd64.zip,但release仓库仅存在python-3.11.9-embed-amd64.zip

游戏截图

Image Image

运行日志

�[1;33m📢 Tips:�[0m QFluentWidgets Pro is now released. Click �[1;96mhttps://qfluentwidgets.com/pages/pro�[0m to learn more about it.

QIODevice::read (QFile, "D:\ZenlessZoneZero-OneDragon\assets\ui\qss\light\app_window.qss"): device not open
QIODevice::read (QFile, "D:\ZenlessZoneZero-OneDragon\assets\ui\qss\light\navigation_interface.qss"): device not open
QIODevice::read (QFile, "D:\ZenlessZoneZero-OneDragon\assets\ui\qss\light\stacked_widget.qss"): device not open
QIODevice::read (QFile, "D:\ZenlessZoneZero-OneDragon\assets\ui\qss\light\title_bar.qss"): device not open
[15:11:10.219] [git_service.py 270] [INFO]: 检测当前代码分支
[15:11:10.220] [git_service.py 304] [INFO]: 获取依赖文件的最后修改时间
[15:11:10.220] [cmd_utils.py 19] [INFO]: D:\ZenlessZoneZero-OneDragon.env\PortableGit\cmd\git.exe branch --show-current
[15:11:10.220] [git_service.py 69] [INFO]: 检测当前git版本
[15:11:10.221] [cmd_utils.py 19] [INFO]: D:\ZenlessZoneZero-OneDragon.env\PortableGit\cmd\git.exe log -1 --pretty=format:"%ai -- requirements-prod.txt
[15:11:10.223] [cmd_utils.py 19] [INFO]: D:\ZenlessZoneZero-OneDragon.env\PortableGit\cmd\git.exe --version
[15:11:10.284] [cmd_utils.py 49] [INFO]: git version 2.45.2.windows.1
[15:11:10.284] [cmd_utils.py 49] [INFO]: main
[15:11:10.293] [git_service.py 187] [INFO]: 获取远程代码
[15:11:10.293] [cmd_utils.py 19] [INFO]: D:\ZenlessZoneZero-OneDragon.env\PortableGit\cmd\git.exe fetch origin main
[15:11:10.365] [cmd_utils.py 49] [INFO]: 2024-10-26 14:20:14 +0800
[15:11:10.926] [cmd_utils.py 57] [ERROR]: From https://gitee.com/OneDragon-Anything/ZenlessZoneZero-OneDragon
[15:11:10.926] [cmd_utils.py 57] [ERROR]: * branch main -> FETCH_HEAD
[15:11:10.926] [git_service.py 195] [ERROR]: 获取远程代码成功
[15:11:10.927] [git_service.py 292] [INFO]: 检测当前代码是否最新
[15:11:10.927] [cmd_utils.py 19] [INFO]: D:\ZenlessZoneZero-OneDragon.env\PortableGit\cmd\git.exe diff --name-only HEAD origin/main
[15:11:17.893] [python_service.py 160] [INFO]: 检测当前python版本
[15:11:17.895] [python_service.py 30] [INFO]: 开始安装 python
[15:11:17.895] [http_utils.py 43] [INFO]: 开始下载 https://github.com/DoctorReid/OneDragon-Env/releases/download/ZenlessZoneZero-OneDragon/python-3.11-embed-amd64.zip
Traceback (most recent call last):
File "one_dragon\utils\http_utils.py", line 46, in download_file
File "urllib\request.py", line 241, in urlretrieve
File "urllib\request.py", line 216, in urlopen
File "urllib\request.py", line 525, in open
File "urllib\request.py", line 634, in http_response
File "urllib\request.py", line 563, in error
File "urllib\request.py", line 496, in _call_chain
File "urllib\request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 404: Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "one_dragon\gui\install_card\base_install_card.py", line 26, in run
File "one_dragon\envs\python_service.py", line 213, in install_default_python_venv
File "one_dragon\envs\python_service.py", line 35, in install_default_python
File "one_dragon\envs\git_service.py", line 49, in download_env_file
File "one_dragon\utils\http_utils.py", line 56, in download_file
File "logging_init_.py", line 1518, in error
TypeError: Logger._log() got an unexpected keyword argument 'exec'

你的建议

修改为正确的下载路径

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions