Le Mar. Jul. 28 21:21:56 2009, ZARQUON a écrit :
Show quoted text> I can't replicate this without running auth_bootstrap outside of the
> app
> 's home directory:
>
> Z:\platinum-strawberry-perl-5.10.0.4-portable-beta-
> 2\dbictest\MyApp2>auth_bootst
> rap.bat -credential http
> created "db"
> Dumping manual schema for MyApp2::Auth::Schema to directory lib ...
> Schema dump completed.
> '.' is not recognized as an internal or external command,
> operable program or batch file.
> Configuring http credential
> created "script/myapp2_auth_admin.pl"
>
> Z:\platinum-strawberry-perl-5.10.0.4-portable-beta-2\dbictest\MyApp2>
>
> Is there a mistake in the book that made you run it outside the app's
> directory, or is there somthing odd about your perl environment
> (suggestion: use the testshell.bat script that comes with platinum
> perl)
Hi,
There's no mistake in the book : I ran the command inside the app's
directory (not the "root" directory). I used testshell.bat you
suggested, here is the result :
C:\platinum>testshell.bat
C:\platinum>set bindir=C:\platinum\
C:\platinum>set perlpath=C:\platinum\perl\bin
C:\platinum>set buildpath=C:\platinum\c\bin
C:\platinum>set PATH=C:\platinum\perl\bin;C:\Python25
\;C:\PVSW\Bin;C:\Program Files\PC Connectivity Solution\;C:\Program
Files\PHP\;C:\Tcl\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIN
DOWS\System32\Wbem;C:\Program
Files\Subversion\bin;C:\Python25;C:\Python25\Scripts;C:\Program
Files\MySQL\MySQL Server 5.0\bin;C:\Python25\python.exe;C:\Python25
\protoc.exe;C:\Python25\protocolbuffers;C:\Program
Files\TortoiseSVN\bin;;C:\Python25;C:\Python25\Scripts;C:\Python25
\python.exe;C:\Python25\protoc.exe;C:\Python25
\protocolbuffers;;C:\platinum\perl\bin;C:\platinum\c\bin
C:\platinum>REM "C:\platinum\perl\bin\perl.exe"
C:\platinum>cmd
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
I re-installed the following ones :
DBIx::Class::Storage
SQL::Abstract::Limit
DBD::SQLite
I reissued the command :
C:\platinum\perl\bin\LolCatalyst-Lite>auth_bootstrap.bat -credential
http
created "db"
Use of uninitialized value in concatenation (.) or string at
C:/platinum/perl/site/lib/Catalyst/Helper/AuthDBIC.pm line 95.
Can't call method "loader_options" without a package or object
reference at C:/platinum/perl/site/lib/DBIx/Class/Schema/Loader.pm
line 284.
I checked again DBIx::Class::Schema::Loader :
C:\platinum\perl>cpan DBIx::Class::Schema
Database was generated on Tue, 28 Jul 2009 11:07:01 GMT
DBIx::Class::Schema is up to date (undef).
C:\platinum\perl>cpan DBIx::Class::Schema::Loader
Database was generated on Tue, 28 Jul 2009 11:07:01 GMT
DBIx::Class::Schema::Loader is up to date (0.04006).
Thank you in advance for your help, I am not discouraged yet.