Skip Menu |

This queue is for tickets about the Sport-Analytics-NHL CPAN distribution.

Report information
The Basics
Id: 129929
Status: new
Priority: 0/
Queue: Sport-Analytics-NHL

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: mkdir /hockey: Permission denied
It seems that while running the test suite a toplevel directory is tried to be created, and this fails: ... Trying (1/3) https://www.rotoworld.com/api/injury?sort=-start_date&filter[player.team]=331&filter[player.status.active]=1&filter[active]=1&include=injury_type,player,player.status,player.position... Retrieved in 0.859 seconds Writing /hockey/reports/2018/roto/331/20190628-roto.html ... mkdir /hockey: Permission denied at /home/cpansand/.cpan/build/2019062800/Sport-Analytics-NHL-1.51-0/blib/lib/Sport/Analytics/NHL/Util.pm line 365. at /home/cpansand/.cpan/build/2019062800/Sport-Analytics-NHL-1.51-0/blib/lib/Sport/Analytics/NHL/Util.pm line 16. Sport::Analytics::NHL::Util::__ANON__("mkdir /hockey: Permission denied at /home/cpansand/.cpan/buil"...) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/Carp.pm line 291 Carp::croak("mkdir /hockey: Permission denied") called at /usr/perl5.24.0p/lib/site_perl/5.24.0/File/Path.pm line 239 File::Path::_mkpath(HASH(0x41cc30f0), ARRAY(0x4ce39ca8)) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/File/Path.pm line 195 File::Path::_mkpath(HASH(0x41cc30f0), ARRAY(0x4d5246f0)) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/File/Path.pm line 195 File::Path::_mkpath(HASH(0x41cc30f0), ARRAY(0x4d520120)) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/File/Path.pm line 195 File::Path::_mkpath(HASH(0x41cc30f0), ARRAY(0x4d763e58)) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/File/Path.pm line 195 File::Path::_mkpath(HASH(0x41cc30f0), ARRAY(0x41cc3108)) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/File/Path.pm line 173 File::Path::mkpath("/hockey/reports/2018/roto/331") called at /home/cpansand/.cpan/build/2019062800/Sport-Analytics-NHL-1.51-0/blib/lib/Sport/Analytics/NHL/Util.pm line 365 Sport::Analytics::NHL::Util::write_file("{\"data\":[],\"jsonapi\":{\"version\":\"1.0\",\"meta\":{\"links\":{\"self\""..., "/hockey/reports/2018/roto/331/20190628-roto.html") called at /home/cpansand/.cpan/build/2019062800/Sport-Analytics-NHL-1.51-0/blib/lib/Sport/Analytics/NHL/Scraper.pm line 392 Sport::Analytics::NHL::Scraper::crawl_rotoworld_injuries() called at t/105-Scraper-crawl-injured-players.t line 24 t/105-Scraper-crawl-injured-players.t ........ skipped: (no reason given) t/120-DB-insert-injuries.t ................... skipped: Mongo not defined t/150-Tools-get-games-db.t ................... skipped: Mongo not defined Need to specify either file or data, choose one! Need to specify either file or data, choose one! Unable to determine the type of the report, please specify explicitly Cannot specify both data and file, choose one! Unknown report type ZZ ...