widget footer says N/A N/A.../

Asked by thusitha

hi ,
im using my wether indicator v 0.6.0.4 quantal.4 .In that widget footer shows week days. And above that each week days there is N/A, N/A, N/A (for each day). what is the data that have to be in that place and why that is not shows in my widget?

Question information

Language:
English Edit question
Status:
Solved
For:
my-weather-indicator Edit question
Assignee:
No assignee Edit question
Solved by:
thusitha
Solved:
Last query:
Last reply:
Revision history for this message
Lorenzo Carbonell (lorenzo-carbonell) said :
#1

What is the weather service provider you select (yahoo, openweathermap,...)? and what is the widget you select?

Revision history for this message
thusitha (thusitha555) said :
#2

im using "show widget" and "hide indicator when show widget". And i'm using my weather service provider as open wether map. Now im in colombo , sri lanka

Revision history for this message
Lorenzo Carbonell (lorenzo-carbonell) said :
#3

Hi,

I try your configuration and it's working ok for me right now: http://i.imgur.com/44k2l.png (in spanish).

Can you exit MWI and run from terminal, and copy paste the output so I can see where the problem is?

Thanks.

Revision history for this message
thusitha (thusitha555) said :
#4

it seems yours right ,in mine that shows N/A for all days. ok wait for little.i'll check that :)

Revision history for this message
thusitha (thusitha555) said :
#5

root@dingo-Compaq-610:/home/dingo# my-weather-indicator
<gettext.GNUTranslations object at 0x87e992c>
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Version: i686
#####################################################

My-Weather-Indicator version: 0.6.0.4.quantal.4
#####################################################
/root/.config/my-weather-indicator/my-weather-indicator.conf False
[Errno 2] No such file or directory: '/root/.config/my-weather-indicator/my-weather-indicator.conf'
<?xml version="1.0" encoding="UTF-8"?><Response><Ip>203.143.14.232</Ip><Status>OK</Status><CountryCode>LK</CountryCode><CountryCode3>LKA</CountryCode3><CountryName>Sri Lanka</CountryName><RegionCode>36</RegionCode><RegionName>Western</RegionName><City>Colombo</City><ZipPostalCode></ZipPostalCode><Latitude>6.9319</Latitude><Longitude>79.8478</Longitude><AreaCode>0</AreaCode><TimeZone>Asia/Colombo</TimeZone></Response>

3

Revision history for this message
Lorenzo Carbonell (lorenzo-carbonell) said :
#6

are you running My-Weather-Indicator as root?

in terminal exit "root", and run again, you must see:

"/home/dingo/.config/my-weather-indicator/my-weather-indicator.conf True"

Revision history for this message
thusitha (thusitha555) said :
#7

dingo@dingo-Compaq-610:~$ my-weather-indicator
<gettext.GNUTranslations object at 0x93be54c>
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Version: i686
#####################################################

My-Weather-Indicator version: 0.6.0.4.quantal.4
#####################################################
/home/dingo/.config/my-weather-indicator/my-weather-indicator.conf True
b'{"time":"2013-01-01 17:05","countryName":"Sri Lanka","sunset":"2013-01-01 18:06","rawOffset":5.5,"dstOffset":5.5,"countryCode":"LK","gmtOffset":5.5,"lng":79.8478,"sunrise":"2013-01-01 06:22","timezoneId":"Asia/Colombo","lat":6.9319}'
b'{"time":"2013-01-01 17:05","countryName":"Sri Lanka","sunset":"2013-01-01 18:01","rawOffset":5.5,"dstOffset":5.5,"countryCode":"LK","gmtOffset":5.5,"lng":81.002,"sunrise":"2013-01-01 06:17","timezoneId":"Asia/Colombo","lat":6.8265}'
<?xml version="1.0" encoding="UTF-8"?><Response><Ip>203.143.14.232</Ip><Status>OK</Status><CountryCode>LK</CountryCode><CountryCode3>LKA</CountryCode3><CountryName>Sri Lanka</CountryName><RegionCode>36</RegionCode><RegionName>Western</RegionName><City>Colombo</City><ZipPostalCode></ZipPostalCode><Latitude>6.9319</Latitude><Longitude>79.8478</Longitude><AreaCode>0</AreaCode><TimeZone>Asia/Colombo</TimeZone></Response>

