Skip Menu |
 

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 53322
Status: open
Priority: 0/
Queue: Encode

People
Owner: Nobody in particular
Requestors: ambs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.39
Fixed in: (no value)



Subject: renewed method giving problems with CGI::Session/CGI::Cookie
When adding a 'use encoding "utf-8"' on my CGI script that uses CGI::Session and CGI::Cookie, the CGI::Session module can not read the session file (well, at least that is my interpretation of the error).

For example, for the cgi in attach, it kind of works when you first access it, but if you refresh (when CGI::Session should fetch the session object from file) it complains with:

new(): failed: load(): couldn't thaw() data using CGI::Session::Serialize::default:thaw(): couldn't thaw. \t(in cleanup) Can't locate object method "renewed" via package "Encode::utf8" (perhaps you forgot to load "Encode::utf8"?) at (eval 15) line 1.

Hope you can help :)
Follows perl -V.
Kindest regards,
ambs

[ambs@rachmaninoff tmp]$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
  
  Platform:
    osname=darwin, osvers=9.8.0, archname=darwin-thread-multi-2level
    uname='darwin rachmaninoff.local 9.8.0 darwin kernel version 9.8.0: wed jul 15 16:55:01 pdt 2009; root:xnu-1228.15.4~1release_i386 i386 i386 macbookpro3,1 darwin '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include',
    optimize='-O3',
    cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include'
    ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib -L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /usr/lib
    libs=-ldbm -ldb -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO
  Built under darwin
  Compiled at Dec 23 2009 21:52:37
  @INC:
    /opt/local/lib/perl5/5.10.1/darwin-thread-multi-2level
    /opt/local/lib/perl5/5.10.1
    /opt/local/lib/perl5/site_perl/5.10.1/darwin-thread-multi-2level
    /opt/local/lib/perl5/site_perl/5.10.1
    .
[ambs@rachmaninoff tmp]$

Subject: cgi-sample
Download cgi-sample
application/octet-stream 359b

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.