[Catalyst] OT: Catalysters at Hack Evening in London tonight?

2009-06-17 Thread Jesse Sheidlower
I'm in the UK for the week, and I'm going to be going to London today, stopping off at the Hackspace Hack Evening #9 in Islington ( http://upcoming.yahoo.com/event/2823351/ ). If any Catalyst-folk will be there, would love to say hello. I tried to send this to the london.pm list, but I'm not a

Re: [Catalyst] Example of a catalyst application using FormFu to createa table

2009-06-17 Thread Carl Franks
2009/6/17 Wilson Jason jason.wil...@derm.qld.gov.au: The problem is that the option to 'delete_if_true' doesn't work. There is an error of the form: [error] Caught exception in Cubs::Controller::Cub-formfu_edit element not found at

Re: [Catalyst] OT: Catalysters at Hack Evening in London tonight?

2009-06-17 Thread Tomas Doran
Jesse Sheidlower wrote: I'm in the UK for the week, and I'm going to be going to London today, stopping off at the Hackspace Hack Evening #9 in Islington ( http://upcoming.yahoo.com/event/2823351/ ). If any Catalyst-folk will be there, would love to say hello. I tried to send this to the

Re: [Catalyst] OT: Catalysters at Hack Evening in London tonight?

2009-06-17 Thread Jesse Sheidlower
On Wed, Jun 17, 2009 at 10:53:22AM +0100, Tomas Doran wrote: Jesse Sheidlower wrote: I'm in the UK for the week, and I'm going to be going to London today, stopping off at the Hackspace Hack Evening #9 in Islington ( http://upcoming.yahoo.com/event/2823351/ ). If any Catalyst-folk will be

Re: [Catalyst] ConfigLoader trouble

2009-06-17 Thread Devin Austin
What's the error you're getting? On Wed, Jun 17, 2009 at 3:52 AM, Ben Vinnerd ben-catal...@vinnerd.comwrote: Hi all, Have got a problem with ConfigLoader not reading %ENV. At the top of Myapp.pm i have: use parent qw/Catalyst/; use Catalyst qw/StackTrace ConfigLoader/; ...and i'm

Re: [Catalyst] OT: Catalysters at Hack Evening in London tonight?

2009-06-17 Thread Devin Austin
Bastards, will someone get this going in Denver please? :-) On Wed, Jun 17, 2009 at 3:56 AM, Jesse Sheidlower jes...@panix.com wrote: On Wed, Jun 17, 2009 at 10:53:22AM +0100, Tomas Doran wrote: Jesse Sheidlower wrote: I'm in the UK for the week, and I'm going to be going to London today,

[Catalyst] ConfigLoader trouble

2009-06-17 Thread Ben Vinnerd
Hi all, Have got a problem with ConfigLoader not reading %ENV. At the top of Myapp.pm i have: use parent qw/Catalyst/; use Catalyst qw/StackTrace ConfigLoader/; ...and i'm setting env var in httpd.conf: PerlSetVar MYAPP_CONFIG_LOCAL_SUFFIX beta ... but ConfigLoader will not load

[Catalyst] Catalyst::Plugin::Captcha example ...

2009-06-17 Thread Kiffin Gish
Is there some example code out there using the Captcha plugin so I could learn a bit better how to use it? - Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] ConfigLoader trouble

2009-06-17 Thread Ben Vinnerd
On 17/06/09 10:57, Devin Austin wrote: What's the error you're getting? The Model::DB config i'm putting in myapp_beta.conf isn't being read by ConfigLoader, so the error i'm getting is from DBIx::Class stating that it needs connect_info. But this error is irrelevant... it's ConfigLoader

Re: [Catalyst] ConfigLoader trouble

2009-06-17 Thread Devin Austin
Paste your conf, connect_info actually has to be an array(ref?) and it has to be put together kinda funny in myapp.conf. On Wed, Jun 17, 2009 at 4:13 AM, Ben Vinnerd ben-catal...@vinnerd.comwrote: On 17/06/09 10:57, Devin Austin wrote: What's the error you're getting? The Model::DB config

Re: [Catalyst] ConfigLoader trouble

2009-06-17 Thread Ben Vinnerd
On 17/06/09 11:02, Joel Bernstein wrote: On 17 Jun 2009, at 10:52, Ben Vinnerd wrote: Have got a problem with ConfigLoader not reading %ENV. At the top of Myapp.pm i have: use parent qw/Catalyst/; use Catalyst qw/StackTrace ConfigLoader/; ...and i'm setting env var in httpd.conf: PerlSetVar

Re: [Catalyst] ConfigLoader trouble

2009-06-17 Thread Ben Vinnerd
On 17/06/09 11:15, Devin Austin wrote: Paste your conf, connect_info actually has to be an array(ref?) and it has to be put together kinda funny in myapp.conf. Model::DB connect_info dbi:mysql:motoring:localhost;mysql_client_found_rows=1 connect_info connect_info

