Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: NanoVNASaver won't start on macOS #688

Open
MKesenheimer opened this issue Jan 15, 2024 · 1 comment
Open

bug: NanoVNASaver won't start on macOS #688

MKesenheimer opened this issue Jan 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MKesenheimer
Copy link

Bug Report

NanoVNA-Saver version:
00dd59f

Current behavior:
NanoVNASaver does not start and throws the following error when started from the command line:

[90198] Module object for pyimod02_importers is NULL!
Traceback (most recent call last):
  File "PyInstaller/loader/pyimod02_importers.py", line 22, in <module>
  File "pathlib.py", line 14, in <module>
  File "urllib/parse.py", line 40, in <module>
ModuleNotFoundError: No module named 'ipaddress'
Traceback (most recent call last):
  File "PyInstaller/loader/pyiboot01_bootstrap.py", line 17, in <module>
ModuleNotFoundError: No module named 'pyimod02_importers'
[90198] Failed to execute script 'pyiboot01_bootstrap' due to unhandled exception: No module named 'pyimod02_importers'
[90198] Traceback:
(null)

Expected behavior:
NanoVNASaver starts.

Steps to reproduce:
Start the NanoVNASaver application on macOS (Apple M1 Pro, Sonoma 14.2.1 (23C71), Python 3.11.7).

$ python --version
Python 3.11.7
$ ./dist/NanoVNASaver/NanoVNASaver
@MKesenheimer MKesenheimer added the bug Something isn't working label Jan 15, 2024
@lagomorph
Copy link

Not the exact same issue but build-macos-app.sh no longer works with python 3.12. Upgrading pip and doing the steps in the script manually gives an executable that crashes on startup.

$ python --version
Python 3.12.2
$ ./dist/NanoVNASaver/NanoVNASaver
setuptools_scm/_integration/setuptools.py:30: RuntimeWarning: 
ERROR: setuptools==0.dev0+unknown is used in combination with setuptools_scm>=8.x

Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=61

Suggested workaround if applicable:
 - migrating from the deprecated setup_requires mechanism to pep517/518
   and using a pyproject.toml to declare build dependencies
   which are reliably pre-installed before running the build tools

NanoVNASaver 0.6.3.post1.dev2+ga04d6d9

Copyright (C) 2019, 2020 Rune B. Broberg
Copyright (C) 2020ff NanoVNA-Saver Authors

This program comes with ABSOLUTELY NO WARRANTY
This program is licensed under the GNU General Public License version 3

See https://github.com/NanoVNA-Saver/nanovna-saver for further details.

zsh: segmentation fault  ./dist/NanoVNASaver/NanoVNASaver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants