From: Charlie Garrison garri...@zeta.org.au
Can you tell about those problems? I hope I won't create them in the
inflator I want to create.
I don't recall exactly, but IC::File had problems with multiple
'file' columns. I remember, the delete part was completely
broken if all files were not in
From: Charlie Garrison garri...@zeta.org.au
On 24/01/10 at 10:47 PM +0200, Octavian Rasnita
orasn...@gmail.com wrote:
I made a InflateColumn::FileUpload inflator similar to InflateColumn::File,
which also works with HTML::FormFu and it has an additional feature.
I had some problems with
Hi,
I have seen that after a form that contains a file upload field is
submitted, I can't access the name of that field if it was sent empty (no
file was submitted).
I have tried to override more Catalyst methods like prepare_body_parameters,
prepare_uploads, finalize_uploads, and even
From: Pavel O. Karoukin pa...@yepcorp.com
Hello,
I wonder what is a best practice to build complex layouts (sidebars, forms
in 'em, list of latest news in sidebar, etc)?
Right now I see it in chaining several actions and each one adding content
into stash. Is there any other dry approaches?
From: Kiffin Gish kiffin.g...@planet.nl
Normally myapp_create.pl is run with the whole database given on the
command line, e.g.
script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \
create=static dbi:SQLite:myapp.db
Can I restrict this to a single table or tables only? For example, I
Hi,
I use Catalyst::Controller::HTML::FormFu but in some actions I don't want to
use the FormConfig attribute because it would automaticly generate and
process a form, which takes much time. I want to do that only if the already
generated template and data was not found in the cache.
But
Hi,
I found that in Catalyst::Runtime 5.80016 the following error still appears
when there is a bug in the current application:
[error] Caught exception in engine Can't use string
(8e6ef33a63f84c0132bf6e605898b7cc) as a HASH ref while strict refs in
use at
From: Felix Antonius Wilhelm Ostmann ostm...@websuche.de
Oleg Kostyuk schrieb:
2009/12/14 Alexander Hartmaier alexander.hartma...@t-systems.at:
All app errors result in this cat error with the new version for me:
[error] Caught exception in engine Can't use string
2009/12/8 Octavian Râşniţă orasn...@gmail.com:
Is there a similar method for $c-action that can be used for getting the
name of the subroutine which is accessed?
[...]
If the information from my post from long ago [1] still holds true,
you should be able to use $c-stack-[ -1 ] to get the most
Hello,
I've installed Catalyst::TraitFor::Model::DBIC::Schema::Caching and it seems
to work fine, but it conflicts with Catalyst::Plugin::I18N::DBI.
I made the following settings in order to be able to use C::TraitFor::...
'Model::DB' = {
traits = ['Caching'],
schema_class = 'BRK::Schema',
Hi,
I've created in MyApp/lib the module
MyApp/lib/Catalyst/Helper/Model/MyHelper.pm
But I can't run it using
perl script/myapp_create.pl model MyModel MyHelper
because myapp_create.pl doesn't add the local lib to @INC so it can't find
it.
Is there any reason the local lib is not added to
From: Tomas Doran bobtf...@bobtfish.net
On 24 Nov 2009, at 20:31, Octavian Râşniţă wrote:
I would like to structure the t directory as lib/MyApp is structured. Is
it possible to be able to configure the app somehow so `make test` checks
all the test files even if they are in sub- directories
From: Wallace Reis wall...@reis.org.br
On 25/11/2009, at 09:36, Octavian Râşniţă wrote:
This is good news. But unfortunately it executes only the tests from the t
directory, not those from its subdirectories.
I have tried to put this line of code in more places in Makefile.PL
Hello,
I would like to structure the t directory as lib/MyApp is structured. Is it
possible to be able to configure the app somehow so `make test` checks all
the test files even if they are in sub-directories?
`prove -r -l t` can do this, but it works well only under Linux or if I also
add
Hi,
After I constructed a resultset object, I can get the hash of attributes
used for generating it using:
my $attrs = $rs-{attrs}
But if I get a row object from that resultset, I can't get the attributes
anymore using:
my $row = $rs-first;
my $attrs = $row-{attrs};
Is there a way of
From: J. Shirley jshir...@gmail.com
cpan look ModuleName
$ perl Makefile.PL
$ make
$ make test
$make install
I can install the modules without problem (usually).
However, I need to manually install each dependency.
I've seen this strange thing under 2 Debian systems so I think it is not
a
Hi,
I've seen a recommendation on this list for Debian for running perl apps,
and recently I started to use this distro.
I've seen that I can install perl modules very hard under Debian if I use
the CPAN shell.
For example if I run
$ cpan
cpan install Class::MOP
it gives an Unknown error
From: J. Shirley jshir...@gmail.com
Hi,
I've seen a recommendation on this list for Debian for running perl apps,
and recently I started to use this distro.
I've seen that I can install perl modules very hard under Debian if I use
the CPAN shell.
For example if I run
$ cpan
cpan install
From: Bill Moseley mose...@hank.org
2009/10/9 Octavian Râşniţă orasn...@gmail.com
Hi,
I've recently started to use Mercurial for revision control and the pages
regarding the deployment of a Catalyst app from the Catalyst wiki also
help
me very much, but I still don't know what would
Hi,
I've recently started to use Mercurial for revision control and the pages
regarding the deployment of a Catalyst app from the Catalyst wiki also help
me very much, but I still don't know what would be the best method for
uploading the files to the server.
How do you do it?
Archive the
From: J. Shirley jshir...@gmail.com
On Fri, Oct 9, 2009 at 7:55 AM, Tobias Kremer
tobias.kre...@gmail.comwrote:
2009/10/9 Octavian Râşniţă orasn...@gmail.com:
I've recently started to use Mercurial for revision control and the
pages
regarding the deployment of a Catalyst app from
Hi,
I've seen some Catalyst sample modules that use use base and some others
that use use parent.
I know that the recommendation could be to use Moose and extends..., but
if Moose is not needed, what's the difference between use parent and use
base?
When should be use parent be used and
Hi,
In DBIx::Class::ResultSource.pm's POD documentation I read:
add_columns
...
Adds columns to the result source. If supplied key = hashref pairs,
uses the hashref as the column_info for that column. Repeated calls of
this method will add more columns, not replace them.
But in
In Catalyst::Manual::Tutorial::04_BasicCRUD.pod I read that we need to
specify the ResultSet classes we want to use with:
__PACKAGE__-resultset_class('MyApp::Schema::ResultSet::Book');
I've seen that it works even without it. Is this line really needed?
Octavian
Hi,
I've tried for more times to create an user on dev.catalystframework.org but
without success. It tells me that:
We've sent you an email with an activation link. Please click on it to
activate your account!
The email was sent to orasn...@gmail.com.
But I never received that email, not
From: Tomas Doran bobtf...@bobtfish.net
On 20 Jun 2009, at 07:28, Octavian Râşniţă wrote:
But I never received that email, not even in the SPAM folder. So I gave
another email address, but I didn't receive any message at that email
address either.
Is there something wrong with the site
From: Hans Dieter Pearcey hdp.perl.catalyst.us...@weftsoar.netOn Wed,
Jun 10, 2009 at 10:33:26PM +0300, Octavian Râşniţă wrote:
When using this syntax, where can I specify the local path where I want
to install the Some::Module?
You never do that with local::lib. It sets up the env
From: Tomas Doran bobtf...@bobtfish.net
Octavian Râşniţă wrote:
When using this syntax for installing modules in the directory 'my_lwp' I
don't know how I can specify the force parameter of the cpan shell.
perl -MCPAN -Mlocal::lib=my_lwp -e 'CPAN::force(qw/install LWP/)'
Cheers
t0m
Thank you
From: Hans Dieter Pearcey hdp.perl.catalyst.us...@weftsoar.net
Failed 185/213 test programs. 20/536 subtests failed.
(This error is given when I try to install Moose using the standard cpan
command line also.)
This isn't an error, this is a summary. No one can help you fix the problem
if
From: Tomas Doran bobtf...@bobtfish.net
Patricio A. Bruna wrote:
Maybe i explain wrong.
I did not mean load balance, i meant deployment.
i develop my app on my box, and then i need to deploy it on the
production server, with the same operating system. downloading all the
modules from cpan is
From: Stuart Watt
Why would you do that? If the module you're installing fails its tests, you
should file a bug report. What kind of error? IME you shouldn't ever want to or
need to force install a module. This should be a *colossal* red flag to you.
...
/joel
It is very possible
Hi,
I corrected (re-written) that message in which I tried to show why it is
better to use DBIC, because it doesn't affect the efficiency. Here it is. I
hope it could be helpful. Please tell me if you think it needs improvements:
Why it is better to use an ORM like DBIx::Class
There are
From: Tomas Doran bobtf...@bobtfish.net
Tomas Doran wrote:
and a new
Catalyst-Devel will be released shortly..
This has now happened, please upgrade so that you don't have this
problem again.
Thanks
t0m
Thank you t0m!
Now it works fine.
Octavian
Hi,
I tried:
e:\web\ catalyst Testing
e:\web\ cd Testing
e:\web\Testing\ perl script/testing_server.pl -p 80
But it gave the message that the app can be accessed on the port 3000. I
have also tried to start it on the port 82, but it started on the port 3000.
I use perl 5.10.0 and Catalyst
I have Catalyst::Devel 1.15 and I have also force installed it again, but it
gives the same error.
It works if I use the parameter -port, but it doesn't work with -p.
Octavian
- Original Message -
From: Tomas Doran bobtf...@bobtfish.net
To: The elegant MVC web framework
From: Hans Dieter Pearcey hdp.perl.catalyst.us...@weftsoar.net
On Thu, May 21, 2009 at 09:23:12PM +0300, Octavian Râşniţă wrote:
I have Catalyst::Devel 1.15 and I have also force installed it again, but
it gives the same error.
You forgot to read the whole message:
Update Catalyst::Devel
Hi,
I've started to use fastcgi with Apache and after a little fight with it, I
made it work, but I can't access /server-status anymore.
I've checked and mod_status.so is loaded in httpd.conf:
LoadModule status_module modules/mod_status.so
and it is also configured to show the server
From: Ash Berlin ash_c...@firemirror.com
On 2 May 2009, at 09:25, Octavian Râşniţă wrote:
Hi,
I've started to use fastcgi with Apache and after a little fight with it,
I made it work, but I can't access /server-status anymore.
I've checked and mod_status.so is loaded in httpd.conf
From: J. Shirley
Then the Cookbook is wrong. I've never seen anything but a 500 error from
any web server I've used.
If you have a proxy in front, and the backend is down, you get a 502 error.
-J
If mod_perl is used, it is clear that there could be a reverse proxy or a
load
Hi,
I've tried to install Catalyst::Devel with ActivePerl 5.10.0 under Fedora,
but I received the warning below.
I read that bug ticket and I've seen that this bug was patched in perl
5.10.1.
Does this mean that if I will compile Perl 5.10.0 from the tarball, it will
give the same error?
Hi,
Is there a way of avoiding to add the InflateColumn::DateTime component to a
DBIC class when using the DBIC::Schema catalyst helper?
Or if the component is added, can I add something after do not modify
anything above to disable it entirely?
I want to do this because I have some
From: Tomas Doran bobtf...@bobtfish.netOn 19 Apr 2009, at 17:27,
Octavian Râşniţă wrote:
With Catalyst 5.8 I've tried:
E:\web\T2 perl Makefile.PL
...
E:\web\T2 nmake
...
E:\web\T2 nmake catalyst_par
...
snip
Could be an error of PAR, or something else?
I guess you're using perl 5.8 rather
Hi,
With Catalyst 5.8 I've tried:
E:\web\T2 perl Makefile.PL
...
E:\web\T2 nmake
...
E:\web\T2 nmake catalyst_par
...
Writing PAR t2.par
# Until here is good, because with the previous version it gave an error and
didn't want to create the par archive.
E:\web\T2 parl t2.par
Hi,
I know that if possible the mod_perl handlers are recommended and not
ModPerl::PerlRun and neither ModPerl::Registry, but these options could be
used to run Catalyst applications in less privileged servers because the
server doesn't need to be restarted in order to start the application.
Hello,
I've tried to create a PAR archive from a Catalyst app and I've done:
1. Put catalyst_par(); in Makefile.PL.
2. Run perl Makefile.PL
3. Run nmake catalyst_par
But it gave the following error:
Writing PAR acces.par
NMAKE : fatal error U1077: 'E:\perl510\bin\perl.exe' : return code
From: Peter Karman pe...@peknet.com
Neo [GC] wrote on 02/23/2009 09:41 AM:
Does anyone know a _safe_ method to convert _any_ string-scalar to utf8?
Something like
anything_to_utf8($s)
, regardless if $s contains ascii, latin1, utf8, tasty hodgepodge or hot
fn0rd, utf8-flag is set or not and is
Hello,
It is very clear that a Catalyst app can't run on a shared host, but it
requires either a dedicated server or a VPS.
I am searching for web space providers that offer VPS and I've seen that
they use to set their tariff plans mainly on the guaranteed memory, but I
don't know which would
From: Dan Dascalescu ddascalescu+catal...@gmail.com
I've just discovered Data::Dump but it appears to beat the crap out of
Data::Dumper. Yet does it say anywhere Hey, if you're getting started
with Perl and need to dump variables, use Data::Dump, and don't waste
your time investigating other
48 matches
Mail list logo