aachyee / google-desktop-sdk

Automatically exported from code.google.com/p/google-desktop-sdk
0 stars 0 forks source link

Weather Globe Gadget Bug Ubuntu 10.04 #124

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install google-gadget-gtk 0.11.2 for Ubuntu 10.04 from google repo
2. Start ggl-gtk in terminal, add "Weather Globe" gadget
3. See error log

What is the expected output? What do you see instead?
I can't change the city in which i want to monitor the weather. Instead I 
am stuck with Weather from "Happy, TX"

What version of the product are you using? On what operating system?
Google Gadget GTK 0.11.2 (API 5.8.0.0)
Ubuntu 10.04

Please provide any additional information below.
Below are the errors that i see in the terminal:

On startup with weatherglobe:
2_main.xml.compiled.js:9: Non-standard JScript grammar (function declared 
in inner blocks): function i(){if(r.readyState==4&&r.status==200){var j=new 
DOMDocument;j.loadXML(r.responseText);try{var 
m=j.getElementsByTagName("cities")[0].getElementsByTagName("city"),n=[];B=[
];for(var h=0;h<m.length;++h){var l=k(m[h],"name");n[h]=l;var 
v=k(m[h],"latitude_e6"),D=k(m[h],"longitude_e6");B[h]={name:l,lat:v,longitu
de:D}}n.sort();g.text=n;H=x.CityListReceived;var 
P=a.GetControl(S);if(O(P.value)==options.getValue("Country")){var 
I=options.getValue(q);if(n.exists(I)){g.value=
I}}}catch(Q){debug.error("Error loading city list: "+Q.message)}}}

When trying to change the city:
2_main.xml.compiled.js:6: NONAME:1: parser error : Start tag expected, '<' 
not found
2_main.xml.compiled.js:6: 숟ࢋ
2_main.xml.compiled.js:6: ^
2_main.xml.compiled.js:7: Error loading country list: 
c.getElementsByTagName("countries")[0] is null

Original issue reported on code.google.com by Gam...@gmail.com on 11 May 2010 at 1:59