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

Amr Shaheen amr.shaheen at noorgroup.net
Wed Oct 22 02:20:20 PDT 2003


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



More information about the freeside-users mailing list