[ic] New catalog problem
Mike Heins
mike at perusion.com
Mon Mar 23 13:38:47 UTC 2009
Quoting Sergiusz Jarczyk (sergiusz.jarczyk at qresc.com):
> Hi All
> I've just set up a new catalog, based on IC 5.7.1 (nightly build). It's
> a standard demo for now, with the following changes in catalog.cfg:
> Variable MV_HTTP_CHARSET UTF-8
> Variable MV_CHARSET utf-8
> Variable MV_UTF8 1//
> No other changes made. Now, the IC server starts with no
> errors/warnings, but when I try to access the index page, I get the
> following in my error.log:
>
> Runtime error: Can't locate object method "untrap" via package
> "Vend::CharSet" at /usr/local/interchange/lib/Vend/CharSet.pm line 94.
>
> Any ideas what can be the problem?
>
> Perl: v5.8.8 built for i386-linux-thread-multi
> IC: 5.7.1-200903230658
> DBD::Pg
My fault. I made a change last night and failed to commit Interpolate.pm.
You can either get another nightly build, or make this patch to
Interpolate.pm:
Index: Interpolate.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.311
diff -u -r2.311 Interpolate.pm
--- Interpolate.pm 29 Jan 2009 17:13:26 -0000 2.311
+++ Interpolate.pm 23 Mar 2009 13:38:41 -0000
@@ -179,7 +179,7 @@
$ready_safe->share_from('MVSAFE', ['$safe']);
#::logDebug("new safe made=$ready_safe->{Root}");
- Vend::CharSet->utf8_safe_regex_workaround($ready_safe)
+ Vend::CharSet::utf8_safe_regex_workaround($ready_safe)
if $::Variable->{MV_UTF8};
$ready_safe->trap(@{$Global::SafeTrap});
@@ -1204,7 +1204,7 @@
last RUNSAFE;
}
- Vend::CharSet->utf8_safe_regex_workaround($ready_safe)
+ Vend::CharSet::utf8_safe_regex_workaround($ready_safe)
if $::Variable->{MV_UTF8};
$ready_safe->trap(@{$Global::SafeTrap});
$ready_safe->untrap(@{$Global::SafeUntrap});
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.765.328.4479 <mike at perusion.com>
Few blame themselves until they have exhausted all other possibilities.
-- anonymous
More information about the interchange-users
mailing list