Bug 1791184

Summary: [abrt] blueberry: __getattr__(): module.py:132:__getattr__:AttributeError: 'gi.repository.XApp' object has no attribute 'StatusIcon'
Product: [Fedora] Fedora Reporter: ozmusoz
Component: blueberryAssignee: Alternative GTK desktop environments <alt-gtk-de-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: dominik, kevin, leigh123linux, miketwebster, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a19aff0e9a8d529f8b2af6c4600a4acd44c662d1
Whiteboard: abrt_hash:abf5d0df526a0ec6abfd65606e85ba33ec6005c2;VARIANT_ID=workstation;
Fixed In Version: blueberry-1.3.3-2.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-16 05:07:56 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 ozmusoz 2020-01-15 07:29:37 UTC
Version-Release number of selected component:
blueberry-1.3.3-1.fc31

Additional info:
reporter:       libreport-2.11.3
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        blueberry-tray '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: __getattr__
exception_type: AttributeError
executable:     /usr/lib/blueberry/blueberry-tray.py
interpreter:    blueberry-1.3.3-1.fc31.noarch
kernel:         5.3.11-300.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
module.py:132:__getattr__:AttributeError: 'gi.repository.XApp' object has no attribute 'StatusIcon'

Traceback (most recent call last):
  File "/usr/lib/blueberry/blueberry-tray.py", line 48, in do_startup
    self.icon = XApp.StatusIcon()
  File "/usr/lib64/python3.7/site-packages/gi/overrides/__init__.py", line 32, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib64/python3.7/site-packages/gi/module.py", line 132, in __getattr__
    self.__name__, name))
AttributeError: 'gi.repository.XApp' object has no attribute 'StatusIcon'

Local variables in innermost frame:
self: <IntrospectionModule 'XApp' from '/usr/lib64/girepository-1.0/XApp-1.0.typelib'>
name: 'StatusIcon'
info: None

Comment 1 ozmusoz 2020-01-15 07:29:40 UTC
Created attachment 1652363 [details]
File: backtrace

Comment 2 ozmusoz 2020-01-15 07:29:41 UTC
Created attachment 1652364 [details]
File: cpuinfo

Comment 3 ozmusoz 2020-01-15 07:29:43 UTC
Created attachment 1652365 [details]
File: environ

Comment 4 ozmusoz 2020-01-15 07:29:45 UTC
Created attachment 1652366 [details]
File: mountinfo

Comment 5 ozmusoz 2020-01-15 07:29:46 UTC
Created attachment 1652367 [details]
File: namespaces

Comment 6 ozmusoz 2020-01-15 07:29:47 UTC
Created attachment 1652368 [details]
File: open_fds

Comment 7 leigh scott 2020-01-15 08:42:40 UTC
Which DE are you using? if it's Mate you will need to install the xapps-mate package.

Comment 8 leigh scott 2020-01-15 08:49:59 UTC
XFCE users will need to compile and install xfce4-xapp-status-plugin

https://github.com/linuxmint/xfce4-xapp-status-plugin

I have also raised the issue upstream so they add an exemption to the code, non cinnamon. mate and xfce DE's wont have system tray support.

Comment 9 Michael Webster 2020-01-15 10:47:19 UTC
It has nothing to do with the tray applet, the minimum version of xapps required is 1.6, what version does the OP have?

If the tray applet was missing, this would just fall back to GtkStatusIcon.

Comment 10 leigh scott 2020-01-15 10:57:20 UTC
(In reply to Michael Webster from comment #9)
> It has nothing to do with the tray applet, the minimum version of xapps
> required is 1.6, what version does the OP have?
> 
> If the tray applet was missing, this would just fall back to GtkStatusIcon.

F31 has xapps-1.6.8-1.fc31.x86_64 in the stable repo

Comment 11 leigh scott 2020-01-15 20:48:27 UTC
Add required xapps version to prevent people from cherry picking updates and breaking the app.

Comment 12 leigh scott 2020-01-15 20:51:41 UTC
(In reply to leigh scott from comment #11)
> Add required xapps version to prevent people from cherry picking updates and
> breaking the app.

Fixed package https://bodhi.fedoraproject.org/updates/FEDORA-2020-219a6485ba

Comment 13 Fedora Update System 2020-01-16 21:39:47 UTC
blueberry-1.3.3-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-219a6485ba

Comment 14 Fedora Update System 2020-01-25 06:34:51 UTC
blueberry-1.3.3-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Red Hat Bugzilla 2023-09-14 05:49:54 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days