crash against undefined unity_launcher_entry_get_for_desktop_id

Bug #1909252 reported by Guy Delamarter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Fix Released
High
Damon Lynch

Bug Description

Startup of rpd 0.9.25 (and earlier versions) hangs on Fedora 33 and produces the following traceback:

Traceback (most recent call last):
  File "/venvs/rapid-photo-downloader/lib/python3.9/site-packages/raphodo/rapid.py", line 910, in initStage4
    )
gi.repository.GLib.Error: g-invoke-error-quark: Could not locate unity_launcher_entry_get_for_desktop_id: 'unity_launcher_entry_get_for_desktop_id': /venvs/rapid-photo-downloader/bin/python3: undefined symbol: unity_launcher_entry_get_for_desktop_id (1)

Earlier in rapid.py it is decided that it has unity simply because the required version imports work. The included patch simply checks if the offending call will also succeed before resolving that "have_unity".

Related branches

Revision history for this message
Guy Delamarter (c6aqeu9u) wrote :
Revision history for this message
Damon Lynch (dlynch3) wrote :

Thanks for the patch. I didn't encounter the bug in my tests on Fedora, but the patch looks fine.

Changed in rapid:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Damon Lynch (dlynch3)
milestone: none → 0.9.26
Damon Lynch (dlynch3)
Changed in rapid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.