Nate Perry-Thistle
2006-04-04 20:49:01 UTC
Good day,
I've just upgraded my (development) Alzabo installation from 0.87 to
0.8801 using CPAN. Install went smoothly (tested against MySQL), I
accepted the Alzabo root presented during installation
"/usr/local/web/alzabo" which is where it has always been.
I'm (mostly) using Alzabo in a Mason/mod_perl context. Immediately
after upgrading I get this error when I run 'apachectl configtest':
[Tue Apr 4 15:12:53 2006] [error] No saved schema named pls_intranet (\t/schemas/pls_intranet/pls_intranet.runtime.alz)\n\nTrace begun at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/Schema.pm line 38\nAlzabo::Schema::_load_from_file(undef, 'name', 'pls_intranet') called at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/Runtime/Schema.pm line 22\nAlzabo::Runtime::Schema::load_from_file('Alzabo::Runtime::Schema', 'name', 'pls_intranet') called at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 64\nAlzabo::MethodMaker::new('Alzabo::MethodMaker', 'class_root', 'PLS::Intranet::Data', 'all', 1, 'schema', 'pls_intranet') called at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 46\nAlzabo::MethodMaker::import(undef, 'schema', 'pls_intranet', 'class_root', 'PLS::Intranet::Data', 'all', 1) called at /usr/local/web/lib/pls-handler.pl line 26\nPLS::Handler::BEGIN at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 29\neval {...} at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 29\nrequire pls-handler.pl at (eval 14) line 1\neval 'require \\'pls-handler.pl\\'\n;' at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 29\nBEGIN failed--compilation aborted at /usr/local/web/lib/pls-handler.pl line 29.\nCompilation failed in require at (eval 14) line 1.\n
Syntax error on line 222 of /usr/local/web/modperlapache/conf/httpd.conf:
No saved schema named pls_intranet ( /schemas/pls_intranet/pls_intranet.runtime.alz)
Does it look like a tab character has become part of the schema path
being searched out?
At the top of the error above:
No saved schema named pls_intranet (\t/schemas/pls_intranet/pls_intranet.runtime.alz)
At the bottom of the error above:
No saved schema named pls_intranet ( /schemas/pls_intranet/pls_intranet.runtime.alz)
Or, have I missed a change during the upgrade process?
I use "PerlSetVar SchemaName pls_intranet" in a "LocationMatch"
directive in my Apache conf (note: those are spaces, not a tab in my
quoted example), and then get it in my required handler using
dir_config: "my $schema_name = $r->dir_config( 'SchemaName' );"
Perl is: v5.8.8, with a fresh install of Bundle::CPAN and Bundle::Apache
right before upgrade. Apache is: 1.3.34 compiled with mod_perl-1.29 &
mod_ssl-2.8.25-1.3.34. OS is RedHat Linux ES 3, all up2date.
Thanks for any pointers,
n.
P.S. A quick check of a script based usage also returns:
No saved schema named pls_intranet ( /schemas/pls_intranet/pls_intranet.runtime.alz)
I've just upgraded my (development) Alzabo installation from 0.87 to
0.8801 using CPAN. Install went smoothly (tested against MySQL), I
accepted the Alzabo root presented during installation
"/usr/local/web/alzabo" which is where it has always been.
I'm (mostly) using Alzabo in a Mason/mod_perl context. Immediately
after upgrading I get this error when I run 'apachectl configtest':
[Tue Apr 4 15:12:53 2006] [error] No saved schema named pls_intranet (\t/schemas/pls_intranet/pls_intranet.runtime.alz)\n\nTrace begun at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/Schema.pm line 38\nAlzabo::Schema::_load_from_file(undef, 'name', 'pls_intranet') called at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/Runtime/Schema.pm line 22\nAlzabo::Runtime::Schema::load_from_file('Alzabo::Runtime::Schema', 'name', 'pls_intranet') called at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 64\nAlzabo::MethodMaker::new('Alzabo::MethodMaker', 'class_root', 'PLS::Intranet::Data', 'all', 1, 'schema', 'pls_intranet') called at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 46\nAlzabo::MethodMaker::import(undef, 'schema', 'pls_intranet', 'class_root', 'PLS::Intranet::Data', 'all', 1) called at /usr/local/web/lib/pls-handler.pl line 26\nPLS::Handler::BEGIN at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 29\neval {...} at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 29\nrequire pls-handler.pl at (eval 14) line 1\neval 'require \\'pls-handler.pl\\'\n;' at /usr/local/web/perl/lib/site_perl/5.8.8/Alzabo/MethodMaker.pm line 29\nBEGIN failed--compilation aborted at /usr/local/web/lib/pls-handler.pl line 29.\nCompilation failed in require at (eval 14) line 1.\n
Syntax error on line 222 of /usr/local/web/modperlapache/conf/httpd.conf:
No saved schema named pls_intranet ( /schemas/pls_intranet/pls_intranet.runtime.alz)
Does it look like a tab character has become part of the schema path
being searched out?
At the top of the error above:
No saved schema named pls_intranet (\t/schemas/pls_intranet/pls_intranet.runtime.alz)
At the bottom of the error above:
No saved schema named pls_intranet ( /schemas/pls_intranet/pls_intranet.runtime.alz)
Or, have I missed a change during the upgrade process?
I use "PerlSetVar SchemaName pls_intranet" in a "LocationMatch"
directive in my Apache conf (note: those are spaces, not a tab in my
quoted example), and then get it in my required handler using
dir_config: "my $schema_name = $r->dir_config( 'SchemaName' );"
Perl is: v5.8.8, with a fresh install of Bundle::CPAN and Bundle::Apache
right before upgrade. Apache is: 1.3.34 compiled with mod_perl-1.29 &
mod_ssl-2.8.25-1.3.34. OS is RedHat Linux ES 3, all up2date.
Thanks for any pointers,
n.
P.S. A quick check of a script based usage also returns:
No saved schema named pls_intranet ( /schemas/pls_intranet/pls_intranet.runtime.alz)
--
Nate Perry-Thistle
http://www.perry-thistle.net/
Google Talk: nate.perry.thistle
AIM: nateperrythistle
ICQ #: 341212294
Y!Messenger: nate_perry_thistle
Nate Perry-Thistle
http://www.perry-thistle.net/
Google Talk: nate.perry.thistle
AIM: nateperrythistle
ICQ #: 341212294
Y!Messenger: nate_perry_thistle