Thanks!
8)
]]>Very cool, vificunero. I never thought of using something to find the error. I just looked at where the list was being cut off.
Me too.
Vortex87 had the idea: I was the arm. 8)
I've found out that with gnome-applets-2.8.1.1 everything should be fine.
]]>nano /opt/gnome/share/gweather/Locations.xml
and searched for "<name xml:lang="it">astrakhan<</name>"
Removed the ekstra < and now it works.
So, a big thank you to vificunero and his friend.
]]>from xml.dom.minidom import parse
dom = parse('/path/al/file.xml')
The code found a problem in 7708 line.
This is line 7708:
<name xml:lang="it">astrakhan<</name>
I've removed < and now all the locations can be choosen in weather report preferences.
]]>The file with the locations in it is, "/opt/gnome/share/gweather/Locations.xml".
[...]
Anyways, to get it working, you'll likely need the <?xml>,<gweather> tags, and then just the Region and Country sections you want. A bit of a pain, but I got mine working properly.
Well thank's. I've added an entry for my town:
<region>
<name>Europe</name>
<name xml:lang="it">Europa</name>
<country>
<name>Italy</name>
<name xml:lang="it">Italia</name>
<location>
<name>Milano</name>
<name xml:lang="it">Milano Linate</name>
<code>LIML</code>
</location>
</country>
</region>
I guess it's right. Well thank's again.
I don't see a bug report too.
I wonder if it isn't going over some limit that was set in 2.6 before all this extra language stuff was added.
I don't see a bug report at bugs.gnome.org either.
Anyways, to get it working, you'll likely need the <?xml>,<gweather> tags, and then just the Region and Country sections you want. A bit of a pain, but I got mine working properly.
]]>I think I added my own location before. I'll let you know if I figure it out again.
]]>Do you experience the same problem? Thank's.
]]>