Bug 2162627

Summary: [abrt] glances: module(): globals.py:16:<module>:ModuleNotFoundError: No module named 'ujson'
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: glancesAssignee: Ali Erdinc Koroglu <aekoroglu>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: aekoroglu, jonathan, jonathansteffan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/698fdf4aa911e699ef54307a71bd5b8f6b8da442
Whiteboard: abrt_hash:45040124a9d7967940f44b2dd1a246e6672d9a2f;VARIANT_ID=workstation;
Fixed In Version: glances-3.3.1-2.el9 glances-3.3.1-2.el8 glances-3.3.1-3.fc37 glances-3.3.1-3.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-30 00:35:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Kamil Páral 2023-01-20 08:38:25 UTC
Description of problem:
Just tried to run glances. It seems a dependency is missing.

Version-Release number of selected component:
glances-3.3.1-1.fc37

Additional info:
reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-8ff6ba35-7c8c-4365-a4d2-120e8458de55.scope
cmdline:        /usr/bin/python3 -sP /usr/bin/glances --theme-white
crash_function: module
exception_type: ModuleNotFoundError
executable:     /usr/bin/glances
interpreter:    python3-3.11.1-3.fc37.x86_64
kernel:         6.1.6-200.fc37.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 [/usr/lib/python3.11/site-packages/glances/globals.py:16] <module>
#2 [/usr/lib/python3.11/site-packages/glances/logger.py:20] <module>
#3 [/usr/lib/python3.11/site-packages/glances/compat.py:24] <module>
#4 [/usr/lib/python3.11/site-packages/glances/__init__.py:35] <module>
#5 [/usr/bin/glances:5] <module>

Comment 1 Kamil Páral 2023-01-20 08:38:29 UTC
Created attachment 1939300 [details]
File: backtrace

Comment 2 Kamil Páral 2023-01-20 08:38:30 UTC
Created attachment 1939301 [details]
File: cpuinfo

Comment 3 Kamil Páral 2023-01-20 08:38:32 UTC
Created attachment 1939302 [details]
File: environ

Comment 4 Kamil Páral 2023-01-20 08:38:33 UTC
Created attachment 1939303 [details]
File: mountinfo

Comment 5 Kamil Páral 2023-01-20 08:38:35 UTC
Created attachment 1939304 [details]
File: namespaces

Comment 6 Kamil Páral 2023-01-20 08:38:37 UTC
Created attachment 1939305 [details]
File: open_fds

Comment 7 Ali Erdinc Koroglu 2023-01-20 12:51:57 UTC
Interesting, that should be working https://github.com/nicolargo/glances/blob/develop/setup.py#L52
Good catch, thank you.

Comment 8 Fedora Update System 2023-01-20 13:11:55 UTC
FEDORA-2023-daa2e1c33f has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-daa2e1c33f

Comment 9 Fedora Update System 2023-01-20 13:21:49 UTC
FEDORA-2023-3ccacc6c90 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3ccacc6c90

Comment 10 Fedora Update System 2023-01-20 13:51:25 UTC
FEDORA-EPEL-2023-7d9e2d3726 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-7d9e2d3726

Comment 11 Fedora Update System 2023-01-20 14:07:26 UTC
FEDORA-EPEL-2023-acaaaf27cd has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-acaaaf27cd

Comment 12 Jonathan Steffan 2023-01-20 20:10:40 UTC
*** Bug 2162771 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2023-01-22 01:37:16 UTC
FEDORA-2023-3ccacc6c90 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-3ccacc6c90`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-3ccacc6c90

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2023-01-22 02:01:45 UTC
FEDORA-EPEL-2023-acaaaf27cd has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-acaaaf27cd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2023-01-22 02:04:01 UTC
FEDORA-EPEL-2023-7d9e2d3726 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-7d9e2d3726

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2023-01-22 02:40:55 UTC
FEDORA-2023-daa2e1c33f has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-daa2e1c33f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-daa2e1c33f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Kamil Páral 2023-01-23 08:22:39 UTC
On F37, the dependency is fixed and glances now start. Thanks.

Comment 18 Fedora Update System 2023-01-30 00:35:01 UTC
FEDORA-EPEL-2023-7d9e2d3726 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2023-01-30 01:02:40 UTC
FEDORA-EPEL-2023-acaaaf27cd has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2023-01-30 01:24:10 UTC
FEDORA-2023-daa2e1c33f has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2023-01-30 01:30:50 UTC
FEDORA-2023-3ccacc6c90 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.