question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't open settings a second time

See original GitHub issue

I installed this extension a few days ago, but when I went to set it up I forgot I had to walk to the bridge to hit the button as part of the setup process. I was about to go to sleep so I quit the setup process and planned to do it later. But now I’m getting the following crash:

The settings of extension hue-lights@chlumskyvaclav.gmail.com had an error:

Error: Type name AddBridgeDialog is already registered

Stack trace:

registerGObjectType@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:542:50
registerWidgetType@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:92:39
_init/GObject.Object._classInit@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:515:33
_init/Gtk.Widget._classInit@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:75:31
registerClass@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:74:23
@/home/cam/.local/share/gnome-shell/extensions/hue-lights@chlumskyvaclav.gmail.com/prefs.js:59:33
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:129:33
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ccopecommented, Nov 11, 2022

I see, I figured maybe you could add some code to clean up incomplete setups. I did reboot yesterday and it works now though. Thanks for building this, it’s very useful!

0reactions
vchlumcommented, Nov 11, 2022

I am glad it finally works. It concerns more objects than just setup-related… I will not close this issue. It will serve as a reminder for investigation. Currently, the extension update usually needs user relog. I think I can see why now;-) Once I will have time, I would try to improve.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft Settings Won't Open
1. Open Settings · 2. Select Update & Security · 3. Click the Recovery tab. · 4. Look for Advanced Startup then hit...
Read more >
How To Fix Windows 10 Settings Not Opening/Working
Chapters. View all · Check If the Settings App is Enabled · Check If the Settings App is Enabled · Check If the...
Read more >
What to Do When Windows 10/11 Settings App Is Not Opening?
Windows 10 Settings Not Opening FAQ · Go to Start > Settings. · Enter settings to the Windows 10's search box to open...
Read more >
How to Fix the “Settings app not opening in Windows 10”
Windows 10 Settings app doesn't open: The most common issue related to the settings app. You can identify this issue by clicking on...
Read more >
Reset Chrome settings to default - Google Support
You can restore your browser settings in Chrome at any time. ... These steps won't provide a full reset. ... Settings menu missing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found