microsoft / microsoft/azure-devops-python-api

Errors when convert py to exe

未关闭
#410 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
684
派生
218
平均合并
8 天 10 小时
30 天内合并 PR
1

描述

Hi,
When i run code on py, it working
But when i convert to exe (use "auto-py-to-exe"), errors:

Traceback (most recent call last):
File "Azure_v3.py", line 24, in
wit_client = cnt.clients.get_work_item_tracking_client()
File "azure\devops\released\client_factory.py", line 170, in get_work_item_tracking_client
File "azure\devops\connection.py", line 44, in get_client
File "azure\devops\connection.py", line 52, in _get_class
ModuleNotFoundError: No module named 'azure.devops.released.work_item_tracking'
whenconverttoexe

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从第 24 行的 Azure_v3.py 开始,使用 auto-py-to-exe 转换脚本并重现失败。将正常运行的 Python 执行结果与可执行文件进行比较,并追踪缺失的 azure.devops.released.work_item_tracking 模块。当转换后的可执行文件能够运行且不再出现此 ModuleNotFoundError,并且已记录重现步骤和结果时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, python
领域
api, build-system, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。