Package Details: archey4 v4.13.4-1

Git Clone URL: https://aur.archlinux.org/archey4.git (read-only, click to copy)
Package Base: archey4
Description: A simple system information tool written in Python
Upstream URL: https://github.com/HorlogeSkynet/archey4.git
Keywords: archey bsd linux monitoring neofetch python3 screenfetch screenshot system-information
Licenses: GPLv3
Conflicts: archey-git, archey2, archey3-git, pyarchey
Provides: archey
Submitter: HorlogeSkynet
Maintainer: HorlogeSkynet
Last Packager: HorlogeSkynet
Votes: 15
Popularity: 0.87
First Submitted: 2017-11-27 20:06 (UTC)
Last Updated: 2022-03-20 09:49 (UTC)

Dependencies (10)

Required by (0)

Sources (1)

Latest Comments

HorlogeSkynet commented on 2022-06-13 16:14 (UTC) (edited on 2022-06-13 16:14 (UTC) by HorlogeSkynet)

@MarkSeed Thanks for your comment. Yes I've planned to rework/improve this project versioning, stay tuned !

MarsSeed commented on 2022-06-12 15:45 (UTC)

Please kindly remove the 'v' prefix from pkgver.

Voted on this package; hope it gets adopted to Arch repos. :)

vasilejianu commented on 2021-09-04 17:51 (UTC)

https://github.com/HorlogeSkynet/archey4/issues/101

vasilejianu commented on 2021-09-04 17:49 (UTC)

yea i have installed zsh ,was previously using bash i have removed the user and added it again with a new zsh shell

HorlogeSkynet commented on 2021-09-04 17:45 (UTC)

@vasilejianu : have you tried under another BASH session without brew symbol exported by your previous plugin ? If you have a GitHub account I'd rater continue the conversation/debugging on a proper issue tracker !

vasilejianu commented on 2021-09-04 17:38 (UTC)

idk although that was the only ref to brew in the system i have uninstalled oh my bash and still getting the error i have tried under a diff user too

root@apex-main> find . -name "brew*" / root@apex-main> which brew / brew not found [1] root@apex-main>

apex-main% printenv USER=vas LOGNAME=vas HOME=/home/vas PATH=/root/.local/bin:/other/things/in/path:/usr/local/sbin:/usr/local/bin:/usr/bin:/root/.dotnet/tools:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl SHELL=/bin/zsh TERM=xterm-256color MOTD_SHOWN=pam MAIL=/var/spool/mail/root XDG_SESSION_ID=12 XDG_RUNTIME_DIR=/run/user/0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus XDG_SESSION_TYPE=tty XDG_SESSION_CLASS=user SSH_CLIENT=192.168.0.11 61846 22 SSH_CONNECTION=192.168.0.11 61846 192.168.0.250 22 SSH_TTY=/dev/pts/0 SHLVL=2 PWD=/ OLDPWD=/ DOTNET_ROOT=/usr/share/dotnet DOTNET_BUNDLE_EXTRACT_BASE_DIR=/root/.cache/dotnet_bundle_extract LANG=en_US.UTF-8 _=/usr/bin/printenv

HorlogeSkynet commented on 2021-09-04 17:20 (UTC) (edited on 2021-09-04 17:36 (UTC) by HorlogeSkynet)

@vasilejianu : good one. Although I'm confused about catching PermissionError in this case, as all the other sub-process calls across the code base do not, whereas the same problem could occur. What do you think about that ? Do you think this exception should be caught elsewhere ?

vasilejianu commented on 2021-09-04 17:07 (UTC)

→ find . -name "brew*" ./root/.oh-my-bash/completions/brew.completion.sh ./root/.oh-my-bash/plugins/brew ./root/.oh-my-bash/plugins/brew/brew.plugin.sh

seems that this is the culprit

HorlogeSkynet commented on 2021-09-04 16:57 (UTC)

@vasilejianu : could you try to run which brew under your regular user ? You can also use a (broad) find if nothing comes out; I'm pretty sure you got a brew (apparently not executable) somewhere. Almost there !

vasilejianu commented on 2021-09-04 16:51 (UTC)

this is interesting i have run the test manually under user priv it fails , under root privs it passes

[vas@apex-main archey4]$ python3 -m unittest .......................................................E...................................................................................... ====================================================================== ERROR: archey.test.entries.test_archey_packages (unittest.loader._FailedTest)


ImportError: Failed to import test module: archey.test.entries.test_archey_packages Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name import(name) File "/home/vas/archey4/archey/test/entries/test_archey_packages.py", line 9, in <module> from archey.entries.packages import Packages File "/home/vas/archey4/archey/entries/packages.py", line 34, in <module> {'cmd': ('ls', '-1', get_homebrew_cellar_path())}, # HomeBrew. File "/home/vas/archey4/archey/entries/packages.py", line 14, in get_homebrew_cellar_path return check_output( File "/usr/lib/python3.9/subprocess.py", line 424, in check_output return run(popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.9/subprocess.py", line 505, in run with Popen(popenargs, **kwargs) as process: File "/usr/lib/python3.9/subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: 'brew'


