FS#65119 - [blueberry] 1.3.4-1: blueberry-tray crashes with ValueError due to missing XApp

Attached to Project: Community Packages
Opened by AntiCompositeNumber (AntiComposite) - Sunday, 12 January 2020, 01:19 GMT
Last edited by Balló György (City-busz) - Monday, 13 January 2020, 11:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

blueberry-tray, packaged in blueberry 1.3.4-1, crashes on start with the following traceback:

Traceback (most recent call last):
File "/usr/lib/blueberry/blueberry-tray.py", line 8, in <module>
gi.require_version('XApp', '1.0')
File "/usr/lib/python3.8/site-packages/gi/__init__.py", line 129, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace XApp not available
Job 1, 'blueberry-tray &' has ended

This appears to be a result of an added dependency on XApp that was added in 1.30 (https://github.com/linuxmint/blueberry/commit/c7f229dd6444fdc6ec4638ef0dbfff2806d89c82). Simply installing python-xapp does not solve the issue. The issue still occurs with python-gobject-git installed from the AUR in place of python-gobject-3.34.0-3. Blueberry itself works normally.
This task depends upon

Closed by  Balló György (City-busz)
Monday, 13 January 2020, 11:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  blueberry 1.3.4-2
Comment by Eli Schwartz (eschwartz) - Sunday, 12 January 2020, 01:24 GMT
> Simply installing python-xapp does not solve the issue.

Hmm? You mean it still crashes with the same "Namespace XApp not available" message? If it crashes with something else once python-xapp is installed, please clarify the new error message.
Comment by AntiCompositeNumber (AntiComposite) - Sunday, 12 January 2020, 01:26 GMT
Correct, there is no change: it still crashes with the same `ValueError: Namespace XApp not available` when python-xapp 1.8.1-1 is installed.
Comment by Eli Schwartz (eschwartz) - Sunday, 12 January 2020, 08:26 GMT
Then that would indicate it's unrelated. What files does python-xapp install? As it turns out, no gobject-introspection typelibs, but also it doesn't depend on "xapps" either. Try installing xapps instead.
Comment by AntiCompositeNumber (AntiComposite) - Sunday, 12 January 2020, 21:53 GMT
The tray icon works correctly with xapps-1.6.8-1 installed.

Loading...