Re: [Catalyst] Model configuration through .yml

2010-01-13 Thread Emmanuel Quevillon
Please ignore, I made a mistake (typo) I am really sorry having bothered the list with my previous email. Regards Emmanuel On 1/13/10 3:17 PM, Emmanuel Quevillon wrote: Hi, I'd like to know something, probably a basic problem but just to be sure. Is it possible to configure Applicati

[Catalyst] Model configuration through .yml

2010-01-13 Thread Emmanuel Quevillon
Hi, I'd like to know something, probably a basic problem but just to be sure. Is it possible to configure Application db connection into .yml configuration file like : Model::MyAppDB schema_class: Schema::MyApp connect_into: - dbi:Pg:dbname=myapp - user - passwo

Re: [Catalyst] myapp_fastcgi.pl does not run in background

2010-01-05 Thread Emmanuel Quevillon
Cheers Emmanuel 2010/1/5 Emmanuel Quevillon: Hi, First of all, happy new year for all the catalysters and all the best for this new year. I am running Catalyst 5.80016, and when launch my production server, using FastCGI, myapp_fastcgi.pl does not run into background even if I specify

[Catalyst] myapp_fastcgi.pl does not run in background

2010-01-05 Thread Emmanuel Quevillon
use another option? Thanks for any hint. Regards -- - Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 98 tuco at_ pasteur dot fr - ___ List: Catalyst

Re: [Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80016

2009-12-14 Thread Emmanuel Quevillon
co.uk/ Dev site: http://dev.catalyst.perl.org/ Installed OK on Linux Ubuntu 9.10 :) -- - Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 98 tuco at_ pasteur d

Re: [Catalyst] How to join catalyst dev server?

2009-12-11 Thread Emmanuel Quevillon
On 12/10/2009 03:58 PM, Emmanuel Quevillon wrote: Hi , I am using Catalyst 5.8015 and when I start my dev server (script/myap_server.pl) now I can only reach it through localhost:3000. script/bibliolist_server.pl -r You can connect to your server at http://localhost:3000 I'd like to be

[Catalyst] How to join catalyst dev server?

2009-12-10 Thread Emmanuel Quevillon
http://foo.bar.com:3000 With this new behavior, I cannot reach my dev server located on another machine. Is there a solution to solve this unless open a forwarded port through ssh port 3000? Thanks for any clue Regards Emmanuel -- - Emmanuel Quevillon Biological Softwar

Re: [Catalyst] View::TT render_output disappeared?

2009-12-01 Thread Emmanuel Quevillon
Tomas Doran wrote: > Emmanuel Quevillon wrote: >> I'd like to render output of some template inside my catalyst >> application. I remembered that it did exist a method called >> 'render_output' that allow edit. However in Catalyst::View::TT this >> m

[Catalyst] View::TT render_output disappeared?

2009-12-01 Thread Emmanuel Quevillon
ut it calls the wrapper I configured in my App::View::TT. Does anyone know how to render a small piece of template with args without calling the wrapper to surround the output? Thanks for any hint. Regards -- ----- Emmanuel Quevillon Biological Software and Databases Group Ins

Re: [Catalyst] Can't redirect using $c->res->redirect()

2009-11-09 Thread Emmanuel Quevillon
Tomas Doran wrote: > Emmanuel Quevillon wrote: >> [Fri Nov 6 15:36:13 2009] [error] Caught exception in engine "Can't >> call method "as_string" on an undefined value at >> /usr/local/share/perl/5.10.0/Catalyst/Engine.pm line 95." > > Can

Re: [Catalyst] Bug into Catalyst::Devel 1.16 and later?

2009-05-25 Thread Emmanuel Quevillon
co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ -- - Emmanuel Quevillon Biological Software and Databases Group

[Catalyst] Bug into Catalyst::Devel 1.16 and later?

2009-05-25 Thread Emmanuel Quevillon
owngrade to 1.16 but the same problem occured. It looks like this problem is not present in Catalyst::Devel 1.15 I've already post a Bug in CPAN RT about this : https://rt.cpan.org/Ticket/Display.html?id=46341 Can a developer has a glance at it? Cheers Emmanuel -- ---

Re: [Catalyst] How and where to run a method at Catalyst start up?

2009-05-20 Thread Emmanuel Quevillon
Tomas Doran wrote: > Emmanuel Quevillon wrote: >> Thanks to try helping me. Here is the Trace from Devel::SimpleTrace. >> Actually, the error is not even when I try >> to call my method from my Catalyst::Model but when I start the dev >> server : > > Aha, yes

Re: [Catalyst] How and where to run a method at Catalyst start up?

2009-05-20 Thread Emmanuel Quevillon
Emmanuel Quevillon wrote: >> I'd also recommend you start a new TestApp, and try to make just the >> smallest subset of an application you can to demonstrate / prototype >> out the functionality you want. >> >> a) This is gonna be easier to debug for you as

Re: [Catalyst] How and where to run a method at Catalyst start up?

2009-05-19 Thread Emmanuel Quevillon
Tomas Doran wrote: On 19 May 2009, at 13:01, Emmanuel Quevillon wrote: I tried what you mentioned but it didn't change anything unfortunately. Has someone in the list another idea what's is going wrong? No idea as we don't know where it's being called from, or why it&#x

Re: [Catalyst] How and where to run a method at Catalyst start up?

2009-05-19 Thread Emmanuel Quevillon
.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ -- - Emmanuel Q

Re: [Catalyst] How and where to run a method at Catalyst start up?

2009-05-18 Thread Emmanuel Quevillon
co tuco 974 Apr 6 09:57 BufBiblAuth.pm* -rwxr-xr-x 1 tuco tuco 1127 Apr 6 09:57 BufBiblGene.pm* -rwxr-xr-x 1 tuco tuco 5409 Apr 6 09:57 Genes.pm* -rwxr-xr-x 1 tuco tuco 899 May 15 14:25 Organism.pm* I must confess I am a bit lost :( Thanks for any advice/help Best regards Emmanu

Re: [Catalyst] How and where to run a method at Catalyst start up?

2009-05-18 Thread Emmanuel Quevillon
Tomas Doran wrote: > Emmanuel Quevillon wrote: >> I tried to follow your advices, but unfortunately, I looks like >> MyApp->model().. does not work : >> >> Couldn't instantiate component "MyApp::Model::Mapping", "Can't >> lo

Re: [Catalyst] How and where to run a method at Catalyst start up?

2009-05-15 Thread Emmanuel Quevillon
ong time. > $self->mydata({ foo=> $data } ); } > } > I tried to follow your advices, but unfortunately, I looks like MyApp->model().. does not work : Couldn't instantiate component "MyApp::Model::Mapping", "Can't locate object method "model&qu

[Catalyst] How and where to run a method at Catalyst start up?

2009-05-15 Thread Emmanuel Quevillon
own error' #Also it looks like $_ is a 'DBIx::Class' only } Has somebody any clue how could I solve my problem Thanks in advance Regards -- - Emmanuel Quevillon Biological Software and

Re: [Catalyst] Authentication methods question

2009-04-15 Thread Emmanuel Quevillon
J. Shirley wrote: > On Wed, Apr 15, 2009 at 7:40 PM, Iain <mailto:iainhubb...@googlemail.com>> wrote: > > On Wed, 2009-04-15 at 12:35 +0200, Emmanuel Quevillon wrote: > > Hi there, > > > > I just wondered, if it would be possible, v

[Catalyst] Authentication methods question

2009-04-15 Thread Emmanuel Quevillon
database. If someone has already done it, clue welcome. Thanks in advance -- - Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 98 tuco at_ pasteur dot fr - ___ List

Re: [Catalyst] Using JSON

2009-04-14 Thread Emmanuel Quevillon
, dataType: "json", url: url, success: function(data) { ... } And I implemented the corresponding method to delete/update/create/insert in my Controller::REST It works like a charm for me. Hope this will help Regards -- --

Re: [Catalyst] DELETE through REST and Jemplate

2009-03-31 Thread Emmanuel Quevillon
J. Shirley wrote: > On Mon, Mar 30, 2009 at 10:31 AM, Emmanuel Quevillon <mailto:t...@pasteur.fr>> wrote: > > J. Shirley wrote: > > On Mon, Mar 30, 2009 at 7:39 AM, Emmanuel Quevillon > mailto:t...@pasteur.fr> > <mailto:t..

