Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Spou’s 1-wire Script getting error Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jbbtex
Senior Member
Senior Member


Joined: February 15 2007
Location: United States
Online Status: Offline
Posts: 181
Posted: February 09 2010 at 17:56 | IP Logged Quote jbbtex

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 View jbbtex's Profile Search for other posts by jbbtex
 
spou
Newbie
Newbie


Joined: July 28 2007
Location: Canada
Online Status: Offline
Posts: 33
Posted: February 10 2010 at 22:28 | IP Logged Quote spou

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 View spou's Profile Search for other posts by spou
 
jbbtex
Senior Member
Senior Member


Joined: February 15 2007
Location: United States
Online Status: Offline
Posts: 181
Posted: February 11 2010 at 01:41 | IP Logged Quote jbbtex

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 View jbbtex's Profile Search for other posts by jbbtex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum