Invalid zip code when running weather widgets

Tuesday, July 7, 2009 by jag4710 | Discussion: DesktopX

My computer was shutdown incorrectly when the breaker in my apartment went off. Now, when I run a weather widget, I get an invalid zip code error. I uninstalled and reinstalled DesktopX, but it didn't help. I cleared the widget cache, but I still get the same error. Does anyone have any suggestions? I never had any problems running anything in DesktopX before this.
First Previous Page 18 of 20 Next Last
Lantec
Reply #341 Thursday, July 16, 2009 12:45 PM

wrong thread...moved to https://forums.wincustomize.com/358892/page/9/#2304627

S J N
Reply #342 Thursday, July 16, 2009 1:05 PM

I don't know anything about skinning or programming and would like to know as an end-user how to fix these weather widgits myself, if it is not to difficult.

Thanks for any help you can give me.

windowpains
Reply #343 Thursday, July 16, 2009 5:49 PM
Please don't misunderstand my suggestion. When I say that a feed aggregator would be a good solution, I am not necessarily referring to an RSS system. What I do mean is something similar to what Zubaz brought up in the very beginning of this thread. One .ini to rule them all. We could begin to script all objects in Object Desktop to look for the info they need from that file which we as the group, not Stardock, would maintain to be current and effective. Help from Stardock to get it started is all that might be needed. I suggest this because it would also work for other programs beside DesktopX, ie, Objectbar, and it would also be useful for any time sensitive data sources, not just weather. As I mentioned in my last entry, this would take care of the SD customers at first and with some development might also be useful also for implementing widget corrections. The plugin could be made available to non-Object Desktop users.
Gareth48
Reply #344 Saturday, July 18, 2009 5:48 PM

Global, Smobal, I'm having the same stinking problem and it's driving me nuts!!! I've done all the things you folks have mentioned and still no luck. I've been using Richard Mohler's "Combined II" for years. Now, all of a sudden it crapped out. I know it's not Rich's fault. Like some of you folks I'm going into withdrawals. I want my "Comined II" back. I hope some geek finds a fix real soon; this is getting crazy.

It's a CIA plot!!

neophil78
Reply #345 Saturday, July 18, 2009 11:02 PM

neophil78
And here's THE solution to keep using weather.com (well at least to keep widgets OK) but without having to get any Partner ID and License Key


- Load DesktopX Builder

- Before importing your widget, disconnect from/turn off the internet (unplug cable, etc.)

- R-click on the DX Builder icon in your system tray and Import your widget

- R-click on the DX Builder icon and choose List Objects

- Find the "weather_image" object. R-click and choose Edit Script

