ROUND_CEiLiNG error in Turkish locale

Bug #796314 reported by Celal ERGÜN
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
Medium
Unassigned
indicator-weather (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: indicator-weather

I installed the applet, tried to run it, nothing happened. I just opened a terminal to see what is going on. Here is the result:

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 38, in <module>
    from desktopcouch.records.server import CouchDatabase
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/server.py", line 9, in <module>
    from desktopcouch.application.server import *
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 30, in <module>
    from desktopcouch.records.database import Database
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/database.py", line 39, in <module>
    import simplejson as json
  File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 109, in <module>
    from decimal import Decimal
  File "/usr/lib/python2.7/decimal.py", line 3715, in <module>
    val = globals()[globalname]
KeyError: 'ROUND_CEiLiNG'

Then I tried to run the applet in a language neutral environment using LANG=C indicator-weather and then I got the following error:

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1724, in <module>
    locale_name = locale.getlocale()[0].split('_')[0]
AttributeError: 'NoneType' object has no attribute 'split'

Here is some more info:
celal@cepc:~$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

celal@cepc:~$ apt-cache policy indicator-weather
indicator-weather:
  Kurulu: 11.04.10+repack-0ubuntu2
  Aday: 11.04.10+repack-0ubuntu2
  Sürüm tablosu:
 *** 11.04.10+repack-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status

Hope you guys can fix it.

Changed in weather-indicator:
importance: Undecided → Medium
milestone: none → 11.05.31
status: New → Fix Released
Changed in indicator-weather (Ubuntu):
status: New → Confirmed
Changed in indicator-weather (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-weather - 11.05.31-0ubuntu1

---------------
indicator-weather (11.05.31-0ubuntu1) oneiric; urgency=low

  * New upstream release.
   - Ported settings to dconf, which will solve a number of
     desktopcouch-related bugs
   - Fix for LP: #747733 "indicator-weather crashed with
     TypeError in next_page(): unknown type (null)"
   - Fix for LP: #756704 "Numbers (temperature etc.) do
     not use local number format"
   - Fix for LP: #770652 "sunrise and sunset info incorrect"
   - Fix for LP: #765464 "do not see indicator-weather on the panel"
   - Fix for LP: #769842 "Weather Indicator should clear up corrupted DB"
   - Fix for LP: #778941 "Weather Indicator can't be disabled"
   - Fix for LP: #796314 "ROUND_CEiLiNG error in Turkish locale"
   - Fix for LP: #780973 "indicator-weather crashed with Unauthorized in
     request(): ('unauthorized', 'Authentication required.')"
  * debian/control:
   - Adjust dependencies for desktop-couch to dconf transition.
   - Bump Standards-Version to 3.9.2.
   - Explictily depend on libgtk2.0-bin to ensure we have
     /usr/bin/gtk-update-icon-cache (LP: #808387).
  * Convert from python-support to dh_python2.
  * debian/rules:
   - Drop get-orig-source target, not needed.
   - Fix debian/postinst to check for symbolic links as well.
 -- Andrew Starr-Bochicchio <email address hidden> Tue, 12 Jul 2011 01:44:53 -0400

Changed in indicator-weather (Ubuntu):
status: Fix Committed → Fix Released
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.