You are not logged in.
Hi. I have a problem with the "Wheather Report 2.8.1 applet": European locations don't exist anymore. Only North America and Middle East. :?
Do you experience the same problem? Thank's.
Offline
You're right. North America only has USA/Alaska as well
I think I added my own location before. I'll let you know if I figure it out again.
Offline
The file with the locations in it is, "/opt/gnome/share/gweather/Locations.xml". There weren't any problems in the XML that jumped out at me. Although I swear a lot of Localization stuff has been added since last time I edited that file (2.6).
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.
Offline
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.
Offline
A friend of mine, Vortex87, suggested me to locate some errors in Locations.xml file. I've downloaded gnome-applet-2.8.1 source and used this code with python as Vortex87 shows me:
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.
Offline
I did a
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.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Very cool, vificunero. I never thought of using something to find the error. I just looked at where the list was being cut off.
Offline
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.
Offline
Genius!
Thanks!
8)
Offline