(If you don't see this object, you are likely using a different version)

- In the script editor, find the line that looks similar to this:

http.Open "GET", "http://xoap.weather.com/weather/local/" & location & "?cc=*&dayf=5" & str_UNITS & str_RANDOM_URL, False

- Replace in that line http://xoap.weather.com/weather/local/ by http://xml.weather.com/weather/local/ , save & apply the script


- R-click on the DX Builder icon and find the "weather_forecaststatus" object. R-click and choose Edit Script

- In the script editor, find the line that looks similar to this:

http.Open "GET", "http://xoap.weather.com/search/search?where=" & x, False

- Replace in that line http://xoap.weather.com/search/search?where= by http://xml.weather.com/search/search?where=, save & apply the sript

(you may have to do the same with the second line:  http.Open "GET", "http://xoap.weather.com/search/search?where=" & y, False - in case of two locations choice ...)


- This hardcodes NOTHING and the widget goes fine

- Restore your internet connection and test the widget (Use the change location button)

- If all goes okay (and it will), you can now export the widget again.

Funny isn't it ?

Tempoary fix

StarBudd
Reply #346 Sunday, July 19, 2009 2:42 PM

The above "temporary fix" works like a charm - thanks

Jerry LeDoux
Reply #347 Sunday, July 19, 2009 8:39 PM

I had never created anything in Desktop X or edited a script.  It was a bit of a challenge and I fumbled around in Builder for quite awhile trying to follow the instructions. After quite a few attempts, I did manage to fix two of my widgets.  Thanks.

Jafo
Reply #348 Sunday, July 19, 2009 11:14 PM

After quite a few attempts, I did manage to fix two of my widgets. Thanks.

Yay....

StarBudd
Reply #349 Sunday, July 19, 2009 11:49 PM

Oh well, it seems that the "temporary fix" isn't really legal either...

Here's the story:

https://forums.wincustomize.com/?postid=358753

neophil78
Reply #350 Monday, July 20, 2009 3:16 AM

Oh well, it seems that the "temporary fix" isn't really legal either...

That's why it's "temporary"

Doubird
Reply #351 Thursday, July 23, 2009 8:17 AM

Hi, can someone tell me if there are any new developments concerning the weather problem? The last thing I read was that the weather widgets would be taken off the widget gallery on the 20th of July.

Doubird
Reply #352 Thursday, July 23, 2009 8:20 AM

Hi, can someone tell me if there are any new developments concerning the weather problem? The last thing I read was that the weather widgets would be taken off the widget gallery on the 20th of July.

Doubird
Reply #353 Thursday, July 23, 2009 8:21 AM

Hi, can someone tell me if there are any new developments concerning the weather problem? The last thing I read was that the weather widgets would be taken off the widget gallery on the 20th of July.

Gareth
Reply #354 Thursday, August 20, 2009 10:11 AM

I've been using Richard Mohler's "Compined II" for a couple of years. It's the best one I've found for my purposes. Like the rest of you folks Rich's stopped working also. This is nuts!! It's a CIA or AccuWeather plot to keep private weather widgets from working. My guess would be the CIA their always up to no good.

Like the person said in another post: "I TOO AM GOING THROUGH WITHDRAWAL!!!   

I wish the widget developers would find a fix for their widgets. Or, is that even possible?

@#&%$*&

Wizard1956
Reply #355 Thursday, August 20, 2009 10:28 AM

I wish the widget developers would find a fix for their widgets. Or, is that even possible?

Actually,it's The Weather Channel (Weather dot com) that caused the problem,but they are only protecting their feed,which is their right. Currently,sViz and others are developing widgets that will use the feed legally as well as getting weather data from other sources. They are starting to appear in the gallery now.

Three cheers for sViz!!! 

(and a hoot for RedNeckDude)

Howserneitor
Reply #356 Sunday, September 27, 2009 3:09 PM

...........ANSWER TO "This doesn´t appear a valid zip code"-.....................

By Posted September 27, 2009 15:02:40

I think I got an answer, you need to Disabled the MessageBox editing the script

 

1.-Sorry about my english.

2.-Switch DesktopX Client to DesktopX Builder, right click on Desktop Icon on bottom pf the screen to switch it.

3.-When the DesktopX Builder is already loaded, right click on upper-left corner of the Weather Widget (where a Sun or Cloudy Image appears) and select "EditScrip" option.

4.-The DesktopX Script Editor will be pop up with the 'code' of the weather widget, then search the code line with the sentence:

   Widget.Preference("location").defaultvalue = "MXSP0079" (usually at line 11) 

   We need to change the default location ID.

5.-To get our location ID, go to this page  http://www.weather.com/ and search your city on search browser, this is only to ensure that our city is included on data base. (In my case San Luis Potosi,Mexico)

6.-Once we have our "exactly location name" we go to this page

    http://xoap.weather.com/search/search?where=San Luis Potosi,Mexico

    and replace San Luis Potosi,Mexico with your "exactly location name", if your city is included on data base it will show you a id-locations list

    of your city and near cities to, with this template:

    <loc id="MXSP0079" type="1">San Luis Potosi, Mexico</loc> (My city San Luis Potosi , location id = "MXSP0079")

7.-When you have your location id (with the quotation marks "") replace in this code line, after = symbol.

    Widget.Preference("location").defaultvalue = "MXSP0079" (usually at line 11) 

 

8.-The instructions above are for setup our location name, now we have to disable the Message Box with the alarm

    "This doesn´t appear a valid zip code"

9.-After relocated you id, on the same scritp file, search for any Msgbox instruction (I found it at line 48) and comment it

10.-When we comment a code line, the main code doens´t included.

11.-To comment a line in the Script, type an apostrophe (  '  ) before the linelike this

      'Msgbox "This doesn't appear to be a valid zip code." & vbNewLine & vbNewLine & "Please try again.", vbExclamation + vbOKOnly, "Zip error
                '

12.-I only find this Msgbox in my script, maybe you have a few of them, remember only disabled the MsgBox with the message:

     "This doesn't appear to be a valid zip code." & vbNewLine & vbNewLine & "Please try again."

13.-I hope this will help you, My computer have 5 hours without the message

14.-Sorry about the writting, if you have any question this is my email "[email protected]"

RedneckDude
Reply #357 Sunday, September 27, 2009 4:36 PM

The above post may fix the end user problem, but it won't satisfy the feed suppliers requirements, so , if it works, it will only work until TWC catches on. In other words, you will be turning an artists work into a cracked application, which isn't looked upon too kindly these days....just my redneck opinion.

chicco pippo
Reply #358 Thursday, January 14, 2010 9:57 AM

I would like to ask if some widgets weathers are still usable after the change of the format of the feeds/messages of weather.com. There are beautiful objects/widgets  that now do not work more like DXweather-Alpha OS or Vista Weather Calendar. They can be restore? There are a procedure in order to adapt them to the new format feeds of weather.com? You have suggestion or experiences? Thanks for any news.

Blagcentral
Reply #359 Tuesday, February 2, 2010 12:24 PM


My computer was shutdown incorrectly when the breaker in my apartment went off. Now, when I run a weather widget, I get an invalid zip code error. I uninstalled and reinstalled DesktopX, but it didn't help. I cleared the widget cache, but I still get the same error. Does anyone have any suggestions? I never had any problems running anything in DesktopX before this.
Could Someone please help, i have registered with weather.com & recieved ID & Key and have tried to edit the script with a few of the methods from posts, every time i get script errors and afterwards the invalid zip code error returns.I refuse to give up as it's driving me mad could someone please help me with this.

Robbie_Boy
Reply #360 Tuesday, February 2, 2010 12:42 PM

Yeah it did it to me the other day too....

I had to do a hard restart....

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01