Giter Club home page Giter Club logo

Comments (6)

moritz-t-w avatar moritz-t-w commented on June 12, 2024 1

The problem seems to lie with top bar organizer more than with argos.
https://gitlab.gnome.org/julianschacher/top-bar-organizer/-/issues/15

from argos.

mwilck avatar mwilck commented on June 12, 2024 1

Thanks for investigating yourself, appreciated.

from argos.

moritz-t-w avatar moritz-t-w commented on June 12, 2024

I logged out and back in and can't reproduce.

from argos.

moritz-t-w avatar moritz-t-w commented on June 12, 2024

I can reproduce again, it's been happening after the first refresh of this:

$ cat ~/.config/argos/tltt_1_menu.sh
#!/bin/bash
"$(dirname $0)/tl-time-tracker/tltt.sh" menu ""
$ cat ~/.config/argos/tl-time-tracker/
#!/bin/bash
response=$(curl -s "http://localhost:9999/$1")

if [ -z "$response" ]; then
	echo "$2"
	echo "---"
	echo "󰑐 Neu laden | refresh=true"
else
	echo "$response"
fi

The output looks something like this:

$ curl -s http://localhost:9999/menu
󱫠| font="JetBrainsMono Nerd Font" | trim=false | bash="true" | terminal=false
---
󰓛  Stop                    | font="JetBrainsMono Nerd Font" | trim=false | bash="curl" | terminal=false | refresh=true | param1="http://localhost:9999/toggle"
󰑐  Neu Laden| font="JetBrainsMono Nerd Font" | trim=false | bash="curl" | terminal=false | refresh=true | param1="http://localhost:9999/refresh"
---
󰦒  Zeit bearbeiten| font="JetBrainsMono Nerd Font" | trim=false
--󰐕  5 Minuten| font="JetBrainsMono Nerd Font" | trim=false | bash="curl" | terminal=false | param1="http://localhost:9999/edit?minutes=5"
--󰐕  15 Minuten| font="JetBrainsMono Nerd Font" | trim=false | bash="curl" | terminal=false | param1="http://localhost:9999/edit?minutes=15"
--󰐕  1 Stunde| font="JetBrainsMono Nerd Font" | trim=false | bash="curl" | terminal=false | param1="http://localhost:9999/edit?minutes=60"
--󰍴  5 Minuten| font="JetBrainsMono Nerd Font" | trim=false | bash="curl" | terminal=false | param1="http://localhost:9999/edit?minutes=-5"
--󰍴  15 Minuten| font="JetBrainsMono Nerd Font" | trim=false | bash="curl" | terminal=false | param1="http://localhost:9999/edit?minutes=-15"
--󰍴  1 Stunde| font="JetBrainsMono Nerd Font" | trim=false | bash="curl" | terminal=false | param1="http://localhost:9999/edit?minutes=-60"
---
---
󰏌  Website Öffnen| font="JetBrainsMono Nerd Font" | trim=false | href="https://example.com/"

When I click on "Neu Laden" the error happens.

from argos.

moritz-t-w avatar moritz-t-w commented on June 12, 2024
Feb 20 09:06:34 moritz gnome-shell[23345]: Extension [email protected]: TypeError: appIndicator is undefined

Stack trace:
  #handleAppIndicatorItem@file:///home/mtw/.local/share/gnome-shell/extensions/[email protected]/extensionModules/BoxOrderManager.js:51:27
  addNewItemsToBoxOrder@file:///home/mtw/.local/share/gnome-shell/extensions/[email protected]/extensionModules/BoxOrderManager.js:232:60
  saveNewTopBarItems@file:///home/mtw/.local/share/gnome-shell/extensions/[email protected]/extensionModules/BoxOrderManager.js:258:30
  #handleNewItemsAndOrderTopBar@file:///home/mtw/.local/share/gnome-shell/extensions/[email protected]/extension.js:164:31
  handleNewItemsAndOrderTopBar@file:///home/mtw/.local/share/gnome-shell/extensions/[email protected]/extension.js:69:47
  #overwritePanelAddToPanelBox/Panel.Panel.prototype._addToPanelBox@file:///home/mtw/.local/share/gnome-shell/extensions/[email protected]/extension.js:77:13
  addToStatusArea@resource:///org/gnome/shell/ui/panel.js:950:14
  addButtons@file:///home/mtw/.local/share/gnome-shell/extensions/[email protected]/extension.js:105:16
  enable@file:///home/mtw/.local/share/gnome-shell/extensions/[email protected]/extension.js:54:8
  _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:253:38
  async*_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:606:24
  _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:705:18
  createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46
  enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:277:29
  EnableExtension@resource:///org/gnome/shell/ui/shellDBus.js:453:38
  _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:329:38
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
  @resource:///org/gnome/shell/ui/init.js:21:20

This time it happened immediately after enabling the extension.

from argos.

moritz-t-w avatar moritz-t-w commented on June 12, 2024

Now that I read the error message, I see this is an issue with top bar organizer.

from argos.

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.