Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
You are overwriting a locally defined function (type)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Maxim Gurets  
View profile  
 More options Jul 25 2011, 7:35 am
From: Maxim Gurets <gur...@gmail.com>
Date: Mon, 25 Jul 2011 04:35:27 -0700 (PDT)
Local: Mon, Jul 25 2011 7:35 am
Subject: You are overwriting a locally defined function (type)
Hi!

Im using: Catalyst + Catalyst::View::Xslate

catalyst: 5.80032
catalyst::view::xslate: 0.00012
text::xslate: 1.1005
moose: 2.0002

After restarting apache and remove cached templates i get once
stacktrace in error log:

You are overwriting a locally defined function (type) with an accessor
at /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/Moose/
Meta/Attribute.pm line 939

Moose::Meta::Attribute::_process_accessors('Moose::Meta::Attribute=HASH(0x2 164bd30)',
'accessor', 'type', undef) called at /usr/lib64/perl5/site_perl/5.12.3/
x86_64-linux-thread-multi/Class/MOP/Attribute.pm line 421

Class::MOP::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x216 4bd30)')
called at /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/
Moose/Meta/Attribute.pm line 887

Moose::Meta::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x21 64bd30)')
called at /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/
Class/MOP/Class.pm line 878
        Class::MOP::Class::__ANON__() called at /usr/lib64/perl5/site_perl/
5.12.2/Try/Tiny.pm line 76
        eval {...} called at /usr/lib64/perl5/site_perl/5.12.2/Try/Tiny.pm
line 67
        Try::Tiny::try('CODE(0x21653ef8)',
'Try::Tiny::Catch=REF(0x216541e0)') called at /usr/lib64/perl5/
site_perl/5.12.3/x86_64-linux-thread-multi/Class/MOP/Class.pm line 883

Class::MOP::Class::_post_add_attribute('Moose::Meta::Class=HASH(0x21118f40) ',
'Moose::Meta::Attribute=HASH(0x2164bd30)') called at /usr/lib64/perl5/
site_perl/5.12.3/x86_64-linux-thread-multi/Class/MOP/Mixin/
HasAttributes.pm line 44

Class::MOP::Mixin::HasAttributes::add_attribute('Moose::Meta::Class=HASH(0x 21118f40)',
'Moose::Meta::Attribute=HASH(0x2164bd30)') called at /usr/lib64/perl5/
site_perl/5.12.3/x86_64-linux-thread-multi/Moose/Meta/Class.pm line
506

Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x21118f40)',
'type', 'default', 'html', 'is', 'rw', 'isa',
'Moose::Meta::TypeConstraint::Enum=HASH(0x2142d8c0)',
'definition_context', ...) called at /usr/lib64/perl5/site_perl/5.12.3/
x86_64-linux-thread-multi/Moose.pm line 77
        Moose::has('Moose::Meta::Class=HASH(0x21118f40)', 'type', 'is', 'rw',
'isa', 'Moose::Meta::TypeConstraint::Enum=HASH(0x2142d8c0)',
'default', 'html') called at /usr/lib64/perl5/site_perl/5.12.3/x86_64-
linux-thread-multi/Moose/Exporter.pm line 356
        Moose::has('type', 'is', 'rw', 'isa',
'Moose::Meta::TypeConstraint::Enum=HASH(0x2142d8c0)', 'default',
'html') called at /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-
thread-multi/Text/Xslate/Compiler.pm line 170
        require Text/Xslate/Compiler.pm called at /usr/lib64/perl5/site_perl/
5.12.3/x86_64-linux-thread-multi/Class/MOP.pm line 117
        Class::MOP::__ANON__() called at /usr/lib64/perl5/site_perl/5.12.2/
Try/Tiny.pm line 71
        eval {...} called at /usr/lib64/perl5/site_perl/5.12.2/Try/Tiny.pm
line 67
        Try::Tiny::try('CODE(0x214088b0)',
'Try::Tiny::Catch=REF(0x2142fc00)') called at /usr/lib64/perl5/
site_perl/5.12.3/x86_64-linux-thread-multi/Class/MOP.pm line 128
        Class::MOP::load_first_existing_class('Text::Xslate::Compiler')
