Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Failed to execute "main" due to unhandled exception: NULL pointer access #205

Closed
VfxSynth opened this issue Nov 11, 2023 · 1 comment
Closed
Labels
bug Something isn't working pending Pending user action.

Comments

@VfxSynth
Copy link

When opening the executable file after building it an error box appears containing:
Traceback (most recent call last):
File "main.py", line 38, in
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
File "bin\sysinf.py", line 61, in
File "pywifi\iface.py", line 51, in scan_results
File "pywifi_wifiutil_win.py", line 264, in scan_results
ValueError: NULL pointer access

@smthpy
Copy link
Contributor

smthpy commented Nov 15, 2023

Pywifi uses C++, which then uses pointers. The pointer value is weirdly null, which is out of our control. I may look into using a different module, but, unlikely.

Still, make sure you are using Py 3.11. Let me know soon if you are.

@smthpy smthpy added bug Something isn't working pending Pending user action. labels Nov 15, 2023
@gumbobrot gumbobrot pinned this issue Nov 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working pending Pending user action.
Projects
None yet
Development

No branches or pull requests

3 participants