Aqua-Soft Forums: Kapsules Weather - Invalid Location Code - Aqua-Soft Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Kapsules Weather - Invalid Location Code Rate Topic: -----

#1 User is offline   Cokeologist Icon

  • Group: Member
  • Posts: 4
  • Joined: 08-June 08

Posted 08 June 2008 - 12:38 AM

I have been using Kapsules v0.9.8.0 and Kapsules Weather v1.1.5 for many months with no issues. A couple of weeks ago, Kapsules Weather began displaying "Invalid Location Code" and would not pull in any weather data. No matter what zip code or location code I put in the settings dialog, it will not pull in any weather data. Same for KapMeteorology. Can anyone help? Thanks very much in advance.
0

#2 User is offline   Sranshaft Icon

  • Group: Developers
  • Posts: 732
  • Joined: 13-April 05

Posted 08 June 2008 - 12:42 AM

I'm not sure where Kapsules is pulling the info from but Yahoo! Weather changed their URL address for the weather search so that could be the problem - if it's using Yahoo! Weather that is.
0

#3 User is offline   Cokeologist Icon

  • Group: Member
  • Posts: 4
  • Joined: 08-June 08

Posted 09 June 2008 - 10:02 AM

Kapsules seems to be pulling their weather info from weather.com; any information as to how to fix this problem would be very greatly appreciated!!
0

#4 User is offline   Sranshaft Icon

  • Group: Developers
  • Posts: 732
  • Joined: 13-April 05

Posted 09 June 2008 - 02:45 PM

Andrew would have to issue an update for his Weather Kapsule pointing to the new URL. I'm afraid there's nothing else that can be done.
0

#5 User is offline   Cokeologist Icon

  • Group: Member
  • Posts: 4
  • Joined: 08-June 08

Posted 10 June 2008 - 08:49 AM

Thank you; any idea how to submit that request?
0

#6 User is offline   druss Icon

  • Group: Member
  • Posts: 4
  • Joined: 13-June 08

Posted 13 June 2008 - 12:15 PM

open the widget code (open kapweather.kap in wordpad):
'...My documentsKapsules WidgetsKapsules Weather.widgetkapweather.kap'

search for XmlUrl = ...
and change this into
XmlUrl = "http://xoap.weather.com/weather/local/" & m_PostCode & "?cc=*&dayf=" & m_NumberOfDays & "&par=1003960698&key=8d4b00356ecc089d&unit=" & Unit

save the file
close the widget or kapsules
reload widget or restart kapsules

works for me...
0

#7 User is offline   druss Icon

  • Group: Member
  • Posts: 4
  • Joined: 13-June 08

Posted 13 June 2008 - 12:31 PM

change
If m_DisplayMode = "C" Then Unit = "m"
XmlUrl = "http://xoap.weather.com/weather/local/" & m_PostCode & "?cc=*&dayf=" & m_NumberOfDays & "&par=1003960698&key=8d4b00356ecc089d&unit=" & Unit

into

Unit = "F"
If m_DisplayMode = "C" Then Unit = "C"
XmlUrl = "http://xoap.weather.com/weather/local/" & m_PostCode & "?cc=*&dayf=" & m_NumberOfDays & "&ut=" & Unit

works even better, temps were in Celsius, this should fix the problem.
0

#8 User is offline   Cokeologist Icon

  • Group: Member
  • Posts: 4
  • Joined: 08-June 08

Posted 14 June 2008 - 08:09 PM

My version of kapweather.kap is time stamped 01/15/05 8:11pm, and does not have XmlUrl anywhere in the code.

Does anyone know how to contact Andrew to request assistance with this problem?

I prefer KapMeterology, but would use either KapMeterology or KapWeather if I could get one of them to work again.
0

#9 User is offline   druss Icon

  • Group: Member
  • Posts: 4
  • Joined: 13-June 08

Posted 15 June 2008 - 02:18 PM

too bad, however, one of the benefits of Kapsules is that the widget-code is easy altered (backup first). If you can't find xmURL, search for weather.com and play a bit with the URL.

I'm not sure if Andrew can be contacted, but I hope we all hear from him very soon... I miss kapsules!
0

#10 User is offline   andrew_ Icon

  • Group: Developers
  • Posts: 473
  • Joined: 12-April 04

Posted 10 July 2008 - 12:17 PM

Oh he's still floating around :)

I'll see about having a look at the old widget this weekend. Look in the config file for the widget and let me know what version you have. I havent been developing on kapsules in some time, but I still have all the old code around. So I could probably take a look at it for you.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic