Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Phantomjs Screenshot VIS Ladebalken

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.5k

Phantomjs Screenshot VIS Ladebalken

Scheduled Pinned Locked Moved Unsolved Error/Bug
vis phantomjs
6 Posts 3 Posters 553 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PatrickFro
    wrote on last edited by
    #1

    Moin,

    seit ca. einem Jahr nutze ich PhantomJS für 2 Projekte (1. Mal wöchentlich, einmal monatlich).

    Seit gestern kommt ein Screenshot der VIS mit Ladebalken, nicht mehr der Seite. Rendertime 10.000 oder 30.000, gleiches Ergebnis. Externe Seite (Google.de) funktioniert.

    Ich habe schon folgende Adapter auf vergangene Versionen downgegradet: Web, Vis, PhantomJS. Kein Unterschied. All diese habe ich vor kurzem aktualisiert, scheinbar liegt es aber nicht hieran.

    Seit etwa einer Woche läuft mein NUC als Master, ein Raspi als Slave. Ausführung der Scripte erfolgt aber auf dem NUC.

    Log (debug):

    phantomjs.0	2020-12-07 15:11:24.195	debug	(3077) sendTo "send" to system.adapter.javascript.0 from system.adapter.phantomjs.0
    phantomjs.0	2020-12-07 15:11:24.194	debug	(3077) viewportSize: {"height":800,"width":1950} clipRect: {"height":800,"left":0,"top":0,"width":1950} paperSize: {} scrollPosition: {"left":0,"top":0} URL: http://192.168.76.
    phantomjs.0	2020-12-07 15:11:24.151	debug	(3077) and save to "/opt/iobroker/node_modules/iobroker.phantomjs/Anspannungswoche.png"
    phantomjs.0	2020-12-07 15:10:53.632	debug	(3077) /opt/iobroker/node_modules/iobroker.phantomjs/lib/rasterize.js --url http://192.168.76.43:8082/vis/index.html?Hauptview#Anspannungswoche --output "/opt/iobroker/node_modules/iobroker.phantomjs/
    phantomjs.0	2020-12-07 15:10:53.631	info	(3077) Create 1950px*800px in 30000ms - "http://192.168.76.43:8082/vis/index.html?Hauptview#Anspannungswoche" => "/opt/iobroker/node_modules/iobroker.phantomjs/Anspannungswoche.png"
    phantomjs.0	2020-12-07 15:10:45.022	info	(3077) starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.phantomjs, node: v12.20.0, js-controller: 3.1.6
    

    Ich weiß leider nicht weiter, wie kann ich hierbei herausfinden, was schief läuft?

    Systemdata Bitte Ausfüllen
    Hardwaresystem: NUC i5 Master / Raspi 4 B Slave
    Arbeitsspeicher: 16 GB
    Festplattenart: SD-Karte
    Betriebssystem: Linux
    Node-Version: v12.20.0
    Nodejs-Version: v12.20.0
    Installationsart: Skript
    Image genutzt: Nein
    P 1 Reply Last reply
    0
    • P PatrickFro

      Moin,

      seit ca. einem Jahr nutze ich PhantomJS für 2 Projekte (1. Mal wöchentlich, einmal monatlich).

      Seit gestern kommt ein Screenshot der VIS mit Ladebalken, nicht mehr der Seite. Rendertime 10.000 oder 30.000, gleiches Ergebnis. Externe Seite (Google.de) funktioniert.

      Ich habe schon folgende Adapter auf vergangene Versionen downgegradet: Web, Vis, PhantomJS. Kein Unterschied. All diese habe ich vor kurzem aktualisiert, scheinbar liegt es aber nicht hieran.

      Seit etwa einer Woche läuft mein NUC als Master, ein Raspi als Slave. Ausführung der Scripte erfolgt aber auf dem NUC.

      Log (debug):

      phantomjs.0	2020-12-07 15:11:24.195	debug	(3077) sendTo "send" to system.adapter.javascript.0 from system.adapter.phantomjs.0
      phantomjs.0	2020-12-07 15:11:24.194	debug	(3077) viewportSize: {"height":800,"width":1950} clipRect: {"height":800,"left":0,"top":0,"width":1950} paperSize: {} scrollPosition: {"left":0,"top":0} URL: http://192.168.76.
      phantomjs.0	2020-12-07 15:11:24.151	debug	(3077) and save to "/opt/iobroker/node_modules/iobroker.phantomjs/Anspannungswoche.png"
      phantomjs.0	2020-12-07 15:10:53.632	debug	(3077) /opt/iobroker/node_modules/iobroker.phantomjs/lib/rasterize.js --url http://192.168.76.43:8082/vis/index.html?Hauptview#Anspannungswoche --output "/opt/iobroker/node_modules/iobroker.phantomjs/
      phantomjs.0	2020-12-07 15:10:53.631	info	(3077) Create 1950px*800px in 30000ms - "http://192.168.76.43:8082/vis/index.html?Hauptview#Anspannungswoche" => "/opt/iobroker/node_modules/iobroker.phantomjs/Anspannungswoche.png"
      phantomjs.0	2020-12-07 15:10:45.022	info	(3077) starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.phantomjs, node: v12.20.0, js-controller: 3.1.6
      

      Ich weiß leider nicht weiter, wie kann ich hierbei herausfinden, was schief läuft?

      Systemdata Bitte Ausfüllen
      Hardwaresystem: NUC i5 Master / Raspi 4 B Slave
      Arbeitsspeicher: 16 GB
      Festplattenart: SD-Karte
      Betriebssystem: Linux
      Node-Version: v12.20.0
      Nodejs-Version: v12.20.0
      Installationsart: Skript
      Image genutzt: Nein
      P Offline
      P Offline
      PatrickFro
      wrote on last edited by
      #2

      Weitere Lösungsversuche:

      Nodejs downgrade, da mir eingefallen ist, dass ich hierbei ein Update vor etwa einer Woche gemacht habe, auch kein Erfolg.

      Script Engine downgrade: keine Änderung

      H 1 Reply Last reply
      0
      • P PatrickFro

        Weitere Lösungsversuche:

        Nodejs downgrade, da mir eingefallen ist, dass ich hierbei ein Update vor etwa einer Woche gemacht habe, auch kein Erfolg.

        Script Engine downgrade: keine Änderung

        H Offline
        H Offline
        homecineplexx
        wrote on last edited by homecineplexx
        #3

        @PatrickFro bei mir tritt das gleiche Problem auf. keine Seite die ich über VIS angelegt habe funktioniert.
        ich hab auch noch versucht folgendes zu setzen:

        localToRemoteUrlAccessEnabled : true,
            webSecurityEnabled: false
        

        bringt aber absolut keine Änderung.
        ich hab jetzt nochmals genau in den logs geschaut, da kommt folgendes:


        2020-12-11 18:07:18.111 - ESC[32minfoESC[39m: phantomjs.0 (15500) Create 800px*600px in 20000ms - "http://192.168.1.8:8082/vis/index.html
        #PVAnlage" => "/opt/iobroker/node_modules/iobroker.phantomjs/ownBilder/PvAnlage-2020-12-11-18-07-18.png"
        2020-12-11 18:07:18.111 - ESC[34mdebugESC[39m: phantomjs.0 (15500) --ignore-ssl-errors=true /opt/iobroker/node_modules/iobroker.phantomjs
        /lib/rasterize.js --url http://192.168.1.8:8082/vis/index.html#PVAnlage --output "/opt/iobroker/node_modules/iobroker.phantomjs/ownBilder/
        PvAnlage-2020-12-11-18-07-18.png" --width 800 --height 600 --timeout 20000 --zoom 1 --clip-top 0 --clip-left 0 --clip-width 800 --clip-hei
        ght 600 --scroll-top 0 --scroll-left 0
        2020-12-11 18:07:39.904 - ESC[34mdebugESC[39m: phantomjs.0 (15500) and save to "/opt/iobroker/node_modules/iobroker.phantomjs/ownBilder/P
        vAnlage-2020-12-11-18-07-18.png"
        2020-12-11 18:07:39.905 - ESC[34mdebugESC[39m: phantomjs.0 (15500) viewportSize: {"height":600,"width":800}
        clipRect: {"height":600,"left":0,"top":0,"width":800}
        paperSize: {}
        scrollPosition: {"left":0,"top":0}
        URL: http://192.168.1.8:8082/vis/index.html#PVAnlage
        output: /opt/iobroker/node_modules/iobroker.phantomjs/ownBilder/PvAnlage-2020-12-11-18-07-18.png
        zoom: 1
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/widgets/basic/js/table.js: 42 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 59 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 3994 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 4175 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 6179 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/widgets/players/js/players.js: 9 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 8249 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 11412 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 11659 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError
        ERROR: ReferenceError: Can't find variable: vis
        TRACE:
        -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 11755 (in function "global code")

        phantomjs://code/rasterize.js:209 in onError

        2020-12-11 18:07:39.905 - ESC[34mdebugESC[39m: phantomjs.0 (15500) sendTo "send" to system.adapter.javascript.0 from system.adapter.phantomjs.0


        Hilfe wäre hier super, DANKE

        H 1 Reply Last reply
        0
        • H homecineplexx

          @PatrickFro bei mir tritt das gleiche Problem auf. keine Seite die ich über VIS angelegt habe funktioniert.
          ich hab auch noch versucht folgendes zu setzen:

          localToRemoteUrlAccessEnabled : true,
              webSecurityEnabled: false
          

          bringt aber absolut keine Änderung.
          ich hab jetzt nochmals genau in den logs geschaut, da kommt folgendes:


          2020-12-11 18:07:18.111 - ESC[32minfoESC[39m: phantomjs.0 (15500) Create 800px*600px in 20000ms - "http://192.168.1.8:8082/vis/index.html
          #PVAnlage" => "/opt/iobroker/node_modules/iobroker.phantomjs/ownBilder/PvAnlage-2020-12-11-18-07-18.png"
          2020-12-11 18:07:18.111 - ESC[34mdebugESC[39m: phantomjs.0 (15500) --ignore-ssl-errors=true /opt/iobroker/node_modules/iobroker.phantomjs
          /lib/rasterize.js --url http://192.168.1.8:8082/vis/index.html#PVAnlage --output "/opt/iobroker/node_modules/iobroker.phantomjs/ownBilder/
          PvAnlage-2020-12-11-18-07-18.png" --width 800 --height 600 --timeout 20000 --zoom 1 --clip-top 0 --clip-left 0 --clip-width 800 --clip-hei
          ght 600 --scroll-top 0 --scroll-left 0
          2020-12-11 18:07:39.904 - ESC[34mdebugESC[39m: phantomjs.0 (15500) and save to "/opt/iobroker/node_modules/iobroker.phantomjs/ownBilder/P
          vAnlage-2020-12-11-18-07-18.png"
          2020-12-11 18:07:39.905 - ESC[34mdebugESC[39m: phantomjs.0 (15500) viewportSize: {"height":600,"width":800}
          clipRect: {"height":600,"left":0,"top":0,"width":800}
          paperSize: {}
          scrollPosition: {"left":0,"top":0}
          URL: http://192.168.1.8:8082/vis/index.html#PVAnlage
          output: /opt/iobroker/node_modules/iobroker.phantomjs/ownBilder/PvAnlage-2020-12-11-18-07-18.png
          zoom: 1
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/widgets/basic/js/table.js: 42 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 59 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 3994 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 4175 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 6179 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/widgets/players/js/players.js: 9 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 8249 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 11412 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 11659 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError
          ERROR: ReferenceError: Can't find variable: vis
          TRACE:
          -> http://192.168.1.8:8082/vis/index.html#PVAnlage: 11755 (in function "global code")

          phantomjs://code/rasterize.js:209 in onError

          2020-12-11 18:07:39.905 - ESC[34mdebugESC[39m: phantomjs.0 (15500) sendTo "send" to system.adapter.javascript.0 from system.adapter.phantomjs.0


          Hilfe wäre hier super, DANKE

          H Offline
          H Offline
          homecineplexx
          wrote on last edited by
          #4

          @homecineplexx da schau her, alle möglichen adapter auf latest upgedatet und es funkt wieder

          T 1 Reply Last reply
          0
          • H homecineplexx

            @homecineplexx da schau her, alle möglichen adapter auf latest upgedatet und es funkt wieder

            T Offline
            T Offline
            tro
            wrote on last edited by
            #5

            @homecineplexx said in Phantomjs Screenshot VIS Ladebalken:

            @homecineplexx

            Hallo, habe genau das gleiche Problem, die Bilder der VIS welche mit Phantom erstellt werden, erscheint nur das Lade Icon im Bild, diesen Zustand ist seit dem letzten Update des admin Adapter so, auch die Fehlermeldung "ReferenceError: Can't find variable: vis".
            Bevor ich nun auf meinem System alle Adapter auf Latest(Beta) update, weist Du noch welche bei Dir das Problem beseitigt haben?

            Danke

            H 1 Reply Last reply
            0
            • T tro

              @homecineplexx said in Phantomjs Screenshot VIS Ladebalken:

              @homecineplexx

              Hallo, habe genau das gleiche Problem, die Bilder der VIS welche mit Phantom erstellt werden, erscheint nur das Lade Icon im Bild, diesen Zustand ist seit dem letzten Update des admin Adapter so, auch die Fehlermeldung "ReferenceError: Can't find variable: vis".
              Bevor ich nun auf meinem System alle Adapter auf Latest(Beta) update, weist Du noch welche bei Dir das Problem beseitigt haben?

              Danke

              H Offline
              H Offline
              homecineplexx
              wrote on last edited by
              #6

              @tro also wissen tu ichs nicht, aber ich denke es war der VIS-Adapter

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              Support us

              ioBroker
              Community Adapters
              Donate

              793

              Online

              32.4k

              Users

              81.6k

              Topics

              1.3m

              Posts
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Home
              • Recent
              • Tags
              • Unread 0
              • Categories
              • Unreplied
              • Popular
              • GitHub
              • Docu
              • Hilfe