OpenWeatherMap Weather Service url:http://openweathermap.org/data/2.1/weather/city/1248991
OWMWeatherService url:http://openweathermap.org/data/2.1/forecast/city/1248991
<class 'bytes'> 32 °C
OpenWeatherMap Weather Service url:http://openweathermap.org/data/2.1/weather/city/1244713
OWMWeatherService url:http://openweathermap.org/data/2.1/forecast/city/1244713
<?xml version="1.0" encoding="UTF-8"?><Response><Ip>203.143.14.232</Ip><Status>OK</Status><CountryCode>LK</CountryCode><CountryCode3>LKA</CountryCode3><CountryName>Sri Lanka</CountryName><RegionCode>36</RegionCode><RegionName>Western</RegionName><City>Colombo</City><ZipPostalCode></ZipPostalCode><Latitude>6.9319</Latitude><Longitude>79.8478</Longitude><AreaCode>0</AreaCode><TimeZone>Asia/Colombo</TimeZone></Response>

OpenWeatherMap Weather Service url:http://openweathermap.org/data/2.1/weather/city/1248991
OWMWeatherService url:http://openweathermap.org/data/2.1/forecast/city/1248991
<class 'bytes'> 32 °C
OpenWeatherMap Weather Service url:http://openweathermap.org/data/2.1/weather/city/1244713
OWMWeatherService url:http://openweathermap.org/data/2.1/forecast/city/1244713
start now

but it still looks like my old one :(

Revision history for this message
Lorenzo Carbonell (lorenzo-carbonell) said :
#8

It doesn't work for you?

please copy and paste here the content of the file "/home/dingo/.config/my-weather-indicator/my-weather-indicator.conf", so I can reproduce exactly your configuration (except language of course), and I can get the bug

I'm very confused.

Revision history for this message
thusitha (thusitha555) said :
#9

{"show-temperature2": true, "24h": true, "icon-light": true, "second-location": true, "longitude": 79.8478, "onwidget2hide": false, "wp2-y": 0, "wp2-x": 0, "temperature": "C", "wp1-x": 1148, "wp1-y": 506, "latitude2": 6.8265, "autolocation": true, "snow": "cm", "version": "0.6.0.4.quantal.4", "location": "Colombo", "latitude": 6.9319, "onwidget1hide": true, "show-notifications": true, "first-time": false, "location2": "Bandarawela Division", "longitude2": 81.002, "skin2": "/usr/share/my-weather-indicator/skins/little", "skin1": "/usr/share/my-weather-indicator/skins/full", "pressure": "mb", "visibility": "km", "rain": "mm", "weather-service": "openweathermap", "main-location": true, "onwidget2top": false, "show-notifications2": true, "refresh": 1.0, "show-temperature": true, "showintaskbar2": false, "showintaskbar1": false, "widget2": false, "widget1": true, "wind": "km/h", "onwidget1top": false}

this is thge file thal you want" my-weather-indicator.conf"

Revision history for this message
thusitha (thusitha555) said :
#10

i'm having two locations (to check that prob) 2nd location is bandarawela , sri lanka

Revision history for this message
Lorenzo Carbonell (lorenzo-carbonell) said :
#11

It works for me. I don't understand anything.

Please try my configuration file, and tell me the result

{"show-temperature2": true, "24h": true, "icon-light": true, "second-location": true, "refresh": 1.0, "onwidget2hide": false, "wp2-y": 0, "wp2-x": 0, "temperature": "C", "wp1-x": 1148, "wp1-y": 506, "latitude2": 6.8265, "autolocation": true, "snow": "cm", "version": "0.6.0.4.quantal.4", "location": "Colombo", "latitude": 6.9319, "onwidget1hide": true, "show-notifications": true, "first-time": false, "location2": "Bandarawela Division", "longitude2": 81.002, "skin2": "/usr/share/my-weather-indicator/skins/little", "skin1": "/usr/share/my-weather-indicator/skins/super", "pressure": "mb", "visibility": "km", "rain": "mm", "weather-service": "openweathermap", "main-location": true, "onwidget2top": false, "show-notifications2": true, "longitude": 79.8478, "show-temperature": true, "showintaskbar2": false, "showintaskbar1": false, "widget2": false, "widget1": true, "wind": "km/h", "onwidget1top": false}

Revision history for this message
thusitha (thusitha555) said :
#12

ok i'll try that

Revision history for this message
Launchpad Janitor (janitor) said :
#13

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
thusitha (thusitha555) said :
#14

hi ,
still that shows as N/A ,N/A.....
here's the screen shot..
http://www.sendspace.com/filegroup/UvaRZPNgr06zNf13CBvM8Q

what can i do..?

Revision history for this message
thusitha (thusitha555) said :
#15

hey,
i found the reason. i canged the weather services to"world wether online" .before i chosed it as "open weather map". now its ok.. :D
 thankyou for bothering my question.
thankyou