[ic] Encode::find_encoding error

David Christensen david at endpoint.com
Wed Dec 2 15:46:10 UTC 2015


> On Dec 2, 2015, at 9:17 AM, Dan Bergan <danbergan at gmail.com> wrote:
> 
> I recently upgraded to 5.8.2, and I also added a new catalog based on Strap.
> 
> In my Strap catalog, I am getting this error when I reconfig:
> 
> testshop /cgi-bin/tesshop/admin/genconfig Safe: Undefined subroutine &Encode::find_encoding called at /usr/lib/interchange/lib/Vend/File.pm line 243.
> >
> >
> >                       my $cfn = $Variable->{MV_ORDER_COUNTER_FILE} || 'etc/order.number';
> >                       $Values->{new_order_number} = $Tag->file($cfn);
> >                       $Values->{new_order_number} =~ s/.*\n([A-Za-z0-9]+).*$/$1/s;
> >                       return;
> 
> 
> My other catalogs are still running fine, and I'm not seeing anything different with this order counter file.  Does anyone have any ideas on what might be going on?
> 
> Thanks - 
> Dan Bergan

Hi Dan,

What version of perl are you running?  This is related to the $Tag->file() call; different versions of perl have changed how encoding works with the Safe module, so this may need an additional patch to get working properly.  I am going to be releasing a new Interchange version soon, so if I can reproduce the issue I’ll see about including that fix as well.

Best,

David

--
David Christensen
End Point Corporation
david at endpoint.com
785-727-1171








More information about the interchange-users mailing list