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)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gjs (Ubuntu) |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
Hirsute |
Won't Fix
|
High
|
Marco Trevisan (Treviño) | ||
gnome-shell-extension-appindicator (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
As per glib commit https:/
[ Test case ]
gjs -c "imports.
print(
Should write on terminal:
[object Promise]
GJS works
In the bugged version would instead just:
(gjs:226393): Gjs-CRITICAL **: 16:45:51.396: JS ERROR: TypeError: method Gio.File.
@<command line>:2:48
(gjs:226393): Gjs-CRITICAL **: 16:45:51.396: Script <command line> threw an exception
[ Regression potential ]
Gjs apps are slower in starting up, or not act properly when / is not a local location.
---
Problem tested in two different environments:
- Ubuntu 21.04 Beta amd64
- Ubuntu 21.04 Beta arm64 (Raspberry Pi 4B 8GB)
After upgrading these packages:
libglib2.0-0 2.67.5-2 to 2.68.0-1
libglib2.0-bin 2.67.5-2 to 2.68.0-1
libglib2.0-data 2.67.5-2 to 2.68.0-1
The app indicator-multiload (0.4-0ubuntu5) doesn't work showing only three dots (...) instead of the graphic expected. It's throwing error messages to the system journal every second or so (depends of the refresh interval selected in the app settings):
abr 10 01:08:06 fpgrpi <email address hidden>[1487]: multiload, Impossible to read image from path '/run/user/
Don't know if this is a documented change of that method and the bug should be open for the indicator-multiload app. Please, if that's the case just let me know to do it.
Thanks and best reagrds
summary: |
- indicator-multiload app broken after upgrading libglib2.0-0 2.67.5-2 to - 2.68.0-1 + 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) |
description: | updated |
tags: |
added: verification-done verification-done-hirsute removed: verification-needed verification-needed-hirsute |
The errors seems to be coming from gnome-shell- extension- appindicator there, do you still get the issue using https:/ /launchpad. net/ubuntu/ +source/ gnome-shell- extension- appindicator/ 35-1 ?