Re: [Catalyst] error installing Catalyst::Plugin::Session (2)

2007-07-12 Thread Octavian Rasnita
Thanks. I have solved it by doing a force install because I guess that 
error is not a real one.


Octavian

- Original Message - 
From: apv [EMAIL PROTECTED]

To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Thursday, July 12, 2007 8:45 AM
Subject: Re: [Catalyst] error installing Catalyst::Plugin::Session (2)


I ran into this too doing a clean install last week on DreamHost and 
forgot to report it. I'm sorry! If you're in a hurry, the way I  solved it 
(in the CPAN shell) was to install an older version of  Session and family 
first and then upgrade from there.


-Ashley

On Jul 11, 2007, at 10:25 PM, Octavian Rasnita wrote:


Hi,

I have seen that when trying to install C::P::Session, appears the 
following error. It seems that C::P::Session depends on 
C::P::Session::State::Cookie but this second module depends on the  first 
one.


t/06_finalize.ok 1/3Can't locate Catalyst/Plugin/ 
Session/State/Cookie.pm in @INC (@INC contains: /home/teddy/modules
/Catalyst-Plugin-Session-0.16/blib/lib /home/teddy/modules/Catalyst- 
Plugin-Session-0.16/blib/arch /usr/local/perl588/lib/5.8.8/x86_6
4-linux-thread-multi /usr/local/perl588/lib/5.8.8/x86_64-linux- 
thread-multi /usr/local/perl588/lib/5.8.8 /usr/local/perl588/lib/site
_perl/5.8.8/x86_64-linux-thread-multi /usr/local/perl588/lib/ 
site_perl/5.8.8/x86_64-linux-thread-multi /usr/local/perl588/lib/ site_p
erl/5.8.8 /usr/local/perl588/lib/site_perl/5.8.8/x86_64-linux- 
thread-multi /usr/local/perl588/lib/site_perl/5.8.8 /usr/local/perl588
/lib/site_perl . /usr/local/perl588/lib/5.8.8/x86_64-linux-thread- multi 
/usr/local/perl588/lib/5.8.8 /usr/local/perl588/lib/site_per
l/5.8.8/x86_64-linux-thread-multi /usr/local/perl588/lib/site_perl/ 5.8.8 
/usr/local/perl588/lib/site_perl .) at /usr/local/perl588/l

ib/site_perl/5.8.8/Catalyst.pm line 2139.
# Looks like you planned 3 tests but only ran 1.
# Looks like your test died just after 1.
t/06_finalize.dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-3
Failed 2/3 tests, 33.33% okay
t/99_pod..skipped
   all skipped: set TEST_POD to enable this test
t/99_podcoverage..skipped
   all skipped: Test::Pod::Coverage 1.04 required
t/live_appskipped
   all skipped: Catalyst::Plugin::Session::State::Cookie 0.03  or 
higher is required for this test

Failed Test Stat Wstat Total Fail  List of Failed
-- 
-

t/06_finalize.t  255 65280 34  2-3
4 tests skipped.
Failed 1/8 test scripts. 2/25 subtests failed.
Files=8, Tests=25,  1 wallclock secs ( 0.50 cusr +  0.10 csys =   0.60 
CPU)

Failed 1/8 test programs. 2/25 subtests failed.
make: *** [test_dynamic] Error 255

Octavian



___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: 
http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/ 



___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Ask Catalyst: What are your prefered DB and HTML abstraction layers ?

2007-07-12 Thread Alexandre Jousset

Matt S Trout a écrit :
[...]

(1) Will it be more work to get your RHTMLO-DBIC integration going than
it would be to port to RDBO and get RHTMLO-RDBO integration going?


	For the moment there is not a lot of code, so it could be easy to port 
the application to Rose.



(2) Do you need any of the features DBIC provides that RDBO doesn't? (resultset
chaining and support for GROUP BY/HAVING being the obvious candidates)


	I don't know exactly what resultset chaining is. I'll take a look at 
the doc to decide.



Equally, (2) can be flipped, asking whether the features RDBO provides that
DBIC doesn't (which I'm obviously not as clear on the list of :) are worth
the effort of porting.


I'll also take a look at the doc for that.


In the long term I personally don't see RHTMLO remaining the state of the
art in terms of form generation, but equally I do see it being the closest


	Why do you say that ? Are there elements you know that make you think 
that ?



to good enough of the currently available options so perhaps you won't need
to switch even when a better solution becomes available.


Ok.


RDBO is a very well-engineered project, and while it has a more measured
development pace than DBIx::Class that does result in it being a bit more
polished in places and the documentation is excellent.


This is why I thought porting my app to it :-)


So ... I don't really have a straight answer for you. I know of quite a few
devs who've gone both routes and been happy with it, and I can't really say
whether one route is better or not - I think what I'd do is create a quick
one-table test app using Catalyst::Controller::Rose, and port one of your
current DBIC+FB controllers to DBIC+RHTMLO, and then decide at that point
which approach you like better.


Thank you very much for your answer Matt.
--
   \^/
 -/ O \
