Title: Compiling exe with PyInstaller results in missing parts · Issue #1385 · python-zeroconf/python-zeroconf · GitHub
Open Graph Title: Compiling exe with PyInstaller results in missing parts · Issue #1385 · python-zeroconf/python-zeroconf
X Title: Compiling exe with PyInstaller results in missing parts · Issue #1385 · python-zeroconf/python-zeroconf
Description: Environment Python 3.12.2 zeroconf.__version__ '0.132.2' Windows 11 Description Launching an exe created by PyInstaller results in: Traceback (most recent call last): File "main.py", line 35, in
Open Graph Description: Environment Python 3.12.2 zeroconf.__version__ '0.132.2' Windows 11 Description Launching an exe created by PyInstaller results in: Traceback (most recent call last): File "main.py", line 35, in X Description: Environment Python 3.12.2 zeroconf.__version__ '0.132.2' Windows 11 Description Launching an exe created by PyInstaller results in: Traceback (most recent call last): File "main.py&quo...
Opengraph URL: https://github.com/python-zeroconf/python-zeroconf/issues/1385
X: @github
Domain: patch-diff.githubusercontent.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiling exe with PyInstaller results in missing parts","articleBody":"## Environment\r\n- Python 3.12.2\r\n- `zeroconf.__version__` '0.132.2'\r\n- Windows 11\r\n\r\n## Description\r\nLaunching an exe created by PyInstaller results in:\r\n```\r\nTraceback (most recent call last):\r\n File \"main.py\", line 35, in \u003cmodule\u003e\r\n from zeroconf import ServiceBrowser, ServiceListener, Zeroconf\r\n File \"PyInstaller\\loader\\pyimod02_importers.py\", line 419, in exec_module\r\n File \"zeroconf\\__init__.py\", line 26, in \u003cmodule\u003e\r\n File \"PyInstaller\\loader\\pyimod02_importers.py\", line 419, in exec_module\r\n File \"zeroconf\\_core.py\", line 32, in \u003cmodule\u003e\r\n File \"PyInstaller\\loader\\pyimod02_importers.py\", line 419, in exec_module\r\n File \"zeroconf\\_engine.py\", line 38, in \u003cmodule\u003e\r\n File \"src\\\\zeroconf\\\\_listener.py\", line 1, in init zeroconf._listener\r\n File \"src\\\\zeroconf\\\\_services\\\\info.py\", line 1, in init zeroconf._services.info\r\nModuleNotFoundError: No module named 'zeroconf._utils.ipaddress'\r\n[11808] Failed to execute script 'main' due to unhandled exception!\r\n```\r\n- The exact same error happens if using `import zeroconf`.\r\n- For some reason, the only file in the zeroconf/_utils folder is time.cp312-win_amd64.pyd (notice there is no ipaddress module there)\r\n\r\n## Related issues\r\n- #1363 (seems to have a different cause \u0026 issue)\r\n- https://github.com/pyinstaller/pyinstaller/issues/4047 (I'll try this solution and say what happened if it helped)","author":{"url":"https://github.com/Poikilos","@type":"Person","name":"Poikilos"},"datePublished":"2024-07-16T17:32:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1385/python-zeroconf/issues/1385"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:458dcaa0-1e0c-0fad-969a-8389c645699f current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 88CA:1022EC:3327BFE:44B587F:6971E8D3 html-safe-nonce 6af621f432702346f5625dc3388d950d07ae48dd9f06bbf9129707c02fb9f2f2 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OENBOjEwMjJFQzozMzI3QkZFOjQ0QjU4N0Y6Njk3MUU4RDMiLCJ2aXNpdG9yX2lkIjoiODA0NzQ4NjMwNTk1Nzk2Mzk4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac fde7fc2218a4236cf69922111ed006533a65221b01b80a3d20cce1aa618c1250 hovercard-subject-tag issue:2411693416 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-zeroconf/python-zeroconf/1385/issue_layout twitter:image https://opengraph.githubassets.com/31a1802f529acb5e39158494532779c5189927faac8c1da5cd7cc65b6c036a43/python-zeroconf/python-zeroconf/issues/1385 twitter:card summary_large_image og:image https://opengraph.githubassets.com/31a1802f529acb5e39158494532779c5189927faac8c1da5cd7cc65b6c036a43/python-zeroconf/python-zeroconf/issues/1385 og:image:alt Environment Python 3.12.2 zeroconf.__version__ '0.132.2' Windows 11 Description Launching an exe created by PyInstaller results in: Traceback (most recent call last): File "main.py", line 35, in og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username Poikilos hostname github.com expected-hostname github.com None 683712716975b3393656edf09255a1d488d0e68ab7b9ac97e40ecf40036f696c turbo-cache-control no-preview go-import github.com/python-zeroconf/python-zeroconf git https://github.com/python-zeroconf/python-zeroconf.git octolytics-dimension-user_id 120192235 octolytics-dimension-user_login python-zeroconf octolytics-dimension-repository_id 21548731 octolytics-dimension-repository_nwo python-zeroconf/python-zeroconf octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 21548731 octolytics-dimension-repository_network_root_nwo python-zeroconf/python-zeroconf turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release ed99da4e2de688dd1056894c1eccd4c82c6bbbfe ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.