Re: [Catalyst] DELETE through REST and Jemplate

2009-03-30 Thread Emmanuel Quevillon
J. Shirley wrote: On Mon, Mar 30, 2009 at 7:39 AM, Emmanuel Quevillon <mailto:t...@pasteur.fr>> wrote: J. Shirley wrote: > On Mon, Mar 30, 2009 at 7:24 AM, Emmanuel Quevillon mailto:t...@pasteur.fr> > <mailto:t...@pasteur.fr <mailto:t...@pasteur.fr>&

Re: [Catalyst] DELETE through REST and Jemplate

2009-03-30 Thread Emmanuel Quevillon
J. Shirley wrote: > On Mon, Mar 30, 2009 at 7:24 AM, Emmanuel Quevillon <mailto:t...@pasteur.fr>> wrote: > > Hi, > > I am playing with REST and Jemplate from the great Tuts from JRock's > book. > However, I am facing a problem. I understand wel

[Catalyst] DELETE through REST and Jemplate

2009-03-30 Thread Emmanuel Quevillon
equest. How can I introduce DELETE method to tell REST API to delete my item id? Sorry if my question seems stupid, I am a bit lost. If anybody has any clue, very welcome. Regards -- - Emmanuel Quevillon Biological Software and Databases Group Institut

[Catalyst] Problem creating accessors once per server instance

2009-03-11 Thread Emmanuel Quevillon
home/tuco/src/perl/projects/Catalyst/BiblioList/bibliolist-0.06_02/script/../lib/GenoList.pm line 23." at script/bibliolist_server.pl line 55 Can someone tell me what I am doing wrong? Thanks for any help Regards Emmanuel -- - Emmanuel Quevillon Biological

Re: [Catalyst] Catalyst::Plugin::Captcha

2009-03-10 Thread Emmanuel Quevillon
Octavian Râsnita wrote: > From: "Emmanuel Quevillon" > Better use Catalyst::Controller::HTML::FormFu. You can easy add > reCAPTCHA with it. > > reCAPTCHA also creates an audio file so more human beeings would be able > to pass it. Sure, but reCAPTCHA needs that yo

[Catalyst] Catalyst::Plugin::Captcha

2009-03-10 Thread Emmanuel Quevillon
rived from but I've been unable to find an option to control the text size inside the image. Has anybody a hint or clue? Thanks in advance Manu -- - Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 98 tuco at_ past

Re: [Catalyst] Database contents not displayed after hitting page refresh

2008-09-03 Thread Emmanuel Quevillon
eplace : my $data = $c->model('Ttrack::Ttrack'); with my $data = $c->model('Ttrack::Ttrack')->search(); This will return all the data contained inside your table Ttrack. Hope this will help. Regards Emmanuel - -- - - Emmanuel Quevillo

Re: [Catalyst] Pager and Cache

2008-05-20 Thread Emmanuel Quevillon
Bill Moseley wrote: On Mon, May 19, 2008 at 05:57:26PM +0200, Emmanuel Quevillon wrote: Hi, I don't know if this question have been already sent or not but I am wondering if it is possible to sort cache a pager into the catalyst application to be able to quickly get results from a

[Catalyst] Pager and Cache

2008-05-19 Thread Emmanuel Quevillon
yway Regards -- ----- Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 98 tuco at_ pasteur dot fr - ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mai

Re: [Catalyst] How to print/display some data in an end action

2008-05-05 Thread Emmanuel Quevillon
e template! So I'd like to thank all people who have tried to help me with this problem, thinking it is a Catalyst problem. It looks like it is more a browser issue. Cheers Emmanuel -- - Emmanuel Quevillon Biological Software and Database

Re: [Catalyst] Re: How to print/display some data in an end action

2008-05-05 Thread Emmanuel Quevillon
if scalar @{ $c->error } && !$c->stash->{template}; return 1 if $c->response->status =~ /^(?:204|3\d\d)$/; my $view = $c->view() || die "Catalyst::Action::RenderView could not find a view to forward to.\n";

Re: [Catalyst] Re: How to print/display some data in an end action

