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 7 of 20 Next Last
Wizard1956
Reply #121 Wednesday, July 8, 2009 9:37 AM

I tried to go register but it asks for a U.S. zip code or city. I'm in Canada. What can I do?
Move south.

Cr4z33
Reply #122 Wednesday, July 8, 2009 9:42 AM

Yay I got it working thanks to your suggestions.

I replaced the default http://xoap.weather.com/ link with a custom one containing my city and license details.

Thanks!

RedBuzzard
Reply #123 Wednesday, July 8, 2009 9:51 AM

Cr4z33. Can you show me the line (without you user ID &Key) that you changed in martins script so that I can fix mine as well?? Thanks.

Wizard1956
Reply #124 Wednesday, July 8, 2009 10:00 AM

I'm looking forward to being able to use my "Naked Noir" widget again!

I'm looking forward to just being able to use any of my 132 DX themes.I tried a dozen or so and none will fully load. I don't relish the idea of having to modify every one of them,just to have Weather dot com pull this crap again in the future. It looks like I am done with DX until this is straightened out.

ZubaZ
Reply #125 Wednesday, July 8, 2009 10:03 AM

First of all the registration is free. So I don't see any problems to get it. Then I'm not sure that the widget creator have a rights to use (share) his (or her) Partner ID and License Key. However I know how to help with this. We just need to add one more simple suroutine into the "Classic Weather Script" which will generate the multiline inputbox (with DesktopX Form) like:

1. Enter here your TWC Partner ID:

2. Enter here your TWC License Key:

3. Enter here the US ZIPCODE or City, Country....

Then these three parameters must be used in the widget script to access to RSS Feed and be saved in the widget's *.INI file.

That's all. And seems this is more than easy!
Adding a link to the registration page too?

Again . . I might suggest that an external file be used for scripts that may use common code. That way they could be replaced easily on the host system if needed and if all weather gadgets used the same external file it could be updated once and would work for all

Wizard1956
Reply #126 Wednesday, July 8, 2009 10:10 AM

if all weather gadgets used the same external file it could be updated once and would work for all

That would be a wonderful thing,Zubaz. I hope that turns out to be do-able.

bilbo1930
Reply #127 Wednesday, July 8, 2009 10:35 AM

Redbuzzard:

Just try... now working with my own location, only 5 days forecast

 

http.Open "GET", "http://xoap.weather.com/weather/local/YOURLOCATIONCODE?cc=*&dayf=5&link=xoap&prod=xoap&par=YOURID&key=YOURKEY" & str_UNITS & str_RANDOM_URL, False


az0th
Reply #128 Wednesday, July 8, 2009 10:43 AM

That does it.

Think I'll stick with Winstep and mothball DX till SD gets its act together.

Something tells me JcRabbit's way ahead on this one.

 

 

Vad_M
Reply #129 Wednesday, July 8, 2009 10:54 AM

Just try... now working with my own location, only 5 days forecast

Yes... And I see only one way to get the 10 days/36 hours forecast right now .  You need retrieve the data directly from the web pages through HTML. This is a hard way but it works for me...

ZubaZ
Reply #130 Wednesday, July 8, 2009 10:56 AM

Think I'll stick with Winstep and mothball DX till SD gets its act together.
This is not an Stardock issue in any way.  It comes from users creating weather widgets all based on the same code (by another user) that calls weather.com without a parnet ID and key.

neophil78
Reply #131 Wednesday, July 8, 2009 11:06 AM

Thanks for proposal Vad, but i know how to do with your explanation, i just have too many widgets to re-script and, as it's told by Adni18, i think that's the real only way (for everyone already using widgets) is that Stardock should negociate codes to be used by their consumers

bilbo1930
Reply #132 Wednesday, July 8, 2009 11:23 AM


 It comes from users creating weather widgets all based on the same code (by another user) that calls weather.com without a parnet ID and key.

yes... BUT DesktopX one of SD application

Weather widgets and objects, really based martin's code..

Silica weather come with dx, I think this one Offical Stardock Weather widget..and NOT work now...

So we need SD and dx developer support in these days...

Anakey
Reply #133 Wednesday, July 8, 2009 11:29 AM

i asked about the silica widgets, apparently they are not supported as they are too outdated

adni18
Reply #134 Wednesday, July 8, 2009 11:34 AM

This is not an Stardock issue in any way. It comes from users creating weather widgets all based on the same code (by another user) that calls weather.com without a parnet ID and key.

Dear Zubaz,
Stardock is or was offering a weather widget with the DesktopX, many people may have buy the DesktopX only for the Silica weather widget
I don’t mean that Stardock has to buy a license for all widgets, but it may help for a solution, for example an additional script for all widgets. Stardock has many professional employees with great knowledge of scripts!

 

Vad_M
Reply #135 Wednesday, July 8, 2009 11:35 AM

This is not an Stardock issue in any way. It comes from users creating weather widgets all based on the same code (by another user) that calls weather.com without a parnet ID and key.

I Agree. That problem must be solved only by the authors of these widgets (certainly if they have a free time or just desire to do this).

Besides it should not be forgotten - all of these widgets was FREE OF CHARGE. So I think you have no rights to submit any claims to their authors... And more than - to Stardock.

sViz
Reply #136 Wednesday, July 8, 2009 11:35 AM

bilbo1930



yes... BUT DesktopX one of SD application

Weather widgets and objects, really based martin's code..

Silica weather come with dx, I think this one Offical Stardock Weather widget..and NOT work now...

So we need SD and dx developer support in these days...

Yeah. It seems Silica and Martin's BaseWeather are the two widgets everyone based their work off of and they require two different methods of modification as the scripts are not the same (BaseWeather is more extensive.) 

 

I'm working with Martin's BaseWeather and so far I got the licenseKey and PartnerID prompt working, and finally cleaned up the code for the new restrictions.

If I understood correctly, the license agreement says if you're gonna distrubute the desktop applications you have to include the 4 links provided as well as the TWC logo with an embedded link. Would it be against the rules to include the links but have a way for the user to hide them?

I'll be looking into the silica script later.

Izerath
Reply #137 Wednesday, July 8, 2009 11:40 AM

Hello.

I had the huge bad luck of downloading desktopx yesterday, when the weather services were down
and i've read all the posts and commants, but yet have found no way to fix it.

Can someone please make a tutorial of how to fix it?
I'm no good with scripts and stuff so PLEASE make it simple.

Thanks

Vad_M
Reply #138 Wednesday, July 8, 2009 11:48 AM

Any way seams that only US residents can get an ID/key , I have register and I can’t get any ID/key or put an European city!!!

No any problems. Just send me one of your widgets which you want to modify. Or a link where I can download it and I'll help you to solve this little problem. I'm live in Europe too and I'm a big Internationalist.

sViz
Reply #139 Wednesday, July 8, 2009 11:50 AM

i just have too many widgets to re-script

This, I think, is the bigger problem. There's no easy way to fix this on the user's end. Even if we wrote a how-to, the user would have to do this for dozens of their weather widgets. And there are several variations to the script in each widget; just going through my collection I've encountered 3 different versions.

 

Vad_M
Reply #140 Wednesday, July 8, 2009 11:57 AM

just going through my collection I've encountered 3 different versions.

This is one more argument that only the authors of widgets must fix this issue in their scripts and the upload an update.

So it may be a tutorial for widget developers but not for end users!

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