[Catalyst] Handel Installation Problems

Christopher Laco claco at chrislaco.com
Wed Oct 17 04:35:47 GMT 2007


Collin Condray wrote:
> I am having trouble installing Handel in a shared hosting environment 
> (Dreamhost) and need a little help understanding the error messages that 
> I'm receiving. My Catalyst install is up and running ( 
> http://myapp.condray.net). I have also updated the docs on how to run it 
> under FastCGI leaning heavily on the instructions on the Dreamhost wiki 
> (http://wiki.dreamhost.com/Perl <http://wiki.dreamhost.com/Perl>, 
> http://wiki.dreamhost.com/Fastcgi, and 
> http://wiki.dreamhost.com/Catalyst). The cpan command line was used to 
> install all the Catalyst modules succesfully.
> 
> I've tried installing Handel using both cpan install Handel and a manual 
> build with no luck. After several iterations of trying to install 
> Handel, it appears all the prerequisites have finally loaded:
> 
> - Test::More                              ...loaded. ( 0.72 >= 0.61)
> - DBIx::Class                             ...loaded. (0.08002 >= 0.08002)
> - DBIx::Class::UUIDColumns                ...loaded. (0.02002 >= 0.02000)
> - DBIx::Class::Validation                 ...loaded. ( 0.02001 >= 0.02000)
> - Data::Currency                          ...loaded. (0.04002 >= 0.04002)
> - Class::Accessor::Grouped                ...loaded. (0.07000 >= 0.03)
> - Class::ISA                              ...loaded. ( 0.32)
> - Class::Inspector                        ...loaded. (1.17)
> - Clone                                   ...loaded. (0.15)
> - Error                                   ...loaded. (0.15 >= 0.14)
> - Locale::Maketext                        ...loaded. ( 1.08 >= 1.06)
> - Module::Pluggable                       ...loaded. (3.6 >= 3.1)
> - Module::Starter                         ...loaded. (1.42 >= 1.42)
> - Scalar::Util                            ...loaded. (1.19 )
> - Tie::Hash                               ...loaded. (1.01)
> - DateTime                                ...loaded. (0.22)
> - DateTime::Format::MySQL                 ...loaded. (0.04)
> - Locale::Currency                        ...loaded. ( 2.21 >= 2.07)
> - Locale::Currency::Format                ...loaded. (1.22 >= 1.22)
> - FormValidator::Simple                   ...loaded. (0.22 >= 0.17)
> - Finance::Currency::Convert::WebserviceX ...loaded. ( 0.06001 >= 0.03)
> - NEXT                                    ...loaded. (0.60)
> - FileHandle                              ...loaded. (2.01)
> - File::Spec::Functions                   ...loaded. (1.3)
> - File::Path                              ...loaded. ( 1.06)
> - SQL::Translator                         ...loaded. (0.08001 >= 0.08)
> - Getopt::Long                            ...loaded. (2.34)
> - Pod::Usage                              ...loaded. (1.16)
> - DBD::SQLite                             ...loaded. ( 1.14)
> - YAML                                    ...loaded. (0.66 >= 0.65)
> [Catalyst Support]
> - Catalyst::Runtime                       ...loaded. (5.7010 >= 5.7007)
> - Catalyst::Devel                         ...loaded. ( 1.03 >= 1.02)
> - HTML::FillInForm                        ...loaded. (2.00 >= 1.05)
> [AxKit Support]
> - AxKit                                   ...loaded. (1.62 >= 1.61)
> 
> sqlite3 is also available.
> 
> The Test::File module was not loaded and I had to load that one manually 
> through CPAN. However, I am still receiving the following failed test 
> errors:
> 
> Failed 5/153 test scripts, 96.73% okay. 1315/12443 subtests failed, 
> 89.43% okay.
> Failed Test            Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/cart_create.t           0    11   187  338 180.75%   19-187
> t/compat_cart_new.t       0    11   160  292 182.50%  15-160
> t/compat_order_new.t    255 65280   380  722 190.00%  20-380
> t/order_create.t        255 65280   656 1276 194.51%  19-656
> t/storage_dbic_clone.t    1   256    10    1  10.00%  10
> 19 tests skipped.
> make: *** [test_dynamic] Error 255
> 
> Three of the errors produce more information than what is listed above. 
> They are:
> 
> t/compat_order_new........................Can't use "for Statement 
> "INSERT INTO
> orders (created" as a method name in bracket group, in:
> Can't use "for Statement "INSERT INTO orders (created" as a method name 
> in brack
> et group, in:
> DBI Exception: DBD::SQLite::st execute failed: library routine called 
> out of seq
> uence(21) at dbdimp.c line 376 [for Statement "INSERT INTO orders 
> (created, hand
> ling, id, shipping, shopper, subtotal, tax, total, type, updated) VALUES 
> (?, ?,
> ?, ?, ?, ?, ?, ?, ?, ?)"]
> ================================================================================ 
> 
> ==============================^ near there
>  via Handel::L10N::en_us, as used at /home/username/.cpan/build/Handel-1.0
> 0005/blib/lib/Handel/Exception.pm line 22
>  via Handel::L10N::en_us, as used at /home/username/.cpan/build/Handel- 1.0
> 0005/blib/lib/Handel/Exception.pm line 22
> # Looks like you planned 380 tests but only ran 19.
> dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 20-380
>         Failed 361/380 tests, 5.00% okay
> 
> t/order_create............................Can't use "for Statement 
> "INSERT INTO
> orders (created" as a method name in bracket group, in:
> Can't use "for Statement "INSERT INTO orders (created" as a method name 
> in brack
> et group, in:
> DBI Exception: DBD::SQLite::st execute failed: library routine called 
> out of seq
> uence(21) at dbdimp.c line 376 [for Statement "INSERT INTO orders 
> (created, hand
> ling, id, shipping, shopper, subtotal, tax, total, type, updated) VALUES 
> (?, ?,
> ?, ?, ?, ?, ?, ?, ?, ?)"]
> ================================================================================
> ==============================^ near there
>  via Handel::L10N::en_us, as used at /home/username/.cpan/build/Handel- 1.0
> 0005/blib/lib/Handel/Exception.pm line 22
>  via Handel::L10N::en_us, as used at /home/username/.cpan/build/Handel-1.0
> 0005/blib/lib/Handel/Exception.pm line 22
> # Looks like you planned 656 tests but only ran 18.
> dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 19-656
>         Failed 638/656 tests, 2.74% okay
> 
> t/storage_dbic_clone......................
> #   Failed test 'cloned schema a copy when connected'
> #   at t/storage_dbic_clone.t line 60.
> #     Structures begin differing at:
> #          $got->{schema_class} = 'Handel::Cart::Schema'
> #     $expected->{schema_class} = Does not exist
> # Looks like you failed 1 test of 10.
> dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 10
>         Failed 1/10 tests, 90.00% okay
> 
> and I'm not able to Google any results on the above errors that are helpful.
> 
> I am very excited about using the Catalyst framework and believe that 
> Handel will be enormously helpful in a project that I'm currently 
> working on. Any help in getting Handel up and running would be 
> appreciated. If there's any other information that I can provide on this 
> problem, please let me know.
> 
> Thanks,
> -- 
> Collin Condray
> condray.net <http://condray.net>
>

Based on the error numbers/tests/messages, I'd wager you have 
DBD::SQLite 1.14 installed, but thats just as guess...

What does:

perl -e 'use DBD::Sqlite 999' give you?



More information about the Catalyst mailing list