Skip Menu |

This queue is for tickets about the Helios CPAN distribution.

Report information
The Basics
Id: 94095
Status: resolved
Priority: 0/
Queue: Helios

People
Owner: LAJANDY [...] cpan.org
Requestors: LAJANDY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.80
Fixed in:
  • 2.801_3350
  • 2.81



Subject: helios_service_status: Use of uninitialized value in print at helios_service_status line 83.
Create a Helios service without specifying a version, as below: SomeService.pm: use 5.014; use warnings; package SomeService { use parent 'Helios::Service'; sub run { my $self = shift; my $job = shift; my $config = $self->getConfig(); my $args = $self->getJobArgs($job); $self->completedJob($job); } } 1; __END__ Save it and start it using helios.pl: $ helios.pl SomeService Then run the helios_service_status command: $ helios_service_status Service: SomeService Use of uninitialized value in print at helios_service_status line 83. Version: Host: ubuntu-precise64-1 PID: 9122 Online Since: Fri Mar 21 00:41:27 2014 Last Registered: Fri Mar 21 00:41:27 2014 Not terribly production-stopping, but ugly all the same. Services that specify versions are unaffected, of course.
On Fri Mar 21 17:34:37 2014, LAJANDY wrote: Show quoted text
> Create a Helios service without specifying a version, as below: > > SomeService.pm: > use 5.014; > use warnings; > > package SomeService { > use parent 'Helios::Service'; > > sub run { > my $self = shift; > my $job = shift; > my $config = $self->getConfig(); > my $args = $self->getJobArgs($job); > > $self->completedJob($job); > } > } > > 1; > __END__ > > > Save it and start it using helios.pl: > > $ helios.pl SomeService > > Then run the helios_service_status command: > > $ helios_service_status > Service: SomeService > Use of uninitialized value in print at helios_service_status line 83. > Version: > Host: ubuntu-precise64-1 > PID: 9122 > Online Since: Fri Mar 21 00:41:27 2014 > Last Registered: Fri Mar 21 00:41:27 2014 > > Not terribly production-stopping, but ugly all the same. Services > that specify versions are unaffected, of course.
Fixed in Helios development release 2.801_3350. On Fri Mar 28 15:22:07 2014, LAJANDY wrote: Show quoted text
> On Fri Mar 21 17:34:37 2014, LAJANDY wrote:
> > Create a Helios service without specifying a version, as below: > > > > SomeService.pm: > > use 5.014; > > use warnings; > > > > package SomeService { > > use parent 'Helios::Service'; > > > > sub run { > > my $self = shift; > > my $job = shift; > > my $config = $self->getConfig(); > > my $args = $self->getJobArgs($job); > > > > $self->completedJob($job); > > } > > } > > > > 1; > > __END__ > > > > > > Save it and start it using helios.pl: > > > > $ helios.pl SomeService > > > > Then run the helios_service_status command: > > > > $ helios_service_status > > Service: SomeService > > Use of uninitialized value in print at helios_service_status line 83. > > Version: > > Host: ubuntu-precise64-1 > > PID: 9122 > > Online Since: Fri Mar 21 00:41:27 2014 > > Last Registered: Fri Mar 21 00:41:27 2014 > > > > Not terribly production-stopping, but ugly all the same. Services > > that specify versions are unaffected, of course.
> >
On Fri Aug 15 20:54:38 2014, LAJANDY wrote: Show quoted text
> Fixed in Helios development release 2.801_3350. > > On Fri Mar 28 15:22:07 2014, LAJANDY wrote:
> > On Fri Mar 21 17:34:37 2014, LAJANDY wrote:
> > > Create a Helios service without specifying a version, as below: > > > > > > SomeService.pm: > > > use 5.014; > > > use warnings; > > > > > > package SomeService { > > > use parent 'Helios::Service'; > > > > > > sub run { > > > my $self = shift; > > > my $job = shift; > > > my $config = $self->getConfig(); > > > my $args = $self->getJobArgs($job); > > > > > > $self->completedJob($job); > > > } > > > } > > > > > > 1; > > > __END__ > > > > > > > > > Save it and start it using helios.pl: > > > > > > $ helios.pl SomeService > > > > > > Then run the helios_service_status command: > > > > > > $ helios_service_status > > > Service: SomeService > > > Use of uninitialized value in print at helios_service_status line 83. > > > Version: > > > Host: ubuntu-precise64-1 > > > PID: 9122 > > > Online Since: Fri Mar 21 00:41:27 2014 > > > Last Registered: Fri Mar 21 00:41:27 2014 > > > > > > Not terribly production-stopping, but ugly all the same. Services > > > that specify versions are unaffected, of course.
> > > >
> >