FHEM Forum

FHEM - Hausautomations-Systeme => Unterstützende Dienste => Wettermodule => Thema gestartet von: Fixel2012 am 19 Mai 2017, 12:00:24

Titel: twilight Error
Beitrag von: Fixel2012 am 19 Mai 2017, 12:00:24
Mahlzeit,
habe in meinem Log Einen Riesen Error von Twilight gefunden.

Twilight an sich Funktioniert noch, ich werde das ganze weiter beobachten und schauen ob so eine Fehlermeldung erneut kommt.

Vielleicht könnt ihr mit dem Log auszug etwas anfangen  ;D
2017.05.19 00:00:01 1: PERL WARNING: Bareword found where operator expected at (eval 151644) line 6, near "* nn4 hide"
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (6)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 1: PERL WARNING: (Missing operator before hide?)
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (6)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 1: PERL WARNING: Bareword found where operator expected at (eval 151644) line 6, near "1.2em"
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (6)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 1: PERL WARNING: (Missing operator before em?)
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (6)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 1: PERL WARNING: Bareword found where operator expected at (eval 151644) line 11, near "}

        table"
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (11)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 1: PERL WARNING: (Missing operator before table?)
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (11)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 1: PERL WARNING: Bareword found where operator expected at (eval 151644) line 17, near "1.2em"
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (17)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 1: PERL WARNING: (Missing operator before em?)
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (17)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 1: PERL WARNING: Bareword found where operator expected at (eval 151644) line 19, near ".8em"
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (19)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 1: PERL WARNING: (Missing operator before em?)
2017.05.19 00:00:01 1: stacktrace:
2017.05.19 00:00:01 1:     main::__ANON__                      called by (eval 151644) (19)
2017.05.19 00:00:01 1:     (eval)                              called by ./FHEM/59_Twilight.pm (519)
2017.05.19 00:00:01 1:     main::Twilight_getWeatherHorizon    called by ./FHEM/59_Twilight.pm (422)
2017.05.19 00:00:01 1:     main::Twilight_WeatherCallback      called by FHEM/HttpUtils.pm (442)
2017.05.19 00:00:01 1:     main::__ANON__                      called by fhem.pl (682)
2017.05.19 00:00:01 3: [Twilight] error Unterminated <> operator at (eval 151644) line 28.
parsing <!doctype html public "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>Yahoo! - Error report</title>
    <style>
        /* nn4 hide */ /*/*/
        body {
        font: small/ 1.2em arial, helvetica, clean, sans-serif;
        font: x-small;
        text-align: center;
        }

        table {
        font-size: inherit;
        font: x-small;
        }

        html>body {
        font: 83%/ 1.2em arial, helvetica, clean, sans-serif;
        }

        input {
        font-size: 100%;
        vertical-align: middle;
        }

        p,form {
        margin: 0;
        padding: 0;
        }

        p {
        padding-bottom: 6px;
        margin-bottom: 10px;
        }

        #doc {
        width: 48.5em;
        margin: 0 auto;
        border: 1px solid #fff;
        text-align: center;
        }

        #ygma {
        text-align: right;
        margin-bottom: 53px
        }

        #ygma img {
        float: left;
        }

        #ygma div {
        border-bottom: 1px solid #ccc;
        padding-bottom: 8px;
        margin-left: 152px;
        }

        #bd {
        clear: both;
        text-align: left;
        width: 75%;
        margin: 0 auto 20px;
        }

        h1 {
        font-size: 135%;
        text-align: center;
        margin: 0 0 15px;
        }

        legend {
        display: none;
        }

        fieldset {
        border: 0 solid #fff;
        padding: .8em 0 .8em 4.5em;
        }

        form {
        position: relative;
        background: #eee;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-width: 1px 0;
        }

        #s1p {
        width: 15em;
        margin-right: .1em;
        }

        form span {
        position: absolute;
        left: 70%;
        top: .8em;
        }

        form a {
        font: 78%/ 1.2em arial;
        display: block;
        padding-left: .8em;
        white-space: nowrap;
        background: url(http://l.yimg.com/a/i/s/bullet.gif)
        no-repeat left center;
        }

        form .sep {
        display: none;
        }

        .more {
        text-align: center;
        }

        #ft {
        padding-top: 10px;
        border-top: 1px solid #999;
        }

        #ft p {
        text-align: center;
        font: 78% arial;
        }
        /* end nn4 hide */
    </style>
</head>
<body>
<div id="doc">
    <div id="ygma">
        <a href="http://www.yahoo.com">
            <img src="http://l.yimg.com/a/i/yahoo.gif" width="147"
                 height="31" border="0" alt="Yahoo!">
        </a>

        <div>
            <a href="http://www.yahoo.com">Yahoo!</a>
            - <a href="http://help.yahoo.com">Help</a>
        </div>
    </div>
    <div id="bd">
        <h1>HTTP Status 500 - </h1>

        <p>
            <b>type</b>
            Status report
        </p>

        <p>
            <b>message</b>
            <u></u>
        </p>

        <p>
            <b>description</b>
            <u>Server Error</u>
        </p>

        <p>
           
        </p>
    </div>
</div>
</body>
</html>


Edit: Die meisten Zeilen kommen wohl von stacktrace, da ich es aktiviert habe.
Titel: Antw:twilight Error
Beitrag von: Dietmar63 am 19 Mai 2017, 13:26:26
Der Fehler liegt wahrscheinlich an der zur Zeit schlechten Bereitstellung der Wetterdaten seitens yahoo.
Wenn es nicht besser wird, werde ich Datenbeschaffung von yahoo ersatzlos herausnehmen.
Titel: Antw:twilight Error
Beitrag von: Fixel2012 am 19 Mai 2017, 13:40:19
Zitat von: Dietmar63 am 19 Mai 2017, 13:26:26
Der Fehler liegt wahrscheinlich an der zur Zeit schlechten Bereitstellung der Wetterdaten seitens yahoo.
Wenn es nicht besser wird, werde ich Datenbeschaffung von yahoo ersatzlos herausnehmen.

Alles klar, werde Berichten wenn ich solch Einträge nochmal erblicken werde   :)
Titel: Antw:twilight Error
Beitrag von: Dietmar63 am 19 Mai 2017, 14:10:43
Bei mir liefert das yahooWeatherModul auch ständig Fehler.
Vielleicht wollen sie Geld.