called at /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/
Class/MOP.pm line 140
        Class::MOP::load_class('Text::Xslate::Compiler') called at /usr/lib64/
perl5/site_perl/5.12.3/x86_64-linux-thread-multi/Text/Xslate.pm line
528

.... skipped .....

Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x13d7a9a8)',
'VKino=HASH(0x2143a018)') called at /usr/lib64/perl5/site_perl/5.12.3/
Catalyst.pm line 1611
        Catalyst::dispatch('VKino=HASH(0x2143a018)') called at /usr/lib64/
perl5/site_perl/5.12.3/Catalyst/Plugin/Static/Simple.pm line 76
        Class::MOP::Class:::around('CODE(0x85480b0)',
'VKino=HASH(0x2143a018)') called at /usr/lib64/perl5/site_perl/5.12.3/
x86_64-linux-thread-multi/Class/MOP/Method/Wrapped.pm line 161
        Class::MOP::Method::Wrapped::__ANON__('VKino=HASH(0x2143a018)')
called at /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/
Class/MOP/Method/Wrapped.pm line 91
        VKino::dispatch('VKino=HASH(0x2143a018)') called at /usr/lib64/perl5/
site_perl/5.12.3/Catalyst.pm line 1952
        eval {...} called at /usr/lib64/perl5/site_perl/5.12.3/Catalyst.pm
line 1943
        Catalyst::handle_request('VKino',
'Apache2::RequestRec=SCALAR(0x213a49f8)') called at /usr/lib64/perl5/
site_perl/5.12.3/Catalyst.pm line 2629
        Catalyst::__ANON__('VKino', 'Apache2::RequestRec=SCALAR(0x213a49f8)')
called at /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/
Text/Xslate/Compiler.pm line 0
        eval {...} called at /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-
thread-multi/Text/Xslate/Compiler.pm line 0


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fuji, Goro  
View profile  
 More options Jul 25 2011, 11:41 am
From: "Fuji, Goro" <g.psy...@gmail.com>
Date: Tue, 26 Jul 2011 00:41:05 +0900
Local: Mon, Jul 25 2011 11:41 am
Subject: Re: [xslate:2] You are overwriting a locally defined function (type)
Hi,

The warnings might come from Xslate (Xlsate compiler), the information
is not enough to show your problem clearly.

What does "restart" mean? reloading the process or restarting httpd?
What is the environment? mod_perl, fastcgi, or starman?
Does the warnings only occur after restarting?

--
Fuji, Goro (@__gfx__)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maxim Gurets  
View profile  
 More options Jul 26 2011, 5:52 am
From: Maxim Gurets <gur...@gmail.com>
Date: Tue, 26 Jul 2011 02:52:08 -0700 (PDT)
Local: Tues, Jul 26 2011 5:52 am
Subject: Re: You are overwriting a locally defined function (type)
Hi.
restart - restart httpd (apache 2.2)
Catalyst running under mod_perl
Warning occurs only after restart.

On Jul 25, 7:41 pm, "Fuji, Goro" <g.psy...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fuji, Goro  
View profile  
 More options Jul 26 2011, 10:02 pm
From: "Fuji, Goro" <g.psy...@gmail.com>
Date: Wed, 27 Jul 2011 11:02:05 +0900
Local: Tues, Jul 26 2011 10:02 pm
Subject: Re: [xslate:4] Re: You are overwriting a locally defined function (type)
Hi,

According to mod_perl experts "restart" with mod_perl is broken.
Try "stop & start" instead of "restart".

--
Fuji, Goro (@__gfx__)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maxim Gurets  
View profile  
 More options Aug 9 2011, 9:33 am
From: Maxim Gurets <gur...@gmail.com>
Date: Tue, 9 Aug 2011 06:33:17 -0700 (PDT)
Local: Tues, Aug 9 2011 9:33 am
Subject: Re: You are overwriting a locally defined function (type)
Does not work.

On 27 июл, 06:02, "Fuji, Goro" <g.psy...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »