[Catalyst] FYI on issue with Test::WWW::Mechanize and WWW::Mechanize

2007-04-19 Thread hkclark
In case other people run into this, 'make test' for Test::WWW::Mechanize fails on my boxes if I'm using v1.22 of WWW::Mechanize. I get this error: 500 Can't connect to localhost:13432 (connect: Connection refused) Once I dropped WWW::Mechanize back to v1.20 Test::WWW::Mechanize would install

Re: [Catalyst] Weak reference error

2007-03-15 Thread hkclark
On 3/15/07, Anatoly Bashmakov [EMAIL PROTECTED] wrote: Hello, list! I have a problem running par catalyst distribution. Error was $ parl test1.par test1_server.pl Weak references are not implemented in the version of perl at Catalyst.pm line 22 BEGIN failed--compilation aborted at Catalyst.pm

Re: [Catalyst] Catalyst::Manual::Tutorial::CatalystBasics [error]Couldn't render template undef error - status_msg is undefined

2007-03-15 Thread hkclark
On 3/15/07, David Christensen [EMAIL PROTECTED] wrote: Jason Kohles wrote: It looks like you've turned on debugging in Template, either DEBUG_UNDEF or DEBUG_ALL Yup: 2007-03-14 22:09:33 [EMAIL PROTECTED] ~/MyApp $ grep -i debug lib/MyApp/View/TT.pm DEBUG = 'undef', I

Re: [Catalyst] Using C::C::FormBuilder With DBIC

2007-02-19 Thread hkclark
On 2/18/07, Mark Zealey [EMAIL PROTECTED] wrote: ... re the easy solutions presented earlier in the thread for sticking a form into a db and back again; I don't ususally make the code that simple because it could open up injection attacks and doesn't work too well with more complex forms or

[Catalyst] Using C::C::FormBuilder With DBIC

2007-02-18 Thread hkclark
Hi Everyone, I have been experimenting with Catalyst::Controller::FormBuilder. I'm trying to provide an edit form for objects read from and written to the DB via DBIx::Class. Have FormBuilder automatically load the data from DBIC into the form seems pretty easy with something like: my

Re: [Catalyst] Using C::C::FormBuilder With DBIC

2007-02-18 Thread hkclark
On 2/18/07, RA Jones [EMAIL PROTECTED] wrote: Any suggestions? What are other folks doing for C::C::FormBuilder and DBIC? I'm pretty new to this, but this is what I did: sub edit : Local Form { # get data into form pretty much as above, then: if ( $form-submitted $form-validate ) {

Re: [Catalyst] Catalyst::Manual::Tutorial::CatalystBasics Issues

2007-01-15 Thread hkclark
Hi Jim, Thanks for the note. Yes, that does sound like version issues. I'll do some research and see if there is a way to have it work on older versions, but that can get sticky at time. Thanks, Kennedy On 1/15/07, Jim Spath [EMAIL PROTECTED] wrote: Hi, I am using Catalyst + DBIx::Class

Re: [Catalyst] getting the ID of the user

2006-12-30 Thread hkclark
On 12/30/06, Octavian Rasnita [EMAIL PROTECTED] wrote: Hi, I have tried to get the id of the currently logged user, using: $c-user-id But it returned same thing as $c-user (the username and not its ID). Hi Octavian, Assuming you are using DBIC, try: $c-user-get_column('id') Regards,

Re: [Catalyst] AJAX best practices, maximum availability

2006-11-21 Thread hkclark
On 11/21/06, Chisel Wright [EMAIL PROTECTED] wrote: On Tue, Nov 21, 2006 at 03:25:10PM +, Matt S Trout wrote: Let's just say I don't remember the last time I used anything -except- Chained. Plus, since I can do all my setup and checking in early chain parts as I load up the data, I

Re: [Catalyst] Authentication - Tutorial

