ioBroker / ioBroker.javascript

Script engine for JavaScript and Blockly
MIT License
325 stars 120 forks source link

[Bug]: Warnung/ Error Astro Blockly script.js. Cannot calculate "night" for xxxxxxxxx, xxxxxxxxxx #1596

Closed IOGogo closed 4 months ago

IOGogo commented 4 months ago

I'm sure that

Script type

Astro Blockly

The problem

Bei der Ausführung vom Astro Blockly bekomme ich folgende Meldung → script.js.Meine_Skripte.TestSkipte.Skript_1: Cannot calculate "nightEnd" for XXXXXXXXXX, XXXXXXXXXXXX In den Systemeinstellungen ist der Längen- und Breitengrad hinterlegt.

iobroker.current.log (in debug mode!)

script.js.Meine_Skripte.TestSkipte.Skript_1: Cannot calculate "nightEnd" for XXXXXXXXXX, XXXXXXXXXXXX

Version of nodejs

18.20.3

Version of ioBroker js-controller

5.0.19

Version of adapter

8.3.1

mcm1957 commented 4 months ago

https://github.com/ioBroker/ioBroker.javascript/issues/1580

8.3.1 is not the current beta Version. Did you really check with 8.3.4? Or did youbonly Mark the checkbox?

IOGogo commented 4 months ago

Hallo Martin,

die von Dir genannte V 8.3.4 kann ich unter Beta nicht finden.

Unter Beta werden aus meiner Sicht ältere Versionen angezeigt :

Ich habe die V 8.4.2 über die Katze installiert und hatte das gleiche Fehlerbild.

Danke im Voraus für Deine Untersützung

