Originally posted by: <email address deleted>
Hallo,
was mache ich hier falsch???
Eingabe:
define GZ_Rollladen_runter at *{sunset(0,"17:00","21:00")} set
GZ_Rollladen on
Antwort:
the at function "sunset(0,"17:00","21:00")" must return a timespec and
not Undefined subroutine &main::sunset called at (eval 6) line 1.
.
Viele Grüße,
Rüdiger
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
Bin mittlerweile etwas weiter, scheint ein Problem mit @INC zu sein.
Da ist wohl eine Zuweisung nicht richtig. Ich fahre auf dem Rechner
ein "Ubuntu 11.04 Server".
On 20 Sep., 13:03, Ruebezahl wrote:
> Hallo,
>
> was mache ich hier falsch???
>
> Eingabe:
> define GZ_Rollladen_runter at *{sunset(0,"17:00","21:00")} set
> GZ_Rollladen on
>
> Antwort:
> the at function "sunset(0,"17:00","21:00")" must return a timespec and
> not Undefined subroutine &main::sunset called at (eval 6) line 1.
> .
>
> Viele Grüße,
>
> Rüdiger
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
> the at function "sunset(0,"17:00","21:00")" must return a timespec and
> not Undefined subroutine &main::sunset called at (eval 6) line 1.
99_SUNRISE_EL.pm ist nicht in dem "attr global modpath"/FHEM Verzeichnis.
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
Das Problem liegt wohl tiefer in meiner Perl-Ubuntu Konfiguration.
99_SUNRIS_EL.pm ist immer im FHEM Verzeichnis gewesen. Irgendwas hat
mit meiner @INC Variablen nicht gestimmt und dem Softlink auf das
aktuelle Perlverzeichnis (5.10.1). Da ich Perl nur als Benutzer kenne,
habe ich einfach statt eines Softlinks von 5.10 auf 5.10.1 alles aus
dem Perl 5.10.1 in das Perl 5.10 Verzeichnis gebracht. Indikation für
das Softlinkproblem war auch, das ein "perl -V" eine Fehlermeldung
brachte.
Linux ist eine 11.04 Server Version.
Auf das eigentlich Problem bin ich erst gestoßen, als ich ein Reload
auf 99_SUNRISE_EL.pm gemacht habe und im Log folgende Meldung war:
reload: Error:Modul 99_SUNRISE_EL deactivated:
Can't locate Math/Trig.pm in @INC (@INC contains: /etc/perl /usr/
local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/
share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/
site_perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 .)
at /usr/share/fhem/FHEM/99_SUNRISE_EL.pm line 10, <$fh> line 7.
BEGIN failed--compilation aborted at /usr/share/fhem/FHEM/
99_SUNRISE_EL.pm line 10, <$fh> line 7.
Ich muss mich doch wohl mal mit perl beschäftigen.......
On 20 Sep., 18:26, Rudolf Koenig wrote:
> > the at function "sunset(0,"17:00","21:00")" must return a timespec and
> > not Undefined subroutine &main::sunset called at (eval 6) line 1.
>
> 99_SUNRISE_EL.pm ist nicht in dem "attr global modpath"/FHEM Verzeichnis.
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com