2006-11-11 Thread hkclark
On 11/11/06, Anthony Gardner [EMAIL PROTECTED] wrote: I haven't seen this mentioned before and am new to YAML but in the C Authentication docs, it says use user_class: MyAppDB::User in myapp.yml but I've had to use 'MyAppDB::User' (with quotes) That took a while to find out :( -Ants Hi

Re: [Catalyst] Failing tests on Centos 4.4

2006-10-29 Thread hkclark
On 10/29/06, Nigel Metheringham [EMAIL PROTECTED] wrote: On 28 Oct 2006, at 12:58, [EMAIL PROTECTED] wrote: Yes, an RPM-only install of Catalyst would be nice. I'm not sure if you are saying that you are trying to build an RPM that installs Catalyst, but if you are and if you end up with

[Catalyst] Fwd: [Catalyst-dev] packaging and porting Catalyst

2006-10-29 Thread hkclark
Forgot to CC the catalyst@lists.rawmode.org (vs the dev list) on my prior note. In short, if anyone is interested in helping with rpms for CentOS / RedHat Enterprise, please let us know. Thanks, Kennedy -- Forwarded message -- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Oct

Re: [Catalyst] Failing tests on Centos 4.4

2006-10-28 Thread hkclark
On 10/28/06, Matt Patterson [EMAIL PROTECTED] wrote: On 27 Oct 2006, at 03:22, [EMAIL PROTECTED] wrote: I just installed Catalyst on a fresh CentOS 4.4 using the instructions in Catalyst::Manual::Installation::CentOS4 and it worked fine. Maybe there is some other module out of date and

Re: [Catalyst] Catalyst::Engine needs a stop method

2006-10-27 Thread hkclark
On 10/27/06, Jon [EMAIL PROTECTED] wrote: I need to launch a long-running (minutes up to hours) background program from Catalyst. I have it working almost well enough - I do the usual double-fork, closing standard file descriptors, and had to take some particular care to use POSIX::_exit and

Re: [Catalyst] Failing tests on Centos 4.4

2006-10-26 Thread hkclark
On 10/26/06, Matt Patterson [EMAIL PROTECTED] wrote: Hello, I'm trying to install Catalyst,. I've started with Catalyst-Runtime and (as far as I know) I have all the dependencies installed. However, three tests in t/live_engine_response_cookies are failing. I've attached the output from that

Re: [Catalyst] file error - books/delete.tt2

2006-10-15 Thread hkclark
On 10/15/06, Ken Perl [EMAIL PROTECTED] wrote: hi, while trying the http://search.cpan.org/~jrockway/Task-Catalyst-Tutorial-0.01/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod, and test the delete feature, do you have the error like below? Coldn't render template file error - books/delete.tt2:

Re: [Catalyst] Debugging Catalyst Apps

2006-10-11 Thread hkclark
The tutorial covers this: Currently located at... http://search.cpan.org/~jrockway/Task-Catalyst-Tutorial-0.02/lib/Catalyst/Manual/Tutorial/Debugging.pod Let me know if that doesn't help. Regards, Kennedy On 10/11/06, Roderick A. Anderson [EMAIL PROTECTED] wrote: Roderick A. Anderson wrote:

Re: [Catalyst] [Announce] Catalyst 5.7003 (oh, and 5.7002)

2006-09-24 Thread hkclark
On 9/24/06, Gavin Henry [EMAIL PROTECTED] wrote: What's the trigger level of addition/fixes/docs needed to justify a new release by the way? Just interested. Gavin. Hi Gavin, I'm not sure on the official answer to what's required to trigger a new release, but main issue here is that a

[Catalyst] Recommendation For Logging To A File

2006-09-24 Thread hkclark
What is the recommended best way (or the 2-3 top contenders if there is no one best way) to have a Catalyst app log in production to a file (at least I assume that's what most people want their production apps to do). Is Catalyst::Log::Log4perl the way to go? Thanks, Kennedy

Re: [Catalyst] Recommendation For Logging To A File

2006-09-24 Thread hkclark
On 9/24/06, Gavin Henry [EMAIL PROTECTED] wrote: Well, for our site (http://www.suretecsystems.com), we use Log4perl, but it hosted in a weird kind of way by our friend, so we don't get access to the Apache logs directly, like Bill does. We therefore trap stderr etc. and log to our own file

Re: [Catalyst] Tutorial - CatalystBasics

2006-09-04 Thread hkclark
On 9/4/06, Anthony Gardner [EMAIL PROTECTED] wrote: Have just started going through the tutorial but have come across a problem. I looked back through the archives for a few months but found no answers to these. When I try to run it, I get Caught exception in MyApp::View::TT-process

Re: [Catalyst] [Announce] iusethis.org goes into public beta.

2006-07-08 Thread hkclark
On 7/8/06, Marcus Ramberg [EMAIL PROTECTED] wrote: For the last six months I've been working on a pet project with my designer friend Arne. We call it iusethis, and it's a website for keeping track of the apps you use. It's for the mac for now, and it's based on Catalyst and DBIx::Class.