Bug 2162771 - Glances 3.3.1 Update Missing python-ujson Requirement
Summary: Glances 3.3.1 Update Missing python-ujson Requirement
Keywords:
Status: CLOSED DUPLICATE of bug 2162627
Alias: None
Product: Fedora
Classification: Fedora
Component: glances
Version: 36
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ali Erdinc Koroglu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-20 20:05 UTC by Jonathan Steffan
Modified: 2023-01-20 20:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-01-20 20:10:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Steffan 2023-01-20 20:05:14 UTC
Description of problem:

Glances does not start with the error following error.

Traceback (most recent call last):
  File "/usr/bin/glances", line 5, in <module>
    from glances import main
  File "/usr/lib/python3.11/site-packages/glances/__init__.py", line 35, in <module>
    from glances.compat import PY3
  File "/usr/lib/python3.11/site-packages/glances/compat.py", line 24, in <module>
    from glances.logger import logger
  File "/usr/lib/python3.11/site-packages/glances/logger.py", line 20, in <module>
    from glances.globals import safe_makedirs
  File "/usr/lib/python3.11/site-packages/glances/globals.py", line 16, in <module>
    import ujson
ModuleNotFoundError: No module named 'ujson'

This happened after the latest update from updates-testing:

    Upgrade  glances-3.3.1-1.fc37.noarch                     @updates-testing
    Upgraded glances-3.3.0.4-2.fc37.noarch                   @@System


Version-Release number of selected component (if applicable):

glances-3.3.1-1.fc37.noarch



How reproducible:


Steps to Reproduce:
1. Update to glances-3.3.1-1.fc37.noarch


Actual results:

Python traceback.


Expected results:

Glances runs.


Additional info:

Installing python3-ujson fixes things up and should be added as a Requires.

Comment 1 Jonathan Steffan 2023-01-20 20:10:40 UTC
Looks like this is already fixed in rawhide per rhbz#2162627.

*** This bug has been marked as a duplicate of bug 2162627 ***


Note You need to log in before you can comment on or make changes to this bug.