| |/ \|   Alexandre (Midnite) Jousset  |
 -|___|

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


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

2007-07-12 Thread Yuval Kogman
Well done!

-- 
  Yuval Kogman [EMAIL PROTECTED]
http://nothingmuch.woobling.org  0xEBD27418


___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] error installing Catalyst::Plugin::Session (2)

2007-07-12 Thread Yuval Kogman
Blah, I thought I solved it with the most recent version.

The root of the issue is that if (and only if) an older version of
State::* exists it must be upgraded. If this is detected then
dependencies are added to the list. Please verify that this was
resolved with the most recent version?

It looks like the 06_finalize test should skip if these plugins are
not installed.

Regards,

-- 
  Yuval Kogman [EMAIL PROTECTED]
http://nothingmuch.woobling.org  0xEBD27418



pgptAVKAKqzEt.pgp
Description: PGP signature
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] error installing Catalyst::Plugin::Session (2)

2007-07-12 Thread Octavian Rasnita
I don't know if this was the case, because I've just installed perl 5.8.8 on 
a new machine (X86_64 SuSE), and I have tried installing Catalyst using:


cpan install Task::Catalyst

I guess it should have tried to install the newest versions.

Thanks.


Octavian

- Original Message - 
From: Yuval Kogman [EMAIL PROTECTED]

To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Thursday, July 12, 2007 3:20 PM
Subject: Re: [Catalyst] error installing Catalyst::Plugin::Session (2)



___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: 
http://www.mail-archive.com/catalyst@lists.rawmode.org/

Dev site: http://dev.catalyst.perl.org/




___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] question about Catalyst::Plugin::Session::State::Cookie

2007-07-12 Thread John Goulah

I am wondering why I have to explicitly set the config option cookie_expires
to 0 to get a session cookie.  You would think the module name implies that
by default its a session cookie, but it seems to set a timeout by default
and this must be overridden.


Thanks,
John
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Request for text handling advice -- Security, etc

2007-07-12 Thread Dennis Daupert
I'm focusing on form validation issues at the moment, particularly text input 
for stories, articles. I'd like to ask for advice on handling user input. I 
know, for example, it is unwise to trust user input -- but what are recommended 
modules/plugins/etc for securing my Catalyst app?

/dennis



 ___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Request for text handling advice -- Security, etc

2007-07-12 Thread J. Shirley

On 7/12/07, Dennis Daupert [EMAIL PROTECTED] wrote:

I'm focusing on form validation issues at the moment, particularly text
input for stories, articles. I'd like to ask for advice on handling user
input. I know, for example, it is unwise to trust user input -- but what are
recommended modules/plugins/etc for securing my Catalyst app?

/dennis






Hi Dennis,

My personal favorite is using Data::FormValidator, which is very
robust and full featured.  A simpler alternative is
FormValidator::Simple.

If you want to actually tie something into form generation and
handling, Catalyst::Controller::FormBuilder is the recommended
package.

-Jay

--
J. Shirley :: [EMAIL PROTECTED] :: Killing two stones with one bird...
http://www.toeat.com

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Command-line utility using Controller - examples?

2007-07-12 Thread Ronald J Kimball
I need to write a utility script using Controller modules that will run 
from the command line.  I haven't been able to find any examples of how 
to do this.  Does anyone have a quick example I could use as inspiration?


thanks!
Ronald

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] searching for a catalyst coach

2007-07-12 Thread Hans Ophüls
Hi list,

is a anybody interested to be a catalyst coach ?

We are planing to use catalyst for future applications,
but we need help to understand the hole thing at a serious level.

For our planed application DBIx::Class and a javascript/ajax 
Framework (which is not specified today) is important.

We are in Germany near Düsseldorf. 
Language may be german or english.

If Interested:
Please send a Mail to hop at shoppilot.de to contact me.
Please tell me which work you have done with perl and catalyst.

Regards
Hans


___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] question about Catalyst::Plugin::Session::State::Cookie

2007-07-12 Thread Yuval Kogman
The name of the module implies that it provides Cookie based state
preservation for the Session module.

For compatibility with previous versions, and also because it kinda
makes sense, the default behavior is to set the cookie and the
server side storage to expire at the same time.

If the cookie has browser session based expiration then the data on
the server might disappear before the ID in the client, which kinda
sucks. The inverse is less annoying (stale data on the server) but
might be a problem for high volume sites.

On Thu, Jul 12, 2007 at 12:12:34 -0400, John Goulah wrote:
 I am wondering why I have to explicitly set the config option 
 cookie_expires
 to 0 to get a session cookie.  You would think the module name implies that
 by default its a session cookie, but it seems to set a timeout by default
 and this must be overridden.
 
 
 Thanks,
 John

 ___
 List: Catalyst@lists.rawmode.org
 Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
 Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
 Dev site: http://dev.catalyst.perl.org/


-- 
  Yuval Kogman [EMAIL PROTECTED]
http://nothingmuch.woobling.org  0xEBD27418


___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/