Proposed fix tested in hirsute on a Raspberry Pi4 arm64 and on an PC
amd64.

Packages installed from hirsute-proposed:

libgjs0g (1.68.1-1~ubuntu0.21.04.1)
gjs (1.68.1-1~ubuntu0.21.04.1)

And, after reboot, do those tests:

1./ Test case:
gjs -c "imports.gi.Gio._promisify(imports.gi.Gio._LocalFilePrototype, 
'delete_async', 'delete_finish');
   print(imports.gi.Gio.File.new_for_path('/').delete_async(0, null));" && echo 
GJS works
[object Promise]
GJS works

2./ The error shown in every boot is gone.

3./ The indicator-multiload app is working as expected

So the bug seem to be fixed. Thanks and best regards.

** Tags removed: verification-needed-hirsute
** Tags added: verification-done-hirsute

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell-extension-appindicator
in Ubuntu.
https://bugs.launchpad.net/bugs/1923267

Title:
  Gjs promises on Gio.File operations don't work anymore after upgrading
  libglib2.0-0 2.67.5-2 to 2.68.0-1 (and indicator-multiload app broke)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gjs/+bug/1923267/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to