[Catalyst] make catalyst_par - Error 2
Hi, I have been trying to do a PAR deployment, however, when I run "make catalyst_par", it appears to run fine for awhile, but ends with: Writing PAR "ipw.par" make: *** [catalyst_par] Error 2 After much digging, I found where the error is occurring in the _execute method of Module::ScanDeps ($VERSION = '0.84') at the following line: system($perl, (map { "-I$_" } @IncludeLibs), $fname) == 0 or die "SYSTEM ERROR in executing $file: $?"; In this particular case, @IncludeLibs is empty. I'm not sure if that is significant... $perl and $fname have reasonable values. I appreciate any help in understanding this. Is it a bug? Or does it indicate that something is missing from my Makefile.PL? Is there additional information that I should provide? Thanks, - Russ ___ 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/
Re: [Catalyst] Actions as Moose::Role
> Well - I was not sure about that - but with "use base > 'Catalyst::Controller';" I get: > > Could not load class (Base) because : Can't locate object method > "linearized_isa" via package "Moose::Meta::Role" at > > /home/zby/progs/Catalyst-Runtime/5.80/branches/moose/lib/Catalyst/ClassData.pm > line 23. Roles can't have base classes kids! The attributes problem is a known issue and it kills me as well and I promise you I am trying to fix it. Just give me some time and hopefully by the time we are merged back to 5.8 trunk then I'll have come up wit a work-around or a fix. It all stems from the compile vs run time thing (moose = run time). Ideas welcome -- Guillermo Roditi (groditi) ___ 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/
[Catalyst] Catalyst on Windows via FastCGI?
Hi everyone, I'm wondering if anyone can point me at a winning recipe for getting Catalyst running on a Windows server via FastCGI? I've been having a lot of trouble getting FastCGI working at all on Windows. We're running the official binary distribution of Apache 2.2.9 on Windows Server 2003. So far I've tried the DLL from fastcgi.com, a mod_fastcgi.so that I compiled myself against the headers and libraries from the Apache distribution, and the binary distribution of mod_fcgid; no luck on any of them. I have this line in my Apache config: FastCgiServer F:/path/to/app/scripts/app_fastcgi.pl Requests return a 500 Server Error and I keep on getting messages like this in the error log: [Wed Jun 18 01:27:08 2008] [warn] FastCGI: server "F:/path/to/app/ scripts/app_fastcgi.pl" (pid 3116) terminated with exit with status '0' [Wed Jun 18 01:27:13 2008] [warn] FastCGI: server "F:/path/to/app/ scripts/app_fastcgi.pl" restarted (pid 2164) When I run the app at the command-line it spits out headers and Hello World just fine. The app also works under the test server. FastCGI works if I use FastCgiExternalServer and run the app on a UNIX box; I can't do that running the app on a Windows box thought, because the process manager module that Catalyst uses for FastCGI uses SA_RESTART which doesn't work on Windows. I'm running Strawberry Perl 5.10.0.1 with Catalyst and friends installed from CPAN. I'm willing to change any of this up to get things working, I don't really care what combination of web server and Perl I run as long as I end up with Catalyst running under FastCGI on Windows. Can anyone help me out? -- Jordan ___ 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/
Re: [Catalyst] Unkown error
Le Wed, 18 Jun 2008 22:53:28 +0200, "Frank Wiegand" <[EMAIL PROTECTED]> a écrit : > Hi, > > 2008/6/19, dab <[EMAIL PROTECTED]>: > > I use Catalyst 5.7014 and Perl 5.10 and i dont understand why I > > have this type of error > ... > > Unknown error > > Looks like an error in perl itself: > http://rt.perl.org/rt3/Public/Bug/Display.html?id=49472 > > This issue has been fixed in the latest development version of perl > (bleadperl). > > You have three choices (kind of): > > - don't use 5.10 > - use bleadperl or 5.8.8 > - don't write code that triggers that kind of error ;-) :-) ok thank Franck ___ 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/
Re: [Catalyst] Unkown error
Hi, 2008/6/19, dab <[EMAIL PROTECTED]>: > I use Catalyst 5.7014 and Perl 5.10 and i dont understand why I have > this type of error ... > Unknown error Looks like an error in perl itself: http://rt.perl.org/rt3/Public/Bug/Display.html?id=49472 This issue has been fixed in the latest development version of perl (bleadperl). You have three choices (kind of): - don't use 5.10 - use bleadperl or 5.8.8 - don't write code that triggers that kind of error ;-) Bye, Frank ___ 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/
[Catalyst] Unkown error
hi, I use Catalyst 5.7014 and Perl 5.10 and i dont understand why I have this type of error A simple example: catalyst.pl myapp cd myapp I add an error in Root.pm --- sub index : Path Args(0) { my ( $self, $c ) = @_; # Hello World $c->response->body( $c->welcome_message ); TheError; } -- ./script/myapp_server.pl Unknown error Compilation failed in require at /home/dab/perl5/lib/perl5/Catalyst/Utils.pm line 270. Compilation failed in require at ./script/myapp_server.pl line 55. It is very difficult to find a mistake with what returns catalyst :( How can i debug application with this type of message ? note: I dont have this problem with Perl 5.8.8 Thank ___ 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/
Re: [Catalyst] Re: Catalyst site design drafts feedback thread
On 18.06.2008, at 00:18, Aristotle Pagaltzis wrote: * Tobias Kremer <[EMAIL PROTECTED]> [2008-06-17 16:05]: A width of 960 pixels is the current standard Any less than a 1020px window and I get a horizontal scrollbar. That is why I noticed at all. Ah yes, that's because of the padding around the 960px to keep the content from clinging directly to the browser window when it gets too small. resolution. I did that on a site I worked on last year based on directions from the designer we were working with, and it produced a very nice effect. Unfortunately it’s no longer online, but I can let you take a look on my dev box if you want. Show me! :) --Tobias ___ 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/
Re: [Catalyst] Catalyst site design drafts feedback thread
Drew Taylor ha scritto: On Wed, Jun 11, 2008 at 8:54 PM, Matt S Trout <[EMAIL PROTECTED]> wrote: Simon Elliott (1) http://www.browsing.co.uk/cat I liked this one the most of the original designs. However, I now prefer Tobias' version at http://www.funkreich.de/catalyst/. One suggestion, I suggest incorporating a list of recent blogs/news as in Simon's design. To me, that indicates the "freshness", for lack of a better word, of the project and its community. And to everyone, keep up the good work! Drew I put my vote to this new design! -- Marcello Romani Responsabile IT Ottotecnica s.r.l. http://www.ottotecnica.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/