Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
Re: [opensuse-buildservice] workers fail with "Not an ARRAY reference at ./bs_worker line 671." after updating obs to 2.0.1
  • From: Jan Engelhardt <jengelh@xxxxxxxxxx>
  • Date: Mon, 28 Jun 2010 12:06:43 +0200 (CEST)
  • Message-id: <alpine.LSU.2.01.1006281205530.26429@xxxxxxxxxxxxxxx>
On Monday 2010-06-28 11:33, Michael Schroeder wrote:

On Mon, Jun 28, 2010 at 11:28:16AM +0200, Carsten Hoeger wrote:
This is the content file from one of the "broken" workers.
I found out which workers - sometimes - issue that error in adding that code
to bs_worker:

sub manage_cache {

[...]

$content ||= [];
if( ref(@$content) ne "ARRAY" ) {

I don't even know what 'ref' does if you give it an array as
argument...

Outputs the empty string.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >