Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working #74

Closed
dbtmro opened this issue Jan 15, 2013 · 51 comments
Closed

not working #74

dbtmro opened this issue Jan 15, 2013 · 51 comments
Labels

Comments

@dbtmro
Copy link

dbtmro commented Jan 15, 2013

Hi.
After the last update the extension is not working anymore in Ububntu 12.04 LTS x32 or x64 -gnome 3.4.1. The extension is installed but does not work.
Please fix this... ...it realy is a useful and cool extension.
Thank you.

@Neroth
Copy link
Owner

Neroth commented Jan 15, 2013

Please, give me more information (.xsession etc...) ! :)

@dbtmro
Copy link
Author

dbtmro commented Jan 15, 2013

Hi.
I have updated my system Ubuntu 12.04 LTS x32 - Gnome Shell 3.4.1, including weather extension. After update - Alt + F2 + r . In Gnome Tweak Tool the weather extension was off, so I clicked ON... ...and nothing happened. Then I have rebooted the system and when I looked in Gnome tweak Tool, weather extension was off again, and I clicked ON again, and nothing happened. I closed the Gnome Tweak Tool, and reopened and the weather extension was off. It just doesn't want to stay on, and when I click it on it doesn't work.
Please help... ...I'm really addicted to Gnome Shell Extensions, especially the weather.
Thank you.

@ghost
Copy link

ghost commented Jan 15, 2013

Newest Update does not work for me either.
Tweak Tool says "Invalid Extension" when trying to add.
Installing it via apt-get installs it but wont enable due to "Error loading extension" in Tweak Tool. Same for installing it manually.
Update before this one worked fine.

Running Ubuntu 12.10 quantal x86_64 3.5.0-21-generic. Gnome 3.6.0.

@Neroth
Copy link
Owner

Neroth commented Jan 15, 2013

Sorry, but I need debug ... I only have Archlinux x86_64 GNOME 3.6 (work fine) and Fedora 17 x86_64 GNOME 3.4 (work fine too). Give me the content of the file /home/you/.xsession-errors ;)

@Neroth
Copy link
Owner

Neroth commented Jan 15, 2013

You can give me the [alt] + [f2] + lg, Extensions tab, "Show me the error" output !

@ghost
Copy link

ghost commented Jan 15, 2013

Tweak Tools still says "Error loading extension", but in the log it says no Errors.
Oh, and I cannot find the Extension via extensions.gnome.org/ anymore

@Neroth
Copy link
Owner

Neroth commented Jan 15, 2013

I cannot help you with that ... Launch nautilus (files), [ctrl] + [h], open .xsession-errors, send me the content !

A friend has try on Ubuntu 12.10, everything ok ...

@ghost
Copy link

ghost commented Jan 15, 2013

Here it comes.

** Message: applet now removed from the notification area
** Message: using fallback from indicator to GtkStatusIcon
DockbarX 0.90.3
DockbarX init
"sni-qt/19053" WARN 17:18:08.447 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
DockbarX reload
Xlib.protocol.request.QueryExtension
JS LOG: IBus version is too old

** (nautilus:19050): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:19050): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:19050): WARNING **: Can not get _NET_WORKAREA

** (nautilus:19050): WARNING *: Can not determine workarea, guessing at layout
JS LOG: GNOME Shell started at Sat Dec 22 2012 17:18:10 GMT+0100 (CET)
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/home/onyx/.local/share/gnome-shell/extensions/CoverflowAltTab@palatis.blogspot.com/switcher.js' line 98 exception 0 number 157
JS LOG: loading user theme: /usr/share//themes/Boje-Red/gnome-shell/gnome-shell.css
JS ERROR: !!! WARNING: 'assignment to undeclared variable item'
JS ERROR: !!! WARNING: file '/home/onyx/.local/share/gnome-shell/extensions/settings-menu@unmacaque.github.com/extension.js' line 142 exception 0 number 156
JS ERROR: !!! WARNING: 'assignment to undeclared variable concat'
JS ERROR: !!! WARNING: file '/home/onyx/.local/share/gnome-shell/extensions/settings-menu@unmacaque.github.com/extension.js' line 149 exception 0 number 156
*
Message: Stopping applet secret agent because GNOME Shell appeared
** Message: applet now embedded in the notification area
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

** (nautilus:19050): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:19050): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:19050): WARNING **: Can not get _NET_WORKAREA

** (nautilus:19050): WARNING **: Can not determine workarea, guessing at layout

(synergy:19053): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion `GTK_IS_WIDGET (widget)' failed

(synergy:19053): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion GTK_IS_WIDGET (widget)' failed Window manager warning: CurrentTime used to choose focus window; focus window may not be correct. Window manager warning: Got a request to focus 0x1200004 (Desktop) with a timestamp of 0. This shouldn't happen! Window manager warning: Log level 8: gtk_style_context_add_provider: assertionGTK_IS_STYLE_PROVIDER (provider)' failed
Executing: pantheon-terminal

** (zeitgeist-datahub:19568): WARNING **: zeitgeist-datahub.vala:227: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
Window manager warning: Log level 16: STACK_OP_RAISE_ABOVE: sibling window 0x1c00004 not in stack
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x160005d (synapse)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x160005d (synapse)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
DockbarX 0.90.3
DockbarX init
DockbarX reload
/usr/bin/dockx:1081: GtkWarning: IA__gtk_window_get_screen: assertion `GTK_IS_WINDOW (window)' failed
screen = self.get_screen()
Xlib.protocol.request.QueryExtension
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x160005d (synapse)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.

(roccatgui:19867): Kone[+]-WARNING **: Profile settings and rmp for 0 differ

(roccatgui:19867): Kone[+]-WARNING **: Profile buttons and rmp for 0 differ

(roccatgui:19867): Kone[+]-WARNING **: Profile settings and rmp for 1 differ

(roccatgui:19867): Kone[+]-WARNING **: Profile buttons and rmp for 1 differ

(roccatgui:19867): Kone[+]-WARNING **: Profile settings and rmp for 2 differ

(roccatgui:19867): Kone[+]-WARNING **: Profile settings and rmp for 3 differ

(roccatgui:19867): Kone[+]-WARNING **: Profile settings and rmp for 4 differ

Executing: /usr/bin/chromium-browser
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x160005d (synapse)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.

(gnome-session-properties:20368): GLib-GObject-WARNING **: g_object_set_valist: object class GsmAppDialog' has no property namedallow-shrink'
Executing: nautilus
Removing launcher: nautilus
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x160005d (synapse)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
"sni-qt/20448" WARN 17:33:05.356 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
Xlib.protocol.request.QueryExtension
Executing: pantheon-terminal
Window manager warning: Log level 16: STACK_OP_RAISE_ABOVE: sibling window 0x2e13410 not in stack
Window manager warning: Log level 16: STACK_OP_LOWER_BELOW: sibling window 0x2e13410 not in stack
Executing: nautilus
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/01%20Open%20Doors.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/02%20Pinhole%20Cameras.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/03%20Up%20To%20Infinity.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/04%20Opera%20Obscura.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/05%20Lost%20Songs.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/06%20Flower%20Card%20Games.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/07%20A%20Place%20To%20Rest.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/08%20Heart%20Of%20Wires.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/09%20Catatonic.mp3: Unrecognized image file format
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/10%20Awestruck.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/11%20Bright%20Young%20Things.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/12%20Time%20And%20Again.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/13%20Skywhaling.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/And%20You%20Will%20Know%20Us%20By%20The%20Trail%20Of%20Dead/Lost%20Songs%20(Limited%20Edition)/CD%201/14%20Mountain%20Battle%20Song.mp3: Unrecognized image file format
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Deathtrip%20Forever/Live-At-KXLU-Livation/01-01-Black-Moon.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Deathtrip%20Forever/Live-At-KXLU-Livation/02-02-Cant-Be-Tamed.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Deathtrip%20Forever/Live-At-KXLU-Livation/03-03-Thousand-Eyes.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Deathtrip%20Forever/Live-At-KXLU-Livation/04-04-Asked-For-a-Kiss.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Deathtrip%20Forever/Live-At-KXLU-Livation/05-05-Gone-Too-Fast.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Deathtrip%20Forever/Live-At-KXLU-Livation/06-06-Voodoo-ChildSlight-Return.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Deathtrip%20Forever/Live-At-KXLU-Livation/07-08-Are-You-ReadyFor-Some-Darkness.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/01%20-%20Heart%20&%20Soul.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/02%20-%20Isolation.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/03%20-%20Love%20Will%20Tear%20Us%20Apart%20(Peninne%20Version).mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/04%20-%20She's%20Lost%20Control.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/05%20-%20These%20Days.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/06%20-%20Love%20Will%20Tear%20Us%20Apart.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/07%20-%20As%20You%20Said.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/08%20-%20Incubation.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/09%20-%20Komakino.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/10%20-%20Dead%20Souls.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/11%20-%20Atmosphere.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/12%20-%20Novelty.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/13%20-%20Transmission.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/14%20-%20From%20Safety%20To%20Where.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/15%20-%20Autosuggestion.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/16%20-%20Glass.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/17%20-%20Digital.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/18%20-%20Failures.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/19%20-%20No%20Love%20Lost.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/20%20-%20Leaders%20Of%20Men.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Joy%20Division/+-/21%20-%20Warsaw.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/01%20Cold%20Champagne.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/02%20Astral%20Projection.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/05%20Mammoth.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/06%20Sore%20Point.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/10%20Absurd.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/12%20Desert%20Orgy.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/13%20Stagger.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/14%20Latitude.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/14%20Sidereal.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/15%20Y.mp3: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Unable to create loader for mime type audio/mpeg: Unrecognized image file format

(nautilus:19050): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/onyx/Data/Music/Neosignal/16%20Basic%20Memory.mp3: Unrecognized image file format
Window manager warning: Log level 8: meta_window_raise: assertion !window->override_redirect' failed Window manager warning: Log level 8: meta_window_focus: assertion!window->override_redirect' failed
Executing: nautilus

(gnome-shell:19036): Clutter-WARNING **: Actor '[:0x32b57e0]' should not be mapped if parent '[:0x31c2a40]'is not visible

(gnome-shell:19036): Clutter-WARNING **: Actor '[:0x32b57e0]' should not be mapped if parent '[:0x31c2a40]'is not visible

(gnome-shell:19036): Clutter-WARNING **: Actor '[:0x32b57e0]' should not be mapped if parent '[:0x31c2a40]'is not visible

(gnome-shell:19036): Clutter-WARNING **: Actor '[:0x32b57e0]' should not be mapped if parent '[:0x31c2a40]'is not visible
INFO : No translated schema for org.gnome.desktop.background (domain: gsettings-desktop-schemas)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.desktop.input-sources (domain: gsettings-desktop-schemas)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
true

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
true

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
0

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
'on'
Possible values are "on", "off", and "custom".

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
400

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
100

INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : Missing gsettings org.gnome.settings-daemon.peripherals.keyboard (key input-sources-switcher)
INFO : No translated schema for org.gnome.desktop.interface (domain: gsettings-desktop-schemas)
INFO : No translated schema for org.gnome.desktop.wm.preferences (domain: gsettings-desktop-schemas)
INFO : No translated schema for org.gnome.settings-daemon.plugins.xsettings (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.extensions.user-theme (domain: gnome-shell-extensions)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.settings-daemon.plugins.power (domain: gnome-settings-daemon)
INFO : Missing gsettings org.gnome.settings-daemon.plugins.power (key lid-close-suspend-with-external-monitor)

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:23157): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3c00003 (GNOME Shel)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: last_focus_time (13761997) is greater than comparison timestamp (13761988). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around...
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3c00003 (screenfetc)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Executing: nautilus

(gnome-settings-daemon:19015): libappindicator-CRITICAL **: app_indicator_set_label: assertion `IS_APP_INDICATOR (self)' failed

(gnome-settings-daemon:19015): libappindicator-CRITICAL **: app_indicator_set_label: assertion `IS_APP_INDICATOR (self)' failed

(eog:25283): EOG-CRITICAL **: eog_list_store_length: assertion `EOG_IS_LIST_STORE (store)' failed
While parsing XMP metadata:
Error on line 50 char 1: End of element exif:Flash not expected in this context

Metadata parasite seems to be corrupt
lcms: skipping conversion because profiles seem to be equal:
sRGB IEC61966-2.1
sRGB built-in

(gimp-2.8:25290): GLib-GObject-WARNING **: invalid cast from GimpView' toGtkImage'

(gimp-2.8:25290): Gtk-CRITICAL **: IA__gtk_image_get_storage_type: assertion `GTK_IS_IMAGE (image)' failed

(dockx:19860): Wnck-WARNING **: Received a timestamp of 0; window activation may not function properly.

Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x22001d9 (GNU Image )
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.

(gimp-2.8:25290): GLib-GObject-WARNING **: invalid cast from GimpView' toGtkImage'

(gimp-2.8:25290): Gtk-CRITICAL **: IA__gtk_image_get_storage_type: assertion `GTK_IS_IMAGE (image)' failed
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Duplicate property or field node

(eog:25475): EOG-CRITICAL **: eog_list_store_length: assertion `EOG_IS_LIST_STORE (store)' failed
JS LOG: pushModal: invocation of begin_modal failed

(gnome-shell:19036): Clutter-WARNING **: Actor '[:0x32b57e0]' should not be mapped if parent '[:0x31c2a40]'is not visible
Executing: pantheon-terminal
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

