You are not logged in.

#1 2022-10-16 09:23:37

DanielHCoding
Member
Registered: 2022-09-12
Posts: 12

[SOLVED] firewalld: no applet after installation

After installing firewalld by

sudo pacman -S firewalld
systemctl enable --now firewalld

and trying to run

firewall-applet

this error message appears:

Traceback (most recent call last):
  File "/usr/bin/firewall-applet", line 24, in <module>
    from PyQt5 import QtGui, QtCore, QtWidgets
ModuleNotFoundError: No module named 'PyQt5'

Installing PyQt5 manually with

pip install PyQt5

the error changes to

Traceback (most recent call last):
  File "/usr/bin/firewall-applet", line 31, in <module>
    from dbus.mainloop.pyqt5 import DBusQtMainLoop
ModuleNotFoundError: No module named 'dbus.mainloop.pyqt5'

Any idea how to solve this in order to get the little firewall icon in the taskbar working?

Last edited by DanielHCoding (2022-10-16 12:17:17)

Offline

#2 2022-10-16 09:27:47

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] firewalld: no applet after installation

Pacman told you when you installed firewalld that to use the applet you also need to install python-pyqt5.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-10-16 12:16:01

DanielHCoding
Member
Registered: 2022-09-12
Posts: 12

Re: [SOLVED] firewalld: no applet after installation

That's the solution. I simply overlooked that the applet is optional. After installing the optional dependencies

sudo pacman -S nm-connection-editor python-pyqt5

and rebooting everything works fine.

Thanks a lot for the quick help!

Last edited by DanielHCoding (2022-10-16 16:31:05)

Offline

Board footer

Powered by FluxBB