[ic] usps_query.tag RateV4 errors

Glenn McCalley glenn at bnetmd.net
Wed May 30 18:37:25 UTC 2012


KNEW it wouldn't be that easy.
I replaced the (apparently) deprecated usps_query.tag.
Restart IC (v5.2.0 - Perl v5.8.8, default DB database).
Got the following start-up errors:

...
Sending debug messages to debug.log.
High traffic settings.
Subroutine Vend::Interpolate::S_ISBLK redefined at
/usr/local/lib/perl5/5.8.8/Exporter.pm line 65, <SYSTAG> line 417.
 at /usr/local/lib/perl5/5.8.8/i386-freebsd/POSIX.pm line 19
Subroutine Vend::Interpolate::S_ISCHR redefined at
/usr/local/lib/perl5/5.8.8/Exporter.pm line 65, <SYSTAG> line 417.
 at /usr/local/lib/perl5/5.8.8/i386-freebsd/POSIX.pm line 19
Subroutine Vend::Interpolate::S_ISDIR redefined at
/usr/local/lib/perl5/5.8.8/Exporter.pm line 65, <SYSTAG> line 417.
 at /usr/local/lib/perl5/5.8.8/i386-freebsd/POSIX.pm line 19
Subroutine Vend::Interpolate::S_ISFIFO redefined at
/usr/local/lib/perl5/5.8.8/Exporter.pm line 65, <SYSTAG> line 417.
 at /usr/local/lib/perl5/5.8.8/i386-freebsd/POSIX.pm line 19
Subroutine Vend::Interpolate::S_ISREG redefined at
/usr/local/lib/perl5/5.8.8/Exporter.pm line 65, <SYSTAG> line 417.
 at /usr/local/lib/perl5/5.8.8/i386-freebsd/POSIX.pm line 19
Calling UI......UI is loaded...
...

Store seems to work OK until checkout when the ever-popular 500 error 
appears.
IC error.log shows:
Runtime error: Can't locate object method "dbh" via package 
"Vend::Table::DB_file" at 
/usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd/Safe/Hole.pm line 117.

Finding "$dbh" in the new usps_query.tag it appears to be creating an SQL 
lookup for country.
If that is the case, can this routine be used with the standard DB_file 
databases?

Replace the old usps_query.tag and all is fine.
Thanks!
Glenn.





More information about the interchange-users mailing list