Announcement

Collapse
No announcement yet.

I broke my 'Global Variables' !

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I broke my 'Global Variables' !

    [If there's a more appropriate forum for this, please say so.]

    So, yes, it seems like I broke the global variables part of my HomeTroller. Some details:
    HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.297
    Linux version: Linux HomeTrollerZeeS2V2 4.1.19-v7+ #858

    It was my first attempt is this department. On the 'Global Variables' page, I created a variable; then, when I tried to delete it, I got a page full of code. (It looks like some kind of markup -- XML?) Here is a bit:
    ["Slide_GlobalVars_content","\u003ctable cellspacing=\u00270\u0027 width=\u0027100%\u0027 \u003e\u003ctr \u003e\u003ctd class=\u0027tablecolumn\u0027

    I've tried several more times to delete it -- same result.
    And, when I try to create another variable, I get the same thing.

    So, is there some way to erase or reset the variables?

    Furthermore, why did this happen? Will it happen again?

    #2
    Originally posted by MichaelK View Post
    [If there's a more appropriate forum for this, please say so.]

    So, yes, it seems like I broke the global variables part of my HomeTroller. Some details:
    HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.297
    Linux version: Linux HomeTrollerZeeS2V2 4.1.19-v7+ #858

    It was my first attempt is this department. On the 'Global Variables' page, I created a variable; then, when I tried to delete it, I got a page full of code. (It looks like some kind of markup -- XML?) Here is a bit:
    ["Slide_GlobalVars_content","\u003ctable cellspacing=\u00270\u0027 width=\u0027100%\u0027 \u003e\u003ctr \u003e\u003ctd class=\u0027tablecolumn\u0027

    I've tried several more times to delete it -- same result.
    And, when I try to create another variable, I get the same thing.

    So, is there some way to erase or reset the variables?

    Furthermore, why did this happen? Will it happen again?
    Global variables are not persistent so a restart will clear them. They are created by plug-ins or scripts and will remain until a restart. If you create one manually, it will not remain.

    That is stated at the bottom of the page.

    Click image for larger version

Name:	Capture.jpg
Views:	1
Size:	14.6 KB
ID:	1188946
    HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon

    Comment


      #3
      Did you put any sort of special character in the data or the variable name (I'm thinking like a HTML type character </> etc)? It is almost like it has got a bit of confused and is putting the page data in the wrong place.

      Comment


        #4
        Originally posted by rprade View Post
        Global variables are not persistent so a restart will clear them. They are created by plug-ins or scripts and will remain until a restart. If you create one manually, it will not remain.

        That is stated at the bottom of the page.
        I was expecting a 'proper' way of doing that -- like an 'immediate script command'. My view is that Linux systems are meant to stay up, and that rebooting is for Windows.

        And, yes, a reboot fixed it.

        mrhappy:
        I did put in 2 underlines. Maybe that did it?

        Comment

        Working...
        X