microsoft / microsoft/azure-devops-python-api
Errors when convert py to exe
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
Description
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'

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Azure_v3.py at line 24 and reproduce the failure when converting the script with auto-py-to-exe. Compare the working Python execution with the executable and trace the missing azure.devops.released.work_item_tracking module. Done means the converted executable runs without this ModuleNotFoundError, with the reproduction steps and result documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- api, build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100