2008-05-04 Thread Emmanuel Quevillon
Aristotle Pagaltzis wrote: Hi Emmanuel, * Emmanuel Quevillon <[EMAIL PROTECTED]> [2008-04-30 16:30]: Maybe I can clarify the situation. OK; but all of that was already reasonably obvious. The issue is, you are doing something to forward to ::View::TT automatically at the end of a r

Re: [Catalyst] Re: How to print/display some data in an end action

2008-04-30 Thread Emmanuel Quevillon
Aristotle Pagaltzis wrote: * Emmanuel Quevillon <[EMAIL PROTECTED]> [2008-04-30 15:05]: Catalyst always try to wrap the action result 'display' into a template. No, it doesn’t. If that happens in your app, then you have set it up to happen like that. But the code you pasted

Re: [Catalyst] How to print/display some data in an end action

2008-04-30 Thread Emmanuel Quevillon
Andreas Marienborg wrote: On Apr 30, 2008, at 11:51 AM, Emmanuel Quevillon wrote: Hi, I'd like to incorporate an action into an tag that only prints some data (XML SVG). I have an action in a controller Foo that do this : sub display : Local : Args(1) { my $t = $o

[Catalyst] How to print/display some data in an end action

2008-04-30 Thread Emmanuel Quevillon
to print this extra code from catalyst? Thanks in advance -- - Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 98 tuco at_ pasteur dot fr - ___ List: Catalyst@lists.scsys.co.uk L

[Catalyst] Re: CatalystSites.org

2008-03-28 Thread Emmanuel Quevillon
Lance A. Brown wrote: Emmanuel Quevillon said the following on 3/28/2008 3:30 AM: BTW, wouldn't it be nice to have an image/icon like other platforms have saying 'Catalyst powered', as we can see for PHP, mySQL, Hibernate, Apache, Just a though, maybe a good point to make

Re: [Catalyst] CatalystSites.org

2008-03-28 Thread Emmanuel Quevillon
pache, Just a though, maybe a good point to make catalyst known for more and more people? Regards Emmanuel -- ----- Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 9

Re: [Catalyst] uri_for problem

2008-03-05 Thread Emmanuel Quevillon
Moritz Onken wrote: [%- ourl = Catalyst.uri_for('/search') _ "?stype=seqid&query=" -%] ? Am 05.03.2008 um 10:50 schrieb Emmanuel Quevillon: Thanks! That did the work. ----- Emmanuel Quevillon Biological Software and Databases Group Institut Pasteu

[Catalyst] uri_for problem

2008-03-05 Thread Emmanuel Quevillon
e a way to get the proper url produce in the HTML page without '%5C%3F' ? I tried quoting and double quoting the url and escaping the question mark but without success. Thanks a lot. -- ----- Emmanuel Quevillon Biological Software and Databases Group Institut Pasteu

Re: [Catalyst] directory not allowed!? [SOLVED]

2008-02-20 Thread Emmanuel Quevillon
Emmanuel Quevillon wrote: Hi, I am starting writting a new application with Catalyst. I created app directory architecture and models. Now when I try to start the test server I get this error: bash-3.00$ script/pascodb_server.pl Can't use string ("pAscoDB") as a HASH ref while &

[Catalyst] directory not allowed!?

2008-02-19 Thread Emmanuel Quevillon
rt/home/tuco/src/perl/projects/Catalyst/pAscoDB/script/../lib/pAscoDB not allowed in require at script/pascodb_server.pl line 53. Someone any clue? Cheers -- ----- Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38

[Catalyst] Serving html pages

2008-01-11 Thread Emmanuel Quevillon
serve .html file. Is there any magic thing to do without changing MyApp->config->{static}->{ignore_extensions} ? Thanks a lot Regards -- - Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 98 tuco at_

[Catalyst] Create and store new cookie

2007-12-17 Thread Emmanuel Quevillon
a CGI::Simple::Cookie object, not a hash reference as mentioned in the response 'cookie' doc (http://search.cpan.org/~mramberg/Catalyst-Runtime-5.7011/lib/Catalyst/Response.pm#$res-%3Ecookies) Does anyone has a clue about this? Does the redirect causes the reset of the cookies?