Announcement

Collapse
No announcement yet.

kinect stop working suddenly

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

  • kinect stop working suddenly

    notice yhat the kinect stop working. I restarted PI and got this errorwhat can I do?:




    Jul-11 10:14:50 AM Plug-In Finished initializing plug-in Kinect
    Jul-11 10:14:47 AM Info Plugin Kinect with instance: has disconnected
    Jul-11 10:14:47 AM Error Initializing plug-in(1): Kinect Instance::System.IO.IOException: The process cannot access the file 'C:\Program Files (x86)\HomeSeer HS3\Logs\Kinect.txt' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.AppendText(String path) at HSPI_KINECT.Logger.Init() at HSPI_KINECT.KinectApp.Init()
    Jul-11 10:14:47 AM Kinect ERROR System.IO.IOException: The process cannot access the file 'C:\Program Files (x86)\HomeSeer HS3\Logs\Kinect.txt' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.AppendText(String path) at HSPI_KINECT.Logger.Init() at HSPI_KINECT.KinectApp.Init()
    Jul-11 10:14:46 AM Info Plugin Kinect has connected. IP:127.0.0.1:63032
    Hector
    ____________________________________
    Win.2003 OS, HS3
    BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
    BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
    MyTrigger,ACRF2,W800,Zwave
    AP800,Honeywell Stat

  • #2
    Hey Hector;

    Had a similar problem. Didn't get any error messages, however. I plugged the Kinect back into the XBox and it worked. Concluded that the power adapter that I just bought was bad and ordered another. That did it for me.
    Don

    Comment


    • #3
      Originally posted by Rotech View Post
      notice yhat the kinect stop working. I restarted PI and got this errorwhat can I do?:




      Jul-11 10:14:50 AM Plug-In Finished initializing plug-in Kinect
      Jul-11 10:14:47 AM Info Plugin Kinect with instance: has disconnected
      Jul-11 10:14:47 AM Error Initializing plug-in(1): Kinect Instance::System.IO.IOException: The process cannot access the file 'C:\Program Files (x86)\HomeSeer HS3\Logs\Kinect.txt' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.AppendText(String path) at HSPI_KINECT.Logger.Init() at HSPI_KINECT.KinectApp.Init()
      Jul-11 10:14:47 AM Kinect ERROR System.IO.IOException: The process cannot access the file 'C:\Program Files (x86)\HomeSeer HS3\Logs\Kinect.txt' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.AppendText(String path) at HSPI_KINECT.Logger.Init() at HSPI_KINECT.KinectApp.Init()
      Jul-11 10:14:46 AM Info Plugin Kinect has connected. IP:127.0.0.1:63032
      this error means the kinect.txt log file is locked by a program, so if you have it opened in a text editor, close it. Stop the plugin, kill any HSPI_Kinect.exe process from task manager. Then try to start the plugin again.

      Comment


      • #4
        I had to shut down HS and restart it. Now everything works, wonder what happened here?
        Hector
        ____________________________________
        Win.2003 OS, HS3
        BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
        BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
        MyTrigger,ACRF2,W800,Zwave
        AP800,Honeywell Stat

        Comment


        • #5
          anybody knows what this error means?

          Jul-18 9:49:09 PM Kinect ERROR '' rule reference not defined in this grammar.

          this pops out in start up.
          Last edited by Rotech; July 19th, 2015, 09:18 AM.
          Hector
          ____________________________________
          Win.2003 OS, HS3
          BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
          BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
          MyTrigger,ACRF2,W800,Zwave
          AP800,Honeywell Stat

          Comment


          • #6
            Bump
            Hector
            ____________________________________
            Win.2003 OS, HS3
            BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
            BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
            MyTrigger,ACRF2,W800,Zwave
            AP800,Honeywell Stat

            Comment


            • #7
              Roughly said.
              Your grammar file does contain a keyword. When hit, this line also contains what to do when this keyword was found. This todo is a reference to another piece in the grammer. That piece isn't found.

              This error is mostly due a typo

              Comment


              • #8
                Spud, may need to add some extra trapping - you can trip this error if HS is rebooted, and it basically kills the whole plugin remotely without a reconnect.
                Code:
                Jul-20 02:35:55 DEBUG Speech Recognition Stopped
                Jul-20 02:35:55 DEBUG Snapshot server stopped
                Jul-20 02:35:56 DEBUG System.Net.HttpListenerException (0x80004005): The I/O ope
                ration has been aborted because of either a thread exit or an application reques
                t
                   at System.Net.HttpListener.GetContext()
                   at HSPI_KINECT.SnapshotServer.<Start>b__0()

                Comment


                • #9
                  This is where I am at now, the kinect isn't working.
                  Hector
                  ____________________________________
                  Win.2003 OS, HS3
                  BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                  BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                  MyTrigger,ACRF2,W800,Zwave
                  AP800,Honeywell Stat

                  Comment


                  • #10
                    Originally posted by Rotech View Post
                    anybody knows what this error means?

                    Jul-18 9:49:09 PM Kinect ERROR '' rule reference not defined in this grammar.

                    this pops out in start up.
                    sorry for the delay, this error means you have one or more voice commands causing a problem when the plugin tries to build the grammar. Could you post your entire debug logs when the plugin starts. Thanks.

                    Comment


                    • #11
                      Originally posted by Furious View Post
                      Spud, may need to add some extra trapping - you can trip this error if HS is rebooted, and it basically kills the whole plugin remotely without a reconnect.
                      Code:
                      Jul-20 02:35:55 DEBUG Speech Recognition Stopped
                      Jul-20 02:35:55 DEBUG Snapshot server stopped
                      Jul-20 02:35:56 DEBUG System.Net.HttpListenerException (0x80004005): The I/O ope
                      ration has been aborted because of either a thread exit or an application reques
                      t
                         at System.Net.HttpListener.GetContext()
                         at HSPI_KINECT.SnapshotServer.<Start>b__0()
                      Appears this can also be triggered if you restart a plugin from the mange plugins page - for example, restarting zwave will also cause the remote plugin to give the error, and then no longer be active.

                      Comment


                      • #12
                        Originally posted by spud View Post
                        sorry for the delay, this error means you have one or more voice commands causing a problem when the plugin tries to build the grammar. Could you post your entire debug logs when the plugin starts. Thanks.
                        Here you go spud
                        Attached Files
                        Hector
                        ____________________________________
                        Win.2003 OS, HS3
                        BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                        BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                        MyTrigger,ACRF2,W800,Zwave
                        AP800,Honeywell Stat

                        Comment


                        • #13
                          Originally posted by Rotech View Post
                          Here you go spud
                          where do the following rules come from? Why is there some empty optional choices?

                          Code:
                          Jul-20 6:49:28 PM         Kinect    DEBUG Rule (Show Time) [] [] [the] [ days] [] []
                          Jul-20 6:49:28 PM         Kinect    DEBUG Rule: [] [] [the] [ days] [] []
                          also you should avoid entering commands where all words are optional, because that makes the attention phrase with nothing after a valid command

                          Comment


                          • #14
                            Originally posted by spud View Post
                            where do the following rules come from? Why is there some empty optional choices?

                            Code:
                            Jul-20 6:49:28 PM         Kinect    DEBUG Rule (Show Time) [] [] [the] [ days] [] []
                            Jul-20 6:49:28 PM         Kinect    DEBUG Rule: [] [] [the] [ days] [] []
                            also you should avoid entering commands where all words are optional, because that makes the attention phrase with nothing after a valid command
                            Spud, I have no idea why there are empty optional choices. I haven't done any changes on my part.
                            Hector
                            ____________________________________
                            Win.2003 OS, HS3
                            BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                            BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                            MyTrigger,ACRF2,W800,Zwave
                            AP800,Honeywell Stat

                            Comment


                            • #15
                              Originally posted by Rotech View Post
                              Spud, I have no idea why there are empty optional choices. I haven't done any changes on my part.
                              Can you find the events that contains the words in these rules (i.e. "the days") and post them here.

                              Comment

                              Working...
                              X