FAQ

On Tue, Sep 7, 2010 at 12:10 PM, Mesdaq, Ali 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
*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 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=HASH(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=HASH(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=HASH(0xb909088)',
'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::Forking=HASH(0xaee37d8)')
called at /usr/local/share/perl/5.10.0/Catalyst/Restarter.pm line 68

Catalyst::Restarter::run_and_watch('Catalyst::Restarter::Forking=HASH(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�
For Essential Information Protection�
Web Security | Data Security | Email Security




Protected by Websense Hosted Email Security -- www.websense.com

_______________________________________________
List: Catalyst@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!oX7Uo9cpkuWnNqk7GcA6uNfeErgFbgbcUk1OE5w7THqwvWcvLNars4x0jXX9jTmmkEZ8A==>to report this email as spam.

_______________________________________________
List: Catalyst@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/7c04f5aa/attachment.htm

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 7 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedSep 7, '10 at 4:42p
activeSep 8, '10 at 3:42p
posts7
users3
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2021 Grokbase