Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L libnotify
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • libnotify
  • Issues
  • #27

libnotify version number bump broke apps using GIR bindings

Apps using libnotify's GIR bindings need to be updated for the new libnotify version. Was this an intentional change?

Here's an example using GNOME Tweaks which now crashes on startup:

Traceback (most recent call last):
  File "/usr/bin/gnome-tweaks", line 76, in <module>
    from gtweak.app import GnomeTweaks
  File "/usr/lib/python3.10/site-packages/gtweak/app.py", line 14, in <module>
    from gtweak.tweakmodel import TweakModel
  File "/usr/lib/python3.10/site-packages/gtweak/tweakmodel.py", line 10, in <module>
    from gtweak.utils import SchemaList, LogoutNotification, Notification
  File "/usr/lib/python3.10/site-packages/gtweak/utils.py", line 15, in <module>
    gi.require_version("Notify", "0.7")
  File "/usr/lib/python3.10/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace Notify not available for version 0.7

Also reported at https://bugs.debian.org/1015008 and https://bugs.debian.org/1015006

Edited Jul 16, 2022 by Jeremy Bicha
Assignee
Assign to
Time tracking