Package Details: tlpui 2:1.7.1-1

Git Clone URL: https://aur.archlinux.org/tlpui.git (read-only, click to copy)
Package Base: tlpui
Description: A GTK user interface for TLP written in Python
Upstream URL: https://github.com/d4nj1/TLPUI
Keywords: tlp tlpui
Licenses: GPL-2.0-or-later
Submitter: hayao
Maintainer: HurricanePootis
Last Packager: HurricanePootis
Votes: 45
Popularity: 2.01
First Submitted: 2020-12-11 11:20 (UTC)
Last Updated: 2024-09-30 05:04 (UTC)

Latest Comments

1 2 3 4 Next › Last »

ayhomaru commented on 2024-10-27 21:01 (UTC)

@tigerjack Not sure if it's the best way, but this is how I did it. Edit the build() function in the PKGBUILD file like this:

build() {
  rm "TLPUI-tlpui-1.7.1/.python-version"
  cd "TLPUI-$pkgname-$pkgver"
  python -m build --wheel --no-isolation
}

Californian commented on 2024-04-25 19:51 (UTC) (edited on 2024-04-25 20:02 (UTC) by Californian)

I removed that file (and also tried installing all requested python versions, and tried uninstalling pyenv), and despite all of that still get the error ....pyenv/versions/3.8.19/bin/python: No module named build. So I installed build (and also had to install poetry) for python 3.8.19 and now it installs but...doesn't show up.

@tigerjack I use paru so when it asks for review, find the file that should be somewhere like /tmp/aurNCimPg/tlpui/src/TLPUI-tlpui-1.6.5/.python-version. If you don't have review on by default, add the flag --review.

tigerjack commented on 2024-04-24 10:02 (UTC)

@Schnouki could you expand on how to remove the .python-version file?

Schnouki commented on 2024-04-15 22:24 (UTC)

I confirm @frittentheke's observation. Removing that file from build() (or prepare()) makes it possible to build the package again.

frittentheke commented on 2024-04-11 09:06 (UTC) (edited on 2024-04-11 09:10 (UTC) by frittentheke)

There seems to be an issue building this package if the system has the tool "pyenv" installed. The .python-version files (see https://github.com/pyenv/pyenv?tab=readme-ov-file#understanding-python-version-selection) contained in the package then causes the build to fail:

==> Retrieving sources...                                                                                                      [0/3748]
  -> Found tlpui-1.6.5.tar.gz                                                                                                          
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    tlpui-1.6.5.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: tlpui
==> Making package: tlpui 2:1.6.5-1 (Thu 11 Apr 2024 11:00:40 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found tlpui-1.6.5.tar.gz
==> Validating source files with sha256sums...
    tlpui-1.6.5.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting tlpui-1.6.5.tar.gz with bsdtar
==> Sources are ready.
==> Making package: tlpui 2:1.6.5-1 (Thu 11 Apr 2024 11:00:42 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
pyenv: version `3.8' is not installed (set by /home/itsme/.cache/yay/tlpui/src/TLPUI-tlpui-1.6.5/.python-version)
pyenv: version `3.9' is not installed (set by /home/itsme/.cache/yay/tlpui/src/TLPUI-tlpui-1.6.5/.python-version)
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: tlpui-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
tlpui - exit status 4

This file was just added upstream with the 1.6.5 release - https://github.com/d4nj1/TLPUI/commit/abe24c2944bc54a2d15f13da7d691ff5ba4dcb53

godsbball commented on 2024-03-07 05:24 (UTC) (edited on 2024-03-08 05:36 (UTC) by godsbball)

After the system was updated to KDE 6, and TLPUI was updated from version 1.6.1 to 1.6.4, the app did not work. It seems there are some problems with Python and Anaconda. However, even after I reinstalled them, it still does not work. Here are the errors:

$ sudo /opt/miniconda/bin/tlpui
Traceback (most recent call last):
  File "/opt/miniconda/bin/tlpui", line 5, in <module>
    from tlpui.__main__ import main
  File "/opt/miniconda/lib/python3.11/site-packages/tlpui/__main__.py", line 4, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

The exact problem shows that 'libstdc++.so.6: version ‘GLIBCXX_3.4.30‘ not found' after I tranfered desktop enviroment from Wayland to X11. Then I deleted the lib in the python directory and relinked it:

sudo rm /opt/miniconda/bin/../lib/libstdc++.so.6
ln -s /lib/libstdc++.so.6 /opt/miniconda/bin/../lib/libstdc++.so.6
tlpui

The version 1.6.1 came back but v1.6.4 still does not run. It seems v1.6.4 is not linked rightly in bin directory.

MartinX3 commented on 2024-03-01 15:40 (UTC)

I used an AUR-Helper (paru) and it worked.

Maybe a package is missing on your system which should be added to the PKGBUILD?

irminsul commented on 2024-03-01 13:38 (UTC)

Fails to build:

$ makepkg -i
==> Making package: tlpui 2:1.6.4-2 (Fr 01 Mär 2024 14:37:32 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading tlpui-1.6.4.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  898k    0  898k    0     0   565k      0 --:--:--  0:00:01 --:--:-- 2642k
==> Validating source files with sha256sums...
    tlpui-1.6.4.tar.gz ... Passed
==> Extracting sources...
  -> Extracting tlpui-1.6.4.tar.gz with bsdtar
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib/python3.11/site-packages/installer/__main__.py", line 98, in <module>
    _main(sys.argv[1:], "python -m installer")
  File "/usr/lib/python3.11/site-packages/installer/__main__.py", line 86, in _main
    with WheelFile.open(args.wheel) as source:
  File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/installer/sources.py", line 162, in open
    with zipfile.ZipFile(path) as f:
         ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/zipfile.py", line 1284, in __init__
    self.fp = io.open(file, filemode)
              ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'dist/*.whl'
==> ERROR: A failure occurred in package().
    Aborting...

MartinX3 commented on 2024-01-19 13:26 (UTC) (edited on 2024-01-19 13:27 (UTC) by MartinX3)

Version 1.7.0 got removed from github because the project name violates the pypi.org rules.

https://github.com/d4nj1/TLPUI/issues/145

They renamed the project from TLPUI to TLP-UI to try it again.

1.6.2 is now the newest version.
(Previous was 1.6.1)

42Willow commented on 2024-01-19 07:55 (UTC)

I am also getting the same error trying to install this package.