xboxscene.org forums

Author Topic: Xradar Help  (Read 160 times)

tbone6

  • Archived User
  • Full Member
  • *
  • Posts: 145
Xradar Help
« on: April 04, 2005, 11:15:00 PM »

When I try to get the radar for a zip code it always says unable to find images for that area.  This happens for every zip code and short and long range.  How do I fix this?  I followed the readme and put the 2 png files in a pics folder.
Logged

hokie420

  • Archived User
  • Newbie
  • *
  • Posts: 2
Xradar Help
« Reply #1 on: April 11, 2005, 08:51:00 PM »

I'm having the same issues.. I'm thinking it has something to do with the fact that weather.com has completely changed their layouts...
Logged

spongy

  • Archived User
  • Full Member
  • *
  • Posts: 109
Xradar Help
« Reply #2 on: April 19, 2005, 05:50:00 PM »

I found this in the official forums. It worked for me.

QUOTE
Change
    count = (count + 1) % 6
to
    count = (count + 1) % 5

Change
    self.RadarPic = self.guiMaker.makePic(RadarLoc[0], RadarLoc[1], 563, 380, os.path.join(TempDir, "5.jpg"))
to
    self.RadarPic = self.guiMaker.makePic(RadarLoc[0], RadarLoc[1], 563, 380, os.path.join(TempDir, "4.jpg"))

Change
    for i in range(6):
to
    for i in range(5):



Good Luck
Logged

nuka1195

  • Archived User
  • Sr. Member
  • *
  • Posts: 290
Xradar Help
« Reply #3 on: April 20, 2005, 12:44:00 PM »

I also changed this:
  if self.ready and self.looping and not count == 5:

to:
  if self.ready and self.looping and not count == 4:

This post has been edited by nuka1195: Apr 20 2005, 07:44 PM
Logged

wilhogtom

  • Archived User
  • Newbie
  • *
  • Posts: 4
Xradar Help
« Reply #4 on: May 01, 2005, 04:59:00 AM »

I've tried both the above suggestions with no luck.  Anyone have any other ideas on how to get this to work?
Logged

TrueWarlord

  • Archived User
  • Newbie
  • *
  • Posts: 45
Xradar Help
« Reply #5 on: May 01, 2005, 08:13:00 PM »

Hmm...I tried both suggestions above and reset my zip code; worked like a charm.  Thanks.
Logged

Xr8d

  • Archived User
  • Newbie
  • *
  • Posts: 29
Xradar Help
« Reply #6 on: May 01, 2005, 08:16:00 PM »

beerchug.gif
Logged