[Catalyst] Weird error with View::JSON

Devin Austin devin.austin at gmail.com
Tue Sep 7 18:16:38 GMT 2010


On Tue, Sep 7, 2010 at 12:10 PM, Mesdaq, Ali <amesdaq 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]
> *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> wrote:
>
> Hey all,
>
> I am getting a weird error when I start/restart my catalyst server. The
> error 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/share/perl/5.10.0/Catalyst/Component.pm line 72
>        Class::MOP::Class:::around('CODE(0xad23638)',
> 'web::View::JSON=3DHASH(0xb909088)', 'web::View::JSON') called at
> /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 159
>
>  Class::MOP::Method::Wrapped::__ANON__('web::View::JSON=3DHASH(0xb909088)=
',
> 'web::View::JSON') called at
> /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
>
>  Catalyst::Component::catalyst_component_name('web::View::JSON=3DHASH(0xb=
909088)',
> 'web::View::JSON') called at /usr/share/perl5/Catalyst/View/JSON.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(0xaef5488)') 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
> 2328
>        Catalyst::setup_component('web', 'web::View::JSON') called at
> /usr/local/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/web/script/../lib/web.pm line 61
>        require web.pm called at script/web_server.pl line 66
>        main::__ANON__() called at
> /usr/local/share/perl/5.10.0/Catalyst/Restarter/Forking.pm line 20
>
>  Catalyst::Restarter::Forking::_fork_and_start('Catalyst::Restarter::Fork=
ing=3DHASH(0xaee37d8)')
> called at /usr/local/share/perl/5.10.0/Catalyst/Restarter.pm line 68
>
>  Catalyst::Restarter::run_and_watch('Catalyst::Restarter::Forking=3DHASH(=
0xaee37d8)')
> called at script/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
>
> Websense TRITON=99
> For Essential Information Protection=99
> Web Security | Data Security | Email Security
>
>
>
>
>  Protected by Websense Hosted Email Security -- www.websense.com
>
> _______________________________________________
> List: 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/uwu5ZR6jAdzTndxI!oX7Uo9cpkuWnN=
qk7GcA6uNfeErgFbgbcUk1OE5w7THqwvWcvLNars4x0jXX9jTmmkEZ8A=3D=3D>to report th=
is email as spam.
>
> _______________________________________________
> List: 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/7c04f=
5aa/attachment.htm


More information about the Catalyst mailing list