Pressing the search button does nothing?

Asked by CyberKitsune

On the Add Location screen, entering anything (or nothing) into the location box then pressing search yields no result. Nothing in the console either, am I doing anything wrong?

Question information

Language:
English Edit question
Status:
Answered
For:
Weather Indicator Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Felix Lawrence (felix-lawrence) said :
#1

You're not doing anything wrong! You're just missing one step. The UI for adding locations is a bit clunky at the moment and in the 24 hours a few people have started looking at how to improve it. In particular, just one hour ago I wrote a patch to remove the need for your missing step!

With the current UI, once you've typed your city into the box, you need to press search, wait a second or two for the results to come in, then click the triangle next to the text box. A list of places should appear in a menu. Click the one you want, then you're done with that screen and can click "Forward".

Revision history for this message
CyberKitsune (cyberkitsune09) said :
#2

Thanks for letting me know about the drop down box! However, even with that in mind, the arrow on the drop down box never becomes enabled, even after waiting minutes for search results, I've tried Cities, City, State, ZIP Code and Airport code, but the drop down box never comes enabled...

Revision history for this message
Felix Lawrence (felix-lawrence) said :
#3

Hmm. Are there any quirks with your internet connection, e.g. are you behind a proxy?

Revision history for this message
Vadim Rutkovsky (roignac) said :
#4

Could you please publish logs from ~/.cache/indicator-weather.log?

Revision history for this message
CyberKitsune (cyberkitsune09) said :
#5

I am not behind a proxy, just a normal wifi network. Here is the cache log (starting it, and searching);

2011-04-04 14:56:29,125 - INFO - ------------------------------
2011-04-04 14:56:29,125 - INFO - Started Weather Indicator from /usr
2011-04-04 14:56:29,125 - DEBUG - SingleInstance: pid file /tmp/indicator-weather-1000.pid exists
2011-04-04 14:56:29,133 - DEBUG - SingleInstance: pid running
2011-04-04 14:56:29,133 - DEBUG - SingleInstance: writing new pid 6362
2011-04-04 14:56:29,140 - DEBUG - Proxy Handler: loading settings
2011-04-04 14:56:29,141 - DEBUG - Proxy Handler: using simple proxy
2011-04-04 14:56:29,141 - DEBUG - Indicator: creating
2011-04-04 14:56:29,147 - INFO - Monitoring UPower interface
2011-04-04 14:56:29,147 - DEBUG - Indicator: reading settings
2011-04-04 14:56:29,147 - DEBUG - Settings: preparing settings store
2011-04-04 14:56:29,332 - DEBUG - Setting: getting value for refresh_rate
2011-04-04 14:56:29,340 - DEBUG - Setting: getting value for unit
2011-04-04 14:56:29,349 - DEBUG - Setting: getting value for notif
2011-04-04 14:56:29,357 - DEBUG - Setting: getting value for wind
2011-04-04 14:56:29,364 - DEBUG - Setting: getting value for data_source
2011-04-04 14:56:29,372 - DEBUG - Setting: getting value for placechosen
2011-04-04 14:56:29,379 - DEBUG - Setting: getting value for places
2011-04-04 14:56:29,386 - DEBUG - Setting: can't find value for places
2011-04-04 14:56:29,387 - DEBUG - Setting: getting value for show_label
2011-04-04 14:56:29,394 - DEBUG - Setting: can't find value for show_label
2011-04-04 14:56:29,394 - DEBUG - Preferences: got settings: rate=15, unit=S, notif=N, wind=mph, placechosen=0, places=None
2011-04-04 14:56:29,394 - DEBUG - Indicator: could not parse places
2011-04-04 14:56:29,395 - DEBUG - Indicator: making a menu for no places
2011-04-04 14:56:31,749 - DEBUG - Indicator: open Preferences
2011-04-04 14:56:31,750 - DEBUG - Preferences: creating
2011-04-04 14:56:31,829 - DEBUG - Preferences: finishing initialization
2011-04-04 14:56:31,829 - DEBUG - Preferences: got settings: unit=S, notif=N, wind=mph, rate=15, source=Y
2011-04-04 14:56:31,830 - DEBUG - Preferences: Loading places
2011-04-04 14:56:34,985 - DEBUG - Preferences: Add location clicked
2011-04-04 14:56:34,985 - DEBUG - Assistant: creating new Assistance instance
2011-04-04 14:56:35,021 - DEBUG - Assistant: finishing initialization
2011-04-04 14:56:35,021 - DEBUG - Assistant: setting up location combobox
2011-04-04 14:56:35,037 - DEBUG - Assistant: moved to page 0
2011-04-04 14:56:35,038 - DEBUG - Assistant: moved to page 1
2011-04-04 14:56:35,038 - DEBUG - Assistant: moved to page 1
2011-04-04 14:56:39,481 - DEBUG - Assistant: looking for location 'Arlington, WA'
2011-04-04 14:56:39,734 - ERROR - Assistant: error reaching url 'http://api.geonames.org/searchJSON?q=Arlington%2C%20WA&featureClass=P&maxRows=10&lang=en&username=indicatorweather'
2011-04-04 14:56:55,977 - DEBUG - Assistant: Cancelled
2011-04-04 14:56:57,312 - DEBUG - Preferences: Cancelling
2011-04-04 14:56:59,026 - DEBUG - SingleInstance: deleting /tmp/indicator-weather-1000.pid

----

Additionally, I can download the searchJSON from "http://api.geonames.org/searchJSON?q=Arlington%2C%20WA&featureClass=P&maxRows=10&lang=en&username=indicatorweather" in a browser, so I can access that URL but the indicator can't, it seems.

Revision history for this message
Vadim Rutkovsky (roignac) said :
#6

The log says, that you have a proxy server enabled.
Could you please check, that proxy is disabled in Gnome Network Properties.
Also, please attach an output of the following commands:
gconftool-2 -a /system/proxy
gconftool-2 -a /system/http_proxy

Can you help with this problem?

Provide an answer of your own, or ask CyberKitsune for more information if necessary.

To post a message you must log in.