linux-man / gnome-shell-extension-printers

Gnome extension - Manage Jobs and Printers
GNU General Public License v3.0
14 stars 13 forks source link

Extension install error. #16

Closed prigal closed 4 years ago

prigal commented 4 years ago

I can't install it, I have the same problem with an other extension that used to work (https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/247)

JS ERROR: Extension printers@linux-man.org: Error: Type name Gjs_PrintersManager is already registered
                                                _construct@resource:///org/gnome/gjs/modules/script/_legacy.js:531:31
                                                wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
                                                newClass@resource:///org/gnome/gjs/modules/script/_legacy.js:114:21
                                                Class@resource:///org/gnome/gjs/modules/script/_legacy.js:65:16
                                                @/home/prigal/.local/share/gnome-shell/extensions/printers@linux-man.org/extension.js:48:25
                                                _callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:425:13
                                                loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:346:27
                                                callback@resource:///org/gnome/shell/ui/extensionDownloader.js:232:39
                                                gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:115:13
linux-man commented 4 years ago

Are you using "Zorin Printers"? It's a clone and it registers with the same name.

I don't know what have you tried, so forgive me if you've already done it:

prigal commented 4 years ago

Hello, you're probably right I have tried both extensions and maybe one of them was not correctly disabled. It's ok now, I have only yours installed and it's working. Thank you.

linux-man commented 4 years ago

You're welcome.