freeside-setup

Bob Purdon bobp at tekmax.com.au
Mon Nov 24 02:42:48 PST 2003


Hi All,

Have put Freeside 1.4 to one side for the moment - seems to not want to 
install with modules around it that are newer than it is.

I'm trying Freeside 1.5.0pre3 at the moment, but still having an issue 
with freeside-setup bailing half way through...

Freeside 1.5.0pre3 using HTML::Mason 1.24, installed as per docs.  OS is
FreeBSD 5.1-REL on sparc64, Perl 5.6.1, Postgres 7.2.1 (server) and
Postgres 7.2.4 (client), DBI 1.3.8, DBD::Pg 1.3.1.

Trying to run freeside-setup as user freeside, I get:

I've turned on debugging in Record.pm and get:

[debug][FS::Record] INSERT INTO cust_main_county ( state, country, 
exempt_amount, tax) VALUES ('AL', 'US', '0', '0')
[debug][FS::Record] retreiving sequence from database
[debug][FS::Record] INSERT INTO h_cust_main_county ( history_date, 
history_user, history_action, state, country, exempt_amount, tax) VALUES 
(1069629211, 'bobp', 'insert', 'AL', 'US', '0', '0')
DBD::Pg::st execute failed: ERROR:  ExecAppend: Fail to add null value 
in not null attribute taxnum at 
/usr/local/lib/perl5/site_perl/5.6.1/FS/Record.pm line 596.
ERROR:  ExecAppend: Fail to add null value in not null attribute taxnum 
at /usr/local/bin/freeside-setup line 253.

It's pretty obvious what the error is, but not being a Perl guru, I'm 
not quite sure how it's building the SQL statement that's in error.

Any advice welcomed.

Cheers.




More information about the freeside-users mailing list