Bug 2240292
| Summary: | [abrt] bottles: module(): generic.py:25:<module>:ModuleNotFoundError: No module named 'chardet' | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | chinh4thepro+redhat | ||||||||||||||||
| Component: | bottles | Assignee: | Sandro <gui1ty> | ||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 39 | CC: | chinh4thepro+redhat, ego.cordatus, gui1ty, mail, maxwell, thunderbirdtr, walter.pete | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/8d2f02fd6d554139fff8187e69f083a8dd7d252 | ||||||||||||||||||
| Whiteboard: | abrt_hash:13bfb1832e17438ada95603c017d7c0f780f1982;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | bottles-51.9-1.fc39 bottles-51.9-5.fc40 | Doc Type: | If docs needed, set a value | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2023-09-26 00:18:04 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
chinh4thepro+redhat
2023-09-22 22:30:10 UTC
Created attachment 1990137 [details]
File: os_info
Created attachment 1990138 [details]
File: environ
Created attachment 1990139 [details]
File: mountinfo
Created attachment 1990140 [details]
File: open_fds
Created attachment 1990141 [details]
File: namespaces
Created attachment 1990142 [details]
File: backtrace
Created attachment 1990143 [details]
File: cpuinfo
Thanks for the bug report. I'm assuming it's looking for chardet from python3-chardet. Could you check if you have that installed: `rpm -qv python3-chardet`? If not, install it and see if it solves the issue. If so, I'll add it as a dependency to the package. FEDORA-2023-1886bcf803 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1886bcf803 FEDORA-2023-1886bcf803 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. /usr/share/bottles/bottles/backend/utils/generic.py:95: SyntaxWarning: invalid escape sequence '\d'
result.extend([int(t) if t.isdigit() else t.lower() for t in re.split('(\d+)', text)])
Traceback (most recent call last):
File "/usr/bin/bottles", line 44, in <module>
from bottles.frontend import main
File "/usr/share/bottles/bottles/frontend/main.py", line 36, in <module>
from bottles.frontend.windows.main_window import MainWindow
File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 27, in <module>
from bottles.backend.health import HealthChecker
File "/usr/share/bottles/bottles/backend/health.py", line 26, in <module>
from bottles.backend.utils.generic import is_glibc_min_available
File "/usr/share/bottles/bottles/backend/utils/generic.py", line 25, in <module>
import chardet
ModuleNotFoundError: No module named 'chardet'
Installed `python3-chardet`. Now it is working
reporter: libreport-2.17.11
kernel: 6.5.5-300.fc39.x86_64
cmdline: /usr/bin/python3 /usr/bin/bottles
cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-com.usebottles.bottles-60740a67342746eba2bb84504889521c.scope
uid: 1000
reason: generic.py:25:<module>:ModuleNotFoundError: No module named 'chardet'
executable: /usr/bin/bottles
type: Python3
package: bottles-1:51.9-1.fc39
runlevel: N 5
exception_type: ModuleNotFoundError
crash_function: module
interpreter: python3-3.12.0~rc3-1.fc39.x86_64
(In reply to osc97cure from comment #11) > Installed `python3-chardet`. Now it is working Excellent! I'll add it to the requirements. FEDORA-2023-152dd78a7f has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-152dd78a7f FEDORA-2023-152dd78a7f has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. |