You are not logged in.

#1 2023-03-25 19:01:13

xXPerditorXx
Member
From: Germany
Registered: 2023-03-25
Posts: 19

Unable to run firewall-applet

My problem is, that I'm unable to run firewall-applet on my Laptop (Dell Latitude 7280). I installed firewalld and started it with

sudo systemctl enable --now firewalld

Now I had the problem that it isn't showing up. After typing firewall-applet in the console I saw, that PyQT5 wasn't installed so I did

sudo pacman -S python-pyqt5

as well as pip install pyqt5.
Now, the error changed to another, but I don't know how to fix it, and my main pc had no problems with this where i just used sudo pacman -S firewalld.

I googled everything but there isn't any solution so far, that seem to work.
The error is:

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'

I already tried tried:

  • sudo pacman -S dbus-python
    sudo pacman -S python-dbus
    sudo pacman -S python-pyqt5

  • Checking if pyqt5 is even installed ll /usr/lib/python3.10/site-packages/dbus/mainloop/ and both pc and laptop showed pyqt5.abi3.so
    Comparing which packages are installed on both pc and laptop with pacman -Q, containing gtk,gnome,qt,dbus -- but all there are the same even the version


Started working with Linux in 2015

Offline

#2 2023-03-25 19:05:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,649

Re: Unable to run firewall-applet

That pip command is probably screwing things up. Uninstall that.

Online

#3 2023-03-25 19:10:21

xXPerditorXx
Member
From: Germany
Registered: 2023-03-25
Posts: 19

Re: Unable to run firewall-applet

Now I get the error

PermissionError: [Errno 13] Permission denied: '/usr/bin/pylupdate5

if I use the command pip uninstall pyqt5


Edit:
It was already uninstalled and it showed an error because it was a pacman package, where it has no rights to remove.

Last edited by xXPerditorXx (2023-03-26 09:04:01)


Started working with Linux in 2015

Offline

#4 2023-03-26 11:07:02

xXPerditorXx
Member
From: Germany
Registered: 2023-03-25
Posts: 19

Re: Unable to run firewall-applet

Finally fixed it by uninstalling dbus-python in pip:

pip uninstall dbus-python

Started working with Linux in 2015

Offline

Board footer

Powered by FluxBB