Skip to main content.
home | support | download

Back to List Archive

IPTC2html.pm error: EOF string not found etc etc

From: Revillini, James <JRevillini(at)not-real.txcc.commnet.edu>
Date: Fri Jun 24 2005 - 21:28:50 GMT
I grabbed the IPTC2html.pm from the sourceforge cvs and plugged it into
my filters directory, installed the Image::IPTCInfo module, and got the
following error while running a quick swish-filter-test:


>> Loading filter: [SWISH/Filters/IPTC2html.pm]
Failed to load 'SWISH/Filters/IPTC2html.pm'
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-+-+-+-+

Can't find string terminator "EOF" anywhere before EOF at
e:\swish-e\lib\swish-e
\perl/SWISH/Filters/IPTC2html.pm line 33.
Compilation failed in require at
e:\swish-e\lib\swish-e\perl/SWISH/Filter.pm lin
e 473.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-+-+-+-+

So, I looked at some other filters and ended up changing line 42 in
IPTC2html.pm from

EOF     return \$txt;

To

EOF
     return \$txt;

et voila!  It works.  I hope this helps someone else.



Oh yeah, and I'm on windows 2003.  :0
Received on Fri Jun 24 14:28:53 2005