Re: [Catalyst] flash with DBIC session storage

2007-07-27 Thread J. Shirley
On 7/27/07, Jonathan T. Rockway <[EMAIL PROTECTED]> wrote: > On Fri, Jul 27, 2007 at 06:11:03PM -0700, Mesdaq, Ali wrote: > > I think in the case of the person who initially emailed the group the > > problem is poor load testing. But it does bring up the point of better > > handling of exception st

Re: [Catalyst] flash with DBIC session storage

2007-07-27 Thread Jonathan T. Rockway
On Fri, Jul 27, 2007 at 06:11:03PM -0700, Mesdaq, Ali wrote: > I think in the case of the person who initially emailed the group the > problem is poor load testing. But it does bring up the point of better > handling of exception statements by DBIx. DBIx:: is a generic namespace for DBI extension

RE: [BULK] - Re: [BULK] - Re: [Catalyst] flash with DBIC session storage

2007-07-27 Thread Mesdaq, Ali
I think in the case of the person who initially emailed the group the problem is poor load testing. But it does bring up the point of better handling of exception statements by DBIx. The DBIx::Class::ResultSet::find_or_create(): call should handle this exception better because it can happen in tons

Re: [BULK] - Re: [Catalyst] flash with DBIC session storage

2007-07-27 Thread Jonathan T. Rockway
On Fri, Jul 27, 2007 at 11:57:01AM -0700, Mesdaq, Ali wrote: > Are you sure that InnoDB would solve this issue? Even if just a row was > locked and you have 2 inserts at the exact same time how would that > resolve the issue? One transaction would succeed and the other would fail. If you want dif

RE: [BULK] - Re: [Catalyst] flash with DBIC session storage

2007-07-27 Thread Mesdaq, Ali
Are you sure that InnoDB would solve this issue? Even if just a row was locked and you have 2 inserts at the exact same time how would that resolve the issue? I could see InnoDB solving the issue if updates were being made to the row but not a insert on a new record. Actually if anything it makes m

RE: [BULK] - Re: [Catalyst] flash with DBIC session storage

2007-07-27 Thread Mesdaq, Ali
I believe this may be an issue with DBIx and multiple inserts from different processes. This is something we have seen when we created our own db abstraction layer. When you have a unique key constraint you we saw that it was possible to check the table for that key and if it doesn't exist to inser

Re: [Catalyst] flash with DBIC session storage

2007-07-27 Thread J. Shirley
On 7/27/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: > Am 27.07.2007 um 20:14 schrieb J. Shirley: > > On 7/27/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: > >> While hammering my site with ab (Apache bench) I'm getting loads > >> of the > >> the following error message: > >> Couldn't render templat

Re: [Catalyst] flash with DBIC session storage

2007-07-27 Thread Tobias Kremer
Am 27.07.2007 um 20:14 schrieb J. Shirley: On 7/27/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: While hammering my site with ab (Apache bench) I'm getting loads of the the following error message: Couldn't render template "undef error - DBIx::Class::ResultSet::find_or_create(): DBI Exception:

Re: [Catalyst] flash with DBIC session storage

2007-07-27 Thread J. Shirley
On 7/27/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: > While hammering my site with ab (Apache bench) I'm getting loads of the > the following error message: > > Couldn't render template "undef error - > DBIx::Class::ResultSet::find_or_create(): DBI Exception: > DBD::mysql::st execute failed: Dupli

Re: [Catalyst] unconsistency

2007-07-27 Thread Matt S Trout
On Fri, Jul 27, 2007 at 06:12:26PM +0200, jmt wrote: > While other views (like TT) have always handled UTF-8 correctly, why is > XML::LibXSLT and consequently View::XSLT suddenly in the need of some switch > I can set for XML::LibXSLT but have no idea of where in Catalyst I can > perform the sam

Re: [Catalyst] Re: Catalyst-Plugin-Compress-Zlib

2007-07-27 Thread Marcus Ramberg
On 7/26/07, A. Pagaltzis <[EMAIL PROTECTED]> wrote: > * Bill Moseley <[EMAIL PROTECTED]> [2007-07-26 19:30]: > > Looking at an existing version I hacked I see I did something a > > bit more crude: > > Crude is better in Perl. Handle-like things come in so many > shapes that testing for them is futi

[Catalyst] unconsistency

2007-07-27 Thread jmt
Hi, I use Catalyst::View::XSLT, and I run into encoding problems : My xml file is a standard UTF-8 file, and so is my style sheet. Since Catalyst::View::XSLT is based on libxml2 (I am running Debian GNU/Linux), I performed the following trials : When I run xsltproc I get the correct output :

[Catalyst] flash with DBIC session storage

2007-07-27 Thread Tobias Kremer
While hammering my site with ab (Apache bench) I'm getting loads of the the following error message: Couldn't render template "undef error - DBIx::Class::ResultSet::find_or_create(): DBI Exception: DBD::mysql::st execute failed: Duplicate entry 'flash:4f1bddce6c7828c27b2e47265f614109d4c21f19' for

Re: [Catalyst] Re: Announce: Catalyst::Plugin::Authentication 0.10000 Released

2007-07-27 Thread Jay K
Hi Peter! Thanks for the praise - Glad to hear a success story! JayK On Jul 26, 2007, at 5:31 PM, Peter Edwards wrote: I upgraded an app to use this today, authenticating with crypted Unix type password and using the new DBIx::Class storage module. It was easy to understand the documentation

Re: [Catalyst] Catalyst Newbie -> Installation/Quickstart Issues ->Vista

2007-07-27 Thread Kieren Diment
On 27/07/07, Peter Edwards <[EMAIL PROTECTED]> wrote: > > > > > > This issue is discussed here > http://www.gossamer-threads.com/lists/catalyst/users/15143?search_string=strftime; > > and is caused by a bug in ASPerl. Try patching Helper.pm as follows and see > if it works then. Just to note that