phpunit-watcher icon indicating copy to clipboard operation
phpunit-watcher copied to clipboard

Notifications hanging phpunit-watcher on Ubuntu 24.04

Open Adesin-fr opened this issue 7 months ago • 0 comments

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.

Adesin-fr avatar Jun 19 '25 11:06 Adesin-fr