Package Details: nanovna-saver 0.3.10-1

Git Clone URL: https://aur.archlinux.org/nanovna-saver.git (read-only, click to copy)
Package Base: nanovna-saver
Description: PC control for the NanoVNA.
Upstream URL: https://github.com/mihtjel/nanovna-saver
Licenses: GPL3
Submitter: wiccan2
Maintainer: wiccan2
Last Packager: wiccan2
Votes: 4
Popularity: 0.026737
First Submitted: 2019-12-29 19:10 (UTC)
Last Updated: 2022-01-05 11:39 (UTC)

Latest Comments

df8oe commented on 2022-01-07 07:14 (UTC)

You are so right :) I am hitting the bug of setuptools. Downgraded to 57.4.0-6 and it builds perfectly. Thanks for your investigation!

wiccan2 commented on 2022-01-06 11:40 (UTC) (edited on 2022-01-06 11:41 (UTC) by wiccan2)

I've just run the build in a clean docker image and it builds without issue.

In my container version 1:57.4.0-6 of setuptools got installed which is the latest in the Extra repository.

The stack trace seems to imply that the issues is a bug in setuptools that was reported to the upstream Python guys on Github. This bug seems to affect versions greater than 59 of setuptools but has been fixed in version 59.4.0.

Version 1:59.1.0-1 is currently in the testing repo for Arch, is this the version you have installed? If so you will be hitting this bug.

As a work around you could modify the src/nanovna-saver-0.3.10/setup.cfg file to remove all the newlines from the description field. The following patch should do this:

6,10c6
< description =
<     A multiplatform tool to save Touchstone files from the
<     NanoVNA, sweep frequency spans in segments to gain more
<     data points, and generally display and analyze the
<     resulting data.
---
> description = A multiplatform tool to save Touchstone files from the NanoVNA, sweep frequency spans in segments to gain more data points, and generally display and analyze the resulting data.

The true fix however would be to either use the supported setuptools from Extra or wait for testing to move onto version 59.4.0.

df8oe commented on 2022-01-06 05:59 (UTC)

Does not build:
Traceback (most recent call last): File "/build/nanovna-saver/src/nanovna-saver-0.3.10/./setup.py", line 21, in <module>
setup()
File "/usr/lib/python3.10/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.10/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.10/site-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
File "/usr/lib/python3.10/distutils/command/install.py", line 580, in run
self.run_command(cmd_name)
File "/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.10/site-packages/setuptools/command/install_egg_info.py", line 34, in run
self.run_command('egg_info')
File "/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 292, in run
writer(self, ep.name, os.path.join(self.egg_info, ep.name))
File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 656, in write_pkg_info
metadata.write_pkg_info(cmd.egg_info)
File "/usr/lib/python3.10/distutils/dist.py", line 1117, in write_pkg_info
self.write_pkg_file(pkg_info)
File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 167, in write_pkg_file
write_field('Summary', single_line(self.get_description()))
File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 151, in single_line
raise ValueError('Newlines are not allowed')
ValueError: Newlines are not allowed
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/andreas/build
Fehler: kann ‚nanovna-saver-0.3.10-1‘ nicht bauen: Ausführung fehlgeschlagen: makechrootpkg -r /var/lib/aurbuild/x86_64 -D /var/cache/pacman/pkg -d /var/cache/pacman/pkg/ -- -feA --noconfirm --noprepare --holdver:
Fehler: kann Pakete nicht bauen: nanovna-saver-0.3.10-1

not_anonymous commented on 2020-01-17 12:26 (UTC)

$ NanoVNASaver Traceback (most recent call last): File "/usr/bin/NanoVNASaver", line 11, in <module> load_entry_point('NanoVNASaver==0.2.2', 'console_scripts', 'NanoVNASaver')() File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 2852, in load_entry_point return ep.load() File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 2443, in load return self.resolve() File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 2449, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/lib/python3.8/site-packages/NanoVNASaver/main.py", line 21, in <module> from PyQt5 import QtWidgets, QtCore ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory

$ yay -Qo /usr/lib/libQt5Core.so.5 /usr/lib/libQt5Core.so.5 is owned by qt5-base 5.14.0-2