Bug 949979 - gnome-abrt nor abrt desktop app fails to start abrt gui now
Summary: gnome-abrt nor abrt desktop app fails to start abrt gui now
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: 18
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-09 12:19 UTC by Naipaul Ojar
Modified: 2016-12-01 00:43 UTC (History)
8 users (show)

Fixed In Version: gnome-abrt-0.2.12-2.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-16 02:55:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
abrt_diag for 201304010_1600 (51.75 KB, application/octet-stream)
2013-04-10 15:09 UTC, Naipaul Ojar
no flags Details

Description Naipaul Ojar 2013-04-09 12:19:29 UTC
Description of problem:
The default desktop application for abrt : gnome-abrt does not start the abrt gui. This used to work, since first isntalling F18

Version-Release number of selected component (if applicable):
abrt          : abrt-2.1.2-2.fc18.x86_64
Fedora kernel : 3.8.5-201.fc18.x86_64

I have checked and there are a number of binaries under /usr/bin
abrt-*
abrt-gui
abrt-applet

How reproducible:
Every time the ABRT desktop app is selected from from Gnome Desktop or menu, I see some activity but no final application is started.

starting: /usr/bin/abrt-gui
does work correctly and starts the abrt-gui   


Steps to Reproduce:
1. select the abrt gnome desktop gui icon
2. see the application is starting, but aborts
3. start the application from command line and see the errors generated.
  
Actual results:
gnome-abrt &
[1] 32437
[nojar@UserPC ~]$ ERROR:root:'NoneType' object has no attribute 'rfind'
Traceback (most recent call last):
  File "/usr/bin/gnome-abrt", line 68, in do_activate
    self.window = gnome_abrt.OopsWindow(self, self.source, gnome_abrt.Controller(self.source))
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 133, in __init__
    self._reload_problems(self._source)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 237, in _reload_problems
    self._add_problem_to_storage(p)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 213, in _add_problem_to_storage
    self.ls_problems.append(problem_to_storage_values(problem))
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 83, in problem_to_storage_values
    app = problem.get_application()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 170, in get_application
    self['cmdline'])
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/application.py", line 107, in find_application
    if n[1](n[0], dai):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/application.py", line 62, in compare_cmdline
    ret = os.path.basename(cmdline) == os.path.basename(dcmdline) or cmdline == dcmdline
  File "/usr/lib64/python2.7/posixpath.py", line 112, in basename
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

[1]+  Exit 1                  gnome-abrt

Expected results:
run /usr/bin/abrt-gui
The abrt GUI is initialised and is available for use.

Additional info:

Something is wrong either with my package or configuration or the method to invoke gnome-abrt has changed.

Comment 1 Naipaul Ojar 2013-04-09 12:20:50 UTC
The default ABRT desktop application starts gnome-abrt.

Comment 2 Naipaul Ojar 2013-04-09 17:55:38 UTC
I ABRT Alerts of issues, but when I open the abrt-gui, I see historically submitted reports but none of the "Not submiited reports", that I was alerted about.

This makes this issue a of greater importance

Comment 3 Jakub Filak 2013-04-10 07:35:16 UTC
(In reply to comment #2)
> I ABRT Alerts of issues, but when I open the abrt-gui, I see historically
> submitted reports but none of the "Not submiited reports", that I was
> alerted about.
> 
> This makes this issue a of greater importance

ABRT show notifications even for issues of other users (not only currently logged user). To see these issues check "All problems" checkbox.

Comment 4 Naipaul Ojar 2013-04-10 10:43:47 UTC
Dear Jakub,

Thanks for the recommendation. That could have been a valid suggestion, but I did that prior to raising the problem report and I still have not seen any issues being reported - not even 1. I have received at least 3 abrt alerts and none are in the abrt-gui.

On receiving the last abrt alert, I went straight to the abrt-gui, saw nothing and then ticked the box, entered my root-user password successfully and did not see any issues.

This issue did not exist when I first came to Fedora 18, and I have successfully completed 36 reports - many were previously reported though.

I have never had to tick the "all users" box before, but that may be new. I still do not have any "un-processed" abrts listed in the GUI.

I believe that there may be another issue, of higher severity that is preventing the sucess completion of the recording of abrt issues.

I will be happy to perform any additional test that may assist you in diagnosing the issues.

Thanks in advance.

Comment 5 Jakub Filak 2013-04-10 12:33:09 UTC
(In reply to comment #4)
Thank you! I really appreciate your cooperation.

Please, provide the output of following commands:

$ grep abrt /var/log/messages
$ ls -alRZ /var/tmp/abrt/ | head -200
$ dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.problems /org/freedesktop/problems org.freedesktop.problems.GetProblems
$ abrt-gui -vvv

Comment 6 Naipaul Ojar 2013-04-10 15:09:17 UTC
Created attachment 733747 [details]
abrt_diag for 201304010_1600

Results per requested diagnostic commands.

Comment 7 Jakub Filak 2013-04-11 08:55:36 UTC
(In reply to comment #6)
> Created attachment 733747 [details]
> abrt_diag for 201304010_1600
> 
> Results per requested diagnostic commands.

All problems are considered as reported because at least they were submitted on the abrt server https://abrt.fedoraproject.org/ . 'uReport' key in Submitted column in abrt-gui holds identifier of the report on the server. You can see the report at https://abrt.fedoraproject.org/faf/reports/bthash/$BTHASH_VALUE_FROM_SUBMITTED_COLUMN

If file ~/.config/abrt/settings/abrt-applet.conf contains line AutoreportingEnabled = "yes", abrt-applet sends ureports (micro reports) for detected problems automatically to the abrt server.

If gnome-abrt works, it suggests reporting of a problem to Bugzilla if the problem was submitted only on the abrt server.

Comment 8 Jakub Filak 2013-04-22 07:35:03 UTC
Fixed in upstream git

commit c7d55bc407f222083ad77de32a4d99732dd54d55
Author: Jakub Filak <jfilak>
Date:   Fri Apr 12 17:13:18 2013 +0200

    Compare all DesktopEntry.*() return values to None
    
    Closes rhbz#949979
    
    Signed-off-by: Jakub Filak <jfilak>
    Signed-off-by: Martin Milata <mmilata>

Comment 9 Fedora Update System 2013-04-22 14:04:17 UTC
gnome-abrt-0.2.11-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gnome-abrt-0.2.11-1.fc18

Comment 10 Fedora Update System 2013-04-23 00:24:19 UTC
Package gnome-abrt-0.2.11-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-abrt-0.2.11-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-6284/gnome-abrt-0.2.11-1.fc18
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2013-05-06 07:53:11 UTC
gnome-abrt-0.2.12-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gnome-abrt-0.2.12-1.fc18

Comment 12 Fedora Update System 2013-05-16 02:55:26 UTC
gnome-abrt-0.2.12-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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