[BioSQL-l] Re: [Bioperl-l] strange error after changing to RC1.5

Hilmar Lapp hlapp at gmx.net
Fri Mar 11 13:22:38 EST 2005


Try removing the overload altogether.

Or, possibly better yet, don't use 1.5. I'm saying this because it 
should be the responsibility of the one who created the mess and didn't 
test it to clean it up and test rigorously and not the reponsibility of 
the community out there.

	-hilmar

On Wednesday, March 9, 2005, at 02:20  AM, Daniel Lang wrote:

> Hi,
> I´m retrieving seq objects from a local biosql db (using the latest 
> cvs verion of bioperl-db) and e.g. writing them with SeqIO. After 
> changing from a cvs version ~ 12/04 to RC1.5 or latest cvs version, I 
> get the following error:
>
> Operation `ne': no method found,!!left argument in overloaded package 
> Bio::Annotation::Reference,!!right argument has no overloaded magic at 
> /usr/lib/perl5/site_perl/5.6.1/Bio/DB/Persistent/PersistentObject.pm 
> line 534, <GEN1> line 1.!
>
> The module PersistentObject.pm hasn´t changed and in Reference.pm 
> there is only this change:
>
> diff bioperl-live-Dec04/Bio/Annotation/Reference.pm 
> bioperl-live/Bio/Annotation/Reference.pm
> 1c1
> < # $Id: Reference.pm,v 1.21 2004/08/19 20:13:32 lapp Exp $
> ---
> > # $Id: Reference.pm,v 1.22 2005/02/02 22:13:22 allenday Exp $
> 56c56,57
> < # use overload '""' => \&as_text;
> ---
> > use overload '""' => sub { $_[0]->title || ''};
> > use overload 'eq' => sub { "$_[0]" eq "$_[1]" };
>
> I´ve reversed this, but no positive result - the error remains...
> Any hints?
>
> Thanks in advance,
> Daniel
>
>
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>
>
-- 
-------------------------------------------------------------
Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757
-------------------------------------------------------------





More information about the BioSQL-l mailing list