Author |
|
jbbtex Senior Member
Joined: February 15 2007 Location: United States
Online Status: Offline Posts: 181
|
Posted: February 09 2010 at 17:56 | IP Logged
|
|
|
I have been using Spou's 1-wire temp sensor Script for several months now with great success.
Yesterday, out of the blue, I started getting this error when running the script.
Code:
*** RUN ERROR - Filename: c:\program files\powerhome\scripts\import_csv.vbs | Function: importCSV | Source: Microsoft VBScript runtime error | Error Number: 13 | Description: Type mismatch: 'cDbl' | Line: 60 | Column: 0 | Text: *** |
|
|
I understand that it's a "Type mismatch" error, but I am at a loss as to how to make it right. And I can't figure out why it suddenly began happening unless, a Window Update could be the culprit.
__________________ Brady
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity." - Gen. George S. Patton
|
Back to Top |
|
|
spou Newbie
Joined: July 28 2007 Location: Canada
Online Status: Offline Posts: 33
|
Posted: February 10 2010 at 22:28 | IP Logged
|
|
|
Apparently, the script is trying to process something that is not a number and transform it into a numeric, which, of course, cause the type mismatch error.
This is only the symptom, and not the source of the problem.
I would check the input text file (the "last.csv" file referring to my original work) and make sure that all values are indeed numbers. if they are not, then it might points to the real source of the problem. I have changed the script I am running, so the line number where the error is happening might not be the same in your script as it is in mine, but all points to the first or the second value it reads.
If those values are not numbers in the "last.csv" file, then the source of the problem is in the logtemp software.
please check the file, and let me know, because, as you say, it has been running for a long time (I am pleased to hear that!) it should keep on going and going...
Spou
Edited by spou - February 10 2010 at 22:28
|
Back to Top |
|
|
jbbtex Senior Member
Joined: February 15 2007 Location: United States
Online Status: Offline Posts: 181
|
Posted: February 11 2010 at 01:41 | IP Logged
|
|
|
This has turned out to be the first sign of a larger hard drive issue.
I'll be rebuilding my PH box this weekend.
__________________ Brady
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity." - Gen. George S. Patton
|
Back to Top |
|
|
|
|