Comments (17)
I don't know where the problem was but now it works well.
from arch-update.
No, it fails again:
...
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #0 0x7ffea9d06d90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:334 (0x7fc5ebf30918 @ 836)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #2 0x7ffea9d06ea0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:422 (0x7fc5ebf30d58 @ 126)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #4 0x7ffea9d06fb0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:410 (0x7fc5ebf30c48 @ 285)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #6 0x7ffea9d070b0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:377 (0x7fc5ebf30b38 @ 17)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #0 0x7ffea9d06c60 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:350 (0x7fc5ebf30a28 @ 65)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #2 0x7ffea9d06d90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:335 (0x7fc5ebf30918 @ 870)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #4 0x7ffea9d06ea0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:422 (0x7fc5ebf30d58 @ 126)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #6 0x7ffea9d06fb0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:410 (0x7fc5ebf30c48 @ 285)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #8 0x7ffea9d070b0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:377 (0x7fc5ebf30b38 @ 17)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #0 0x7ffea9d06c60 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:351 (0x7fc5ebf30a28 @ 88)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #2 0x7ffea9d06d90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:335 (0x7fc5ebf30918 @ 870)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #4 0x7ffea9d06ea0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:422 (0x7fc5ebf30d58 @ 126)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #6 0x7ffea9d06fb0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:410 (0x7fc5ebf30c48 @ 285)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #8 0x7ffea9d070b0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:377 (0x7fc5ebf30b38 @ 17)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #0 0x7ffea9d06c60 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:352 (0x7fc5ebf30a28 @ 118)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #2 0x7ffea9d06d90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:335 (0x7fc5ebf30918 @ 870)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #4 0x7ffea9d06ea0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:422 (0x7fc5ebf30d58 @ 126)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #6 0x7ffea9d06fb0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:410 (0x7fc5ebf30c48 @ 285)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #8 0x7ffea9d070b0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:377 (0x7fc5ebf30b38 @ 17)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #0 0x7ffea9d06c60 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:353 (0x7fc5ebf30a28 @ 137)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #2 0x7ffea9d06d90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:335 (0x7fc5ebf30918 @ 870)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #4 0x7ffea9d06ea0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:422 (0x7fc5ebf30d58 @ 126)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #6 0x7ffea9d06fb0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:410 (0x7fc5ebf30c48 @ 285)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #8 0x7ffea9d070b0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:377 (0x7fc5ebf30b38 @ 17)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #0 0x7ffea9d06c60 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:357 (0x7fc5ebf30a28 @ 161)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #2 0x7ffea9d06d90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:335 (0x7fc5ebf30918 @ 870)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #4 0x7ffea9d06ea0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:422 (0x7fc5ebf30d58 @ 126)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #6 0x7ffea9d06fb0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:410 (0x7fc5ebf30c48 @ 285)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #8 0x7ffea9d070b0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:377 (0x7fc5ebf30b38 @ 17)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #0 0x7ffea9d06c90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:235 (0x7fc5ebf30560 @ 82)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #2 0x7ffea9d06d90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:341 (0x7fc5ebf30918 @ 931)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #4 0x7ffea9d06ea0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:422 (0x7fc5ebf30d58 @ 126)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #6 0x7ffea9d06fb0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:410 (0x7fc5ebf30c48 @ 285)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #8 0x7ffea9d070b0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:377 (0x7fc5ebf30b38 @ 17)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #0 0x7ffea9d06c90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:237 (0x7fc5ebf30560 @ 103)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #2 0x7ffea9d06d90 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:341 (0x7fc5ebf30918 @ 931)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #4 0x7ffea9d06ea0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:422 (0x7fc5ebf30d58 @ 126)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #6 0x7ffea9d06fb0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:410 (0x7fc5ebf30c48 @ 285)
ago 06 11:37:26 arch-juan org.gnome.Shell.desktop[717]: #8 0x7ffea9d070b0 b /home/juan/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:377 (0x7fc5ebf30b38 @ 17)
...
I have to disable this extension until this works well.
from arch-update.
Ok I'll investigate.
from arch-update.
There are 2 problems, I don't know if they are related.
- Notifications on lock screen.
- Too many errors/warnings in journal.
Could the second problem be caused by using this line: /bin/sh -c "yay -Sy &>/dev/null && yay -Pu --color never"
to check for updates?
from arch-update.
Do you see errors even when the screen is not locked ?
I think there's something about timers not being disabled while screen is locked. I noticed the extension is disabled but not completely unloaded, letting active timers trigger orphaned code. I didn't took the time to look at it yet.
from arch-update.
I didn't realize that, logging errors only occur while the session is idle.
from arch-update.
I have fix the errors you see in logs. But I can't reproduce your first issue, the notifications on lock screen : every time I lock my screen, the extensions is correctly disabled and can't do anything.
Do you have transient notifications enabled ?
from arch-update.
Yes, I have transient notifications enabled. The notification on lock screen occurs sometimes.
Today it haven't occurred.
from arch-update.
Ahhh could it be "old" (already fired) notifications that are shown then ... I don't think I can do something for that .... or ... maybe ... I can delete them on destroy .. intense thinking
from arch-update.
Can you try the latest commit ? Should fix the notification issue.
from arch-update.
I made a little fix on the fix to suppress a bug introduced with the fix. Can you give it a try ?
from arch-update.
I'm testing it.
from arch-update.
The error no longer appears in my log. But notifications still appear when the display is off. Extensions are supposed to be disabled when the session is idle.
from arch-update.
I have no clue where to look now.
On my setup the extension is completely disabled whenever I lock the screen, all timers and triggers are stopped (ie the extension won"t check for updates neither it will detect a change in pacman cache) and any existing notification is removed.
from arch-update.
Is there any way to debug it?
from arch-update.
There's no debugger, only thing one can add is add log commands in extension.js to see if/when such or such function is called, or output some variables in the log.
For exemple, adding :
log("arch-update is stopping");
just after :
destroy: function() {
will let you see in the log "arch-update is stopping" each time the extension is disabled.
from arch-update.
I'm going to close this issue. I'm not sure it's an extension problem. It doesn't always happen. In fact, in the last 4 days it hasn't happened again.
from arch-update.
Related Issues (20)
- Fedora adaptation? HOT 4
- Update button not working after a while HOT 4
- [Feature request] Debian and apt HOT 9
- Local pacman dir folder setting changed needs a restart HOT 1
- How to change fnome-terminal to alacritty to update? HOT 1
- Refresh seems not to be working anymore? HOT 1
- Gnome 45 version HOT 12
- Rejected from extensions.gnome.org HOT 2
- Package names are underlined HOT 6
- AUR : pamac issue HOT 15
- Check AUR updates and show them in the topbar icon HOT 2
- [Feature request] option to move the indicator into quick settings menu HOT 1
- wiki error with the update command for yay HOT 2
- add whitelist
- Incompatibility with Gnome 46 (beta) HOT 27
- Version number is not shown properly while scrolling HOT 2
- Enhancement archlinux news HOT 2
- Timer is reset on lock/unlock preventing automatic checks if locked often HOT 7
- PACKAGE_INFO_CMD ==> Bad Request HOT 8
- Yay updates HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arch-update.