Ran 142 tests in 1.315s

FAILED (errors=1) [vas@apex-main archey4]$ sudo python3 -m unittest ...........................................................................................................................................................


Ran 155 tests in 1.302s

OK [vas@apex-main archey4]$

HorlogeSkynet commented on 2021-09-04 16:15 (UTC)

@vasilejianu : so I've tried with yay myself against an Arch container, and the check() part is really doing well... I think something is to blamed on your system (noexec(?), yay configuration(?), somehow brew is available under PATH on your vas regular user(?), ...). If you find out, please let me know. If something is definitely wrong upstream, let me know too. Good luck

vasilejianu commented on 2021-09-04 15:40 (UTC)

i don't have brew its weird is doing that its a minimal arch install Linux apex-main 5.13.13-arch1-1 #1 all i have is nginx,mariadb,php,named

which brew which: no brew in (/usr/local/sbin:/usr/local/bin:/usr/bin:/root/.dotnet/tools:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)

HorlogeSkynet commented on 2021-09-04 14:39 (UTC)

Hi @vasilejianu, thanks for your feedback. Have you got brew installed on your system ? Can you run brew --cellar manually ? I don't get why it would raise PermissionError exception, but we can catch it upstream in the future if needed... Bye, waiting for your input.

vasilejianu commented on 2021-09-04 14:12 (UTC)

getting this when trying to upgrade or clean install the latest build , any help ? thanks

==> Starting check()... .......................................................E...................................................................................... ====================================================================== ERROR: archey.test.entries.test_archey_packages (unittest.loader._FailedTest)


ImportError: Failed to import test module: archey.test.entries.test_archey_packages Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name import(name) File "/home/vas/.cache/yay/archey4/src/archey4-4.13.1/archey/test/entries/test_archey_packages.py", line 9, in <module> from archey.entries.packages import Packages File "/home/vas/.cache/yay/archey4/src/archey4-4.13.1/archey/entries/packages.py", line 34, in <module> {'cmd': ('ls', '-1', get_homebrew_cellar_path())}, # HomeBrew. File "/home/vas/.cache/yay/archey4/src/archey4-4.13.1/archey/entries/packages.py", line 14, in get_homebrew_cellar_path return check_output( File "/usr/lib/python3.9/subprocess.py", line 424, in check_output return run(popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.9/subprocess.py", line 505, in run with Popen(popenargs, **kwargs) as process: File "/usr/lib/python3.9/subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: 'brew'


Ran 142 tests in 1.304s

FAILED (errors=1) ==> ERROR: A failure occurred in check(). Aborting... error making: archey4

schnedan commented on 2021-02-08 12:38 (UTC)

Thx... you are right.

HorlogeSkynet commented on 2021-02-03 17:25 (UTC)

Hi @schnedan, it looks like you are running an old configuration layout (depreciated in v4.9.0, removed in v4.10.0). Please see https://github.com/HorlogeSkynet/archey4/releases/tag/v4.9.0 or https://github.com/HorlogeSkynet/archey4/wiki/Migration-guides#configuration-file-layout-change. Happy upgrade, BR

schnedan commented on 2021-02-02 22:49 (UTC) (edited on 2021-02-02 22:50 (UTC) by schnedan)

Don't know if it is a bug or what cased ist, but in my VM archey4 stopped working lately with:

Traceback (most recent call last):
File "/usr/bin/archey", line 33, in <module>
sys.exit(load_entry_point('archey4==4.10.0', 'console_scripts', 'archey')())
File "/usr/lib/python3.9/site-packages/archey/main.py", line 159, in main
for entry_instance in mapper(_entry_instantiator, available_entries):
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 600, in result_iterator
yield fs.pop().result()
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 433, in result
return self.get_result()
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(self.args, *self.kwargs)
File "/usr/lib/python3.9/site-packages/archey/__main
.py", line 132, in _entry_instantiator
return Entries[entry.pop('type')].value(
AttributeError: 'str' object has no attribute 'pop'

while the same version runs fine on my normal installations (no VM)... don't even know if the VM has to do something with the issue

can you help?

HorlogeSkynet commented on 2020-03-29 09:25 (UTC)

Thanks for your quick feedback, this should have been fixed in 4.7.0-3.

ultdev commented on 2020-03-29 00:44 (UTC)

Upgrading from 4.6 -> 4.7 has caused the /usr/bin/archey4 symlink to break, as the symlink creation has now been moved to a post_install() function in a .INSTALL file, which is not executed on package upgrade.

HorlogeSkynet commented on 2017-12-10 21:19 (UTC) (edited on 2018-08-31 18:45 (UTC) by HorlogeSkynet)

Hi, "Archey 3" does not look maintained anymore, so since April (2017) I'm working on this version. The code is cleaner, optimized and got a bunch of new features. I invite you to check out the GitHub page (https://git.io/archey4), everything is described there, and you'll have a link to my blog, with the reasons behind this decision. One Arch user asked me last summer why Archey 4 was not on AUR, now it's on its way :)

sajattack commented on 2017-12-10 21:15 (UTC)

How does it differ from archey3?