Announcement

Collapse
No announcement yet.

cant run scripts?

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

    cant run scripts?

    I am getting the following error when I try and call any scripts? I can see and edit the scripts in my event but unable to run any scripts.
    Attached Files

    #2
    Make sure you are running HS4 as an administrator.
    Jon

    Comment


      #3
      Originally posted by jon00 View Post
      Make sure you are running HS4 as an administrator.
      I have the same problem, the deafault user is admin.
      Homeseer Error Compiling script Jon00LinksHS4ASPX.vben:

      Anny idea? (I’m on Linux)

      Comment


        #4
        Are you trying to run this via an event?
        Jon

        Comment


          #5
          Originally posted by jon00 View Post
          Are you trying to run this via an event?
          Yes, also the hs startup script has the same error
          Last edited by Paul32; May 24, 2020, 02:07 PM. Reason: removed the screenshot, my licences ID was on it

          Comment


            #6
            Does HS add some paths to the environmental variables? Maybe the script looks in the wrong place for scheduler.dll.

            Comment


              #7
              Originally posted by Paul32 View Post

              I have the same problem, the deafault user is admin.
              Homeseer Error Compiling script Jon00LinksHS4ASPX.vben:

              Anny idea? (I’m on Linux)
              The reason I asked is because that script cannot be run from an event. It is run to generate the setup web page. Do you still get the error if you call /Jon00links.html ?
              Jon

              Comment


                #8
                Originally posted by jon00 View Post

                The reason I asked is because that script cannot be run from an event. It is run to generate the setup web page. Do you still get the error if you call /Jon00links.html ?
                Yes, I still get a 404

                My mistage, I had to use Jon00LinksHS4.vben in the event.
                The manual says: Create a manual event to run the script Jon00LinksHS4.vben. Call it something like “HS Links Update”.

                But still no page

                404


                The page you are looking for does not exist!
                So we gave you this very boring substitue instead!

                Comment


                  #9
                  See log screenshot
                  Attached Files

                  Comment


                    #10
                    Hi Jon00,

                    I now used this: /Jon00Links.html

                    But get a VBNC error, see screenshot:

                    Attached Files

                    Comment


                      #11
                      If Startup.vb is not working, there is clearly an issue with your HS4 installation. Have you updated to the latest version of Mono?

                      VBNC error is also a mono issue.

                      Normal fix is to go to usr/bin and open vbnc in an editor.

                      change vnbc.exe to vbc.exe
                      Jon

                      Comment


                        #12
                        Originally posted by jon00 View Post
                        If Startup.vb is not working, there is clearly an issue with your HS4 installation. Have you updated to the latest version of Mono?

                        VBNC error is also a mono issue.

                        Normal fix is to go to usr/bin and open vbnc in an editor.

                        change vnbc.exe to vbc.exe
                        Thanks, I have:
                        Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

                        And this is in my VBNC file:
                        #!/bin/sh
                        exec /usr/bin/mono --gc-params=nursery-size=64m $MONO_OPTIONS usr/lib/mono/4.5/vbc.exe "$@"

                        Comment


                          #13
                          Do you have vbc installed? Best to get mono complete direct from their download page.
                          Jon

                          Comment


                            #14
                            Originally posted by jon00 View Post
                            Do you have vbc installed? Best to get mono complete direct from their download page.
                            I thins so:
                            mono-vbnc is reeds de nieuwste versie (4.7-0xamarin2+raspbian10b1).

                            Comment


                              #15
                              I am on debian 18.04 and I have always had to install mono.vbnc and mono-xsp4 even if you install mono complete. I also add mono-devel. The latest stable is 6.8.0.123. This may not apply to RPi

                              Comment

                              Working...
                              X