0ry0n / Resource_Monitor

Resource_Monitor is a GNOME Shell extension that Monitor the use of system resources like cpu, ram, disk, network and display them in GNOME Shell top bar.
GNU General Public License v3.0
143 stars 20 forks source link

gnome shell warnings in journal #30

Closed anno0 closed 2 years ago

anno0 commented 3 years ago

Describe the bug Often I see the following message in journal log. I attached the log snippet.

Desktop (please complete the following information):

Additional context deprecated.txt

tswaehn commented 2 years ago

looks similar to my case

Nov 25 11:02:13 debian64 gnome-shell[6035]: JS ERROR: Error: Error: df: /run/user/1000/doc: Operation not permitted

                                            _refreshDiskSpace/<@/home/tswaehn/.local/share/gnome-shell/extensions/Resource_Monitor@Ory0n/extension.js:1201:23
Nov 25 11:02:15 debian64 gnome-shell[6035]: JS ERROR: Error: Error: df: /run/user/1000/doc: Operation not permitted

for some reason this extension tries to get the diskspace of an empty folder. this may be unintentional and should be

df /run/user/1000 

instead of

df /run/user/1000/doc

this is a nice extension. but need to uninstall because of that :(

0ry0n commented 2 years ago

@anno0 thanks for reporting. It has been fixed in the later version 38b21e1d43b9c6e6216fe2b6b49eef47730dfa86.

0ry0n commented 2 years ago

@tswaehn thanks for reporting. Please tell me which version of GNOME you are using, because the error is different from that of @anno0. Thanks.

tswaehn commented 2 years ago

Iam using gnome 40

0ry0n commented 2 years ago

Fixed in release 16.