[freeside] solved [was dbdef-create (error)]

ivan at 420.am ivan at 420.am
Wed Oct 22 09:17:03 PDT 2003


Is that a fix for DBD::Pg?  As per my previous message, please
send your test case and fix to the DBD::Pg maintainer, not to this
mailing list.

Once the fix has been accepted into DBD::Pg, please let us know the
version of DBD::Pg in which it was fixed, and the other conditions that
trigger the bug (Perl 5.6.x and earlier?  I don't see it under 5.8.x)
so I can add that to the DBIx::DBSchema prerequisites.

Thanks.

-- 
_ivan


On Wed, Oct 22, 2003 at 11:15:01AM +0200, Amr Shaheen wrote:
> Ivan,
> 
> I was able to solve this problem by replacing the line which checks
> the version of Postgres( 7.3.) while  I have installed version 7.3.4.
> Using the following regular expression, I was able to avoid the error
> message:
> 
> $version = "$1.$2" if ( $version =~ /(\d+)\.(\d+)\.(\d+)/ );
> 
> Amr 
> 
> 
> -----Original Message-----
> From: ivan at 420.am [mailto:ivan at 420.am]
> Sent: Wednesday, October 08, 2003 12:38 PM
> To: ivan-freeside at sisd.com
> Subject: Re: [freeside] dbdef-create (error)
> 
> 
> I can't duplicate your problem, using the same versions of PostgreSQL
> and DBD::Pg (but Perl 5.8.0, not 5.6.1 or 5.6.0).
> 
> The problem appears in the "table_info" subroutine of DBD::Pg - suggest
> you isolate it to a simple test case illustrating the problem and submit
> to the DBD::Pg folks.
> 
> Good luck.
> 
> -- 
> _ivan
> 
> 
> On Wed, Oct 08, 2003 at 10:50:43AM +0200, Amr Shaheen wrote:
> > Hi ivan,
> > 
> > For the error outlined below , find hereunder the complete info for my installation 
> > 
> > Freeside 1.4.1
> > DBD-Pg-1.22
> > DBI-1.37
> > Apache-ASP-2.55
> > Apache/1.3.28
> > Debian Sparc (Linux-2.4.20)
> > postgresql-7.3.4
> > Perl 5.6.1
> > 
> > Amr 
> > 
> > > -----Original Message-----
> > > From: ivan at 420.am [mailto:ivan at 420.am]
> > > Sent: Wednesday, October 08, 2003 6:44 AM
> > > To: ivan-freeside at sisd.com
> > > Subject: Re: [freeside] dbdef-create (error)
> > > 
> > > 
> > > On Tue, Oct 07, 2003 at 04:06:47PM +0200, Amr Shaheen wrote:
> > > > when I try to run dbdef-create , I've got the following error
> > > > " Argument "7.3.4" isn't numeric in numeric lt (<) at 
> > > /usr/local/lib/perl/5.6.1/DBD/Pg.pm line 701 "
> > > > 
> > > > Debian Sparc
> > > > Freeside 1.4.1
> > > > Postgres 7.3.4
> > > > Perl 5.6.0
> > > 
> > > The path in the error message above indicates you are running Perl
> > > 5.6.1, not 5.6.0.  Please double check the versions you have 
> > > posted and
> > > also provide _ALL_ other requested information including your DBD::Pg
> > > version, as outlined in the message sent to you when you subscribed.
> > > 
> > > -- 
> > > _ivan
> > > 
> 
> -- 
> _ivan

-- 
_ivan



More information about the freeside-users mailing list