[Catalyst] Weird error with View::JSON

Mesdaq, Ali amesdaq at websense.com
Tue Sep 7 18:26:44 GMT 2010


Same errors.

Thanks,
------------------------------------------
Ali Mesdaq (CISSP, GIAC-GREM)
Sr. Security Researcher
Websense Security Labs
http://www.WebsenseSecurityLabs.com<http://www.websensesecuritylabs.com/>
------------------------------------------

From: Devin Austin [mailto:devin.austin at gmail.com]
Sent: Tuesday, September 07, 2010 11:17 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Weird error with View::JSON


On Tue, Sep 7, 2010 at 12:10 PM, Mesdaq, Ali <amesdaq at websense.com<mailto:a=
mesdaq at websense.com>> wrote:
package web::View::JSON;

use strict;
use warnings;
use parent 'Catalyst::View::JSON';

1;

Thanks,
------------------------------------------
Ali Mesdaq (CISSP, GIAC-GREM)
Sr. Security Researcher
Websense Security Labs
http://www.WebsenseSecurityLabs.com<http://www.websensesecuritylabs.com/>
------------------------------------------

From: Devin Austin [mailto:devin.austin at gmail.com<mailto:devin.austin at gmail=
.com>]
Sent: Tuesday, September 07, 2010 10:52 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Weird error with View::JSON


On Tue, Sep 7, 2010 at 10:42 AM, Mesdaq, Ali <amesdaq at websense.com<mailto:a=
mesdaq at websense.com>> wrote:
Hey all,

I am getting a weird error when I start/restart my catalyst server. The err=
or does not seem to be stopping anything from working from what I can tell.

This is the error:
Tried to write to the catalyst_component_name accessor - is your component =
broken or just mad? (Write ignored - using default value.) at /usr/local/sh=
are/perl/5.10.0/Catalyst/Component.pm line 72
       Class::MOP::Class:::around('CODE(0xad23638)', 'web::View::JSON=3DHAS=
H(0xb909088)', 'web::View::JSON') called at /usr/local/lib/perl/5.10.0/Clas=
s/MOP/Method/Wrapped.pm line 159
       Class::MOP::Method::Wrapped::__ANON__('web::View::JSON=3DHASH(0xb909=
088)', 'web::View::JSON') called at /usr/local/lib/perl/5.10.0/Class/MOP/Me=
thod/Wrapped.pm line 89
       Catalyst::Component::catalyst_component_name('web::View::JSON=3DHASH=
(0xb909088)', 'web::View::JSON') called at /usr/share/perl5/Catalyst/View/J=
SON.pm line 19
       Catalyst::View::JSON::new('web::View::JSON', 'web', 'HASH(0xaef5488)=
') called at /usr/local/share/perl/5.10.0/Catalyst/Component.pm line 110
       Catalyst::Component::COMPONENT('web::View::JSON', 'web', 'HASH(0xaef=
5488)') called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2328
       eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2=
328
       Catalyst::setup_component('web', 'web::View::JSON') called at /usr/l=
ocal/share/perl/5.10.0/Catalyst.pm line 2242
       Catalyst::setup_components('web') called at /usr/local/share/perl/5.=
10.0/Catalyst.pm line 1125
       Catalyst::setup('web') called at /SecTech/trunk/job/tests/tatooine/w=
eb/script/../lib/web.pm<http://web.pm> line 61
       require web.pm<http://web.pm> called at script/web_server.pl<http://=
web_server.pl> line 66
       main::__ANON__() called at /usr/local/share/perl/5.10.0/Catalyst/Res=
tarter/Forking.pm line 20
       Catalyst::Restarter::Forking::_fork_and_start('Catalyst::Restarter::=
Forking=3DHASH(0xaee37d8)') called at /usr/local/share/perl/5.10.0/Catalyst=
/Restarter.pm line 68
       Catalyst::Restarter::run_and_watch('Catalyst::Restarter::Forking=3DH=
ASH(0xaee37d8)') called at script/web_server.pl<http://web_server.pl> line =
104


Any ideas or pointers would be appreciated.

Thanks,
ALI MESDAQ
Sr. Security Researcher

WEBSENSE, INC.
ph: +1.858.320.9466
fax: +1.858.784.4466
www.websense.com<http://www.websense.com>

Websense TRITON=99
For Essential Information Protection=99
Web Security | Data Security | Email Security




 Protected by Websense Hosted Email Security -- www.websense.com<http://www=
.websense.com>

_______________________________________________
List: Catalyst at lists.scsys.co.uk<mailto:Catalyst at lists.scsys.co.uk>
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

What does your View::JSON look like?

--
Devin Austin
http://www.codedright.net
9702906669 - Cell

Click here<https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg=3D=3D> to =
report this email as spam.

_______________________________________________
List: Catalyst at lists.scsys.co.uk<mailto:Catalyst at lists.scsys.co.uk>
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

What happens when you run it without the development server restarter stuff?

--
Devin Austin
http://www.codedright.net
9702906669 - Cell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100907/e4a81=
425/attachment.htm


More information about the Catalyst mailing list