Bug 1283365
Summary: | Can't launch gnome-abrt (ImportError: cannot import name 'HTMLParseError') | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Giulio 'juliuxpigface' <juliux.pigface> | ||||
Component: | gnome-abrt | Assignee: | Francesco Frassinelli (frafra) <fraph24> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | fraph24, jfilak, juliux.pigface, mhabrnal, pschindl, robatino, satellitgo | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | AcceptedBlocker | ||||||
Fixed In Version: | gnome-abrt-1.2.1-1.fc24 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-11-24 06:56:43 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1230435 | ||||||
Attachments: |
|
Description
Giulio 'juliuxpigface'
2015-11-18 19:58:38 UTC
I also have seen abrt fail to start in f24 boot.iso install of workstation fpaste Logo New Paste Archives Feed API Help About Admin Wrap Raw code Shortened URL: http://ur1.ca/oac0p satellit@localhost ~]$ abrt-cli ls id 49a65a4f0a429c5061b0b150c99d57e187d91b49 reason: ibus-daemon killed by SIGABRT time: Tue 17 Nov 2015 01:36:02 PM PST cmdline: /usr/bin/ibus-daemon -r --xim package: ibus-1.5.11-2.fc24 uid: 1000 (satellit) count: 1 Directory: /var/spool/abrt/ccpp-2015-11-17-13:36:02-2435 Reported: https://retrace.fedoraproject.org/faf/reports/bthash/331706bb155ab9503a3933636082b30ebe24f0ee id cfa8af45492c95955a2228925feb5bba8d000cb2 reason: gnome-shell killed by SIGSEGV time: Mon 16 Nov 2015 07:31:54 AM PST cmdline: /usr/bin/gnome-shell uid: 1000 Directory: /var/spool/abrt/ccpp-2015-11-16-07:31:54-1889 Reported: cannot be reported id bea3c6930b27c363b9e26eb531c2c136aec00fee reason: bijiben killed by SIGTRAP time: Sun 15 Nov 2015 12:06:14 PM PST cmdline: bijiben package: bijiben-3.19.1-1.fc24 uid: 1000 (satellit) count: 1 Directory: /var/spool/abrt/ccpp-2015-11-15-12:06:14-26220 Reported: https://retrace.fedoraproject.org/faf/reports/bthash/aa2d3f418b5be4c115ed1a512ee79a9e98cf53d4 https://retrace.fedoraproject.org/faf/reports/788207/ https://bugzilla.redhat.com/show_bug.cgi?id=1268009 [satellit@localhost ~]$ HTMLParseError is not available in Python 3.5 (it has been deprecated in Python 3.4): https://hg.python.org/cpython/file/3.4/Lib/html/parser.py#l171 Try those command: # file=/usr/lib64/python3.5/site-packages/gnome_abrt/url/urltitle.py # cp $file{,.bak} # sed -i 's/, HTMLParseError//' $file # sed -i s/HTMLParseError/Exception/ $file (In reply to Francesco Frassinelli (frafra) from comment #3) > HTMLParseError is not available in Python 3.5 (it has been deprecated in > Python 3.4): > https://hg.python.org/cpython/file/3.4/Lib/html/parser.py#l171 > > Try those command: > # file=/usr/lib64/python3.5/site-packages/gnome_abrt/url/urltitle.py > # cp $file{,.bak} > # sed -i 's/, HTMLParseError//' $file > # sed -i s/HTMLParseError/Exception/ $file I think you are right, Francesco. I confirm that the above commands, fix the issue. I can launch gnome-abrt normally after these changes. I can confirm that this also fixes f24 gnome wayland abrt I can launch gnome-abrt normally after these changes. Created attachment 1096353 [details] HTMLParseError replaced with generic Exception Ok, great :) You can revert it using this command: # mv /usr/lib64/python3.5/site-packages/gnome_abrt/url/urltitle.py{.bak,} Here's my pull request: https://github.com/abrt/gnome-abrt/pull/146 Meanwhile, here's a Koji build which includes my patch: https://kojipkgs.fedoraproject.org//work/tasks/5074/11895074/ Koji build for i686/x86:64/armv7hl: http://koji.fedoraproject.org/koji/taskinfo?taskID=11895070 Proposed as a Blocker for 24-final by Fedora user juliuxpigface using the blocker tracking app because: Although I think this will be fixed shortly, as it stands now, it's a clear violation of the "2.4.6 Default application functionality" Final criteria. "All applications that can be launched using the standard graphical mechanism of a release-blocking desktop after a default installation of that desktop must start successfully and withstand a basic functionality test." gnome-abrt is part of the standard applications' set of Fedora Workstation and Fedora KDE Spin. Link: https://fedoraproject.org/wiki/Fedora_24_Final_Release_Criteria#Default_application_functionality Discussed at 2015-11-23 blocker review meeting: [1]. This bug was accepted as F24 Final blocker: This bug clearly violates the final criterion "All applications that can be launched using the standard graphical mechanism of a release-blocking desktop after a default installation of that desktop must start successfully and withstand a basic functionality test." [1] http://meetbot.fedoraproject.org/fedora-blocker-review/2015-11-23/f24-blocker-review.2015-11-23-17.00.html |