INFO : No translated schema for org.gnome.desktop.background (domain: gsettings-desktop-schemas)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.desktop (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.nautilus.preferences (domain: nautilus)
INFO : No translated schema for org.gnome.desktop.input-sources (domain: gsettings-desktop-schemas)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
true

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
true

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
0

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
'on'
Possible values are "on", "off", and "custom".

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
400

WARNING : Schema /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml missing summary text:
100

INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.settings-daemon.peripherals.keyboard (domain: gnome-settings-daemon)
INFO : Missing gsettings org.gnome.settings-daemon.peripherals.keyboard (key input-sources-switcher)
INFO : No translated schema for org.gnome.desktop.interface (domain: gsettings-desktop-schemas)
INFO : No translated schema for org.gnome.desktop.wm.preferences (domain: gsettings-desktop-schemas)
INFO : No translated schema for org.gnome.settings-daemon.plugins.xsettings (domain: gnome-settings-daemon)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.extensions.user-theme (domain: gnome-shell-extensions)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.calendar (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.shell.overrides (domain: gnome-shell)
INFO : No translated schema for org.gnome.settings-daemon.plugins.power (domain: gnome-settings-daemon)
INFO : Missing gsettings org.gnome.settings-daemon.plugins.power (key lid-close-suspend-with-external-monitor)

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed

(gnome-tweak-tool:26585): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion `width >= 0' failed
/usr/share/themes/malys-rought-bright-left/gtk-2.0/styles/oo:16: Invalid color constant '#8888888'
/usr/share/themes/malys-rought-bright-left/gtk-2.0/styles/oo:16: error: invalid string constant "#8888888", expected valid string constant
/usr/share/themes/malys-rought-bright-left/gtk-2.0/styles/oo:16: Invalid color constant '#8888888'
/usr/share/themes/malys-rought-bright-left/gtk-2.0/styles/oo:16: error: invalid string constant "#8888888", expected valid string constant

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:72:20: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:92:23: Expected ',' in color definition

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:93:20: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:106:20: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:208:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:213:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:220:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:253:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:260:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:505:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:520:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:533:26: 'none' is not a valid color name
/usr/share/themes/malys-rought-bright-left/gtk-2.0/styles/oo:16: Invalid color constant '#8888888'
/usr/share/themes/malys-rought-bright-left/gtk-2.0/styles/oo:16: error: invalid string constant "#8888888", expected valid string constant
/usr/share/themes/malys-rought-bright-left/gtk-2.0/styles/oo:16: Invalid color constant '#8888888'
/usr/share/themes/malys-rought-bright-left/gtk-2.0/styles/oo:16: error: invalid string constant "#8888888", expected valid string constant

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1203:48: Expected ')'

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1214:48: Expected ')'

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1226:48: Expected ')'

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1238:48: Expected ')'

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1453:20: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1463:26: not a number

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1472:26: not a number

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1500:21: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1500:24: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1500:27: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1500:30: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1522:20: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING *: Theme parsing error: gtk-widgets.css:1534:5: '/' in comment block

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:72:20: Not using units is deprecated. Assuming 'px'.
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:72:20: Not using units is deprecated. Assuming 'px'.
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:92:23: Expected ',' in color definition

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:72:20: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1928:22: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1935:22: 'none' is not a valid color name

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:92:23: Expected ',' in color definition

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:93:20: Not using units is deprecated. Assuming 'px'.

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:106:20: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2292:14: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2293:20: Not using units is deprecated. Assuming 'px'.

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:208:26: 'none' is not a valid color name

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:213:26: 'none' is not a valid color name

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:220:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2345:14: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2357:14: Not using units is deprecated. Assuming 'px'.

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:253:26: 'none' is not a valid color name

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:260:26: 'none' is not a valid color name

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:505:26: 'none' is not a valid color name

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:520:26: 'none' is not a valid color name

(nm-applet:19051): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:533:26: 'none' is not a valid color name

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:72:20: Not using units is deprecated. Assuming 'px'.

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:72:20: Not using units is deprecated. Assuming 'px'.

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:92:23: Expected ',' in color definition

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:93:20: Not using units is deprecated. Assuming 'px'.

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:106:20: Not using units is deprecated. Assuming 'px'.

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:92:23: Expected ',' in color definition

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:93:20: Not using units is deprecated. Assuming 'px'.

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:106:20: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: unity.css:9:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: unity.css:25:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: unity.css:33:20: Not using units is deprecated. Assuming 'px'.

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: unity.css:42:26: 'none' is not a valid color name

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:208:26: 'none' is not a valid color name

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:213:26: 'none' is not a valid color name

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:220:26: 'none' is not a valid color name

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:208:26: 'none' is not a valid color name

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:213:26: 'none' is not a valid color name

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:220:26: 'none' is not a valid color name

(gnome-settings-daemon:19015): Gtk-WARNING **: Theme parsing error: gnome-panel.css:50:26: 'none' is not a valid color name

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:253:26: 'none' is not a valid color name

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:260:26: 'none' is not a valid color name

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:253:26: 'none' is not a valid color name

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:260:26: 'none' is not a valid color name

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:505:26: 'none' is not a valid color name

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:520:26: 'none' is not a valid color name

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:505:26: 'none' is not a valid color name

(gjs:20621): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:533:26: 'none' is not a valid color name

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:520:26: 'none' is not a valid color name
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:93:20: Not using units is deprecated. Assuming 'px'.
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:106:20: Not using units is deprecated. Assuming 'px'.

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:72:20: Not using units is deprecated. Assuming 'px'.

(nautilus:19050): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:72:20: Not using units is deprecated. Assuming 'px'.

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:92:23: Expected ',' in color definition

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:93:20: Not using units is deprecated. Assuming 'px'.
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:208:26: 'none' is not a valid color name

(nautilus:19050): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:92:23: Expected ',' in color definition

(nautilus:19050): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:93:20: Not using units is deprecated. Assuming 'px'.

(nautilus:19050): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:106:20: Not using units is deprecated. Assuming 'px'.
Window manager warning: Log level 16: Theme parsing error: gtk-widgets.css:72:20: Not using units is deprecated. Assuming 'px'.

(nautilus:19050): Gtk-WARNING *: Theme parsing error: gtk-widgets.css:208:26: 'none' is not a valid color name
Window manager warning:
(nautilus:19050): Gtk-WARNING *
: Theme parsing error: gtk-widgets.css:213:26: 'none' is not a valid color name
Log level 16: Theme parsing error: gtk-widgets.css:92:23: Expected ',' in color definition

(nautilus:19050): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:220:26: 'none' is not a valid color name
Window manager warning: Log level 16: Theme parsing error: gtk-widgets.css:93:20: Not using units is deprecated. Assuming 'px'.
Window manager warning: Log level 16: Theme parsing error: gtk-widgets.css:106:20: Not using units is deprecated. Assuming 'px'.

(nautilus:19050): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:253:26: 'none' is not a valid color name

(nautilus:19050): Gtk-WARNING *: Theme parsing error: gtk-widgets.css:260:26: 'none' is not a valid color name
Window manager warning: Log level 16: Theme parsing error: gtk-widgets.css:208:26: 'none' is not a valid color name
Window manager warning: Log level 16: Theme parsing error: gtk-widgets.css:213:26: 'none' is not a valid color name
Window manager warning:
(nautilus:19050): Gtk-WARNING *
: Theme parsing error: gtk-widgets.css:505:26: 'none' is not a valid color name
Log level 16: Theme parsing error: gtk-widgets.css:220:26: 'none' is not a valid color name

(nautilus:19050): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:520:26: 'none' is not a valid color name

(nautilus:19050): Gtk-WARNING *: Theme parsing error: gtk-widgets.css:533:26: 'none' is not a valid color name
Window manager warning: Log level 16: Theme parsing error: gtk-widgets.css:253:26: 'none' is not a valid color name
Window manager warning: Log level 16: Theme parsing error: gtk-widgets.css:260:26: 'none' is not a valid color name
Window manager warning: Log level 16: Theme parsing error: gtk-widgets.css:505:26: 'none' is not a valid color name
Window manager warning: Log level 16: Theme parsing error: gtk-widgets.css:520:26: 'none' is not a valid color name
Window manager warning:
(gnome-tweak-tool:26585): Gtk-WARNING *
: Theme parsing error: gtk-widgets.css:92:23: Expected ',' in color definition
Log level 16: Theme parsing error: gtk-widgets.css:533:26: 'none' is not a valid color name

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:93:20: Not using units is deprecated. Assuming 'px'.

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:106:20: Not using units is deprecated. Assuming 'px'.

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:106:20: Not using units is deprecated. Assuming 'px'.

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:208:26: 'none' is not a valid color name

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:213:26: 'none' is not a valid color name

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:220:26: 'none' is not a valid color name

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:253:26: 'none' is not a valid color name

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:260:26: 'none' is not a valid color name

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:208:26: 'none' is not a valid color name

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:213:26: 'none' is not a valid color name

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:220:26: 'none' is not a valid color name

(gnome-screensaver:19149): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:533:26: 'none' is not a valid color name

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:505:26: 'none' is not a valid color name

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:253:26: 'none' is not a valid color name

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:260:26: 'none' is not a valid color name

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:520:26: 'none' is not a valid color name

(gnome-tweak-tool:26585): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:533:26: 'none' is not a valid color name

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:505:26: 'none' is not a valid color name

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:520:26: 'none' is not a valid color name

(update-notifier:19779): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:533:26: 'none' is not a valid color name
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:213:26: 'none' is not a valid color name
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:220:26: 'none' is not a valid color name
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:253:26: 'none' is not a valid color name
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:260:26: 'none' is not a valid color name
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:505:26: 'none' is not a valid color name
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:520:26: 'none' is not a valid color name
gnome-session[18947]: Gtk-WARNING: Theme parsing error: gtk-widgets

@Neroth
Copy link
Owner

Neroth commented Jan 15, 2013

Ok ... no problem with weather extension in xsession-error (no weather extension ...), give me the output of :
cat /usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/metadata.json
cat /usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/extension.js

@ghost
Copy link

ghost commented Jan 15, 2013

onyx@onyx:~$ cat /usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/metadata.json
{
"uuid": "weather@gnome-shell-extensions.gnome.org",
"name": "Gnome Shell Extension Weather by Neroth",
"description": "A simple extension for displaying weather information from several cities in GNOME Shell",
"shell-version": [ "3.4", "3.5", "3.6" ],
"localedir": "/usr/share/locale",
"url": "https://github.com/Neroth/gnome-shell-extension-weather"
}

And:

onyx@onyx:~$ cat /usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/extension.js
/*
*

  • Weather extension for GNOME Shell
    • Displays a small weather information on the top panel.
    • On click, gives a popup with details about the weather.
  • Copyright (C) 2011 - 2012
  • ecyrbe <ecyrbe+spam@gmail.com>,
    
  • Timur Kristof venemo@msn.com,
    
  • Elad Alfassa elad@fedoraproject.org,
    
  • Simon Legner Simon.Legner@gmail.com,
    
  • Christian METZLER neroth@xeked.com,
    
  • Mark Benjamin weather.gnome.Markie1@dfgh.net,
    
  • Mattia Meneguzzo odysseus@fedoraproject.org,
    
  • Meng Zhuo <mengzhuo1203+spam@gmail.com>
    
  • This file is part of gnome-shell-extension-weather.
    *
  • gnome-shell-extension-weather is free software: you can redistribute it and/or modify
  • it under the terms of the GNU General Public License as published by
  • the Free Software Foundation, either version 3 of the License, or
  • (at your option) any later version.
    *
  • gnome-shell-extension-weather is distributed in the hope that it will be useful,
  • but WITHOUT ANY WARRANTY; without even the implied warranty of
  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  • GNU General Public License for more details.
    *
  • You should have received a copy of the GNU General Public License
  • along with gnome-shell-extension-weather. If not, see http://www.gnu.org/licenses/.
    *
    */

const Cairo = imports.cairo;
const Clutter = imports.gi.Clutter;
const Gettext = imports.gettext.domain('gnome-shell-extension-weather');
const Gio = imports.gi.Gio;
const Gtk = imports.gi.Gtk;
const Lang = imports.lang;
const Mainloop = imports.mainloop;
const Soup = imports.gi.Soup;
const Shell = imports.gi.Shell;
const St = imports.gi.St;
const Util = imports.misc.util;
const _ = Gettext.gettext;

const Main = imports.ui.main;
const PanelMenu = imports.ui.panelMenu;
const PopupMenu = imports.ui.popupMenu;

// Settings
const WEATHER_SETTINGS_SCHEMA = 'org.gnome.shell.extensions.weather';
const WEATHER_UNIT_KEY = 'unit';
const WEATHER_WIND_SPEED_UNIT_KEY = 'wind-speed-unit';
const WEATHER_WIND_DIRECTION_KEY = 'wind-direction';
const WEATHER_PRESSURE_UNIT_KEY = 'pressure-unit';
const WEATHER_CITY_KEY = 'city';
const WEATHER_ACTUAL_CITY_KEY = 'actual-city';
const WEATHER_TRANSLATE_CONDITION_KEY = 'translate-condition';
const WEATHER_USE_SYMBOLIC_ICONS_KEY = 'use-symbolic-icons';
const WEATHER_SHOW_TEXT_IN_PANEL_KEY = 'show-text-in-panel';
const WEATHER_POSITION_IN_PANEL_KEY = 'position-in-panel';
const WEATHER_SHOW_COMMENT_IN_PANEL_KEY = 'show-comment-in-panel';
const WEATHER_REFRESH_INTERVAL = 'refresh-interval';

// Keep enums in sync with GSettings schemas
const WeatherUnits = {
CELSIUS: 0,
FAHRENHEIT: 1,
KELVIN: 2,
RANKINE: 3,
REAUMUR: 4,
ROEMER: 5,
DELISLE: 6,
NEWTON: 7
}

const WeatherWindSpeedUnits = {
KPH: 0,
MPH: 1,
MPS: 2,
KNOTS: 3,
FPS: 4,
BEAUFORT: 5
}

const WeatherPressureUnits = {
hPa: 0,
inHg: 1,
bar: 2,
Pa: 3,
kPa: 4,
atm: 5,
at: 6,
Torr: 7,
psi: 8
}

const WeatherPosition = {
CENTER: 0,
RIGHT: 1,
LEFT: 2
}

const WEATHER_CONV_MPH_IN_MPS = 2.23693629;
const WEATHER_CONV_KPH_IN_MPS = 3.6;
const WEATHER_CONV_KNOTS_IN_MPS = 1.94384449;
const WEATHER_CONV_FPS_IN_MPS = 3.2808399;

// Soup session (see https://bugzilla.gnome.org/show_bug.cgi?id=661323#c64) (Simon Legner)
const _httpSession = new Soup.SessionAsync();
Soup.Session.prototype.add_feature.call(_httpSession, new Soup.ProxyResolverDefault());

const WeatherMenuButton = new Lang.Class({
Name: 'WeatherMenuButton',

Extends: PanelMenu.Button,

_init: function() {
// Load settings
this.loadConfig();

// Label
this._weatherInfo = new St.Label({ text: _('...') });

if(typeof St.TextDirection == "undefined")
{
    // Panel icon
    this._weatherIcon = new St.Icon({
        icon_name: 'view-refresh'+this.icon_type(),
        style_class: 'system-status-icon weather-icon' + (Main.panel.actor.get_text_direction() == Clutter.TextDirection.RTL ? '-rtl' : '')
    });

    // Panel menu item - the current class
    let menuAlignment = 0.25;
    if (Clutter.get_default_text_direction() == Clutter.TextDirection.RTL)
        menuAlignment = 1.0 - menuAlignment;
    this.parent(menuAlignment);
}
else
{
    // Panel icon
    this._weatherIcon = new St.Icon({
        icon_name: 'view-refresh'+this.icon_type(),
        style_class: 'system-status-icon weather-icon' + (Main.panel.actor.get_direction() == St.TextDirection.RTL ? '-rtl' : '')
    });

    // Panel menu item - the current class
    let menuAlignment = 0.25;
    if (St.Widget.get_default_direction() == St.TextDirection.RTL)
        menuAlignment = 1.0 - menuAlignment;
    PanelMenu.Button.prototype._init.call(this, menuAlignment);
}

// Putting the panel item together
let topBox = new St.BoxLayout();
topBox.add_actor(this._weatherIcon);
topBox.add_actor(this._weatherInfo);
this.actor.add_actor(topBox);

let dummyBox = new St.BoxLayout();
this.actor.reparent(dummyBox);
dummyBox.remove_actor(this.actor);
dummyBox.destroy();

let children = null;
switch (this._position_in_panel) {
    case WeatherPosition.LEFT:
    children = Main.panel._leftBox.get_children();
    Main.panel._leftBox.insert_child_at_index(this.actor, children.length);
    break;
    case WeatherPosition.CENTER:
    children = Main.panel._centerBox.get_children();
    Main.panel._centerBox.insert_child_at_index(this.actor, children.length);
    break;
    case WeatherPosition.RIGHT:
    children = Main.panel._rightBox.get_children();
    Main.panel._rightBox.insert_child_at_index(this.actor, 0);
    break;
}
    if(typeof Main.panel._menus == "undefined")
    Main.panel.menuManager.addMenu(this.menu);
    else
    Main.panel._menus.addMenu(this.menu);

this._old_position_in_panel = this._position_in_panel;

// Current weather
this._currentWeather = new St.Bin({ style_class: 'current' });
// Future weather
this._futureWeather = new St.Bin({ style_class: 'forecast'});

// Putting the popup item together
this.menu.addActor(this._currentWeather);

let item = new PopupMenu.PopupSeparatorMenuItem();
this.menu.addMenuItem(item);

this.menu.addActor(this._futureWeather);

let item = new PopupMenu.PopupSeparatorMenuItem();
this.menu.addMenuItem(item);

this._selectCity = new PopupMenu.PopupSubMenuMenuItem(_("Locations"));
this.menu.addMenuItem(this._selectCity);
this.rebuildSelectCityItem();

let item = new PopupMenu.PopupMenuItem(_("Reload Weather Information"));
item.connect('activate', Lang.bind(this, function(){this.refreshWeather(false);}));
this.menu.addMenuItem(item);

let item = new PopupMenu.PopupMenuItem(_("Weather Settings"));
item.connect('activate', Lang.bind(this, this._onPreferencesActivate));
this.menu.addMenuItem(item);

// Items
this.showLoadingUi();

this.rebuildCurrentWeatherUi();
this.rebuildFutureWeatherUi();

// Show weather
this.refreshWeather(true);

},

loadConfig : function()
{
var that = this;
var schema = WEATHER_SETTINGS_SCHEMA;
    if (Gio.Settings.list_schemas().indexOf(schema) == -1)
    throw _("Schema \"%s\" not found.").replace("%s",schema);
this._settings = new Gio.Settings({ schema: schema });
this._settings.connect("changed",function(){that.refreshWeather(false);});
},

loadConfigInterface : function()
{
var that = this;
var schemaInterface = "org.gnome.desktop.interface";
    if (Gio.Settings.list_schemas().indexOf(schemaInterface) == -1)
    throw _("Schema \"%s\" not found.").replace("%s",schemaInterface);
this._settingsInterface = new Gio.Settings({ schema: schemaInterface });
this._settingsInterface.connect("changed",function(){that.refreshWeather(false);});
},

get _clockFormat()
{
    if(!this._settingsInterface)
    this.loadConfigInterface();
return this._settingsInterface.get_string("clock-format");
},

get _units()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_enum(WEATHER_UNIT_KEY);
},

set _units(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_enum(WEATHER_UNIT_KEY,v);
},

get _wind_speed_units()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_enum(WEATHER_WIND_SPEED_UNIT_KEY);
},

set _wind_speed_units(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_enum(WEATHER_WIND_SPEED_UNIT_KEY,v);
},

get _wind_direction()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_boolean(WEATHER_WIND_DIRECTION_KEY);
},

set _wind_direction(v)
{
    if(!this._settings)
    this.loadConfig();
return this._settings.set_boolean(WEATHER_WIND_DIRECTION_KEY,v);
},

get _pressure_units()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_enum(WEATHER_PRESSURE_UNIT_KEY);
},

set _pressure_units(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_enum(WEATHER_PRESSURE_UNIT_KEY,v);
},

get _cities()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_string(WEATHER_CITY_KEY);
},

set _cities(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_string(WEATHER_CITY_KEY,v);
},

get _actual_city()
{
    if(!this._settings)
    this.loadConfig();
var a = this._settings.get_int(WEATHER_ACTUAL_CITY_KEY);
var b = a;
var cities = this._cities.split(" && ");

    if(typeof cities != "object")
    cities = [cities];

var l = cities.length-1;

    if(a < 0)
    a = 0;

    if(l < 0)
    l = 0;

    if(a > l)
    a = l;

return a;
},

set _actual_city(a)
{
    if(!this._settings)
    this.loadConfig();
var cities = this._cities.split(" && ");

    if(typeof cities != "object")
    cities = [cities];

var l = cities.length-1;

    if(a < 0)
    a = 0;

    if(l < 0)
    l = 0;

    if(a > l)
    a = l;

this._settings.set_int(WEATHER_ACTUAL_CITY_KEY,a);
},

get _city()
{
let cities = this._cities;
let cities = cities.split(" && ");
    if(cities && typeof cities == "string")
    cities = [cities];
    if(!cities[0])
    return "";
cities = cities[this._actual_city];
return cities;
},

set _city(v)
{
let cities = this._cities;
cities = cities.split(" && ");
    if(cities && typeof cities == "string")
    cities = [cities];
    if(!cities[0])
    cities = [];
cities.splice(this.actual_city,1,v);
cities = cities.join(" && ");
    if(typeof cities != "string")
    cities = cities[0];
this._cities = cities;
},

get _translate_condition()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_boolean(WEATHER_TRANSLATE_CONDITION_KEY);
},

set _translate_condition(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_boolean(WEATHER_TRANSLATE_CONDITION_KEY,v);
},

get _icon_type()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_boolean(WEATHER_USE_SYMBOLIC_ICONS_KEY) ? 1 : 0;
},

set _icon_type(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_boolean(WEATHER_USE_SYMBOLIC_ICONS_KEY,v);
},

get _text_in_panel()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_boolean(WEATHER_SHOW_TEXT_IN_PANEL_KEY);
},

set _text_in_panel(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_boolean(WEATHER_SHOW_TEXT_IN_PANEL_KEY,v);
},

get _position_in_panel()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_enum(WEATHER_POSITION_IN_PANEL_KEY);
},

set _position_in_panel(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_enum(WEATHER_POSITION_IN_PANEL_KEY,v);
},

get _comment_in_panel()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_boolean(WEATHER_SHOW_COMMENT_IN_PANEL_KEY);
},

set _comment_in_panel(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_boolean(WEATHER_SHOW_COMMENT_IN_PANEL_KEY,v);
},

get _refresh_interval()
{
    if(!this._settings)
    this.loadConfig();
return this._settings.get_int(WEATHER_REFRESH_INTERVAL);
},

set _refresh_interval(v)
{
    if(!this._settings)
    this.loadConfig();
this._settings.set_int(WEATHER_REFRESH_INTERVAL,v);
},

rebuildSelectCityItem : function()
{
let that = this;
this._selectCity.menu.removeAll();
let item = null;

let cities = this._cities;
cities = cities.split(" && ");
    if(cities && typeof cities == "string")
    cities = [cities];
    if(!cities[0])
    return 0;

    for(let i = 0; cities.length > i; i++)
    {
    item = new PopupMenu.PopupMenuItem(this.extractLocation(cities[i]));
    item.location = i;
        if(i == this._actual_city)
        item.setShowDot(true);
    this._selectCity.menu.addMenuItem(item);
        item.connect('activate', function(actor,event)
        {
        that._actual_city = actor.location;
        });
    }

    if (cities.length == 1)
    this._selectCity.actor.hide();
    else
    this._selectCity.actor.show();

return 0;
},

extractLocation : function()
{
    if(!arguments[0])
    return "";

    if(arguments[0].search(">") == -1)
    return _("Invalid city");
return arguments[0].split(">")[1];
},

extractWoeid : function()
{
    if(!arguments[0])
    return 0;

    if(arguments[0].search(">") == -1)
    return 0;
return arguments[0].split(">")[0];
},

updateCities : function()
{
let that = this;
let cities = this._cities;

cities = cities.split(" && ");
    if(cities && typeof cities == "string")
    cities = [cities];
    if(!cities[0])
    cities = [];

    if(cities.length == 0)
    {
    this._cities = "2373572>Cambridge, Massachusetts (US)";
    this.updateCities();
    return 0;
    }

    for(let a in cities)
    {
        if(!this.extractWoeid(cities[a]))
        {
            this.load_json_async(encodeURI("http://query.yahooapis.com/v1/public/yql?format=json&q=select woeid,name,admin1,country from geo.places where text = '"+cities[a]+"' limit 1"),function()
            {
            let city = arguments[0].query;
                if(typeof city == "object" && typeof city.results == "object")
                city = city.results.place;
                else
                return 0;
            let cityText = city.woeid+">"+city.name;
                if(city.admin1)
                cityText += ", "+city.admin1.content;

                if(city.country)
                cityText += " ("+city.country.code+")";

            cities.splice(a,1,cityText);
            cities = cities.join(" && ");
                if(typeof cities != "string")
                cities = cities[0];
            that._cities = cities;
            that.updateCities();
            });
        return 0;
        }
        else
        continue;
    }
this.refreshWeather();
return 0;
},

_onPreferencesActivate : function() {
let app = Shell.AppSystem.get_default().lookup_app('weather-settings.desktop');
app.activate();
return 0;
},

unit_to_unicode: function() {
if(this._units == WeatherUnits.FAHRENHEIT)
return '\u00B0\F';
else if(this._units == WeatherUnits.KELVIN)
return 'K';
else if(this._units == WeatherUnits.RANKINE)
return '\u00B0\Ra';
else if(this._units == WeatherUnits.REAUMUR)
return '\u00B0\R\u00E9';
else if(this._units == WeatherUnits.ROEMER)
return '\u00B0\R\u00F8';
else if(this._units == WeatherUnits.DELISLE)
return '\u00B0\De';
else if(this._units == WeatherUnits.NEWTON)
return '\u00B0\N';
else
return '\u00B0\C';
},

get_weather_url: function() {
    return encodeURI('http://query.yahooapis.com/v1/public/yql?format=json&q=select * from weather.forecast where woeid = '+this.extractWoeid(this._city)+' and u="f"');
},

get_weather_icon: function(code) {
    /* see http://developer.yahoo.com/weather/#codetable */
    /* fallback icons are: weather-clear-night weather-clear weather-few-clouds-night weather-few-clouds weather-fog weather-overcast weather-severe-alert weather-showers weather-showers-scattered weather-snow weather-storm */
    switch (parseInt(code, 10)) {
        case 0:/* tornado */
            return ['weather-severe-alert'];
        case 1:/* tropical storm */
            return ['weather-severe-alert'];
        case 2:/* hurricane */
            return ['weather-severe-alert'];
        case 3:/* severe thunderstorms */
            return ['weather-severe-alert'];
        case 4:/* thunderstorms */
            return ['weather-storm'];
        case 5:/* mixed rain and snow */
            return ['weather-snow-rain', 'weather-snow'];
        case 6:/* mixed rain and sleet */
            return ['weather-snow-rain', 'weather-snow'];
        case 7:/* mixed snow and sleet */
            return ['weather-snow'];
        case 8:/* freezing drizzle */
            return ['weather-freezing-rain', 'weather-showers'];
        case 9:/* drizzle */
            return ['weather-showers'];
        case 10:/* freezing rain */
            return ['weather-freezing-rain', 'weather-showers'];
        case 11:/* showers */
            return ['weather-showers'];
        case 12:/* showers */
            return ['weather-showers'];
        case 13:/* snow flurries */
            return ['weather-snow'];
        case 14:/* light snow showers */
            return ['weather-snow'];
        case 15:/* blowing snow */
            return ['weather-snow'];
        case 16:/* snow */
            return ['weather-snow'];
        case 17:/* hail */
            return ['weather-snow'];
        case 18:/* sleet */
            return ['weather-snow'];
        case 19:/* dust */
            return ['weather-fog'];
        case 20:/* foggy */
            return ['weather-fog'];
        case 21:/* haze */
            return ['weather-fog'];
        case 22:/* smoky */
            return ['weather-fog'];
        case 23:/* blustery */
            return ['weather-few-clouds'];
        case 24:/* windy */
            return ['weather-few-clouds'];
        case 25:/* cold */
            return ['weather-few-clouds'];
        case 26:/* cloudy */
            return ['weather-overcast'];
        case 27:/* mostly cloudy (night) */
            return ['weather-clouds-night', 'weather-few-clouds-night'];
        case 28:/* mostly cloudy (day) */
            return ['weather-clouds', 'weather-overcast'];
        case 29:/* partly cloudy (night) */
            return ['weather-few-clouds-night'];
        case 30:/* partly cloudy (day) */
            return ['weather-few-clouds'];
        case 31:/* clear (night) */
            return ['weather-clear-night'];
        case 32:/* sunny */
            return ['weather-clear'];
        case 33:/* fair (night) */
            return ['weather-clear-night'];
        case 34:/* fair (day) */
            return ['weather-clear'];
        case 35:/* mixed rain and hail */
            return ['weather-snow-rain', 'weather-showers'];
        case 36:/* hot */
            return ['weather-clear'];
        case 37:/* isolated thunderstorms */
            return ['weather-storm'];
        case 38:/* scattered thunderstorms */
            return ['weather-storm'];
        case 39:/* http://developer.yahoo.com/forum/YDN-Documentation/Yahoo-Weather-API-Wrong-Condition-Code/1290534174000-1122fc3d-da6d-34a2-9fb9-d0863e6c5bc6 */
        case 40:/* scattered showers */
            return ['weather-showers-scattered', 'weather-showers'];
        case 41:/* heavy snow */
            return ['weather-snow'];
        case 42:/* scattered snow showers */
            return ['weather-snow'];
        case 43:/* heavy snow */
            return ['weather-snow'];
        case 44:/* partly cloudy */
            return ['weather-few-clouds'];
        case 45:/* thundershowers */
            return ['weather-storm'];
        case 46:/* snow showers */
            return ['weather-snow'];
        case 47:/* isolated thundershowers */
            return ['weather-storm'];
        case 3200:/* not available */
        default:
            return ['weather-severe-alert'];
    }
},

get_weather_icon_safely: function(code) {
    let iconname = this.get_weather_icon(code);
    for (let i = 0; i < iconname.length; i++) {
        if (this.has_icon(iconname[i]))
            return iconname[i]+this.icon_type();
    }
    return 'weather-severe-alert'+this.icon_type();
 },

has_icon: function(icon) {
    return Gtk.IconTheme.get_default().has_icon(icon+this.icon_type());
},

get_weather_condition: function(code) {
    switch (parseInt(code, 10)){
        case 0:/* tornado */
            return _('Tornado');
        case 1:/* tropical storm */
            return _('Tropical storm');
        case 2:/* hurricane */
            return _('Hurricane');
        case 3:/* severe thunderstorms */
            return _('Severe thunderstorms');
        case 4:/* thunderstorms */
            return _('Thunderstorms');
        case 5:/* mixed rain and snow */
            return _('Mixed rain and snow');
        case 6:/* mixed rain and sleet */
            return _('Mixed rain and sleet');
        case 7:/* mixed snow and sleet */
            return _('Mixed snow and sleet');
        case 8:/* freezing drizzle */
            return _('Freezing drizzle');
        case 9:/* drizzle */
            return _('Drizzle');
        case 10:/* freezing rain */
            return _('Freezing rain');
        case 11:/* showers */
            return _('Showers');
        case 12:/* showers */
            return _('Showers');
        case 13:/* snow flurries */
            return _('Snow flurries');
        case 14:/* light snow showers */
            return _('Light snow showers');
        case 15:/* blowing snow */
            return _('Blowing snow');
        case 16:/* snow */
            return _('Snow');
        case 17:/* hail */
            return _('Hail');
        case 18:/* sleet */
            return _('Sleet');
        case 19:/* dust */
            return _('Dust');
        case 20:/* foggy */
            return _('Foggy');
        case 21:/* haze */
            return _('Haze');
        case 22:/* smoky */
            return _('Smoky');
        case 23:/* blustery */
            return _('Blustery');
        case 24:/* windy */
            return _('Windy');
        case 25:/* cold */
            return _('Cold');
        case 26:/* cloudy */
            return _('Cloudy');
        case 27:/* mostly cloudy (night) */
        case 28:/* mostly cloudy (day) */
            return _('Mostly cloudy');
        case 29:/* partly cloudy (night) */
        case 30:/* partly cloudy (day) */
            return _('Partly cloudy');
        case 31:/* clear (night) */
            return _('Clear');
        case 32:/* sunny */
            return _('Sunny');
        case 33:/* fair (night) */
        case 34:/* fair (day) */
            return _('Fair');
        case 35:/* mixed rain and hail */
            return _('Mixed rain and hail');
        case 36:/* hot */
            return _('Hot');
        case 37:/* isolated thunderstorms */
            return _('Isolated thunderstorms');
        case 38:/* scattered thunderstorms */
        case 39:/* scattered thunderstorms */
            return _('Scattered thunderstorms');
        case 40:/* scattered showers */
            return _('Scattered showers');
        case 41:/* heavy snow */
            return _('Heavy snow');
        case 42:/* scattered snow showers */
            return _('Scattered snow showers');
        case 43:/* heavy snow */
            return _('Heavy snow');
        case 44:/* partly cloudy */
            return _('Partly cloudy');
        case 45:/* thundershowers */
            return _('Thundershowers');
        case 46:/* snow showers */
            return _('Snow showers');
        case 47:/* isolated thundershowers */
            return _('Isolated thundershowers');
        case 3200:/* not available */
        default:
            return _('Not available');
    }
},

toCelsius: function(t)
{
return String(Math.round((Number(t)-32)*0.555556));
},

toKelvin: function(t)
{
return String(Math.round(((Number(t)+459.67)/1.8)*100)/100);
},

toRankine: function(t)
{
return String(Math.round((Number(t)+459.67)*100)/100);
},

toReaumur: function(t)
{
return String(Math.round((Number(t)-32)/2.25));
},

toRoemer: function(t)
{
return String(Math.round((((Number(t)-32)*7)/24)+7.5));
},

toDelisle: function(t)
{
return String(Math.round(((212-Number(t))*5)/6));
},

toNewton: function(t)
{
return String(Math.round((((Number(t)-32)*11)/60)*10)/10);
},

toPascal: function(p,t)
{
return Math.round((p * (3386.39-((t-32)*0.003407143))));
},

toBeaufort: function(w,t)
{
    if(w < 1)
    return (!t)?"0":"("+_("Calm")+")";
    else if(w >= 1 && w <= 3)
    return (!t)?"1":"("+_("Light air")+")";
    else if(w >= 4 && w <= 7)
    return (!t)?"2":"("+_("Light breeze")+")";
    else if(w >= 8 && w <= 12)
    return (!t)?"3":"("+_("Gentle breeze")+")";
    else if(w >= 13 && w <= 17)
    return (!t)?"4":"("+_("Moderate breeze")+")";
    else if(w >= 18 && w <= 24)
    return (!t)?"5":"("+_("Fresh breeze")+")";
    else if(w >= 25 && w <= 30)
    return (!t)?"6":"("+_("Strong breeze")+")";
    else if(w >= 31 && w <= 38)
    return (!t)?"7":"("+_("Moderate gale")+")";
    else if(w >= 39 && w <= 46)
    return (!t)?"8":"("+_("Fresh gale")+")";
    else if(w >= 47 && w <= 54)
    return (!t)?"9":"("+_("Strong gale")+")";
    else if(w >= 55 && w <= 63)
    return (!t)?"10":"("+_("Storm")+")";
    else if(w >= 64 && w <= 73)
    return (!t)?"11":"("+_("Violent storm")+")";
    else
    return (!t)?"12":"("+_("Hurricane")+")";
},

get_locale_day: function(abr)
{
let days = [_('Sunday'),_('Monday'), _('Tuesday'), _('Wednesday'), _('Thursday'), _('Friday'), _('Saturday')];
return days[abr];
},

get_wind_direction : function(deg)
{
let arrows = ["\u2193", "\u2199", "\u2190", "\u2196", "\u2191", "\u2197", "\u2192", "\u2198"];
let letters = [_('N'), _('NE'), _('E'), _('SE'), _('S'), _('SW'), _('W'), _('NW')];
let idx = Math.round(deg / 45) % arrows.length;
return (this._wind_direction)?arrows[idx]:letters[idx];
},

get_pressure_state : function(state)
{
    switch(parseInt(state, 3))
    {
        case 0:
        return '';
        break;

        case 1:
        return '\u2934';
        break;

        case 2:
        return '\u2935';
        break;
    }
return 0;
},

icon_type : function(icon_name)
{
    if(!icon_name)
        if(this._icon_type)
        return "-symbolic";
        else
        return "";

    if(this._icon_type)
        if(String(icon_name).search("-symbolic") != -1)
        return icon_name;
        else
        return icon_name+"-symbolic";
    else
        if(String(icon_name).search("-symbolic") != -1)
        return String(icon_name).replace("-symbolic","");
        else
        return icon_name;
},

load_json_async: function(url, fun) {
    let here = this;

    let message = Soup.Message.new('GET', url);

    _httpSession.queue_message(message, function(_httpSession, message) {
        if(!message.response_body.data)
        {
        fun.call(here,0);
        return 0;
        }

        try
        {
        let jp = JSON.parse(message.response_body.data);
        fun.call(here, jp);
        }
        catch(e)
        {
        fun.call(here,0);
        return 0;
        }
    });
return 0;
},

refreshWeather: function(recurse)
{    
    if(!this.extractWoeid(this._city))
    {
    this.updateCities();
    return 0;
    }
    this.load_json_async(this.get_weather_url(), function(json)
    {
        if(!json)
        return 0;
    let weather = json.query.results.channel;
    let many = 0;
        if(typeof weather[0] != "undefined")
        {
        weather = weather[0];
        many = 1;
        }
    let weather_c = weather.item.condition;

    this.rebuildSelectCityItem();

    this._weatherIcon.icon_name = this.icon_type(this._weatherIcon.icon_name);
    this._currentWeatherIcon.icon_name = this.icon_type(this._currentWeatherIcon.icon_name);
    this._forecast[0].Icon.icon_name = this.icon_type(this._forecast[0].Icon.icon_name);
    this._forecast[1].Icon.icon_name = this.icon_type(this._forecast[1].Icon.icon_name);
    this._sunriseIcon.icon_name = this.icon_type(this._sunriseIcon.icon_name);
    this._sunsetIcon.icon_name = this.icon_type(this._sunsetIcon.icon_name);
    this._buildIcon.icon_name = this.icon_type(this._buildIcon.icon_name);

        if(typeof St.IconType != "undefined")
        {
        this._weatherIcon.icon_type = (this._icon_type) ? St.IconType.SYMBOLIC : St.IconType.FULLCOLOR;
        this._currentWeatherIcon.icon_type = (this._icon_type) ? St.IconType.SYMBOLIC : St.IconType.FULLCOLOR;
        this._forecast[0].Icon.icon_type = (this._icon_type) ? St.IconType.SYMBOLIC : St.IconType.FULLCOLOR;
        this._forecast[1].Icon.icon_type = (this._icon_type) ? St.IconType.SYMBOLIC : St.IconType.FULLCOLOR;
        this._sunriseIcon.icon_type = (this._icon_type) ? St.IconType.SYMBOLIC : St.IconType.FULLCOLOR;
        this._sunsetIcon.icon_type = (this._icon_type) ? St.IconType.SYMBOLIC : St.IconType.FULLCOLOR;
        this._buildIcon.icon_type = (this._icon_type) ? St.IconType.SYMBOLIC : St.IconType.FULLCOLOR;
        }

        if(this._old_position_in_panel != this._position_in_panel)
        {
            switch (this._old_position_in_panel) {
                case WeatherPosition.LEFT:
                    Main.panel._leftBox.remove_actor(this.actor);
                    break;
                case WeatherPosition.CENTER:
                    Main.panel._centerBox.remove_actor(this.actor);
                    break;
                case WeatherPosition.RIGHT:
                    Main.panel._rightBox.remove_actor(this.actor);
                    break;
            }

            let children = null;
            switch (this._position_in_panel) {
                case WeatherPosition.LEFT:
                    children = Main.panel._leftBox.get_children();
                    Main.panel._leftBox.insert_child_at_index(this.actor, children.length);
                    break;
                case WeatherPosition.CENTER:
                    children = Main.panel._centerBox.get_children();
                    Main.panel._centerBox.insert_child_at_index(this.actor, children.length);
                    break;
                case WeatherPosition.RIGHT:
                    children = Main.panel._rightBox.get_children();
                    Main.panel._rightBox.insert_child_at_index(this.actor, 0);
                    break;
            }
        this._old_position_in_panel = this._position_in_panel;
        }

        let forecast = weather.item.forecast;
        let location = this.extractLocation(this._city);

        // Refresh current weather
        let comment = weather_c.text;
        if (this._translate_condition)
            comment = this.get_weather_condition(weather_c.code);

        let temperature = weather_c.temp;
        let chill = weather.wind.chill;
        let humidity = weather.atmosphere.humidity + ' %';
        let pressure = weather.atmosphere.pressure;
        let pressure_unit = weather.units.pressure;
    let pressure_state = weather.atmosphere.rising;
        let wind_direction = this.get_wind_direction(weather.wind.direction);
        let wind = weather.wind.speed;
        let wind_unit = weather.units.speed;
        let iconname = this.get_weather_icon_safely(weather_c.code);
        let sunrise = weather.astronomy.sunrise;
        let sunset = weather.astronomy.sunset;

    if(typeof this.lastBuildId == "undefined")
    this.lastBuildId = 0;

    if(typeof this.lastBuildDate == "undefined")
    this.lastBuildDate = 0;

    if(this.lastBuildId != weather_c.date || !this.lastBuildDate)
    {
    this.lastBuildId = weather_c.date;
    this.lastBuildDate = new Date();
    }

    let actualDate = new Date();
    let d = Math.floor((actualDate.getTime()-this.lastBuildDate.getTime())/86400000);

    switch(this._pressure_units)
    {
        case WeatherPressureUnits.inHg:
        pressure_unit = "inHg";
        break;

        case WeatherPressureUnits.hPa:
        pressure = Math.round(this.toPascal(pressure,temperature)/100);
        pressure_unit = "hPa";
        break;

        case WeatherPressureUnits.bar:
        pressure = this.toPascal(pressure,temperature)/100000;
        pressure_unit = "bar";
        break;

        case WeatherPressureUnits.Pa:
        pressure = this.toPascal(pressure,temperature);
        pressure_unit = "Pa";
        break;

        case WeatherPressureUnits.kPa:
        pressure = Math.round(this.toPascal(pressure,temperature)/100)/10;
        pressure_unit = "kPa";
        break;

        case WeatherPressureUnits.atm:
        pressure = Math.round((this.toPascal(pressure,temperature)*0.00000986923267)*100000)/100000;
        pressure_unit = "atm";
        break;

        case WeatherPressureUnits.at:
        pressure = Math.round((this.toPascal(pressure,temperature)*0.0000101971621298)*100000)/100000;
        pressure_unit = "at";
        break;

        case WeatherPressureUnits.Torr:
        pressure = Math.round((this.toPascal(pressure,temperature)*0.00750061683)*100)/100;
        pressure_unit = "Torr";
        break;

        case WeatherPressureUnits.psi:
        pressure = Math.round((this.toPascal(pressure,temperature)*0.000145037738)*100)/100;
        pressure_unit = "psi";
        break;
    }

    switch(this._units)
    {
        case WeatherUnits.FAHRENHEIT:
        break;

        case WeatherUnits.CELSIUS:
        temperature = this.toCelsius(temperature);
        chill = this.toCelsius(chill);
        break;

        case WeatherUnits.KELVIN:
        temperature = this.toKelvin(temperature);
        chill = this.toKelvin(chill);
        break;

        case WeatherUnits.RANKINE:
        temperature = this.toRankine(temperature);
        chill = this.toRankine(chill);
        break;

        case WeatherUnits.REAUMUR:
        temperature = this.toReaumur(temperature);
        chill = this.toReaumur(chill);
        break;

        case WeatherUnits.ROEMER:
        temperature = this.toRoemer(temperature);
        chill = this.toRoemer(chill);
        break;

        case WeatherUnits.DELISLE:
        temperature = this.toDelisle(temperature);
        chill = this.toDelisle(chill);
        break;

        case WeatherUnits.NEWTON:
        temperature = this.toNewton(temperature);
        chill = this.toNewton(chill);
        break;
    }

    let lastBuild = (this.lastBuildDate.getHours()%12)+":"+((this.lastBuildDate.getMinutes()<10)?"0":"")+this.lastBuildDate.getMinutes()+" "+((this.lastBuildDate.getHours() >= 12)?"pm":"am");

    if(this._clockFormat == "24h")
    {
    sunrise = new Date("3 Mar 1999 "+sunrise);
    sunrise = sunrise.getHours()+":"+((sunrise.getMinutes()<10)?"0":"")+sunrise.getMinutes();
    sunset = new Date("3 Mar 1999 "+sunset);
    sunset = sunset.getHours()+":"+((sunset.getMinutes()<10)?"0":"")+sunset.getMinutes();
    lastBuild = this.lastBuildDate.getHours()+":"+((this.lastBuildDate.getMinutes()<10)?"0":"")+this.lastBuildDate.getMinutes();
    }

    if(d >= 1)
    {
    lastBuild = _("Yesterday");
        if(d > 1)
        lastBuild = _("%s days ago").replace("%s",d);
    }

        this._currentWeatherIcon.icon_name = this._weatherIcon.icon_name = iconname;

    let weatherInfoC = "";
    let weatherInfoT = "";

    if (this._comment_in_panel)
    weatherInfoC = comment;

    if (this._text_in_panel)
    weatherInfoT = parseFloat(temperature).toLocaleString() + ' ' + this.unit_to_unicode();

    this._weatherInfo.text = weatherInfoC + ((weatherInfoC && weatherInfoT) ? ", " : "") + weatherInfoT;

        this._currentWeatherSummary.text = comment + ", " + parseFloat(temperature).toLocaleString() + ' ' + this.unit_to_unicode();
        this._currentWeatherLocation.text = location;
        this._currentWeatherTemperature.text = parseFloat(chill).toLocaleString() + ' ' + this.unit_to_unicode();
        this._currentWeatherHumidity.text = parseFloat(humidity).toLocaleString() + ' %';
        this._currentWeatherPressure.text = parseFloat(pressure).toLocaleString() + ' ' + pressure_unit + ((pressure_state)?" ":"") + this.get_pressure_state(pressure_state);
    this._currentWeatherSunrise.text = sunrise;
    this._currentWeatherSunset.text = sunset;
    this._currentWeatherBuild.text = lastBuild;

        // Override wind units with our preference
        // Need to consider what units the Yahoo API has returned it in
        switch (this._wind_speed_units)
        {
            case WeatherWindSpeedUnits.MPH:
            break;

            case WeatherWindSpeedUnits.KPH:
        wind = Math.round (wind / WEATHER_CONV_MPH_IN_MPS * WEATHER_CONV_KPH_IN_MPS);
        wind_unit = 'km/h';
        break;

            case WeatherWindSpeedUnits.MPS:
        wind = Math.round ((wind / WEATHER_CONV_MPH_IN_MPS) * 10)/ 10;
        wind_unit = 'm/s';
        break;

            case WeatherWindSpeedUnits.KNOTS:
        wind = Math.round (wind / WEATHER_CONV_MPH_IN_MPS * WEATHER_CONV_KNOTS_IN_MPS);
        wind_unit = 'kn';
        break;

            case WeatherWindSpeedUnits.FPS:
        wind = Math.round (wind / WEATHER_CONV_MPH_IN_MPS * WEATHER_CONV_FPS_IN_MPS);
        wind_unit = 'ft/s';
        break;

        case WeatherWindSpeedUnits.BEAUFORT:
        wind_unit = this.toBeaufort(wind,true);
        wind = this.toBeaufort(wind);
        }

            if (!wind)
            this._currentWeatherWind.text = '\u2013';
            else if (wind == 0 || !wind_direction)
            this._currentWeatherWind.text = parseFloat(wind).toLocaleString() + ' ' + wind_unit;
            else // i.e. wind > 0 && wind_direction
            this._currentWeatherWind.text = wind_direction + ' ' + parseFloat(wind).toLocaleString() + ' ' + wind_unit;

        // Refresh forecast
        for (let i = 0; i <= 1; i++) {
            let forecastUi = this._forecast[i];
            let forecastData = forecast[i];

            let code = forecastData.code;
            let t_low = forecastData.low;
            let t_high = forecastData.high;

    switch(this._units)
    {
        case WeatherUnits.FAHRENHEIT:
        break;

        case WeatherUnits.CELSIUS:
        t_low = this.toCelsius(t_low);
        t_high = this.toCelsius(t_high);
        break;

        case WeatherUnits.KELVIN:
        t_low = this.toKelvin(t_low);
        t_high = this.toKelvin(t_high);
        break;

        case WeatherUnits.RANKINE:
        t_low = this.toRankine(t_low);
        t_high = this.toRankine(t_high);
        break;

        case WeatherUnits.REAUMUR:
        t_low = this.toReaumur(t_low);
        t_high = this.toReaumur(t_high);
        break;

        case WeatherUnits.ROEMER:
        t_low = this.toRoemer(t_low);
        t_high = this.toRoemer(t_high);
        break;

        case WeatherUnits.DELISLE:
        t_low = this.toDelisle(t_low);
        t_high = this.toDelisle(t_high);
        break;

        case WeatherUnits.NEWTON:
        t_low = this.toNewton(t_low);
        t_high = this.toNewton(t_high);
        break;
    }

            let comment = forecastData.text;
            if (this._translate_condition)
                comment = this.get_weather_condition(code);

    let forecastDate = new Date(forecastData.date);
    let dayLeft = Math.floor((actualDate.getTime()-forecastDate.getTime())/1000/60/60/24);

    let date_string = _("Today");
        if(dayLeft == -1)
        date_string = _("Tomorrow");
        else if(dayLeft < -1)
        date_string = _("In %s days").replace("%s",-1*dayLeft);
        else if(dayLeft == 1)
        date_string = _("Yesterday");
        else if(dayLeft > 1)
        date_string = _("%s days ago").replace("%s",dayLeft);

            forecastUi.Day.text = date_string + ' (' + this.get_locale_day(forecastDate.getDay()) + ')';
            forecastUi.Temperature.text = '\u2193 ' + parseFloat(t_low).toLocaleString() + ' ' + this.unit_to_unicode() + '    \u2191 ' + parseFloat(t_high).toLocaleString() + ' ' + this.unit_to_unicode();
            forecastUi.Summary.text = comment;
            forecastUi.Icon.icon_name = this.get_weather_icon_safely(code);
        }
return 0;
    });

    // Repeatedly refresh weather if recurse is set
    if (recurse) {
        Mainloop.timeout_add_seconds(this._refresh_interval, Lang.bind(this, function() {
            this.refreshWeather(true);
        }));
    }
return 0;
},

destroyCurrentWeather: function() {
    if (this._currentWeather.get_child() != null)
        this._currentWeather.get_child().destroy();
},

destroyFutureWeather: function() {
    if (this._futureWeather.get_child() != null)
        this._futureWeather.get_child().destroy();
},

showLoadingUi: function() {
    this.destroyCurrentWeather();
    this.destroyFutureWeather();
    this._currentWeather.set_child(new St.Label({ text: _('Loading current weather ...') }));
    this._futureWeather.set_child(new St.Label({ text: _('Loading future weather ...') }));
},

rebuildCurrentWeatherUi: function() {
    this.destroyCurrentWeather();

    // This will hold the icon for the current weather
    this._currentWeatherIcon = new St.Icon({
        icon_size: 72,
        icon_name: 'view-refresh'+this.icon_type(),
        style_class: 'weather-current-icon'
    });

this._sunriseIcon = new St.Icon({
        icon_size: 15,
        icon_name: 'weather-clear'+this.icon_type(),
        style_class: 'weather-sunrise-icon'
    });

this._sunsetIcon = new St.Icon({
        icon_size: 15,
        icon_name: 'weather-clear-night'+this.icon_type(),
        style_class: 'weather-sunset-icon'
    });

this._buildIcon = new St.Icon({
        icon_size: 15,
        icon_name: 'view-refresh'+this.icon_type(),
        style_class: 'weather-build-icon'
    });

    // The summary of the current weather
    this._currentWeatherSummary = new St.Label({
        text: _('Loading ...'),
        style_class: 'weather-current-summary'
    });
    this._currentWeatherLocation = new St.Label({ text: _('Please wait') });

    let bb = new St.BoxLayout({
        vertical: true,
        style_class: 'weather-current-summarybox'
    });
    bb.add_actor(this._currentWeatherLocation);
    bb.add_actor(this._currentWeatherSummary);

this._currentWeatherSunrise = new St.Label({ text: '-' });
this._currentWeatherSunset = new St.Label({ text: '-' });
this._currentWeatherBuild = new St.Label({ text: '-' });

let ab = new St.BoxLayout({ 
style_class: 'weather-current-infobox'  
});

ab.add_actor(this._sunriseIcon);
ab.add_actor(this._currentWeatherSunrise);
ab.add_actor(this._sunsetIcon); 
ab.add_actor(this._currentWeatherSunset);
ab.add_actor(this._buildIcon);  
ab.add_actor(this._currentWeatherBuild);
bb.add_actor(ab);

    // Other labels
    this._currentWeatherTemperature = new St.Label({ text: '...' });
    this._currentWeatherHumidity = new St.Label({ text:  '...' });
    this._currentWeatherPressure = new St.Label({ text: '...' });
    this._currentWeatherWind = new St.Label({ text: '...' });

    let rb = new St.BoxLayout({
        style_class: 'weather-current-databox'
    });
    let rb_captions = new St.BoxLayout({
        vertical: true,
        style_class: 'weather-current-databox-captions'
    });
    let rb_values = new St.BoxLayout({
        vertical: true,
        style_class: 'weather-current-databox-values'
    });
    rb.add_actor(rb_captions);
    rb.add_actor(rb_values);

    rb_captions.add_actor(new St.Label({text: _('Feel like:')}));
    rb_values.add_actor(this._currentWeatherTemperature);
    rb_captions.add_actor(new St.Label({text: _('Humidity:')}));
    rb_values.add_actor(this._currentWeatherHumidity);
    rb_captions.add_actor(new St.Label({text: _('Pressure:')}));
    rb_values.add_actor(this._currentWeatherPressure);
    rb_captions.add_actor(new St.Label({text: _('Wind:')}));
    rb_values.add_actor(this._currentWeatherWind);

    let xb = new St.BoxLayout();
    xb.add_actor(bb);
    xb.add_actor(rb);

    let box = new St.BoxLayout({
        style_class: 'weather-current-iconbox'
    });
    box.add_actor(this._currentWeatherIcon);
    box.add_actor(xb);
    this._currentWeather.set_child(box);

},

rebuildFutureWeatherUi: function() {
    this.destroyFutureWeather();

    this._forecast = [];
    this._forecastBox = new St.BoxLayout();
    this._futureWeather.set_child(this._forecastBox);

    for (let i = 0; i <= 1; i++) {
        let forecastWeather = {};

        forecastWeather.Icon = new St.Icon({
            icon_size: 48,
            icon_name: 'view-refresh'+this.icon_type(),
            style_class: 'weather-forecast-icon'
        });
        forecastWeather.Day = new St.Label({
            style_class: 'weather-forecast-day'
        });
        forecastWeather.Summary = new St.Label({
            style_class: 'weather-forecast-summary'
        });
        forecastWeather.Temperature = new St.Label({
            style_class: 'weather-forecast-temperature'
        });

        let by = new St.BoxLayout({
            vertical: true,
            style_class: 'weather-forecast-databox'
        });
        by.add_actor(forecastWeather.Day);
        by.add_actor(forecastWeather.Summary);
        by.add_actor(forecastWeather.Temperature);

        let bb = new St.BoxLayout({
            style_class: 'weather-forecast-box'
        });
        bb.add_actor(forecastWeather.Icon);
        bb.add_actor(by);

        this._forecast[i] = forecastWeather;
        this._forecastBox.add_actor(bb);

    }

}

});

let weatherMenu;

function init() {
}

function enable() {
weatherMenu = new WeatherMenuButton();
Main.panel.addToStatusArea('weatherMenu', weatherMenu);
}

function disable() {
weatherMenu.destroy();
}

@Neroth
Copy link
Owner

Neroth commented Jan 15, 2013

Everything is ok ... What is the city configured (last) ?

@rpoulin
Copy link

rpoulin commented Jan 16, 2013

Hi,
The extension quit working for me after the last update. I don't see any error when gnome starts up but when I try to configure the extension I get the following error:

Error: Type name WeatherExtensionPrefsWidget is already registered

Stack trace:
([object Object])@/usr/share/gjs-1.0/overrides/GObject.js:124
wrapper([object Object])@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gjs-1.0/lang.js:239
@/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/prefs.js:742

I tried to disable it with the gnome tweak tool but it does not respond. I tried to configure/disable is using https://extensions.gnome.org/local/, that produced the error above. I could delete the extension manually but that isn't what I would like to do because I like this extension too much.

The city I have it set for is Meridian Idaho, US.

@DranonJoD
Copy link

That's the error for this extension I get using Ubuntu 12.04.1 LTS with GNOME Shell 3.4.1

(gnome-shell-extension-prefs:8431): Gtk-CRITICAL **: gtk_box_pack: assertion `gtk_widget_get_parent (child) == NULL' failed
JS ERROR: !!! Exception was: Schema "org.gnome.shell.extensions.weather" not found.
JS ERROR: !!! Exception was a String
JS ERROR: !!! Exception was: TypeError: exc.stack is undefined
JS ERROR: !!! lineNumber = '135'
JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/extensionPrefs/main.js"'
JS ERROR: !!! stack = '"([object Object],"Schema "org.gnome.shell.extensions.weather" not found.")@/usr/share/gnome-shell/js/extensionPrefs/main.js:135
wrapper([object Object],"Schema "org.gnome.shell.extensions.weather" not found.")@/usr/share/gjs-1.0/lang.js:204
("weather@gnome-shell-extensions.gnome.org")@/usr/share/gnome-shell/js/extensionPrefs/main.js:102
wrapper("weather@gnome-shell-extensions.gnome.org")@/usr/share/gjs-1.0/lang.js:204
([object _private_Gtk_ComboBox])@/usr/share/gnome-shell/js/extensionPrefs/main.js:119
wrapper([object _private_Gtk_ComboBox])@/usr/share/gjs-1.0/lang.js:204
main([object Array])@/usr/share/gnome-shell/js/extensionPrefs/main.js:277
@:1
"'
JS ERROR: !!! message = '"exc.stack is undefined"'

Same as mentionned in a previous comment, the extension is "Off" and turning in "On" doesn't work.

@tuxmouraille
Copy link

Hello, same problem.
I have this errors in .xsession-errors:
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/extension.js' line 580 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/extension.js' line 982 exception 0 number 157
JS LOG: Extension "weather@gnome-shell-extensions.gnome.org" had error: Schéma "org.gnome.shell.extensions.weather" manquant.

@kmiernik
Copy link

I have the same error message on Ubuntu 12.10 (x64) after latest updates. Rebuilding extension from scratch does not help:

JS ERROR: !!!   WARNING: 'anonymous function does not always return a value'
JS ERROR: !!!   WARNING: file '/usr/share/gnome-shell/extensions/weather@gno
me-shell-extensions.gnome.org/extension.js' line 580 exception 0 number 157
JS ERROR: !!!   WARNING: 'anonymous function does not always return a value'
JS ERROR: !!!   WARNING: file '/usr/share/gnome-shell/extensions/weather@gno
me-shell-extensions.gnome.org/extension.js' line 982 exception 0 number 157
JS LOG: Extension "weather@gnome-shell-extensions.gnome.org" had error: Sc
hema "org.gnome.shell.extensions.weather" not found.

On my other two systems (Arch Linux & Fedora) it works fine, so it looks like it is specifically related to Ubuntu.

@Neroth
Copy link
Owner

Neroth commented Jan 17, 2013

Yes ... I will emulate an Ubuntu 12.10 for see the bug ... It's a GSetting bug (at the installation) :/

@redskates
Copy link

More details, if it helps. I really liked this extension and hope to have it functioning again soon. Thanks Neroth! I have this error message after the recent update. The error is the same on Ubuntu 12.04 & 12.10 and two ArchLinux installations.

"Error: Type name WeatherExtensionPrefsWidget is already registered

Stack trace:
([object Object])@/usr/share/gjs-1.0/overrides/GObject.js:124
wrapper([object Object])@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gjs-1.0/lang.js:239
@/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/prefs.js:742"

@Kolcha
Copy link

Kolcha commented Jan 19, 2013

I am using Ubuntu 12.10 amd64, GNOME 3.6 updated from gnome3 team ppa. I installed your extension from your ppa and it not working for me too. I reverted this installation using my system backup, then download (without installing) package from ppa, extract it and replace all extension files with files from package - it works!
When I tried to install deb package it broke extension again. I think that problem in way how you build package. Please check it and fix.
Deb package installation brakes extension. This is fact.
P.S. All files in new package (latest available in ppa) are identical to files from previous package (md5 sums match).

@paulvt
Copy link

paulvt commented Jan 19, 2013

Actually, only stuff under src/ (and metadata.json) made it into the package in the PPA (gnome-shell-extensions-weather version (0.2-0+20130114~quantal1), not the stuff under data/. So amongst other things the GSettings schema is missing.

@fortime
Copy link

fortime commented Jan 19, 2013

i found there is no "org.gnome.shell.extensions.weather.gschema.xml" in the newest package gnome-shell-extension-weather_0.2-0+20130114~quantal1_all.deb. is it the cause?

@paulvt
Copy link

paulvt commented Jan 19, 2013

@fortime yes, that's what I tried to say :)

@tomerrr
Copy link

tomerrr commented Jan 19, 2013

same issue with Fedora 17 - tried to install from repository and compiling from 3.4 branch
with same issue, Gnome 3.4.0-1 crashes and disables extension.
So I reverted back to Simon's extension from 3.4 branch , compiled and it's working fine,
but i have a strong feeling it will not load on 3.6 ..

@Kolcha
Copy link

Kolcha commented Jan 20, 2013

@fortime and @paulvt you are right.
I installed latest deb from ppa and added gschema manually - and it works!

Developers, please fix deb package.

@neitsab
Copy link

neitsab commented Jan 21, 2013

Hi all, I have the same problem as many here: after one Ubuntu GNOME 12.10 x64 update, weather extension stopped functionning.
The icon doesn't appear in the top panel, and when I try to open its preferences it says:

"Error: Type name WeatherExtensionPrefsWidget is already registered

Stack trace:
([object Object])@/usr/share/gjs-1.0/overrides/GObject.js:124
wrapper([object Object])@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gjs-1.0/lang.js:239
@/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/prefs.js:742"

I know the same input has already been reported, but I just wanted to add that I didn't find any lang.js file in /usr/share/gjs-1.0/

Thanks Neroth for your work, hopefully you'll be able to fix this for this great extension to work again :)

@hashstat
Copy link

Same experience here on up-to-date Arch. As stated above, the preferences schema is not being included in the installed package. Adding the following lines to the end of the package() function in PKGBUILD fixed the problem. I consider this a workaround, but hopefully it helps others until the real problem is fixed while helping the developer find the problem.

install -d -m 0755 $pkgdir/usr/share/glib-2.0/schemas
install -m 0644 src/org.gnome.shell.extensions.weather.gschema.xml $pkgdir/usr/share/glib-2.0/schemas/

@chrisspen
Copy link

I have the same issue as the others have reported above. This extension is completely broken in Ubuntu 12.04.

@Neroth Neroth closed this as completed in 31d8122 Jan 22, 2013
@chrisspen
Copy link

Do you know when this fix will be available via the PPA?

@Neroth
Copy link
Owner

Neroth commented Jan 22, 2013

Launchpad : "in 10 minutes (estimated)"

@Neroth
Copy link
Owner

Neroth commented Jan 23, 2013

in 45 minutes (estimated) ...

@redskates
Copy link

Works! Excellent! Thank you Neroth!

On Tue, Jan 22, 2013 at 7:14 PM, Christian Louis Gabriel METZLER <
notifications@github.com> wrote:

in 45 minutes (estimated) ...


Reply to this email directly or view it on GitHubhttps://github.com//issues/74#issuecomment-12574944.

@petarv
Copy link

petarv commented Jan 23, 2013

gnome-shell-extension-weather - 0.2-0+20130123~precise1 package is NOT WORKING for me. I'm getting the same 'Shema "org.gnome.shell.extensions.weather" missing' - error. This is a 64 bit Ubuntu 12.04. Can someone else comment if this update worked for him, as redskates claims that the update is working

@Neroth
Copy link
Owner

Neroth commented Jan 23, 2013

Recent revisions
285. By Neroth on 2013-01-13
Add new screenshot

  1. By Neroth on 2013-01-13
    Minor fix
  2. By Neroth on 2013-01-13
    Update README

...... Wait for it :/ ...

@petarv
Copy link

petarv commented Jan 23, 2013

I can definitely confirm that the fix shouldn't work as the package is missing the /usr/share/glib-2.0/schemas/ directory and the schema in it!

@Neroth
Copy link
Owner

Neroth commented Jan 23, 2013

The package in the ppa is not updated ... Wait 6/12h :/ ...

@Neroth
Copy link
Owner

Neroth commented Jan 23, 2013

I have sended a new request build ... Maybe it take "just" 2h !

You can see the build there : https://code.launchpad.net/~gnome-shell-extensions/+recipe/gnome-shell-extension-weather

@petarv
Copy link

petarv commented Jan 23, 2013

Oh sorry, i thought that the package built 3 hours ago contained the fix. Thanks for the fix. In the meantime I'll revert to the working version from 13th :)

@petarv
Copy link

petarv commented Jan 23, 2013

There is a "Could not be uploaded correctly" error on the link you gave me for Precise

@Neroth
Copy link
Owner

Neroth commented Jan 23, 2013

Yes ... but sorry I must go sleep (5h AM for me (strasbourg)) ... I will see when I wakeup ;)

@petarv
Copy link

petarv commented Jan 23, 2013

No problem Neroth. I know that you'll fix it now that you know what the problem is. ;)

@redskates
Copy link

To clarify, the just released extension on my Archlinux installations built
from AUR with gnome-common-git worked. The Ubuntu 12.04 & 12.10 I had the
previous (prior to 2012 update) version of the extension and rebuilt those,
and they worked. I do not know if the now updated package for the Ubuntu
versions works or not. I'll check tomorrow.

On Tue, Jan 22, 2013 at 10:50 PM, petarv notifications@github.com wrote:

gnome-shell-extension-weather - 0.2-0+20130123~precise1 package is NOT
WORKING for me. I'm getting the same Shema
"org.gnome.shell.extensions.weather" missing error. This is a 64 bit Ubuntu
12.04. Can someone else comment if this update worked for him, as redskates
claims that the update is working


Reply to this email directly or view it on GitHubhttps://github.com//issues/74#issuecomment-12580428.

@petarv
Copy link

petarv commented Jan 23, 2013

No need to check redskates. The package build failed again, but the error message gives a link to an explanation how to fix the building problem. The current package is still broken, at least the one for Ubuntu 12.04. But in the mean time people can always download manually one of the previous versions from the PPA page.

@tomerrr
Copy link

tomerrr commented Jan 23, 2013

i'm getting a lot of warnings when trying to compile the recent branch on Fedora 17:

warning: Schema 'org.freedesktop.Telepathy.Logger' has path '/apps/telepathy-logger/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.gstreamer-0.10.default-elements' has path '/desktop/gstreamer/0.10/default-elements/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus' has path '/desktop/ibus/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.general' has path '/desktop/ibus/general/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.general.hotkey' has path '/desktop/ibus/general/hotkey/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.general.xkblayoutconfig' has path '/desktop/ibus/general/xkblayoutconfig/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.panel' has path '/desktop/ibus/panel/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.Cheese' has path '/apps/cheese/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.Vino' has path '/desktop/gnome/remote-access/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.crypto.cache' has path '/desktop/gnome/crypto/cache/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.crypto.pgp' has path '/desktop/gnome/crypto/pgp/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.seahorse' has path '/apps/seahorse/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.seahorse.manager' has path '/apps/seahorse/listing/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.dns_sd' has path '/system/dns-sd/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.locale' has path '/system/locale/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy' has path '/system/proxy/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.http' has path '/system/proxy/http/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.https' has path '/system/proxy/https/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.ftp' has path '/system/proxy/ftp/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.socks' has path '/system/proxy/socks/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.smb' has path '/system/smb/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.sharing.org-yorba-shotwell-publishing-piwigo' has path '/apps/shotwell/sharing/org-yorba-shotwell-publishing-piwigo/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.sharing.org-yorba-shotwell-publishing-yandex-fotki' has path '/apps/shotwell/sharing/org-yorba-shotwell-publishing-yandex-fotki/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell' has path '/apps/shotwell/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.preferences' has path '/apps/shotwell/preferences/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.preferences.ui' has path '/apps/shotwell/preferences/ui/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.preferences.slideshow' has path '/apps/shotwell/preferences/slideshow/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.preferences.window' has path '/apps/shotwell/preferences/window/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.preferences.files' has path '/apps/shotwell/preferences/files/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.crop-settings' has path '/apps/shotwell/crop-settings/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.preferences.editing' has path '/apps/shotwell/preferences/editing/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.sharing' has path '/apps/shotwell/sharing/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.sharing.facebook' has path '/apps/shotwell/sharing/facebook/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.sharing.flickr' has path '/apps/shotwell/sharing/flickr/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.sharing.picasa' has path '/apps/shotwell/sharing/picasa/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.sharing.youtube' has path '/apps/shotwell/sharing/youtube/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.dataimports' has path '/apps/shotwell/dataimports/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.video' has path '/apps/shotwell/video/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.printing' has path '/apps/shotwell/printing/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.plugins' has path '/apps/shotwell/plugins/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.yorba.shotwell.plugins.enable-state' has path '/apps/shotwell/plugins/enable-state/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.

still gnome (3.4) crash & disables the extension when i restart it

@DranonJoD
Copy link

Still having this error when trying to enable the extentsion :
(gnome-shell-extension-prefs:4217): Gtk-CRITICAL **: gtk_box_pack: assertion `gtk_widget_get_parent (child) == NULL' failed
JS ERROR: !!! Exception was: Schema "org.gnome.shell.extensions.weather" not found.
JS ERROR: !!! Exception was a String
JS ERROR: !!! Exception was: TypeError: exc.stack is undefined
JS ERROR: !!! lineNumber = '135'
JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/extensionPrefs/main.js"'
JS ERROR: !!! stack = '"([object Object],"Schema "org.gnome.shell.extensions.weather" not found.")@/usr/share/gnome-shell/js/extensionPrefs/main.js:135
wrapper([object Object],"Schema "org.gnome.shell.extensions.weather" not found.")@/usr/share/gjs-1.0/lang.js:204
("weather@gnome-shell-extensions.gnome.org")@/usr/share/gnome-shell/js/extensionPrefs/main.js:102
wrapper("weather@gnome-shell-extensions.gnome.org")@/usr/share/gjs-1.0/lang.js:204
([object _private_Gtk_ComboBox])@/usr/share/gnome-shell/js/extensionPrefs/main.js:119
wrapper([object _private_Gtk_ComboBox])@/usr/share/gjs-1.0/lang.js:204
main([object Array])@/usr/share/gnome-shell/js/extensionPrefs/main.js:277
@:1
"'
JS ERROR: !!! message = '"exc.stack is undefined"'

@DranonJoD
Copy link

I can't uninstall the extension via the gnome extensions website, it crashes the gjs-console.

@Neroth
Copy link
Owner

Neroth commented Jan 24, 2013

gnome-shell-extension-weather - 0.2-0+20130124~precise1 in 2 hours (estimated) ;)

@petarv
Copy link

petarv commented Jan 24, 2013

gnome-shell-extension-weather - 0.2-0+20130124~precise1 IS WORKING properly for me. Thank you for fixing the issue :)

@algiuz
Copy link

algiuz commented Jan 24, 2013

It is working, but maybe I'm an idiot, or maybe it is program fault, but I can not change place, when i try to do so, it just doesn't let me delete default one or enter my own. Ok box is just grey out. And now i get this:

TypeError: treeview.get_selection() is null

Stack trace:
()@/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/prefs.js:483
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/prefs.js:168
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/prefs.js:82
wrapper()@/usr/share/gjs-1.0/lang.js:204
buildPrefsWidget()@/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/prefs.js:757
("weather@gnome-shell-extensions.gnome.org")@/usr/share/gnome-shell/js/extensionPrefs/main.js:100
wrapper("weather@gnome-shell-extensions.gnome.org")@/usr/share/gjs-1.0/lang.js:204
([object _private_Gtk_ComboBox])@/usr/share/gnome-shell/js/extensionPrefs/main.js:119
wrapper([object _private_Gtk_ComboBox])@/usr/share/gjs-1.0/lang.js:204
main([object Array])@/usr/share/gnome-shell/js/extensionPrefs/main.js:277
@:1

@petarv
Copy link

petarv commented Jan 24, 2013

Having the same problem. When I press "Weather Settings" the GNOME Shell Extension Preferences doesn't even show the settings screen for the Weather extension. But I can select it manually from the drop down list. Then I have the same problem mentioned above. When I try to add new location, the OK button is greyed out. I didn't try to delete the only location I use as I'm afraid that I might be left with a broken weather indicator.

@Mokkujin
Copy link

New Release 0.2-0+20130124~precise1 is working perfectly THANKS ;-)

@DranonJoD
Copy link

Works great now, thanks.

@chrisspen
Copy link

Yep, just updated through the PPA and it's fantastic. Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests