Announcement

Collapse
No announcement yet.

Ultra_View Error: XML Data Refresh - ProcessData()

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

    Ultra_View Error: XML Data Refresh - ProcessData()

    Help!

    I'm slowly puttering through the instalation of Ultra_View and have run into an error that I can not see to lick. I'm sure it's simple, but I'm not seeing it...

    I am receiving two errors that are most likely cause by the same problem.

    <pre class="ip-ubbcode-code-pre">
    XML Data Refresh - ProcessData()
    Line: 3
    Char: 1
    Source Text: &gt;&lt;!ELEMENT HOMESEER(SYSTEM*)&gt;
    Description: Invalid character found in DTD
    </pre>
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <pre class="ip-ubbcode-code-pre">
    XML Data Refresh - ProcessData()
    Line: 3
    Char: 1
    Source Text: &lt;P&gt;
    Source Text: &lt;p&gt;Script error:&lt;br&gt;13:Type mismatch: 'arrLocation'
    in line 274 &lt;/p&gt;
    Description: End tag 'p' does not match the start tag 'br'.
    </pre>

    I'm sure it is something very simple and I'm just going to kick myself, thats usely the case.... LOL! I've searched the forum and found an error close, but UltraJones had fixed that error in his coding.

    Any help would be greatly appreciated!

    I'm am so itch'n to get this code online.... it's gotta be one of the coolest plugins I've seen for HomeSeer.

    -Chris
    -~^~--~^~--~^~--~^~--~^~--~^~--~^~--~^~--~^~--~^~-
    Why do today what you can put off indefinitely :-)

    #2
    I've got the same issue - when I added the Temperature Probe type to my system I started getting the 2nd error you describe, "An error occured while parsing the XML data:", etc. "'Left' in line 379&lt;/p&gt;"

    I can't find where the error is generated specifically, either...

    - huggy
    |
    | - Gordon

    "I'm a Man, but I can change, if I have to, I guess." - Man's Prayer, Possum Lodge, The Red Green Show
    http://HiddenGemTech.com - http://MaineMusiciansExchange.org - http://www.WJZF.org

    Comment


      #3
      I'm having the same second error. I was having problems with Ultra View, and decided to a complete uninstall/reinstall. After loading up the files and setting up the events, I'm worse off than before. In addition to getting the XML parsing error, I can no longer run the configuration program - after entering the floor pictures, I go to load the devices - then get the "cannot communicate with Homeseer, must be run on the same server as Homeseer". (not exact wording). I'm on beta 29. Is anyone on this version able to run the config program?

      Comment


        #4
        I'm seeing the same parsing errors mentioned above. I've had UltraView_2 running without problems for months. I was blaming the error on some new devices added by plugins - it's dying on a Weatherman variable with a lot of text in it.

        --Bill

        Comment


          #5
          Bill-

          I think you're on the right track. I'm still at build 15, and it happened to me too yesterday, so it's not your homeseer version. I'm grabbing my data from yahoo's weather page now instead.

          By the way, it locks up your log page among others, and I was able to fix by removing any log statements that your weather script writes from ah.log and your access database for ultralog. also "clear your log" (or restart Homeseer)

          Comment


            #6
            I found my issue - it was the function in an include file, ultra_view2_xml.inc, at the temp probe section. Check for this area and replace the LEFT functions with MID as below. For some reason LEFT wasn't working properly (note that I had to put spaces in where the HTML code for the degree symbol go because the board is interpreting them as the degree symbol - just remove the two spaces around the # sign):

            case "Temperature Probe"
            if strDeviceString = "" then
            strDeviceString = "Unknown"
            strDeviceIcon = "unknown.gif"
            else
            'Convert degree character to HTML degree
            strDeviceString = replace(strDeviceString, "°", "& # 176;")
            select case strDeviceString
            case "."
            strDeviceIcon = mid(strDeviceString,1,(Instr(strDeviceString,".")-1) )
            case "& # 176;"
            strDeviceIcon = mid(strDeviceString,1,(Instr(strDeviceString,"& # 176;")-1) )
            case else
            strDeviceIcon = strDeviceString
            end select
            strDeviceIcon = BuildIcon(strDeviceIcon)
            end if


            - huggy

            [This message was edited by huggy on Sunday, 24 November 2002 at 10:03 PM.]

            [This message was edited by huggy on Sunday, 24 November 2002 at 10:04 PM.]
            |
            | - Gordon

            "I'm a Man, but I can change, if I have to, I guess." - Man's Prayer, Possum Lodge, The Red Green Show
            http://HiddenGemTech.com - http://MaineMusiciansExchange.org - http://www.WJZF.org

            Comment

            Working...
            X