Skip to content

Notifications hanging phpunit-watcher on Ubuntu 24.04 #168

@Adesin-fr

Description

@Adesin-fr

On a fresh install of ubuntu 24.04, when the test are run the second time, I got this error in the console after the tests :

(process:108181): GLib-GObject-CRITICAL **: 13:45:53.232: cannot register existing type 'NotifyNotification'

(process:108181): GLib-CRITICAL **: 13:45:53.232: g_once_init_leave_pointer: assertion 'result != 0' failed

(process:108181): GLib-GObject-CRITICAL **: 13:45:53.232: g_object_new_valist: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(process:108181): libnotify-CRITICAL **: 13:45:53.232: notify_notification_show: assertion 'notification != NULL' failed

(process:108181): GLib-GObject-CRITICAL **: 13:45:53.232: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Then, the third run freezes and I have to quit phpunit-watch to run it again (for 3 times only...)

I need to disable notifications to get over this error and be able to run the tests more than 3 times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions