Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#9229 closed defect (Fixed)

wunderground-maps.pl fails if logdir does not exist. Needs use File::Path;

Reported by: anonymous Owned by: beirdo
Priority: minor Milestone: 0.24.1
Component: Plugin - MythWeather Version: 0.24-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

fails if logdir does not exist with Undefined subroutine &main::mkpath called at ./wunderground-maps.pl line 35.

if (!-d $logdir) {

mkpath( $logdir, {mode => 0755} );

}

mkpath is not included. To fix need to add use File::Path;

e.g. use File::Path; use File::Basename; use Cwd 'abs_path';

Change History (4)

comment:1 Changed 7 years ago by Kenni Lund [kenni a kelu dot dk]

Status: newassigned

comment:2 Changed 7 years ago by beirdo

Resolution: Fixed
Status: assignedclosed

(In [27234]) Added File::Path to the modules loaded

Fixes #9229

comment:3 Changed 7 years ago by beirdo

(In [27235]) Added File::Path to the modules loaded (backport from [27234] on trunk)

Fixes #9229

comment:4 Changed 7 years ago by beirdo

Milestone: unknown0.24.1
Note: See TracTickets for help on using tickets.