[Catalyst] Testing--best-practice help (long; will wiki the responses)

2009-06-17 Thread Jesse Sheidlower
Back in April I posted for help here, asking specifically how to use a test database with Test::WWW::Mechanize::Catalyst. I am grateful for the helpful responses I got, and apologize that it took me so long to start working on them. My recent switch from CVS to git has enabled me to get going on

Re: [Catalyst] Catalyst::Plugin::Captcha example ...

2009-06-17 Thread Kieren Diment
On 17/06/2009, at 7:52 PM, Kiffin Gish wrote: Is there some example code out there using the Captcha plugin so I could learn a bit better how to use it? Use Catalyst::Controller::reCAPTCHA instead. It's better in quite a few ways. ___

Re: [Catalyst] Catalyst::Plugin::Captcha example ...

2009-06-17 Thread Octavian Rasnita
From: Kieren Diment kie...@diment.org On 17/06/2009, at 7:52 PM, Kiffin Gish wrote: Is there some example code out there using the Captcha plugin so I could learn a bit better how to use it? Use Catalyst::Controller::reCAPTCHA instead. It's better in quite a few ways.

Re: [Catalyst] Testing--best-practice help (long; will wiki the responses)

2009-06-17 Thread Jesse Sheidlower
On Wed, Jun 17, 2009 at 06:58:49AM -0400, Jesse Sheidlower wrote: * Is there any solution to using %ENV for global variables in the setup script? I need the same info to be available in the BEGIN and the END blocks; using our in the BEGIN doesn't work. %ENV looks ugly and feels wrong.

[Catalyst] root dir location

2009-06-17 Thread Ben Vinnerd
Where should the root dir (for templates) be? I thought it was at the same level as lib, script, and t. I'm finding that when i create a view with: myapp_create.pl view MyView TT ...the INCLUDE_PATH isn't setup, and i have to manually add: INCLUDE_PATH = Myapp-path_to(qw/.. .. root/),

[Catalyst] Catalyst::View::PHP

2009-06-17 Thread Kieren Diment
Hi all. Has anyone used Catalyst::View::PHP at all? I have a couple of issues: 1. Having compiled my PHP::Interpreter on my debian , I'm getting some rather odd test failures. Different failures depending on whether I run make test, prove -l t or for i in t/*t; do perl -Ilib $i; done

[Catalyst] myapp_local.yml gets ignored

2009-06-17 Thread Jochen Luig
Hi, I'm currently writing tests for an application. To be able to test with a live database, I wrote a test database package along the lines of the example in chapter 8 (page 165) of Johnathan's Catalyst book: package MyApp::Test::Database::Live; use strict; use warnings; use MyAppDB; use

Re: [Catalyst] myapp_local.yml gets ignored

2009-06-17 Thread Ben Vinnerd
On 17/06/09 14:50, Jochen Luig wrote: snip So the myapp_local.yml seems to get ignored. OTOH, the test user is not created in that database. According to the ConfigLoader docs, 'local' is the default suffix for files used to override the main config, so AFAIU the above code is supposed to just

RE: [Catalyst] myapp_local.yml gets ignored

2009-06-17 Thread Carl Vincent
-Original Message- From: Ben Vinnerd [mailto:ben-catal...@vinnerd.com] Sent: 17 June 2009 15:59 To: The elegant MVC web framework On 17/06/09 14:50, Jochen Luig wrote: snip So the myapp_local.yml seems to get ignored. OTOH, the test user is not created in that database. According

Re: [Catalyst] myapp_local.yml gets ignored

2009-06-17 Thread Ben Vinnerd
On 17/06/09 16:13, Carl Vincent wrote: Are you sure that your config files are parsing correctly? I've had problems in the past (admittedly with YAML config files) with the files being silently ignored when there's a syntax error in them. This may be handled better in the latest versions.

RE: [Catalyst] myapp_local.yml gets ignored

2009-06-17 Thread Jochen Luig
On Wed, 2009-06-17 at 16:13 +0100, Carl Vincent wrote: Are you sure that your config files are parsing correctly? I've had problems in the past (admittedly with YAML config files) with the files being silently ignored when there's a syntax error in them. This may be handled better in the

[Catalyst] Database-backed sessions: Session::Store::DBI/DBIC and MSSQL

2009-06-17 Thread Stuart Watt
I don't know if anyone else has hit these problems, and I am working on them, but there appear to be a set of significant issues around the DBI and DBIC session stores using Microsoft SQL Server as the back-end. These are mostly related to the fact that MSSQL only allows one active statement

RE: [Catalyst] Example of a catalyst application using FormFu to createa table

2009-06-17 Thread Wilson Jason
Carl Franks wrote: 2009/6/17 Wilson Jason jason.wil...@derm.qld.gov.au: The problem is that the option to 'delete_if_true' doesn't work. There is an error of the form: [error] Caught exception in Cubs::Controller::Cub-formfu_edit element not found at