The weather map parsing has an error. It finds the map correctly but
when it has to find the src it fails as its criteria looks for the wrong
case, and without proper quotes. The weather.com site changed it?

ok

find somehing similar to

mapExp = """<IMG NAME="mapImg" SRC="([^\"]+)" WIDTH=([0-9]+)
HEIGHT=([0-9]+) BORDER"""

and change it to

mapExp = """<img name="mapImg" src="([^\"]+)" width="([0-9]+)"
height="([0-9]+)" border"""

Mine is on line 622

Also, on line 563 or 606 (depends on the version) update the key if it's
failing

The original is
__ws_key = "&prod=xoap&par=1048871467&key=12daac2f3a67cb39&link=xoap"

and you can change it to
__ws_key = "&prod=xoap&par=1287722164&key=e11ec82daa20d876" 

as posted on 
http://ubuntuforums.org/showpost.php?p=11435261&postcount=59

As a side note: to report a parsing problem as a network connection
error is really bizarre|awkward|stupid|disrupting and it gets worse as
you are parsing someone else page, prone to be changed without notice.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/739293

Title:
  Network error in Weather

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avant-window-navigator/+bug/739293/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to