Re: [Catalyst] Progress bar
I'm not following the thread but, did you guys know about http://wiki.nginx.org/HttpUploadProgressModule. ? They work together with upload module, and dont overload your backend with upload files, nginx handle that and just pass the file path to the backend. -- Lorn On Wednesday, 24 de October de 2012 at 02:33, Toby Corkindale wrote: I was just investigating why the upload progress bar was broken on one of my apps.. came here to make a post and discovered this thread. Well, at least that's the first question answered! Given the caveats around Starman and WebKit browsers, are there any other suggestions for how to do upload progress indicators? Is this something we can do via HTML5 neater? Are there any open-source Flash implementations? Cheers, Toby On 22 October 2012 09:42, Bill Moseley mose...@hank.org wrote: On Sat, Oct 20, 2012 at 1:51 PM, Tomas Doran bobtf...@bobtfish.net wrote: And UploadProgress is shipped, should be available once it's reindexed (permissions cock up), which should be shortly :) So, when running under Starman the uploads are buffered before chunked to Catalyst, which means the progress bar data isn't updated until the upload has completed. This renders the upload progress bar pretty useless with Starman. The progress bar works fine running the app under mod_perl. I suppose using something like Nginx or Perlbal in front of the app would work (because those do cache uploads but also provide a hook for reading upload progress). But, we already have hardware load balancers in front of the app, so don't really need an extra proxy in front of every web server. Any other options? Using a upload/request caching proxy is probably THE correct answer since don't really want to tie up the app with slow uploads. I guess I should test, but I wonder if there's a limit on what Starman will buffer -- I assume it's buffering in memory. -- Bill Moseley mose...@hank.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/ -- Turning and turning in the widening gyre The falcon cannot hear the falconer Things fall apart; the center cannot hold Mere anarchy is loosed upon the world ___ 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] Cat App on dotcloud
Hi Dermot, I got the same issue and open a ticket in dotcloud and they answered: * Jérôme Petazzoni, Sep-05 21:46 (PDT):* Hi, I remember that had a very similar issue when I tried to run Catalyst on DotCloud. Assuming that you used Catalyst::Devel to generate a Catalyst app skeleton, did you run perl Makefile.PL locally, to generate meta.yml and the inc directory? Best regards, This work for me :) On Tue, Nov 1, 2011 at 8:27 AM, Dermot paik...@googlemail.com wrote: On 1 November 2011 01:51, Richard Thomas r...@mac.com wrote: Does anyone have any experience of deploying a Cat App onto dotcloud? I have an cat app that works fine on my pc using the built-in server but doesn't work on dotcloud. Hi Dermot, I have a Catalyst-based app running successfully on DotCloud. I have seen a couple of examples but seem to have come un-stuck. After creating my Cat app and the installing the dotcloud cli, I pushed my app thus: ... There are a few gotchas that I encountered along the way. 1) I could never get Session::Store::FastMmap to compile on my dotcloud service, and eventually gave up and used Session::Store::File 2) The latest versions of Catalyst (with built-in Plack) use a type of streaming that dotcloud's nginx-based service doesn't cope with. (Or didn't, at least, when my app exploded on upgrading Catalyst a few months back. This problem may now be solved.) 3) One of the tutorials had a typo in the Makefile.PL that it took me a long time to figure out. What I suggest you do is ssh into your dotcloud www instance, and just run perl -MMoose -e 'say OK;' and you'll quickly see whether Moose is available or not. Until I solved the problem referred to at (3) above, I had just installed everything via ssh, ie: ssh myapp.www $ cpanm install Moose $ cpanm install Catalyst $ cpanm install Template etc. Eventually I was able to plackup my app via ssh. I couldn't connect to it, of course, but at least I knew it compiled OK. I see miyagawa has replied to your post on dotcloud's forum as well. Hope you solve it, dotcloud is an excellent platform. Wow lots of information there and back on the forum. I'll get busy tonight when I'm not at $work and see if I can push things along. Thanks for the advice. Dp. ___ 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] Login issue with IE
Could you try http://search.cpan.org/~bobtfish/CatalystX-SimpleLogin-0.14/lib/CatalystX/SimpleLogin.pm ? If not, send some code and logs will be helpful :) On Fri, Dec 17, 2010 at 12:51 PM, linuxsupport lin.supp...@gmail.comwrote: Hi, I am creating a catalyst application, authentication is implemented using following modules Authentication Authorization::Roles Session Session::Store::FastMmap Session::State::Cookie I am able to login using firefox, but in IE login does not work. Can you anyone guide me on this please? Thanks Aniruddh ___ 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/ -- lorn at lornlab dot org Lindolfo Lorn Rodrigues ___ 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 set up $HOME or $ROOT to start myapp_server.pl via init.d script?
Ops, sent to fast Of couse you will put your path in path_to, i copy this from TTSite :) On Mon, Jul 20, 2009 at 1:00 PM, Lindolfo Lorn Rodrigues lorn.br@ gmail.com wrote: Try to add this in your view: __PACKAGE__-config({ INCLUDE_PATH = [ MyApp-path_to( 'root', 'src' ), MyApp-path_to( 'root', 'lib' ) ], On Mon, Jul 20, 2009 at 10:40 AM, Christoph Metz mail-...@web.de wrote: Hey guys, i want to deploy my c-app by using the dev-server myapp_server.pl. while the development i went into the dir myapp and typed script/myapp_server.pl -r -d so far, so good, but now i want to start this server via an init.d script under open-suse 9.2, so i wrote the script by using the skeleton. but now my problem, if i start the dev-server from out of an other path like / or try to start the server with the abs path /var/www/myapp/myapp_server.pl, the server starts, but there a errors on much... like template.tt2 could not be found and so on... so, where do i have to set a HOME oder PATH var, so that i can run the dev server from any fs-point? ___ 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/ -- --Lindolfo Lorn Rodrigues www.slackwarezine.com.br http://lornlab.org http://sao-paulo.pm.org use Catalyst; -- --Lindolfo Lorn Rodrigues www.slackwarezine.com.br http://lornlab.org http://sao-paulo.pm.org use Catalyst; ___ 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 set up $HOME or $ROOT to start myapp_server.pl via init.d script?
Try to add this in your view: __PACKAGE__-config({ INCLUDE_PATH = [ MyApp-path_to( 'root', 'src' ), MyApp-path_to( 'root', 'lib' ) ], On Mon, Jul 20, 2009 at 10:40 AM, Christoph Metz mail-...@web.de wrote: Hey guys, i want to deploy my c-app by using the dev-server myapp_server.pl. while the development i went into the dir myapp and typed script/myapp_server.pl -r -d so far, so good, but now i want to start this server via an init.d script under open-suse 9.2, so i wrote the script by using the skeleton. but now my problem, if i start the dev-server from out of an other path like / or try to start the server with the abs path /var/www/myapp/myapp_server.pl, the server starts, but there a errors on much... like template.tt2 could not be found and so on... so, where do i have to set a HOME oder PATH var, so that i can run the dev server from any fs-point? ___ 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/ -- --Lindolfo Lorn Rodrigues www.slackwarezine.com.br http://lornlab.org http://sao-paulo.pm.org use Catalyst; ___ 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] [OT]? Extends TheSchwartz
Hi, sorry for the off-topic but i'm search at google and the uniq list that i found ( http://groups.google.com/group/theschwartz ) dont have nothing. I need a something like TheSchwartz::Scheduler, i was thinking in change TheSchwartz-work method, they will look the time to run a job and execute the job only when is the rigth time Does anyone have some tips? I looked at CPAN but dont find anything like this. Thanks. -- --Lindolfo Lorn Rodrigues www.slackwarezine.com.br http://lornlab.org http://sao-paulo.pm.org use Catalyst; ___ 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] Running java inside Catalyst
system function it's a bad idea, if you really need to run Java inside Perl, i did not try that inside Catalyst, you can check Inline::Java http://search.cpan.org/~patl/Inline-Java-0.52/Java.pod I think that will not a problem to use Inline::* inside Catalyst. Good Luck, and tell us your results. On Sat, Jun 21, 2008 at 10:36 PM, [EMAIL PROTECTED] wrote: Hi, Just curious, yesterday I was playing with Java inside Catalyst, and I put a code like: system(java); in one of my controllers, and when I accessed the URL, the whole computer: Fedora Core 8, froze and I had to restart. I am not sure whether it is an OS problem, since I later tried the same program on Windows XP with colinux(FC 7)/cygwin and the java ran as expected. Anyone had a similar experience before ? Sindharta -- GANBARE! NIPPON! Chance to win 50,000 Yahoo! Points!http://pr.mail.yahoo.co.jp/ganbare-nippon/ ___ 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/ -- --Lindolfo Lorn Rodrigues www.slackwarezine.com.br http://lornlab.org http://sao-paulo.pm.org use Catalyst; ___ 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] Running java inside Catalyst
No, i didn't know, i looked at the source and it's true :( at least Inline::Java it's better than a simple system(java ... ) ? On Sun, Jun 22, 2008 at 5:58 PM, Jonathan Rockway [EMAIL PROTECTED] wrote: * On Sun, Jun 22 2008, Lindolfo \Lorn\ Rodrigues wrote: system function it's a bad idea, if you really need to run Java inside Perl, i did not try that inside Catalyst, you can check Inline::Java http:// search.cpan.org/~patl/Inline-Java-0.52/Java.podhttp://search.cpan.org/%7Epatl/Inline-Java-0.52/Java.pod I think that will not a problem to use Inline::* inside Catalyst. You do know that Inline::Java uses system() to call java, right? Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___ 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/ -- --Lindolfo Lorn Rodrigues www.slackwarezine.com.br http://lornlab.org http://sao-paulo.pm.org use Catalyst; ___ 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] Bug with $c-request-query_keywords ?
Works fine here. MyApp on Catalyst 5.7010 This is perl, v5.8.8 built for darwin-thread-multi-2level On Thu, Jun 19, 2008 at 3:33 PM, Larry Leszczynski [EMAIL PROTECTED] wrote: I've run into what appears to be a query keyword bug using Catalyst 5.701[02]: % catalyst.pl MyApp % cd MyApp % perl script/myapp_server.pl Request: http://localhost:3000/ - works http://localhost:3000/?a=123 - works http://localhost:3000/?123 - fails The error message is: [error] Caught exception in engine Can't locate object method query_keywords via package Catalyst::Request at /Library/Perl/5.8.8/Catalyst/Engine.pm line 446. It does not happen on boxes that are running 5.7007. Is anyone else seeing this? Thanks, Larry ___ 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/ -- --Lindolfo Lorn Rodrigues www.slackwarezine.com.br http://lornlab.org http://sao-paulo.pm.org use Catalyst; ___ 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/