Weather Script problem?

Thursday, April 5, 2007 by Skyjax | Discussion: Stardock Support General

    This is the line i always get now, can someone tell me whats wrong?
Input past end of file
Line: 32     
Code:
(not available)
thomassen
Reply #1 Thursday, April 5, 2007 10:17 AM
What widget? There's a huge number of weather widgets out there...
Skyjax
Reply #2 Thursday, April 5, 2007 10:45 AM
its just a stock widget built into any theme Thomassen, it dont matter which theme i use i always get it.
thomassen
Reply #3 Thursday, April 5, 2007 2:50 PM
well, link to one theme as a reference would help.
KarmaGirl
Reply #4 Thursday, April 5, 2007 3:23 PM

Weather widgets don't all use the same code, so we can't help much without knowing which one you are using.

kennkh
Reply #5 Thursday, April 5, 2007 6:38 PM
Most of the weather widgets read/write from a file called weather.ini in your DesktopX directory. If all of your weather widgets are having this error, that could be your culprit. Try closing desktopx, deleting that file, then restarting desktopx.

If that doesn't work, knowing which theme you're using would be helpful, as others have said. We'd need to see whats on line 32 of your weather script to pinpoint your problem.
Skyjax
Reply #6 Thursday, April 5, 2007 6:49 PM
Ok im using Gef's PDA Theme, but as i said its on every theme,
Input past end of file
Line: 29
Code:
(not available)
Thats the script error
And this is the line of code relating to that.
Else
27 Set filetxt = filesys.OpenTextFile(filestring)
28 location = filetxt.ReadLine
29 tempunit = filetxt.ReadLine
30 filetxt.Close
kennkh
Reply #7 Thursday, April 5, 2007 7:02 PM
Yeah looks like it could be a problem with the .ini file. Try what I wrote above.
thomassen
Reply #8 Friday, April 6, 2007 6:32 AM
the ini file might be corrupted. B the looks of it the script requires the file to have two lines of data in it.

What's the content of that ini file?
Skyjax
Reply #9 Friday, April 6, 2007 8:40 AM
Well believe it or not its workin now and i aint done anything, tried it on a few other themes and it's fine again, any ideas why it was doin that? BTW thankyou for your help everyone.

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