Freeze then crash at all above Arctic circles

Bug #1002460 reported by Vassili Platonov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Weather Indicator
Incomplete
Undecided
Joshua Tasker

Bug Description

Can't display any weather above Arctic circle just after the polar day has become.
See attached file after string: [Fetcher] 2012-05-18 16:25:17

Sorry, further no relevant talk is on native language for me & maintainer.

Вадим, добрый день!

Ну сколько уже можно говорить о северном (южном) полярном круге? (https://bugzilla.gnome.org/show_bug.cgi?id=617211 и в Ubuntu https://bugs.launchpad.net/ubuntu/+source/libgweather/+bug/572787)
Наступил полярный день (или наступила полярная ночь) -- это такая штука -- солнце не заходит (или не восходит), всё, Indicator-Weather умирает. Данные по восходу-заходу солнца, я так понимаю, с гугла-яху берутся, их там нет и..., и... -- жопа!

Блжад, http://www.foreca.com на N900 всё показывает (там ведь deb, хотя и установщик: http://maemo.org/packages/view/foreca-installer/)?

Тяжело что-ли в код проверку на latitude ввести? И отбрасывать sunrise/sunset для широт севернее (или южнее) полярных кругов?

ЗЫ. Я не программист -- я не умею. Извините за сумбур -- накипело.

Спасибо.

Revision history for this message
Vassili Platonov (vassilip) wrote :
Revision history for this message
Joshua Tasker (jtasker) wrote :

Can't reproduce. If this bug still exists in latest version, please attach a new ~/.cache/indicator-weather.log file to this bug report.

Changed in weather-indicator:
status: New → Incomplete
Revision history for this message
Vassili Platonov (vassilip) wrote :

@Joshua Tasker Can't install indicator-weather at all in raring because dependences problems:

~$ sudo apt-get install indicator-weather
...
Пакеты, имеющие неудовлетворённые зависимости:
 indicator-weather : Зависит: python-pywapi (>= 0.3.2) но он не будет установлен
E: Невозможно исправить ошибки, у вас отложены (held) битые пакеты.

~$ apt-cache show indicator-weather python-pywapi
Package: indicator-weather
Priority: extra
Section: python
Installed-Size: 912
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Version: 13.05.17~quantal2
Recommends: python-apport
Depends: gir1.2-glib-2.0, gir1.2-gtk-3.0, gir1.2-appindicator3-0.1, gnome-icon-theme, libglib2.0-bin, libgtk-3-bin, python-gconf, python-gi, python-pywapi (>= 0.3.2), xdg-utils, dconf-gsettings-backend | gsettings-backend, python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8)
Filename: pool/main/i/indicator-weather/indicator-weather_13.05.17~quantal2_all.deb
Size: 135012
MD5sum: 20fd4b66ec73406eedc4e80532b5a760
SHA1: 82e33f9f1cce82e09a60633687520b24be171cde
Description: indicator that displays weather information
 Indicator-Weather displays information for one or multiple places
 in the world. Current weather status is displayed directly on your
 panel and detailed forecasts are no more than a click away.
 .
 It is implemented using the Indicator Applet API.

Package: python-pywapi
Priority: optional
Section: universe/python
Installed-Size: 108
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Runa Sandvik <email address hidden>
Architecture: all
Source: pywapi
Version: 0.2.2-1
Depends: python, python-support (>= 0.90.0)
Filename: pool/universe/p/pywapi/python-pywapi_0.2.2-1_all.deb
Size: 9686
MD5sum: 9019b4b8ba9f68707bd3bfe57de7d727
SHA1: d9515a3eeb84ffcbe6e12ae65baa63381c7d002c
SHA256: 21a8f1fd4f4c07734ba4e3ae318ca0161db69cbc3b5164de8d14f3aac3d7f0c7
Description-en: Python wrapper around different weather APIs
 The module provides a Python wrapper around the Yahoo! Weather, Google Weather
 and National Oceanic and Atmospheric Administration (NOAA) APIs. Fetch weather
 reports using zip code, location id, city name, state, country etc.
Homepage: http://code.google.com/p/python-weather-api/
Description-md5: 41777238a204e2beed57ed48ec9d253a
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
---

PS. In less than one year after the first comment (

Revision history for this message
Joshua Tasker (jtasker) wrote :

The latest version of pywapi isn't in the Ubuntu repos yet, but you can get it from the PPA here:
https://launchpad.net/~weather-indicator-team/+archive/ppa

Try that and see if you still have any troubles.

Revision history for this message
Vassili Platonov (vassilip) wrote :

Yes, I've got pywapi from your PPA but all remained as in bug description. See attached /var/crash/_usr_bin_indicator-weather.1000.crash

Then I changed the city to Simferopol (Ukraine) and all works fine. Finally, I changed the city to Tromse (Norway), it's above Arctic Circle as Murmansk, - all are bad ((

Revision history for this message
Joshua Tasker (jtasker) wrote :

I think I've fixed this issue now, please try the latest unstable build, either from the Weather Indicator Team Unstable PPA, or you can get the .deb file directly from Launchpad here: https://code.launchpad.net/~weather-indicator-team/+archive/unstable/+build/4863265

Let me know if this issue is still present.

Changed in weather-indicator:
assignee: nobody → Joshua Tasker (jtasker)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.