-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't workingdependenciesPull requests that update a dependency filePull requests that update a dependency filehelp wantedExtra attention is neededExtra attention is needed
Description
Summary
When building the project with Nuitka versions newer than 1.7.10 (e.g., 2.7.7), the resulting executable fails at launch with the following error: importlib.metadata.PackageNotFoundError: No package metadata was found for urllib3.
Temporary Workaround
Investigation shows that this issue can be resolved by downgrading and using Nuitka version 1.7.10 for the build. To ensure stable builds, we will pin the Nuitka version to 1.7.10 in our pyproject.toml for the time being.
Future Action
This problem appears to be related to dependency resolution in newer Nuitka versions. We should monitor future Nuitka releases for a fix. This issue will serve as a reminder to re-evaluate and attempt to upgrade Nuitka in the future.
Full Traceback:
from GitHub Actions
Run dist/evtx2es-windows-x64-v$version.exe -h
Traceback (most recent call last):
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\importlib\metadata\__init__.py", line 563, in from_name
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\Evtx2esView.py", line 7, in <module>
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\evtx2es\__init__.py", line 7, in <module evtx2es>
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\evtx2es\presenters\Evtx2esPresenter.py", line 10, in <module evtx2es.presenters.Evtx2esPresenter>
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\evtx2es\models\ElasticsearchUtils.py", line 5, in <module evtx2es.models.ElasticsearchUtils>
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\elasticsearch\__init__.py", line 24, in <module elasticsearch>
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\elastic_transport\__init__.py", line [22](https://github.com/sumeshi/evtx2es/actions/runs/15655253452/job/44105447429#step:9:23), in <module elastic_transport>
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\elastic_transport\_async_transport.py", line 41, in <module elastic_transport._async_transport>
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\elastic_transport\_node\__init__.py", line [23](https://github.com/sumeshi/evtx2es/actions/runs/15655253452/job/44105447429#step:9:24), in <module elastic_transport._node>
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\elastic_transport\_node\_http_urllib3.py", line 52, in <module elastic_transport._node._http_urllib3>
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\elastic_transport\_node\_http_urllib3.py", line 55, in Urllib3HttpNode
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\importlib\metadata\__init__.py", line 1009, in version
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\importlib\metadata\__init__.py", line 982, in distribution
File "C:\Users\RUNNER~1\AppData\Local\Temp\ONEFIL~1\importlib\metadata\__init__.py", line 565, in from_name
importlib.metadata.PackageNotFoundError: No package metadata was found for urllib3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdependenciesPull requests that update a dependency filePull requests that update a dependency filehelp wantedExtra attention is neededExtra attention is needed