The error is presumably because your fast cgi system has a timeout. Do you
have some code that sometimes takes a long time to run? If it only happens
about 1% of the time it may be normally just quicker than the limit, but
occasionally going over.
2008/5/7 John Goulah [EMAIL PROTECTED]:
On
On Wed, May 07, 2008 at 03:57:07PM +1000, Toby Corkindale wrote:
[snip]
$id = POST transaction
$amount = GET /user/1/account_balance
$amount2 = GET /user/2/account_balance
PUT /user/1/account_balance/$amount-1
PUT /user/2/account_balance/$amount+1
Whoops, that should read:
PUT
The Wikipedia article on Catalyst (
http://en.wikipedia.org/wiki/Catalyst_%28software%29) could do with some
improvement and updating.
--
Regards,
Martin
([EMAIL PROTECTED])
IT: http://methodsupport.com Personal: http://thereisnoend.org
___
List:
On Wed, May 7, 2008 at 7:57 AM, Toby Corkindale [EMAIL PROTECTED] wrote:
Hi Adam,
On Wed, May 07, 2008 at 03:30:12PM +1000, Adam Clarke wrote:
On 07/05/2008, at 11:05 AM, Toby Corkindale wrote:
Ah, I was thinking of transactions vs a REST API, eg:
PUT
On 07/05/2008, at 3:57 PM, Toby Corkindale wrote:
On Wed, May 07, 2008 at 03:30:12PM +1000, Adam Clarke wrote:
The solution suggested in Restful Web Services is to POST to a
factory
resource which creates you with a transaction resource. e.g. POST
/transactions/account-transfer returns
On Wed, May 07, 2008 at 09:55:10AM +0200, Zbigniew Lukasiak wrote:
On Wed, May 7, 2008 at 7:57 AM, Toby Corkindale [EMAIL PROTECTED] wrote:
[snip]
I wonder how one goes about implementing such a transaction on the server
side.. One would not want to lock DB rows indefinitely, waiting for
On Wed, May 07, 2008 at 06:02:46PM +1000, Adam Clarke wrote:
On 07/05/2008, at 3:57 PM, Toby Corkindale wrote:
On Wed, May 07, 2008 at 03:30:12PM +1000, Adam Clarke wrote:
The solution suggested in Restful Web Services is to POST to a
factory
resource which creates you with a transaction
I've got the same problem for the same reason (trying to return a JPEG).
Presumably something thinks that it is getting text (Unicode) and picks up
some special characters. Is there some equivalent of binmode for body?
--
Regards,
Martin
([EMAIL PROTECTED])
IT: http://methodsupport.com Personal:
Sorry, my mailer did not quote the original post from Tue, 30 Oct 2007
17:10:07 -0800
I'm seeing warnings of the type UTF-16 surrogate 0xABCD in my logs that
I'm not quite sure how to explain. I am familiar with the nature of the
warning message, and I've tracked it to Catalyst::Engine-write --
On Wed, May 07, 2008 at 08:38:18AM -0400, Garrett Goebel wrote:
snip
Also important is how to allow people to limit which sets of tuples and
relationships are publically accessible. For production work the default
should probably require the REST interfaces to be explicitly published.
The job description is kinda crapy:
http://jobs.perl.org/job/8624
But you can work in Sunnyvale, CA or Carslbad, CA.
The backend in Catalyst/REST/DBIx::Class/MySQL.
Frontends are currently command line/library using Moose and lots of
AJAXy Javascript (using ExtJS - yah should be YUI
Mark Trostler wrote:
The job description is kinda crapy:
http://jobs.perl.org/job/8624
But you can work in Sunnyvale, CA or Carslbad, CA.
The backend in Catalyst/REST/DBIx::Class/MySQL.
Frontends are currently command line/library using Moose and lots of
AJAXy Javascript (using ExtJS - yah
Not sure who that's pointed at Matt, but if you mean me, sorry for that.
In all honesty, if I could've worked out *what* needed fixing and
where, I would have done so. What I did was at least try to indicate
to people where the error was coming from and why, and what they might
do temporarily in
There were a few long threads on the subject of REST CRUD in Catalyst
here. Maybe you would like to crowd source a bit - and make a
competition for the code pieced that you need? Inspiration:
http://www.ddj.com/architect/207404123?pgno=1
Cheers,
Zbigniew
On Wed, May 7, 2008 at 6:52 PM, Mark
Thanks everyone for your replies. Turns out that this error had nothing
to do with the problem I am trying to track down. I will post a new
thread with a more appropriate subject line.
Ryan Pack
Programmer
Genares Worldwide Reservations
P. 817-722-2834
F. 817-442-0600
My Catalyst app is using Session::State::Cookie, Session::State::URI,
and Session::Store::DBIC. We recently started using the param option in
Session::State::URI. We were tacking the session id onto the base URL
but now it is being included as a parameter. Anyways, when you first
make a
I forgot to include the error in the log:
FastCGI: server /u/lxlib/BookingEngine/script/bookingengine_fastcgi.pl
stderr: [error] Caught exception in engine
DBIx::Class::Relationship::CascadeActions::update(): Can't update
BookingEngine::Model::DBIC::BE::Session=HASH(0xd3f2620): row not found
17 matches
Mail list logo