Menu

#9 !ilm - readline() on closed filehandle F

open
nobody
General (6)
5
2005-03-03
2005-03-03
Anonymous
No

!ilm
readline() on closed filehandle F at
Plugins/Weather/Plugin.pm line 41.

I kill tuxaator
then delete tuxaator/scripts/ee-ilm.sh
run "tuxaator/scripts/ee-ilm.sh"
start tuxaator

same problem

sub do_ilm {
my $self = shift;
my $event = pop @_;
my $msg = join " " => @_;
# anwer goes to the channel, otherwise it
doesnt make too much sense
open F, "<$cachedir/ee-ilm.txt";
my @lines = <F>;
my $ilm = join(', ',map "$_" => @lines);
$ilm =~ s/\n//g;
close F;
$self->{'core'}->queue($event,$ilm);
}

Discussion

  • Nobody/Anonymous

    Logged In: NO

    sorry, delet cachedir/ee-ilm.txt not /ee-ilm.sh

     
  • Nobody/Anonymous

    Logged In: NO

    sorry, not "delete tuxaator/scripts/ee-ilm.sh" but deleted
    the ee-ilm.txt

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.