BBWeather Errors

Some errors appear in the BBWeather window. You can tell errors by the word "Error!" in front of them. Some errors appear as message boxes. And finally, some errors appear in the formatted string.
No station specified!

A weather station ID is required to specify your location. This must be discovered before using BBWeather, otherwise you might get this error.

  1. Specify a station ID in your BBWeather.rc file.
Return to top


No SVC file specified!

You changed the SVC setting in the RC file, but left it blank.

  1. Specify a SVC file in BBWeather.rc.
Return to top


Can't open SVC file!

The SVC file seems to be locked.

  1. Try restarting Blackbox. Shouldn't happen.
Return to top


Can't close SVC file!

The SVC file seems to be locked.

  1. Try restarting Blackbox. Shouldn't happen.
Return to top


Undefined service error!

Something unexpected happened in the ServiceObject class. Can't Happen[tm].

  1. If it happens, tell me.
Return to top


Couldn't download file!

Unfortunately, the function BBWeather uses to download doesn't give detailed error information [or at least it isn't documented], so we have to use a general error for everything that might go wrong when trying to silently download a file.

  1. Could be anything from the web server to your DTE. Try some general internet connection troubleshooting.
  2. Try a reboot.
Return to top


Couldn't delete cached file!

BBWeather downloaded the data file into the Internet cache, and now it can't get rid of it.

  1. This might happen if your interval setting is too low.
  2. Try restarting Blackbox. Shouldn't happen.
Return to top


Couldn't open cached file for copy!

The file just downloaded won't open.

  1. This might happen if your interval setting is too low.
  2. Try restarting Blackbox. Shouldn't happen.
Return to top


Couldn't write over old data file!

The old data file seems to be locked out.

  1. This might happen if your interval setting is too low.
  2. Try restarting Blackbox. Shouldn't happen.
Return to top


InternetConnection Error xxx!

Undefined error. Can't Happen[tm].

  1. If it does happen, contact me.
Return to top


Error registering window class!

BBWeather uses a special kind of window and so the design ["class"] must be registered with Windows before we can use it. Somehow, this registration process failed.

  1. It's possible for another program to use the same window class name, which would cause a conflict. This is very unlikely, though. Try rebooting?
  2. It might be that you're trying to run two BBWeathers. I think I've taken this into account, but don't do it anyway. For multiple windows, read BBWeather.html.
Return to top


Error creating window!

The window class was registered successfully, but the window couldn't be created.

  1. This might happen if your system is extremely low on memory. Try a reboot.
  2. I can't think of another cause. Again, shouldn't happen.
Return to top


File not found!

The SVC file specified in your BBWeather.rc file isn't there.

  1. Perhaps you deleted it accidentally? Download it again from http://dreamtrack.dnsalias.com/bbweather.php#svc.
  2. You misspelt the SVC file name in your BBWeather.rc file.
Return to top


BAD

You've used a token that doesn't exist in the SVC file.

  1. If you're making a new SVC file, don't worry - this is normal. You've forgotten to specify token.start and token.end in the SVC file [forgetful aren't we? :P]. Check out the SVC tutorial.
  2. You misspelt a token in your format string.
  3. Your SVC file is corrupt. Download it again from http://dreamtrack.dnsalias.com/bbweather.php#svc.
Return to top


REF

The start or end snippets were processed, but not found in the dat file.

  1. The weather service could have changed the layout of its page. See if there's a new version of the SVC file at http://dreamtrack.dnsalias.com/bbweather.php#svc.
  2. If not, and there's no mention of it in the news file, probably no-one noticed yet - report it in the MiniBBS on the page, so we know to update the SVC file. Better yet, update the SVC file yourself and send it in!
Return to top


AMB

The start snippet for a token is ambiguous.

  1. The SVC file is broken. Please notify the author of the SVC file.
  2. It might have corrupted. Download it again from http://dreamtrack.dnsalias.com/bbweather.php#svc.
  3. Again, the weather service might have changed their format. Check out http://dreamtrack.dnsalias.com/bbweather.php#svc to see if there's another SVC file, or fix it yourself.
Return to top


No error, just gibberish

The start and end snippets were found in the SVC file and the data file, but they are in a different place than expected.

  1. Possibly the SVC file is at fault. Check with the data file.
  2. The weather service might have made a change too subtle for BBWeather to detect automatically [hah!]. If this happens, treat it as you would a "REF" error.
Return to top