Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Syntax error? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: August 22 2009 at 09:38 | IP Logged Quote jeffw_00

Hi - so in the process of debugging another problem, I was looking through logs and found "Syntax Error" with no other identifying information. I traced it to the few places that I use Command=INSTEON. It gives me a syntax error and then correctly executes the command.

I replaced these uses with Command=FORMULA and then   ph_insteon(dev,cmd), and the error went away. So it's not a problem, but thought i should mention.

Anyone else see this? It doesn't affect operation so you'd have to look for it. it could be because these macros were converted from 1.0 (though i tried deleting/replacing the lines and the syntax error stayed around).

/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: August 22 2009 at 09:48 | IP Logged Quote BeachBum

Known problem if Formula Error is checked on under Log. False errors with Insteon commands although I did not know the bypass that you discovered.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: August 22 2009 at 12:14 | IP Logged Quote grif091

I think this is the result of the Send Keys/Formula field being evaluated for an Insteon command. That field is blank for an Insteon command leading to the false syntax error message. When you switch to Formula the Send Keys/Formula field has the ph_xxxx command so the false syntax error is not present. I believe Dave has indicated this is fixed in the next release.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 

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