Giter Site home page Giter Site logo

Comments (17)

simonbcn avatar simonbcn commented on May 29, 2024

I don't know where the problem was but now it works well.

from arch-update.

simonbcn avatar simonbcn commented on May 29, 2024

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.

RaphaelRochet avatar RaphaelRochet commented on May 29, 2024

Ok I'll investigate.

from arch-update.

simonbcn avatar simonbcn commented on May 29, 2024

There are 2 problems, I don't know if they are related.

  1. Notifications on lock screen.
  2. 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.

RaphaelRochet avatar RaphaelRochet commented on May 29, 2024

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.

simonbcn avatar simonbcn commented on May 29, 2024

I didn't realize that, logging errors only occur while the session is idle.

from arch-update.

RaphaelRochet avatar RaphaelRochet commented on May 29, 2024

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.

simonbcn avatar simonbcn commented on May 29, 2024

Yes, I have transient notifications enabled. The notification on lock screen occurs sometimes.
Today it haven't occurred.

from arch-update.

RaphaelRochet avatar RaphaelRochet commented on May 29, 2024

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.

RaphaelRochet avatar RaphaelRochet commented on May 29, 2024

Can you try the latest commit ? Should fix the notification issue.

from arch-update.

RaphaelRochet avatar RaphaelRochet commented on May 29, 2024

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.

simonbcn avatar simonbcn commented on May 29, 2024

I'm testing it.

from arch-update.

simonbcn avatar simonbcn commented on May 29, 2024

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.

RaphaelRochet avatar RaphaelRochet commented on May 29, 2024

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.

simonbcn avatar simonbcn commented on May 29, 2024

Is there any way to debug it?

from arch-update.

RaphaelRochet avatar RaphaelRochet commented on May 29, 2024

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.

simonbcn avatar simonbcn commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.