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: Michael Schroeder <mls@xxxxxxx>
  • Date: Mon, 28 Jun 2010 11:33:41 +0200
  • Message-id: <20100628093341.GD11931@xxxxxxx>
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...

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >