Re: [Catalyst] Catalyst::Plugin::Email not working
Hi, Have you tried running a tcpdump on the session to see what's being sent to the mail server? Cheers, Andy. On Thu, Dec 3, 2009 at 5:54 AM, Meeko meeko.li...@gmail.com wrote: I did what you said, wrapping in an eval, and no errors occured. However, I think I have narrowed the problem down some. Here is what I have discovered: I changed the configuration of Catalyst::Plugin::Email to use an unauthenticated SMTP server which I own (I have relaying disabled, and only have the IP address of my web server on the allow relay domains - so its not an open relay). This is actually the SMTP server that my other non-Catalyst Net::SMTP scripts use. Well, needless to say, once I changed that the Catalyst app began happily sending e-mails with Catalyst::Plugin::Email I could keep it this way if I had to, but would rather not because I don't know how long I am going to keep this other mail server around. This was part of the reason why I began moving my e-mail activity to Rackspace, I don't want to have to deal with maintaining a mail server in the future. So anyway, back to Catalyst::Plugin::Email with authenticated SMTP... I think the issue I am having is actually with the username and passwords being sent encrypted in Base64. I have verified that I am able to perform an AUTH LOGIN on the Rackspace SMTP server from my web server by doing a telnet my.smtp.server 25; HELO host; AUTH LOGIN; Base64 encoded Username; Base64 encoded Password, and I get a 235 2.7.0 Authentication successful. So I know this web server is capable of authenticating on the SMTP server. So now my thoughts turn to, why would the username and password not be encoded properly with perl on my web server, but it does work on my Mac at home? Just as a quickie, I updated my MIME::Base64 to the newest version, and re-started. No such luck. Any other ideas on where to look next, now that I have been able to uncover more information? On Wed, Dec 2, 2009 at 9:53 PM, Charlie Garrison garri...@zeta.org.auwrote: Good afternoon, On 2/12/09 at 8:51 PM -0500, Meeko meeko.li...@gmail.com wrote: SELinux is disabled (see below). Also, on the same machine I have several other non-Catalyst perl apps that I use Net::SMTP to send e-mail with, and they work fine so I know that e-mail can get out on this machine. There's just something about Catalyst::Plugin::Email that is not sending them, and leaving no visible errors/warnings/logs that I can find to try to figure out why. How about wrapping the $c-email() statement in eval {} and checking for errors? I don't know if that will help but easy enough to test. Charlie -- Ꮚ Charlie Garrison ♊ garri...@zeta.org.au 〠 PO Box 141, Windsor, NSW 2756, Australia O ascii ribbon campaign - stop html mail - www.asciiribbon.org http://www.ietf.org/rfc/rfc1855.txt ___ 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/ ___ 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/ ___ 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] advent calendar/2009/3
Hi everyone. Has one of you tested the blog example from advent calender - day 3 ? (svn co http://dev.catalystframework.org/repos/Catalyst/trunk/examples/Advent09FormHandlerBlog) I tried that but I got this error message ?? Couldn't instantiate component Blog::Model::DB, Cannot load schema class 'Blog::Schema': abs2rel is not exported by the File::Spec module Can't continue after import errors at /home/lenski/temp/Advent09FormHandlerBlog/Blog/script/../lib/Blog/Schema.pm line 7 BEGIN failed--compilation aborted at /home/lenski/temp/Advent09FormHandlerBlog/Blog/script/../lib/Blog/Schema.pm line 7. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Model/DBIC/Schema.pm line 271. at script/blog_server.pl line 66 at script/blog_server.pl line 66 Compilation failed in require at script/blog_server.pl line 66. I'm wondering how that example should work without any model? What I'm doing wrong? Thanks in advance - cheers, Ulf. attachment: lenski.vcf___ 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] How to execute a script
Hi everyone, I am new to Catalyst, and I just want to execute a script from Controller in Catalyst, something like this: system(perl /path/to/my/script.pl); But when I wrote this in an action, nothing happen. Could anyone give an advice. Thanks in advanced. hatrungttha. ___ 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] How to execute a script
2009/12/3 Ha, Tuan Trung hatrungt...@gmail.com: Hi everyone, I am new to Catalyst, and I just want to execute a script from Controller in Catalyst, something like this: system(perl /path/to/my/script.pl); But when I wrote this in an action, nothing happen. You'll have to paste the exact code for us to help here, I think. Could anyone give an advice. Does it work from command line? Does the script itself work? What is the exit-status ($? 8) of the system()'d script? How long does the script run for? If it's at all long-running (or could conceivably be, e.g. under heavy system load) then you should run it outside Catalyst, IMO, rather than pegging your response time to the time taken for the script to execute. Anyway, barring TCP timeouts, it's unlikely to be a Catalyst issue. Make sure the script works standalone and work backwards from there.. /joel ___ 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] advent calendar/2009/3
svn url might be handier to announce. On Thu, 2009-12-03 at 10:55 +0100, Ulf Lenski wrote: Hi everyone. Has one of you tested the blog example from advent calender - day 3 ? (svn co http://dev.catalystframework.org/repos/Catalyst/trunk/examples/Advent09FormHandlerBlog) I tried that but I got this error message ?? Couldn't instantiate component Blog::Model::DB, Cannot load schema class 'Blog::Schema': abs2rel is not exported by the File::Spec module Can't continue after import errors at /home/lenski/temp/Advent09FormHandlerBlog/Blog/script/../lib/Blog/Schema.pm line 7 BEGIN failed--compilation aborted at /home/lenski/temp/Advent09FormHandlerBlog/Blog/script/../lib/Blog/Schema.pm line 7. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Model/DBIC/Schema.pm line 271. at script/blog_server.pl line 66 at script/blog_server.pl line 66 Compilation failed in require at script/blog_server.pl line 66. I'm wondering how that example should work without any model? What I'm doing wrong? Thanks in advance - cheers, Ulf. ___ 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/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ 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::Plugin::Email not working
On Thu, Dec 3, 2009 at 9:02 PM, Alexander Hartmaier alexander.hartma...@t-systems.at wrote: You shouldn't use C::P::Email any more, there is no need for that function to be a Catalyst plugin. Take a look at Catalyst::View::Email(::Template) instead! I agree. There's a working example with Catalyst::View::Email::Template in chapter 11 of the book (source code available from here: http://www.apress.com/book/view/1430223650 ) ___ 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] How to execute a script
Joel Bernstein escribió: 2009/12/3 Ha, Tuan Trung hatrungt...@gmail.com: Hi everyone, I am new to Catalyst, and I just want to execute a script from Controller in Catalyst, something like this: system(perl /path/to/my/script.pl); I've had to do this: { local $SIG{'CHLD'} = 'DEFAULT'; my $ret = system(...); } Note: I'm using the devel server in forked mode, and using a quite old Catalyst (debian etch distro). Jose Luis Martinez jlmarti...@capside.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/
Re: [Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80015
From: Tomas Doran bobtf...@bobtfish.net Hiya. I'm pleased to announce a new stable release of Catalyst-Runtime (5.80015). This release mainly wraps up the new features and bugfixes previewed in 5.80014_01 and 5.80014_02. I've tried to install it under Windows XP Pro, and it gave the following error: E:\perl510\cpan\build\Catalyst-Runtime-5.80015-pdAEnAprove -l t/aggregate/utf8_content_length.t t/aggregate/utf8_content_length.t .. 1/? # Failed test '/binary correct content length' # at t/aggregate/utf8_content_length.t line 21. # got: '5700' # expected: '5701' # Failed test '/binary_utf8 correct content length' # at t/aggregate/utf8_content_length.t line 26. # got: '5700' # expected: '5701' # Looks like you failed 2 tests of 6. t/aggregate/utf8_content_length.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/6 subtests Test Summary Report --- t/aggregate/utf8_content_length.t (Wstat: 512 Tests: 6 Failed: 2) Failed tests: 3, 6 Non-zero exit status: 2 Files=1, Tests=6, 0 wallclock secs ( 0.01 usr + 0.01 sys = 0.03 CPU) Result: FAIL E:\perl510\cpan\build\Catalyst-Runtime-5.80015-pdAEnA HTH. Octavian ___ 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] [ANNOUNCE] Catalyst-Runtime 5.80015
Tomas Doran schrieb: I'm pleased to announce a new stable release of Catalyst-Runtime (5.80015). This release mainly wraps up the new features and bugfixes previewed in 5.80014_01 and 5.80014_02. Thanks for that. I really appreciate your(*) effort. Significant changes are for people running FastCGI - paths containing special characters and Unicode issues are now handled better in some cases. Concerning encoding problems with FastCGI I don't see any improvement. Esp. the problem that was discussed in the thread starting with http://lists.scsys.co.uk/pipermail/catalyst/2009-November/023907.html still exists, even though it would be really easy to fix. Therefore I filed a bug report and hope to find it in 5.80016. Bernhard Graf (*) your = all contributors ___ 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] Changing START_TAG and END_TAG of TT template
Hi all: I create an app called MyApp, and wish its templates could be edit by DW or other HTML editors, without displaying [% %] template tags in HTML view. So I replace [% %] with ? ? tags, and write these codes in my MyApp.pm __PACKAGE__-config( name = 'MyApp', 'View::TT' = { # any TT configurations items go here INCLUDE_PATH = [ MyApp-path_to( 'root', 'src' ), MyApp-path_to( 'root', 'lib' ), ], TEMPLATE_EXTENSION = '.tt', CATALYST_VAR = 'c', TIMER= 1, START_TAG = '?', END_TAG = '?', }, #TIMER = 1, #START_TAG = '?', #END_TAG = '?', ); But seems START_TAG and END_TAG are not forwarded to TT.pm class. Is there any other Template class to achieve this? Thanks in advance. -- Gung Shi Jie Department of Computer Science and Information Engineering, National Chung Cheng University Republic of Taiwan ___ 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] Changing START_TAG and END_TAG of TT template
Hi all: I create an app called MyApp, and wish its templates could be edit by DW or other HTML editors, without displaying [% %] template tags in HTML view. So I replace [% %] with ? ? tags, and write these codes in my MyApp.pm __PACKAGE__-config( name = 'MyApp', 'View::TT' = { # any TT configurations items go here INCLUDE_PATH = [ MyApp-path_to( 'root', 'src' ), MyApp-path_to( 'root', 'lib' ), ], TEMPLATE_EXTENSION = '.tt', CATALYST_VAR = 'c', TIMER = 1, START_TAG = '?', END_TAG = '?', }, #TIMER = 1, #START_TAG = '?', #END_TAG = '?', ); But seems START_TAG and END_TAG are not forwarded to TT.pm class. Is there any other Template class to achieve this? Thanks in advance. Sorry for that previous html post. -- Gung Shi Jie Department of Computer Science and Information Engineering, National Chung Cheng University Republic of Taiwan ___ 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] Changing START_TAG and END_TAG of TT template
Just to rule out the obvious - you try this after uncommenting those lines from the config options? from ... #START_TAG = '?', #END_TAG = '?', ); to ... START_TAG = '?', END_TAG = '?', ); (or perhaps): TAG_STYLE = 'php', ); ___ 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] How to execute a script
On 3 Dec 2009, at 12:00, Jose Luis Martinez wrote: Note: I'm using the devel server in forked mode, and using a quite old Catalyst (debian etch distro). This was fixed in 5.8000_06 (ergo the first 5.80 stable release on 2009-04-18). Cheers t0m ___ 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] [ANNOUNCE] Catalyst-Runtime 5.80015
On 3 Dec 2009, at 14:46, Bernhard Graf wrote: Concerning encoding problems with FastCGI I don't see any improvement. Esp. the problem that was discussed in the thread starting with http://lists.scsys.co.uk/pipermail/catalyst/2009-November/023907.html still exists, even though it would be really easy to fix. Therefore I filed a bug report and hope to find it in 5.80016. Yep, thanks for that. I haven't found the time to get a test case replicated in the Catalyst test suite yet, and I'd also look into what FCGI.pm is doing (or not doing) a little more closely before just dropping a downgrade in the FCGI engine. This bug is, however firmly on my list for the next release. Cheers t0m ___ 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] [ANNOUNCE] Catalyst-Runtime 5.80015
On 3 Dec 2009, at 13:11, Octavian Râsnita wrote: From: Tomas Doran bobtf...@bobtfish.net Hiya. I'm pleased to announce a new stable release of Catalyst-Runtime (5.80015). This release mainly wraps up the new features and bugfixes previewed in 5.80014_01 and 5.80014_02. I've tried to install it under Windows XP Pro, and it gave the following error: Interesting, especially as it's off by 1 byte only. But I need some more details to be able to get anywhere with this. Specifically: What perl build you have, your perl -V and what version of Encode.pm you have. If you could install CPAN::Reporter and send a proper CPAN testers report also that'd be great. Cheers t0m ___ 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] Changing START_TAG and END_TAG of TT template
Just to rule out the obvious - you try this after uncommenting those lines from the config options? Sorry, ignore that bit. Use TAG_STYLE = 'php' or quote those tag strings as suggested in docs: START_TAG = quotemeta( '?' ) http://search.cpan.org/~abw/Template-Toolkit-2.22/lib/Template/Manual/Config.pod ___ 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] [ANNOUNCE] Catalyst-Runtime 5.80015
From: Tomas Doran bobtf...@bobtfish.net Hiya. I'm pleased to announce a new stable release of Catalyst-Runtime (5.80015). This release mainly wraps up the new features and bugfixes previewed in 5.80014_01 and 5.80014_02. I've tried to install it under Windows XP Pro, and it gave the following error: Interesting, especially as it's off by 1 byte only. But I need some more details to be able to get anywhere with this. Specifically: What perl build you have, your perl -V and what version of Encode.pm you have. I have Encode v 2.39 and: This is perl, v5.10.0 built for MSWin32-x86-multi-thread (with 5 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 1004 [287188] provided by ActiveState http://www.ActiveState.com Built Sep 3 2008 13:16:37 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using man perl or perldoc perl. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=MSWin32, osvers=5.00, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='12.0.8804', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags '-nologo -nodefaultlib -debug -opt:ref,icf -libpath:E:\perl510\lib\CORE -machine:x86' libpth=\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl510.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:E:\perl510\lib\CORE -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 1004 [287188] 33741 avoids segfaults invoking S_raise_signal() (on Linux) 33763 Win32 process ids can have more than 16 bits 32809 Load 'loadable object' with non-default file extension 32728 64-bit fix for Time::Local Built under MSWin32 Compiled at Sep 3 2008 13:16:37 %ENV: PERL5LIB=e:\lucru\catalyst\support\lib @INC: e:\lucru\catalyst\support\lib E:/perl510/site/lib E:/perl510/lib . If you could install CPAN::Reporter and send a proper CPAN testers report also that'd be great. I've just done it. Although the report doesn't appear for the moment on cpan.org, but here is a link to another failed report under Windows, with Perl 5.8.8, with the same error: http://www.nntp.perl.org/group/perl.cpan.testers/2009/12/msg6320756.html Octavian ___ 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] RESTful client
OK, let me just clarify my question to narrow down the problem. How does your catalyst application consume remote web services, especially for RESTful? I'm trying to shift a paradigm of a data mining from local (using DBIC) to remote resources. There are so much reliable services which make my coding life so happy ;) Cheers, Sung 2009/12/2 Tomas Doran bobtf...@bobtfish.net: On 2 Dec 2009, at 12:12, Sungsam Gong wrote: How do you guys implement your client? If at all possible, outside my web application. Waiting for page builds whilst calling out to a remote HTTP service implicitly ties your site's best case performance of that of the remote web service, which kinda sucks :) Cheers t0m ___ 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/ ___ 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] How to execute a script
Hi Joel, Jose and Tom, Thank you very much for your help. My fault, I updated to 5.800013, and script run fine. To Joel: Thank you for your opinion, however, I want to build a site where user could do some batch work on the server. So whenever user click on a button, I execute another process on server. And when things done, I alert user by mail to check the result. So I think TCP time out will not be a problem. :). hatrungttha. On Fri, Dec 4, 2009 at 3:29 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 3 Dec 2009, at 12:00, Jose Luis Martinez wrote: Note: I'm using the devel server in forked mode, and using a quite old Catalyst (debian etch distro). This was fixed in 5.8000_06 (ergo the first 5.80 stable release on 2009-04-18). Cheers t0m ___ 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/ ___ 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] Changing START_TAG and END_TAG of TT template
Thank you, I found in the document that I can also write !--[% TAGS php %]--! at the first line of my template. It works. On Fri, Dec 4, 2009 at 4:48 AM, Ian Sillitoe i...@sillit.com wrote: Sorry, ignore that bit. Use TAG_STYLE = 'php' or quote those tag strings as suggested in docs: START_TAG = quotemeta( '?' ) http://search.cpan.org/~abw/Template-Toolkit-2.22/lib/Template/Manual/Config.pod ___ 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] [ANNOUNCE] Catalyst-Runtime 5.80015
On Thu, 03 Dec 2009, Tomas Doran wrote: On 3 Dec 2009, at 13:11, Octavian Râsnita wrote: From: Tomas Doran bobtf...@bobtfish.net Hiya. I'm pleased to announce a new stable release of Catalyst-Runtime (5.80015). This release mainly wraps up the new features and bugfixes previewed in 5.80014_01 and 5.80014_02. I've tried to install it under Windows XP Pro, and it gave the following error: Interesting, especially as it's off by 1 byte only. That sounds like it might be a new line issue, if only one line was involved. ___ 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/