You are not logged in.

#1 2020-12-24 21:07:43

Snow-Sudo
Member
Registered: 2020-09-13
Posts: 15

Error when trying to run Bleachbit

I installed Bleachbit from the community repo but when running Bleachbit from terminal, I get this error:

"/usr/share/bleachbit/__init__.py:267: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if msgctxt is not None and msgctxt is not "":
Traceback (most recent call last):
  File "/usr/bin/bleachbit", line 43, in <module>
    import bleachbit.GUI
  File "/usr/share/bleachbit/GUI.py", line 25, in <module>
    from bleachbit import GuiBasic
  File "/usr/share/bleachbit/GuiBasic.py", line 28, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

I made sure to install all of the dependencies listed here:
https://archlinux.org/packages/community/any/bleachbit/

Unfortunately, I still get the error.

Offline

#2 2020-12-24 21:28:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,309

Re: Error when trying to run Bleachbit

First read:
https://lwn.net/Articles/313679/
https://blog.martin-graesslin.com/blog/ … bleachbit/

The "gi" module is in python-gobject - why have you "made sure to install all of the dependencies"? Pacman is supposed to do that.
How did you install bleachbit?

Is there another version?
=> Output of

pacman -Qs bleachbit
type bleachbit
pacman -Qo bleachbit

Online

Board footer

Powered by FluxBB