[ic] Image Size Usertag
Mike Heins
mike at perusion.com
Wed Sep 17 11:17:57 EDT 2003
Quoting Danilo (kosmo at trslab.it):
> Hi,
> I've added the Image Size Usertag qo my catalog.cfg, and I've installed
> the latest ImageSize perl library (Image-Size-2.992.tar.gz) but when I
> restart IC I get this error
> -------------------------------------
> Configuring catalog ab...Using MySQL, DSN=dbi:mysql:ab...UserTag
> 'image_size' subroutine failed safe check: require trapped by operation
> mask at (eval 138) line 2, <CONFIG> line 29.
>
> In line 29 of the configuration file 'etc/imagesize.usertag':
> UserTag image_size Routine <<EOR
> ---------------------------------------
>
> Anyone can help me to solve this problem?
I don't know that tag, but you need to move the require outside of the
subroutine,something like:
UserTag imagesize Routine <<EOR
require Image::Size;
sub {
...
}
EOR
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike at perusion.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
More information about the interchange-users
mailing list