Built an Alpine package for v0.1.1 but I see this error when I try to run it:
~$ nwg-panel
pylsa module not found, will try amixer
Running on sway
Traceback (most recent call last):
File "/usr/bin/nwg-panel", line 33, in <module>
sys.exit(load_entry_point('nwg-panel==0.1.0', 'gui_scripts', 'nwg-panel')())
File "/usr/lib/python3.8/site-packages/nwg_panel/main.py", line 340, in main
cc = Controls(panel["controls-settings"], panel["position"], panel["controls"],
File "/usr/lib/python3.8/site-packages/nwg_panel/modules/controls.py", line 73, in __init__
self.popup_window = PopupWindow(position, alignment, settings, width, monitor=monitor, icons_path=self.icons_path)
File "/usr/lib/python3.8/site-packages/nwg_panel/modules/controls.py", line 340, in __init__
scale.set_value(value)
TypeError: Argument 1 does not allow None as a value
1~$
Here’s my APKBUILD:
# Contributor: Matthew T Hoare <matthew.t.hoare@gmail.com>
# Maintainer: Matthew T Hoare <matthew.t.hoare@gmail.com>
pkgname=nwg-panel
pkgver=0.1.1
pkgrel=0
pkgdesc="GTK3-based panel for sway window manager"
url="https://github.com/nwg-piotr/nwg-panel"
arch="noarch"
license="MIT"
depends="gtk+3.0 gtk-layer-shell python3 py3-gobject3 py3-i3ipc py3-psutil"
makedepends="py3-setuptools py3-wheel"
options="!check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-panel/archive/v$pkgver.tar.gz"
package() {
python setup.py install --root="$pkgdir" --optimize=1
install -D -t "pkgdir"/usr/share/pixmaps nwg-panel.svg
install -D -t "pkgdir"/usr/share/applications nwg-panel-config.desktop
}
sha512sums="32b6fd18fda2dea50f4f06b1175e5df886f6577d412dfdaf9bc12912189ee9a89ecb849de131c7047b719b2ca1b619106b39cc7954b1576b1b4835a061070296 nwg-panel-0.1.1.tar.gz"
What have I done wrong? Apologies in advance, I’m so tired from $DAY_JOB that I’m having trouble thinking straight.