Bug 755162 - goodweather desklet does not wake up after suspend
Summary: goodweather desklet does not wake up after suspend
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gdesklets-goodweather
Version: 14
Hardware: i686
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-19 08:33 UTC by Piscium
Modified: 2015-06-14 21:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 14:09:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Piscium 2011-11-19 08:33:48 UTC
Description of problem:

This is an old bug that also existed in F13 if not before: if I suspend the computer, and then wake it up, the weather desklet does not update the weather any more. It looks like the thread that does that somehow never wakes up. This is repeatable for me on i686. 

The workaround for this issue (that I use) is to right-click and choose "Restart desklet". This works but is an annoyance to do this several times a day.


Version-Release number of selected component (if applicable):
0.31.8

How reproducible:
Always on my PC.

Steps to Reproduce:
1. Suspend the computer (to RAM)
2. Wake it up
  
Actual results:
The old weather is shown.

Expected results:
The weather should be updated either immediately or at the latest after the current time plus the configurable update period.

Additional info:
I always suspend for at least the configurable update period, which currently is 10 minutes.

Comment 1 Fedora End Of Life 2012-08-16 14:09:45 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Sergio Basto 2015-06-14 21:42:08 UTC
tail -f /home/sergio/.gdesklets/logs/gdesklets%3A0.log after resume: 

Getting website...
Unhandled exception in thread started by <bound method GoodWeatherSensor.__get_weather_thread of <GoodWeather.GoodWeatherSensor object at 0x7f8b1ebec090>>

==========================================================[06/14/15-16:32:35]===
=== Unhandled error! Something bad and unexpected happened. ===

[EXC][Errno socket error] [Errno -2] Name or service not known
in ./GoodWeather/__init__.py: line 196 __get_weather_thread
in /usr/lib64/python2.7/urllib.py: line 87 urlopen
in /usr/lib64/python2.7/urllib.py: line 208 open
in /usr/lib64/python2.7/urllib.py: line 345 open_http
in /usr/lib64/python2.7/httplib.py: line 991 endheaders
in /usr/lib64/python2.7/httplib.py: line 844 _send_output
in /usr/lib64/python2.7/httplib.py: line 806 send
in /usr/lib64/python2.7/httplib.py: line 787 connect
in /usr/lib64/python2.7/socket.py: line 553 create_connection
[EXC]/usr/lib64/python2.7/socket.py

[---]  548     An host of '' or port 0 tells the OS to use the default.
[---]  549     """
[---]  550 
[---]  551     host, port = address
[---]  552     err = None
[ERR]> 553     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
[---]  554         af, socktype, proto, canonname, sa = res
[---]  555         sock = None
[---]  556         try:
[---]  557             sock = socket(af, socktype, proto)
[---]  558             if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
[---]  559                 sock.settimeout(timeout)


Note You need to log in before you can comment on or make changes to this bug.