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: github.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:63d060a5-bff4-3999-d4a8-03c3c41008b3 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 8776:DB76B:40212C2:56E542A:697205B7 html-safe-nonce 2ee495ea4732ef159e9d2cba07977ef57c1b93b5ce3b5fea71763e83f2a34a8a visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzc2OkRCNzZCOjQwMjEyQzI6NTZFNTQyQTo2OTcyMDVCNyIsInZpc2l0b3JfaWQiOiI3MjkxMDEzODg3OTEyMTgzMjIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= visitor-hmac c68eae57de2cd445d6be76291cd80c9b410b0bb11c3cce11fd153945da2cf54e 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 5d01a3551afdd1a0e12e78acaf3ba43a9a1f7dcb518695d6ed59db76a9290f13 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 062b05dcdf64ee7a3dad7acabb746494ae0982cc ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.