Von: Martin M. @.> Gesendet: Montag, 3. Juni 2024 08:08 An: ioBroker/ioBroker.javascript @.> Cc: IOGogo @.>; Author @.> Betreff: Re: [ioBroker/ioBroker.javascript] [Bug]: Warnung/ Error Astro Blockly script.js. Cannot calculate "night" for xxxxxxxxx, xxxxxxxxxx (Issue #1596)

1580 https://github.com/ioBroker/ioBroker.javascript/issues/1580

8.3.1 is not the current beta Version. Did you really check with 8.3.4? Or did youbonly Mark the checkbox?

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.javascript/issues/1596#issuecomment-2144350545 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBZGC6DM7O6U26LLMXFA7K3ZFQB5TAVCNFSM6AAAAABIVZRLWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUGM2TANJUGU . You are receiving this because you authored the thread.Message ID: @.***>

klein0r commented 4 months ago

Ich habe die V 8.4.2 über die Katze installiert

Bitte nie Adapter über GitHub installieren, nur über npm

IOGogo commented 4 months ago

3.6.2024, 08:50:03.558 [info ]: javascript.0 (452) Stopping script script.js.common.Eigene_.Skript_1

3.6.2024, 08:50:03.643 [info ]: javascript.0 (452) Start JavaScript script.js.common.Eigene_.Skript_1 (Blockly)

3.6.2024, 08:50:03.645 [info ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions

3.6.2024, 08:50:11.183 [info ]: javascript.0 (452) Stopping script script.js.common.Eigene_.Skript_1

3.6.2024, 08:50:11.228 [info ]: javascript.0 (452) Start JavaScript script.js.common.Eigene_.Skript_1 (Blockly)

3.6.2024, 08:50:11.230 [info ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions

3.6.2024, 08:50:17.439 [info ]: javascript.0 (452) Stopping script script.js.common.Eigene_.Skript_1

3.6.2024, 08:50:17.482 [info ]: javascript.0 (452) Start JavaScript script.js.common.Eigene_.Skript_1 (Blockly)

3.6.2024, 08:50:17.484 [info ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions

3.6.2024, 08:50:22.980 [info ]: javascript.0 (452) Stopping script script.js.common.Eigene_.Skript_1

3.6.2024, 08:50:23.023 [info ]: javascript.0 (452) Start JavaScript script.js.common.Eigene_.Skript_1 (Blockly)

3.6.2024, 08:50:23.025 [warn ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: Cannot calculate "night" for XXXXXXX, XXXXXX

3.6.2024, 08:50:23.025 [info ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions

3.6.2024, 08:50:44.691 [info ]: javascript.0 (452) Stopping script script.js.common.Eigene_.Skript_1

3.6.2024, 08:50:45.534 [info ]: javascript.0 (452) Start JavaScript script.js.common.Eigene_.Skript_1 (Blockly)

3.6.2024, 08:50:45.536 [warn ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: Cannot calculate "night" for XXXXXXX, XXXXXXX

3.6.2024, 08:50:45.536 [info ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions

3.6.2024, 08:50:51.784 [info ]: javascript.0 (452) Stopping script script.js.common.Eigene_.Skript_1

3.6.2024, 08:50:51.868 [info ]: javascript.0 (452) Start JavaScript script.js.common.Eigene_.Skript_1 (Blockly)

3.6.2024, 08:50:51.870 [warn ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: Cannot calculate "nightEnd" for XXXXXX, XXXXXXX

3.6.2024, 08:50:51.870 [info ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions

3.6.2024, 08:50:57.379 [info ]: javascript.0 (452) Stopping script script.js.common.Eigene_.Skript_1

3.6.2024, 08:50:57.422 [info ]: javascript.0 (452) Start JavaScript script.js.common.Eigene_.Skript_1 (Blockly)

3.6.2024, 08:50:57.424 [info ]: javascript.0 (452) script.js.common.Eigene_.Skript_1: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions

Von: Martin M. @.> Gesendet: Montag, 3. Juni 2024 08:08 An: ioBroker/ioBroker.javascript @.> Cc: IOGogo @.>; Author @.> Betreff: Re: [ioBroker/ioBroker.javascript] [Bug]: Warnung/ Error Astro Blockly script.js. Cannot calculate "night" for xxxxxxxxx, xxxxxxxxxx (Issue #1596)

1580 https://github.com/ioBroker/ioBroker.javascript/issues/1580

8.3.1 is not the current beta Version. Did you really check with 8.3.4? Or did youbonly Mark the checkbox?

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.javascript/issues/1596#issuecomment-2144350545 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBZGC6DM7O6U26LLMXFA7K3ZFQB5TAVCNFSM6AAAAABIVZRLWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUGM2TANJUGU . You are receiving this because you authored the thread.Message ID: @.***>

IOGogo commented 4 months ago

Hallo Martin,

die Warnung wird nur bei der Auswahl Nacht und Nachtende angezeigt.

Von: Martin M. @.> Gesendet: Montag, 3. Juni 2024 08:08 An: ioBroker/ioBroker.javascript @.> Cc: IOGogo @.>; Author @.> Betreff: Re: [ioBroker/ioBroker.javascript] [Bug]: Warnung/ Error Astro Blockly script.js. Cannot calculate "night" for xxxxxxxxx, xxxxxxxxxx (Issue #1596)

1580 https://github.com/ioBroker/ioBroker.javascript/issues/1580

8.3.1 is not the current beta Version. Did you really check with 8.3.4? Or did youbonly Mark the checkbox?

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.javascript/issues/1596#issuecomment-2144350545 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBZGC6DM7O6U26LLMXFA7K3ZFQB5TAVCNFSM6AAAAABIVZRLWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUGM2TANJUGU . You are receiving this because you authored the thread.Message ID: @.***>

IOGogo commented 4 months ago

Danke, okay melde mich gleich

Von: Matthias Kleine @.> Gesendet: Montag, 3. Juni 2024 08:50 An: ioBroker/ioBroker.javascript @.> Cc: IOGogo @.>; Author @.> Betreff: Re: [ioBroker/ioBroker.javascript] [Bug]: Warnung/ Error Astro Blockly script.js. Cannot calculate "night" for xxxxxxxxx, xxxxxxxxxx (Issue #1596)

Ich habe die V 8.4.2 über die Katze installiert

Bitte nie Adapter über GitHub installieren, nur über npm

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.javascript/issues/1596#issuecomment-2144404993 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBZGC6ANJ3GJHTRCPVLCHADZFQGY5AVCNFSM6AAAAABIVZRLWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUGQYDIOJZGM . You are receiving this because you authored the thread.Message ID: @.***>

IOGogo commented 4 months ago

Es besteht das gleiche Problem wie bereits berichte.

Betroffen von der Warnung ist nur Nacht und Nachtende ..

Von: Matthias Kleine @.> Gesendet: Montag, 3. Juni 2024 08:50 An: ioBroker/ioBroker.javascript @.> Cc: IOGogo @.>; Author @.> Betreff: Re: [ioBroker/ioBroker.javascript] [Bug]: Warnung/ Error Astro Blockly script.js. Cannot calculate "night" for xxxxxxxxx, xxxxxxxxxx (Issue #1596)

Ich habe die V 8.4.2 über die Katze installiert

Bitte nie Adapter über GitHub installieren, nur über npm

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.javascript/issues/1596#issuecomment-2144404993 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBZGC6ANJ3GJHTRCPVLCHADZFQGY5AVCNFSM6AAAAABIVZRLWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUGQYDIOJZGM . You are receiving this because you authored the thread.Message ID: @.***>

klein0r commented 4 months ago

Duplicate of #1580 #1595

IOGogo commented 4 months ago

Sorry, hatte ich nicht gesehen

Von: Matthias Kleine @.> Gesendet: Montag, 3. Juni 2024 09:23 An: ioBroker/ioBroker.javascript @.> Cc: IOGogo @.>; Author @.> Betreff: Re: [ioBroker/ioBroker.javascript] [Bug]: Warnung/ Error Astro Blockly script.js. Cannot calculate "night" for xxxxxxxxx, xxxxxxxxxx (Issue #1596)

Duplicate of #1580 https://github.com/ioBroker/ioBroker.javascript/issues/1580 #1595 https://github.com/ioBroker/ioBroker.javascript/issues/1595

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.javascript/issues/1596#issuecomment-2144459933 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBZGC6FTVKUVDOKVXECYYJ3ZFQKWZAVCNFSM6AAAAABIVZRLWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUGQ2TSOJTGM . You are receiving this because you authored the thread.Message ID: @.***>

IOGogo commented 4 months ago

Zaphod 2 hat zwar mitgeteilt, dass er den Fehler gefunden hat ? Aber nicht was die mögliche Ursache gewesen ist.

Von: Matthias Kleine @.> Gesendet: Montag, 3. Juni 2024 09:23 An: ioBroker/ioBroker.javascript @.> Cc: IOGogo @.>; Author @.> Betreff: Re: [ioBroker/ioBroker.javascript] [Bug]: Warnung/ Error Astro Blockly script.js. Cannot calculate "night" for xxxxxxxxx, xxxxxxxxxx (Issue #1596)

Closed #1596 https://github.com/ioBroker/ioBroker.javascript/issues/1596 as completed.

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.javascript/issues/1596#event-13016048432 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBZGC6DZRYTUALUXUVBCNNTZFQKWZAVCNFSM6AAAAABIVZRLWCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGAYTMMBUHA2DGMQ . You are receiving this because you authored the thread.Message ID: @.***>

klein0r commented 4 months ago

Welchen Fehler denn genau? Das arbeitet alles korrekt so. Die Tage sind aktuell so kurz, dass die Sonne nie den Punkt unterschreitet, welcher die "Nacht" definiert. Also kann der auch nicht berechnet werden.