Re: [Catalyst] Re: Upload problem

2008-12-24 Thread Tomas Doran
On 23 Dec 2008, at 18:13, Florent Angly wrote: I'd be interested in knowing what browser you used, or if you did any client side chopping of the files to allow uploading of files larger than 2GB. If there's no easy way, I could always forget about a workaround and have users put/upload

Re: [Catalyst] Re: Upload problem

2008-12-24 Thread Rodrigo
Try Google Chrome. It doesn't seem to complain about 4Gb file uploads. Using the Catalyst test server should be fine. Maybe you're pushing the multipart/form-data envelope here. Have you looked into a more specialized, gmail-upload style, browser solution, such as javascript libraries (extjs,

Re: [Catalyst] Re: System call problem

2008-12-24 Thread Tomas Doran
On 19 Dec 2008, at 16:21, Florent Angly wrote: Well, after some more fiddling and researching, I figured this problem out. Using the modified command: system(@formatdb_cmd) == 0 or die(Could not run command: @formatdb_cmd\nReturn status: $?\nMessage: $!); I found out that my error message

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Tomas Doran
On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system perl but beside it) or 5.10. I don't consider this good advice, especially for a

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Filippo A. Salustri
Tomas, Ashley, et al, I've been using the installed version since I got the Mac - about 3 yrs ago. I've done alot in that time - /never/ had any trouble with perl 5.8.6. Just FYI, I'm a catalyst beginner, but I wrote my first perl script in 1986. So you can use big words and I'll very

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Devin Austin
Hi Fillipo, Have you checked out cat-install? It's located here: http://www.shadowcat.co.uk/static/cat-install Just wget that, and run perl cat-install and things should go as planned. HTH, -Devin On Wed, Dec 24, 2008 at 4:51 AM, Filippo A. Salustri salus...@ryerson.cawrote: Tomas, Ashley,

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Kieren Diment
Yes, Task::Catalyst is no longer used. The current tutorial says to use Task::Catalyst::Tutorial which is maintained. cpan Catalyst::Devel has been fine for me on Mac, Linux and even Strawberry perl on windows (with the exception of having to notest install HTTP::Server::Simple which is

Re: [Catalyst] Re: System call problem

2008-12-24 Thread Florent Angly
Hi t0m, I wouldn't really call this a Catalyst bug. It's more some sort of Perl behavior that I did know of / expect. My Catalyst code is along these lines (and runs on a Linux 2.6 kernel): sub catalyst_run_app { my $original_sig_chld = $SIG{CHLD}; # system calls always return -1 (No

Re: [Catalyst] Re: Upload problem

2008-12-24 Thread J. Shirley
On Tue, Dec 23, 2008 at 11:02 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 23 Dec 2008, at 18:13, Florent Angly wrote: I'd be interested in knowing what browser you used, or if you did any client side chopping of the files to allow uploading of files larger than 2GB. If there's no easy

[Catalyst] Tracking down memory leaks

2008-12-24 Thread Bill Moseley
What are some good methods for tracking down memory leaks? I used Devel::Cycle on $c in handle_request() to find one leak. But, I suspect I've got a circular reference elsewhere still by the size of my processes after a while. (Processes start out showing 70MB and end up at 140MB rss -- which

Re: [Catalyst] Tracking down memory leaks

2008-12-24 Thread Stuart Watt
Bill Moseley wrote: What are some good methods for tracking down memory leaks? I used Devel::Cycle on $c in handle_request() to find one leak. But, I suspect I've got a circular reference elsewhere still by the size of my processes after a while. (Processes start out showing 70MB and end up

Re: [Catalyst] Tracking down memory leaks

2008-12-24 Thread Bill Moseley
On Wed, Dec 24, 2008 at 11:47:45AM -0500, Stuart Watt wrote: Devel::Leak saved me several times over, but I did need to build a debugging Perl to see the contents. When I did that, most of the leaks I was responsible for were easy to find and fix. I just used NoteSV/CheckSV in the

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Tomas Doran
On 24 Dec 2008, at 18:27, Ashley wrote: On Dec 24, 2008, at 2:08 AM, Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Tomas Doran
On 24 Dec 2008, at 11:51, Filippo A. Salustri wrote: I do recall trying just 'install Catalyst' some time ago, but that crapped out too. I'll try that again and see if the error messages look any different. How long ago is 'some time ago'? I did this on a fresh perl 5.8.8 less than two

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Ashley
On Dec 24, 2008, at 2:07 PM, Tomas Doran wrote: On 24 Dec 2008, at 18:27, Ashley wrote: On Dec 24, 2008, at 2:08 AM, Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend

[Catalyst] Re: OT: Better TT pager?

2008-12-24 Thread Aristotle Pagaltzis
* Jesse Sheidlower jes...@panix.com [2008-12-23 12:45]: Does someone have a model I can steal from? I have something pretty close to that. Not entirely happy insofar as that I want to add the ability show a few links to skip 10 and 20 pages as appropriate, and it’s not abstracted as it should