Announcement

Collapse
No announcement yet.

Jon00 HTML to Image Utility

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

    Hi Jon. I am getting this in my error log. This is a trimmed down version. It goes on for a bit. Don't know what it refers to or even what event that calls the script. I do have a number of events that call various grabs. All timed to operate at diff times so that they don't clash and also only one instance allowed to run at any time.

    Regards
    Ben

    30/03/2019 12:40:10 Jon00 HTML2ImageHS3 error log
    30/03/2019 12:40:08 Error at Webgrab Subroutine Block 5 Thread was being aborted.
    30/03/2019 12:40:10 Error at Webgrab Subroutine Block 1 Thread was being aborted.
    30/03/2019 12:40:29 Error at Webgrab Subroutine Block 3 Thread was being aborted.
    30/03/2019 12:40:30 Error at Webgrab Subroutine Block 4 Thread was being aborted.
    30/03/2019 12:40:30 Error at Webgrab Subroutine Block 5 Thread was being aborted.
    30/03/2019 12:40:33 Error at Webgrab Subroutine Block 1 Thread was being aborted.
    30/03/2019 13:09:57 Error at Webgrab Subroutine Block 2 Thread was being aborted.
    30/03/2019 13:09:57 Error at Webgrab Subroutine Block 3 Thread was being aborted.
    30/03/2019 13:09:57 Error at Webgrab Subroutine Block 4 Thread was being aborted.
    30/03/2019 13:09:57 Error at Webgrab Subroutine Block 5 Thread was being aborted.
    30/03/2019 13:09:57 Error at Webgrab Subroutine Block 1 Thread was being aborted.
    30/03/2019 13:16:49 Error at Webgrab Subroutine Block 2 Thread was being aborted.
    30/03/2019 13:16:50 Error at Webgrab Subroutine Block 3 Thread was being aborted.
    30/03/2019 13:16:50 Error at Webgrab Subroutine Block 4 Thread was being aborted.
    30/03/2019 13:16:50 Error at Webgrab Subroutine Block 5 Thread was being aborted.
    30/03/2019 13:16:50 Error at Webgrab Subroutine Block 1 Thread was being aborted.
    30/03/2019 14:03:44 Error at Webgrab Subroutine Block 1 Thread was being aborted.
    30/03/2019 14:04:14 Error at Webgrab Subroutine Block 3 Thread was being aborted.
    30/03/2019 14:04:16 Error at Webgrab Subroutine Block 4 Thread was being aborted.
    30/03/2019 14:04:16 Error at Webgrab Subroutine Block 5 Thread was being aborted.
    30/03/2019 14:04:17 Error at Webgrab Subroutine Block 1 Thread was being aborted.
    30/03/2019 14:05:37 Error at Webgrab Subroutine Block 3 Thread was being aborted.
    30/03/2019 14:05:40 Error at Webgrab Subroutine Block 4 Thread was being aborted.
    30/03/2019 14:05:40 Error at Webgrab Subroutine Block 5 Thread was being aborted.
    30/03/2019 14:05:40 Error at Webgrab Subroutine Block 1 Thread was being aborted.
    31/03/2019 02:02:04 Error at Webgrab Subroutine Block 3 Thread was being aborted.
    31/03/2019 02:02:05 Error at Webgrab Subroutine Block 4 Thread was being aborted.
    31/03/2019 02:02:05 Error at Webgrab Subroutine Block 5 Thread was being aborted.


    Comment


      I would delete the log and then test your grabs individually until it errors. Basically the exe file is unable to grab the page you have defined....
      Jon

      Comment


        OK thanks for the heads up . Will give it closer looking at. Thanks !

        Comment


          Hi jon,

          is it also possible that this script can use an other browser than ie? mine doesnt work anymore

          regards
          Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
          Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




          HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

          Comment


            No, it uses the web browser object built into VB.NET (which uses IE).
            Jon

            Comment


              Hi Jon, hopefully a quick question, I am trying to setup html to image to take a photo of a website, specifically hstile site I created. First thing, the html2png is working normally on many websites, ie google. so I know I have it installed and working (mostly) correct. when I point it to my hstile page, I constantly get the "navigation to webpage has been canceled". reading other posts, I tried it on the system with homeseer using the regular Internet explorer and the site pulls fine. so my question is, could it be that the interpreter engine doesnt support that type of site, the .ash extension or maybe its having issue due to a basic digest logon. I tried adding username and password to the url but it had no effect. also I beleive I have a range to not require authentication on my lan and obviously the HS server is on it, so I cant rule this out but im fairly sure it isnt the case. im kinda lost at this point, and id really like to figure it out as this is super helpful! oh, and lastly, I did increase the delay from 0 to around 15 seconds in increments. no dice. the page loads in 1-2 in IE. thank you!

              Comment


                Originally posted by esprits300 View Post
                Hi Jon, hopefully a quick question, I am trying to setup html to image to take a photo of a website, specifically hstile site I created. First thing, the html2png is working normally on many websites, ie google. so I know I have it installed and working (mostly) correct. when I point it to my hstile page, I constantly get the "navigation to webpage has been canceled". reading other posts, I tried it on the system with homeseer using the regular Internet explorer and the site pulls fine. so my question is, could it be that the interpreter engine doesnt support that type of site, the .ash extension or maybe its having issue due to a basic digest logon. I tried adding username and password to the url but it had no effect. also I beleive I have a range to not require authentication on my lan and obviously the HS server is on it, so I cant rule this out but im fairly sure it isnt the case. im kinda lost at this point, and id really like to figure it out as this is super helpful! oh, and lastly, I did increase the delay from 0 to around 15 seconds in increments. no dice. the page loads in 1-2 in IE. thank you!
                I've just tried it here and can confirm it cannot capture a HSTile page. It's not really surprising as the browser control used is obsolete and HSTile pages are full of JQuery and other code etc.

                Nothing I can do with this. The only option would be to look at my PC capture utility but not so convenient: https://forums.homeseer.com/forum/3r...apture-utility.

                I assume you need to take a snapshot automatically?
                Jon

                Comment


                  yeah after reading more after my post I came across that possibility and did try the pc capture. I installed it but I cant get it to work at all. I think its because im on a VM and using server 2016. I think the virtual display is the issue there. im researching using python and php to do it now, unless you might know of how to get the capture to work on a vm? thanks for the quick reply!

                  Comment

                  Working...
                  X