← Back to team overview

weather-indicator-team team mailing list archive

Re: indicator-weather is not working in home environment when http_proxy is set

 

Hi Balaji,

Weather Indicator tries to use gnome proxy settings, however this has
never been thoroughly tested.
Could you please post a comment in bug
https://bugs.launchpad.net/weather-indicator/+bug/774406
containing your proxy server settings - use 'gconftool-2 --dump
/system/proxy' to dump all the settings.

Don't forget to rip off the sensitive data such as login and password.

Thanks,
 Vadim


2012/5/3 Balaji Natarajan <balaji_tvr@xxxxxxxxx>:
> Hi,
>
> The indicator-weather is not working when I use the office laptop at home.
> Office laptop is set to http_proxy at login time.
> But, it works fine from office network though proxy is set.
>
> Other scenario:
> But for my colleague the indicator-weather works fine in home network BUT in
> office.
>
> The difference between both of us is, the application installation time. I
> installed this app from office network and he installed it from home
> network.
> The system wide proxy is set to an "Automatic".
>
> Looks like, at install time, it finds and stores the proxy settings and
> doesn't use the gnome network settings.
>
> I also tried to uninstall "with complete removal option clicked in synaptic"
> but looks like its not removing completely. When I re-install, I see the
> same behavior and many of my settings are retained.
>
> Any help to solve this problem, pls?
>
> Log snippet (.cache/indicator-weather.log):
>
> [MainThread] 2012-05-03 09:11:07,846 - INFO - Started Weather Indicator from
> /usr
> [MainThread] 2012-05-03 09:11:07,846 - INFO - Weather Indicator version
> 11.11.28 'Cloudy 9'
> [MainThread] 2012-05-03 09:11:07,846 - DEBUG - SingleInstance: writing new
> pid 3536
> [MainThread] 2012-05-03 09:11:07,851 - DEBUG - ProxyMonitor: loading gconf
> settings
> [MainThread] 2012-05-03 09:11:07,851 - DEBUG - ProxyMonitor: using simple
> proxy: espcolo-webproxy00.europe.nokia.com:8080
> [MainThread] 2012-05-03 09:11:07,852 - DEBUG - TimeFormatter: loading
> indicator-datetime settings: com.canonical.indicator.datetime
> [MainThread] 2012-05-03 09:11:07,852 - DEBUG - Time Formatter: time format
> changed
> [MainThread] 2012-05-03 09:11:07,852 - DEBUG - Indicator: creating
> [MainThread] 2012-05-03 09:11:07,856 - INFO - Monitoring UPower interface
> [MainThread] 2012-05-03 09:11:07,856 - DEBUG - Indicator: reading settings
> [MainThread] 2012-05-03 09:11:07,856 - DEBUG - Settings: preparing settings
> store
> [MainThread] 2012-05-03 09:11:07,856 - DEBUG - Settings: getting value for
> refresh_rate
> [MainThread] 2012-05-03 09:11:07,857 - DEBUG - Settings: getting value for
> unit
> [MainThread] 2012-05-03 09:11:07,860 - DEBUG - Settings: getting value for
> notif
> [MainThread] 2012-05-03 09:11:07,860 - DEBUG - Settings: getting value for
> wind
> [MainThread] 2012-05-03 09:11:07,860 - DEBUG - Settings: getting value for
> data_source
> [MainThread] 2012-05-03 09:11:07,860 - DEBUG - Settings: getting value for
> placechosen
> [MainThread] 2012-05-03 09:11:07,860 - DEBUG - Settings: getting value for
> places
> [MainThread] 2012-05-03 09:11:07,860 - DEBUG - Settings: getting value for
> show_label
> [MainThread] 2012-05-03 09:11:07,860 - DEBUG - Preferences: got settings:
> rate=2, unit=S, notif=N, wind=kph, placechosen=0, places=[['638242',
> 'Berlin'], ['55925605', 'Chennai'], ['1062617', 'Singapore']]
> [MainThread] 2012-05-03 09:11:07,861 - DEBUG - Indicator: menu_normal:
> filling in a menu for found places
> [MainThread] 2012-05-03 09:11:07,863 - DEBUG - Indicator: menu_normal:
> adding first location menu item 'Berlin'
> [MainThread] 2012-05-03 09:11:07,863 - DEBUG - Indicator: menu_normal:
> adding location menu item 'Chennai'
> [MainThread] 2012-05-03 09:11:07,863 - DEBUG - Indicator: menu_normal:
> adding location menu item 'Singapore'
> [MainThread] 2012-05-03 09:11:07,867 - DEBUG - Indicator: update_label:
> setting label to ' '
> [MainThread] 2012-05-03 09:11:07,867 - DEBUG - Indicator: updateWeather:
> updating weather for ['638242', 'Berlin']
> [Cache] 2012-05-03 09:11:07,867 - DEBUG - Settings: getting cached weather
> for 638242
> [Cache] 2012-05-03 09:11:07,868 - DEBUG - Indicator: loading weather from
> cache for ['638242', 'Berlin']
> [Cache] 2012-05-03 09:11:07,868 - DEBUG - Indicator: menu_normal: filling in
> a menu for found places
> [Cache] 2012-05-03 09:11:07,868 - DEBUG - Indicator: menu_normal: adding
> first location menu item 'Berlin'
> [Cache] 2012-05-03 09:11:07,868 - DEBUG - Indicator: menu_normal: adding
> location menu item 'Chennai'
> [Cache] 2012-05-03 09:11:07,869 - DEBUG - Indicator: menu_normal: adding
> location menu item 'Singapore'
> [Cache] 2012-05-03 09:11:07,870 - DEBUG - Indicator: update_label: setting
> label to ' '
> [Cache] 2012-05-03 09:11:07,872 - DEBUG - Indicator: update_label: setting
> label to '25 ˚C'
> [Fetcher] 2012-05-03 09:11:07,875 - DEBUG - Indicator: getWeather for
> location 'Berlin, Berlin, Germany'
> [Fetcher] 2012-05-03 09:11:07,875 - DEBUG - Indicator: getWeather: updating
> weather report
> [Fetcher] 2012-05-03 09:11:07,875 - DEBUG - Location: default weather source
> 'Yahoo' chosen for 'Berlin'
> [Fetcher] 2012-05-03 09:12:11,074 - ERROR - Indicator: networking error:
> <urlopen error [Errno 110] Connection timed out>
> [Fetcher] 2012-05-03 09:12:11,075 - DEBUG - Indicator: updateWeather:
> waiting for 'Cacher' thread to terminate
> [Fetcher] 2012-05-03 09:12:11,076 - ERROR - Indicator: updateWeather: could
> not get weather, leaving cached data
>
> Regards,
> Balaji
>
>
>
> --
> Mailing list: https://launchpad.net/~weather-indicator-team
> Post to     : weather-indicator-team@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~weather-indicator-team
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Vadim Rutkovsky


Follow ups

References