登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
开源项目
>
手机/移动开发
>
Android组件/项目
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
24
Star
207
Fork
28
gfdgd xi
/
uengine 运行器
代码
Issues
6
Pull Requests
0
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
“更新杀手”报错
已完成
#I6ZRZX
Bail
成员
创建于
2023-04-29 22:38
我的脚本出问题了 可以正常杀死程序,但会报如下错误: ``` 关闭“UEngine 运行器” Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/apps/com.gitee.uengine.runner.spark/files/updatekiller.py", line 11, in remove_pid with open(PIDFILE) as pidfile: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/uengine-runner.pid' ``` ---- 完整控制台输出: ``` 删除多余的安装包 关闭“UEngine 运行器” Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/apps/com.gitee.uengine.runner.spark/files/updatekiller.py", line 11, in remove_pid with open(PIDFILE) as pidfile: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/uengine-runner.pid' 下载安装包 --2023-04-29 21:37:53-- https://gitee.com/gfdgd-xi/uengine-runner/releases/download/2.0.1/com.gitee.uengine.runner.spark_2.0.1_all.deb 正在解析主机 gitee.com (gitee.com)... 212.64.63.215, 212.64.63.190 正在连接 gitee.com (gitee.com)|212.64.63.215|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 302 Found 位置:https://gitee.com/gfdgd-xi/uengine-runner/attach_files/1394919/download/com.gitee.uengine.runner.spark_2.0.1_all.deb [跟随至新的 URL] --2023-04-29 21:37:54-- https://gitee.com/gfdgd-xi/uengine-runner/attach_files/1394919/download/com.gitee.uengine.runner.spark_2.0.1_all.deb 再次使用存在的到 gitee.com:443 的连接。 已发出 HTTP 请求,正在等待回应... 302 Found 位置:https://foruda.gitee.com/attach_file/1682755086806304085/com.gitee.uengine.runner.spark_2.0.1_all.deb?token=0c3f555579c82b93b5439a3faa9558ae&ts=1682775474&attname=com.gitee.uengine.runner.spark_2.0.1_all.deb [跟随至新的 URL] --2023-04-29 21:37:54-- https://foruda.gitee.com/attach_file/1682755086806304085/com.gitee.uengine.runner.spark_2.0.1_all.deb?token=0c3f555579c82b93b5439a3faa9558ae&ts=1682775474&attname=com.gitee.uengine.runner.spark_2.0.1_all.deb 正在解析主机 foruda.gitee.com (foruda.gitee.com)... 212.64.63.190, 212.64.63.215 正在连接 foruda.gitee.com (foruda.gitee.com)|212.64.63.190|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:1292288 (1.2M) [application/vnd.debian.binary-package] 正在保存至: “/tmp/uengine-runner/update/com.gitee.uengine.runner.spark_2.0.1_all.deb” com.gitee.uengine.runne 100%[==============================>] 1.23M 566KB/s 用时 2.2s 2023-04-29 21:37:57 (566 KB/s) - 已保存 “/tmp/uengine-runner/update/com.gitee.uengine.runner.spark_2.0.1_all.deb” [1292288/1292288]) 安装安装包 (正在读取数据库 ... 系统当前共安装有 363566 个文件和目录。) 准备解压 .../com.gitee.uengine.runner.spark_2.0.1_all.deb ... 正在解压 com.gitee.uengine.runner.spark (2.0.1) 并覆盖 (2.0.0) ... 非 purge,跳过清理 正在设置 com.gitee.uengine.runner.spark (2.0.1) ... 安装组件 Looking in indexes: https://repo.huaweicloud.com/repository/pypi/simple Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (22.3.1) Collecting pip Downloading https://repo.huaweicloud.com/repository/pypi/packages/07/51/2c0959c5adf988c44d9e1e0d940f5b074516ecc87e96b1af25f59de9ba38/pip-23.0.1-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 5.8 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.3.1 Uninstalling pip-22.3.1: Successfully uninstalled pip-22.3.1 WARNING: The scripts pip, pip3 and pip3.7 are installed in '/usr/local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed pip-23.0.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Looking in indexes: https://repo.huaweicloud.com/repository/pypi/simple Requirement already satisfied: ttkthemes in /usr/local/lib/python3.7/dist-packages (3.2.2) Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (from ttkthemes) (9.2.0) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Looking in indexes: https://repo.huaweicloud.com/repository/pypi/simple Requirement already satisfied: pyautogui in /usr/local/lib/python3.7/dist-packages (0.9.53) Requirement already satisfied: pygetwindow>=0.0.5 in /usr/local/lib/python3.7/dist-packages (from pyautogui) (0.0.9) Requirement already satisfied: python3-Xlib in /usr/local/lib/python3.7/dist-packages (from pyautogui) (0.15) Requirement already satisfied: pymsgbox in /usr/local/lib/python3.7/dist-packages (from pyautogui) (1.0.9) Requirement already satisfied: pyscreeze>=0.1.21 in /usr/local/lib/python3.7/dist-packages (from pyautogui) (0.1.28) Requirement already satisfied: PyTweening>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from pyautogui) (1.0.4) Requirement already satisfied: mouseinfo in /usr/local/lib/python3.7/dist-packages (from pyautogui) (0.1.3) Requirement already satisfied: pyrect in /usr/local/lib/python3.7/dist-packages (from pygetwindow>=0.0.5->pyautogui) (0.1.4) Requirement already satisfied: Pillow>=5.2.0 in /usr/local/lib/python3.7/dist-packages (from pyscreeze>=0.1.21->pyautogui) (9.2.0) Requirement already satisfied: pyperclip in /usr/local/lib/python3.7/dist-packages (from mouseinfo->pyautogui) (1.8.2) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Looking in indexes: https://repo.huaweicloud.com/repository/pypi/simple Requirement already satisfied: keyboard in /usr/local/lib/python3.7/dist-packages (0.13.5) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 执行完成 /usr/bin/uengine 正在处理用于 spark-store (4.2.4) 的触发器 ... 正在处理用于 deepin-app-store (7.5.2.0007-1) 的触发器 ... QProcess: Destroyed while process ("bash") is still running. QProcess: Destroyed while process ("bash") is still running. Rebuilding /usr/share/applications/bamf-2.index... 正在处理用于 mailcap (3.70+nmu1) 的触发器 ... 正在处理用于 bamfdaemon (0.5.4.1-1+eagle) 的触发器 ... Rebuilding /usr/share/applications/bamf-2.index... 正在处理用于 desktop-file-utils (0.23-4) 的触发器 ... 修复依赖关系 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列软件包是自动安装的并且现在不需要了: libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 使用'apt autoremove'来卸载它(它们)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 5 个软件包未被升级。 有 1 个软件包没有被完全安装或卸载。 解压缩后会消耗 0 B 的额外空间。 正在设置 dde-calendar (5.9.14-1) ... Failed to enable unit: Unit file com.dde.calendarserver.calendar.timer does not exist. Failed to start com.dde.calendarserver.calendar.timer: Unit com.dde.calendarserver.calendar.timer not found. dpkg: 处理软件包 dde-calendar (--configure)时出错: 已安装 dde-calendar 软件包 post-installation 脚本 子进程返回错误状态 5 在处理时有错误发生: dde-calendar E: Sub-process /usr/bin/dpkg returned an error code (1) (zenity:24872): Gtk-WARNING **: 21:41:52.961: Theme parsing error: gtk.css:3611:22: 'none' is not a valid color name ```
我的脚本出问题了 可以正常杀死程序,但会报如下错误: ``` 关闭“UEngine 运行器” Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/apps/com.gitee.uengine.runner.spark/files/updatekiller.py", line 11, in remove_pid with open(PIDFILE) as pidfile: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/uengine-runner.pid' ``` ---- 完整控制台输出: ``` 删除多余的安装包 关闭“UEngine 运行器” Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/apps/com.gitee.uengine.runner.spark/files/updatekiller.py", line 11, in remove_pid with open(PIDFILE) as pidfile: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/uengine-runner.pid' 下载安装包 --2023-04-29 21:37:53-- https://gitee.com/gfdgd-xi/uengine-runner/releases/download/2.0.1/com.gitee.uengine.runner.spark_2.0.1_all.deb 正在解析主机 gitee.com (gitee.com)... 212.64.63.215, 212.64.63.190 正在连接 gitee.com (gitee.com)|212.64.63.215|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 302 Found 位置:https://gitee.com/gfdgd-xi/uengine-runner/attach_files/1394919/download/com.gitee.uengine.runner.spark_2.0.1_all.deb [跟随至新的 URL] --2023-04-29 21:37:54-- https://gitee.com/gfdgd-xi/uengine-runner/attach_files/1394919/download/com.gitee.uengine.runner.spark_2.0.1_all.deb 再次使用存在的到 gitee.com:443 的连接。 已发出 HTTP 请求,正在等待回应... 302 Found 位置:https://foruda.gitee.com/attach_file/1682755086806304085/com.gitee.uengine.runner.spark_2.0.1_all.deb?token=0c3f555579c82b93b5439a3faa9558ae&ts=1682775474&attname=com.gitee.uengine.runner.spark_2.0.1_all.deb [跟随至新的 URL] --2023-04-29 21:37:54-- https://foruda.gitee.com/attach_file/1682755086806304085/com.gitee.uengine.runner.spark_2.0.1_all.deb?token=0c3f555579c82b93b5439a3faa9558ae&ts=1682775474&attname=com.gitee.uengine.runner.spark_2.0.1_all.deb 正在解析主机 foruda.gitee.com (foruda.gitee.com)... 212.64.63.190, 212.64.63.215 正在连接 foruda.gitee.com (foruda.gitee.com)|212.64.63.190|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:1292288 (1.2M) [application/vnd.debian.binary-package] 正在保存至: “/tmp/uengine-runner/update/com.gitee.uengine.runner.spark_2.0.1_all.deb” com.gitee.uengine.runne 100%[==============================>] 1.23M 566KB/s 用时 2.2s 2023-04-29 21:37:57 (566 KB/s) - 已保存 “/tmp/uengine-runner/update/com.gitee.uengine.runner.spark_2.0.1_all.deb” [1292288/1292288]) 安装安装包 (正在读取数据库 ... 系统当前共安装有 363566 个文件和目录。) 准备解压 .../com.gitee.uengine.runner.spark_2.0.1_all.deb ... 正在解压 com.gitee.uengine.runner.spark (2.0.1) 并覆盖 (2.0.0) ... 非 purge,跳过清理 正在设置 com.gitee.uengine.runner.spark (2.0.1) ... 安装组件 Looking in indexes: https://repo.huaweicloud.com/repository/pypi/simple Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (22.3.1) Collecting pip Downloading https://repo.huaweicloud.com/repository/pypi/packages/07/51/2c0959c5adf988c44d9e1e0d940f5b074516ecc87e96b1af25f59de9ba38/pip-23.0.1-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 5.8 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.3.1 Uninstalling pip-22.3.1: Successfully uninstalled pip-22.3.1 WARNING: The scripts pip, pip3 and pip3.7 are installed in '/usr/local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed pip-23.0.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Looking in indexes: https://repo.huaweicloud.com/repository/pypi/simple Requirement already satisfied: ttkthemes in /usr/local/lib/python3.7/dist-packages (3.2.2) Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (from ttkthemes) (9.2.0) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Looking in indexes: https://repo.huaweicloud.com/repository/pypi/simple Requirement already satisfied: pyautogui in /usr/local/lib/python3.7/dist-packages (0.9.53) Requirement already satisfied: pygetwindow>=0.0.5 in /usr/local/lib/python3.7/dist-packages (from pyautogui) (0.0.9) Requirement already satisfied: python3-Xlib in /usr/local/lib/python3.7/dist-packages (from pyautogui) (0.15) Requirement already satisfied: pymsgbox in /usr/local/lib/python3.7/dist-packages (from pyautogui) (1.0.9) Requirement already satisfied: pyscreeze>=0.1.21 in /usr/local/lib/python3.7/dist-packages (from pyautogui) (0.1.28) Requirement already satisfied: PyTweening>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from pyautogui) (1.0.4) Requirement already satisfied: mouseinfo in /usr/local/lib/python3.7/dist-packages (from pyautogui) (0.1.3) Requirement already satisfied: pyrect in /usr/local/lib/python3.7/dist-packages (from pygetwindow>=0.0.5->pyautogui) (0.1.4) Requirement already satisfied: Pillow>=5.2.0 in /usr/local/lib/python3.7/dist-packages (from pyscreeze>=0.1.21->pyautogui) (9.2.0) Requirement already satisfied: pyperclip in /usr/local/lib/python3.7/dist-packages (from mouseinfo->pyautogui) (1.8.2) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Looking in indexes: https://repo.huaweicloud.com/repository/pypi/simple Requirement already satisfied: keyboard in /usr/local/lib/python3.7/dist-packages (0.13.5) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 执行完成 /usr/bin/uengine 正在处理用于 spark-store (4.2.4) 的触发器 ... 正在处理用于 deepin-app-store (7.5.2.0007-1) 的触发器 ... QProcess: Destroyed while process ("bash") is still running. QProcess: Destroyed while process ("bash") is still running. Rebuilding /usr/share/applications/bamf-2.index... 正在处理用于 mailcap (3.70+nmu1) 的触发器 ... 正在处理用于 bamfdaemon (0.5.4.1-1+eagle) 的触发器 ... Rebuilding /usr/share/applications/bamf-2.index... 正在处理用于 desktop-file-utils (0.23-4) 的触发器 ... 修复依赖关系 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列软件包是自动安装的并且现在不需要了: libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 使用'apt autoremove'来卸载它(它们)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 5 个软件包未被升级。 有 1 个软件包没有被完全安装或卸载。 解压缩后会消耗 0 B 的额外空间。 正在设置 dde-calendar (5.9.14-1) ... Failed to enable unit: Unit file com.dde.calendarserver.calendar.timer does not exist. Failed to start com.dde.calendarserver.calendar.timer: Unit com.dde.calendarserver.calendar.timer not found. dpkg: 处理软件包 dde-calendar (--configure)时出错: 已安装 dde-calendar 软件包 post-installation 脚本 子进程返回错误状态 5 在处理时有错误发生: dde-calendar E: Sub-process /usr/bin/dpkg returned an error code (1) (zenity:24872): Gtk-WARNING **: 21:41:52.961: Theme parsing error: gtk.css:3611:22: 'none' is not a valid color name ```
评论 (
2
)
登录
后才可以发表评论
状态
已完成
待办的
进行中
已完成
已关闭
负责人
未设置
Bail
BailPlus
负责人
协作者
+负责人
+协作者
gfdgd xi
gfdgd-xi
负责人
协作者
+负责人
+协作者
标签
bug
未设置
标签管理
里程碑
bug大全
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(2)
Python
1
https://gitee.com/gfdgd-xi/uengine-runner.git
git@gitee.com:gfdgd-xi/uengine-runner.git
gfdgd-xi
uengine-runner
uengine 运行器
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册