Bug ID 1206008
Summary sealert - ModuleNotFoundError: No module named 'formatter'
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS openSUSE Tumbleweed
Status NEW
Severity Major
Priority P5 - None
Component X11 Applications
Assignee screening-team-bugs@suse.de
Reporter torsten@behrens.biz
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hi,

I run into a bug at "sealert", because of the outdated formatter module (at
Python310) which should not be used anymore.

Command:

sealert -s 

Message:

pps, sealert hit an error!

Traceback (most recent call last):
  File "/usr/bin/sealert", line 682, in <module>
    run_as_dbus_service(username)
  File "/usr/bin/sealert", line 127, in run_as_dbus_service
    app = SEAlert(user, dbus_service.presentation_manager,
watch_setroubleshootd=True)
  File "/usr/bin/sealert", line 344, in __init__
    from setroubleshoot.serverconnection import ServerConnectionHandler
  File "/usr/lib/python3.10/site-packages/setroubleshoot/serverconnection.py",
line 22, in <module>
    from setroubleshoot.rpc_interfaces import SETroubleshootServerInterface
  File "/usr/lib/python3.10/site-packages/setroubleshoot/rpc_interfaces.py",
line 21, in <module>
    from setroubleshoot.signature import *
  File "/usr/lib/python3.10/site-packages/setroubleshoot/signature.py", line
72, in <module>
    from setroubleshoot.html_util import *
  File "/usr/lib/python3.10/site-packages/setroubleshoot/html_util.py", line
39, in <module>
    import formatter as Formatter
ModuleNotFoundError: No module named 'formatter'

The workaround could be, to use the outdated formatter module and/or sealert
with a different python version. 

Also maybe formatter2 can be used? 

Hopefully this bug can be fixed at python310 ? 

Thanks

Kind regards
Torsten


You are receiving this mail because: