Re: [Perl-workflow-devel] Problem running workflow example (MyApp::Condition::CanAnnotate)
Brought to you by:
jonasbn
From: Jonas B. N. <jo...@gm...> - 2010-11-21 16:53:42
|
Hi Thomas, One could argue that the sample should work out of the box. I am sorry that it does not. I will investigate and have a look if we can improve the sample. Please let us know if you experience other issues or run into problems. jonasbn -- AIM: BjonasN Gtalk: jo...@gm... ICQ: 62401545 MSN: jo...@io... twitter: jonasbn blog: http://e-diot.dk/ On 20/11/2010, at 05.51, Alejandro Imass wrote: > On Fri, Nov 19, 2010 at 8:58 PM, Thomas Elsgaard > <tho...@gm...> wrote: >> Hi Guys >> I am trying to get started with workflow, and i am trying to run the example >> from cpan, but i am ending up in this error: >> perl workflow.pl > >> Log4perl: Seems like no initialization happened. Forgot to call init()? >> Cannot include condition class 'MyApp::Condition::CanAnnotate': Can't locate >> MyApp/Condition/CanAnnotate.pm in @INC (@INC contains: > > The error seems pretty obvious. Assuming that you actually have the > class and path above, run this and see if you have a . (dot) in one of > the @INC paths: > > perl -e 'print "$_\n" foreach @INC' > > If not, you must use the -I switch to perl and add the path to your > classes manually. I don't think that's your problem though because I'm > pretty sure I'm seeing the dot below: > >> /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level >> /Library/Perl/Updates/5.10.0 >> /System/Library/Perl/5.10.0/darwin-thread-multi-2level >> /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level >> /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level >> /Network/Library/Perl/5.10.0 /Network/Library/Perl >> /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level >> /System/Library/Perl/Extras/5.10.0 .) at (eval 921) line 3. >> Any good ideas? > > Yeap. Write the class code in the correct namespace or copy you sample > code here to see. > >> perl -v >> This is perl, v5.10.0 built for darwin-thread-multi-2level >> > > Dude, if you're a Mac user shouldn't you be advertising Safari instead > of MS IE 9 Beta? > Or is that SourceForge advertisement below ??? > >> ------------------------------------------------------------------------------ >> Beautiful is writing same markup. Internet Explorer 9 supports >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >> Spend less time writing and rewriting code and more time creating great >> experiences on the web. Be a part of the beta today >> http://p.sf.net/sfu/msIE9-sfdev2dev >> _______________________________________________ >> Perl-workflow-devel mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perl-workflow-devel > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > _______________________________________________ > Perl-workflow-devel mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-workflow-devel |