Boris Reitman
unread,Feb 29, 2008, 11:14:35 AM2/29/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JSAN Users
Trying to install JSAN, and install a Test::Simple module. I ran it
in perl debugger, and I get this stack trace
after I execute command,
$ perl -d /usr/local/bin/jsan --prefix=/usr/local/js install
Test.Simple
closing dbh with active statement handles at
/usr/share/perl5/Class/DBI/Loader/SQLite.pm line 110.
at /usr/share/perl5/Class/DBI/Loader/SQLite.pm line 110
Class::DBI::Loader::SQLite::_tables('Class::DBI::Loader::SQLite=HASH(0x8ea4
d8c)') called at /usr/share/perl5/Class/DBI/Loader/Generic.pm line 142
Class::DBI::Loader::Generic::_load_classes('Class::DBI::Loader::SQLite=HASH
(0x8ea4d8c)') called at /usr/share/perl5/Class/DBI/Loader/Generic.pm
line 57
Class::DBI::Loader::Generic::new('Class::DBI::Loader::SQLite',
'namespace',
'JSAN::Indexer', 'dsn', 'dbi:SQLite:/home/boris/.jsan.index.sqlite',
'relationship
s', 1) called at /usr/share/perl5/Class/DBI/Loader.pm line 83
Class::DBI::Loader::new('Class::DBI::Loader', 'dsn',
'dbi:SQLite:/home/bori
s/.jsan.index.sqlite', 'namespace', 'JSAN::Indexer', 'relationships',
1) called at
/usr/local/share/perl/5.8.8/JSAN/Indexer.pm line 26
JSAN::Indexer::new('JSAN::Indexer') called at
/usr/local/share/perl/5.8.8/J
SAN/Shell.pm line 32
JSAN::Shell::index('JSAN::Shell=HASH(0x8e8afb0)') called at
/usr/local/shar
e/perl/5.8.8/JSAN/Shell.pm line 41
JSAN::Shell::install('JSAN::Shell=HASH(0x8e8afb0)',
'Test.Simple', '/usr/lo
cal/js') called at /usr/local/share/perl/5.8.8/JSAN.pm line 34
JSAN::__ANON__[/usr/local/share/perl/5.8.8/JSAN.pm:35]
('JSAN::Shell=HASH(0x8e8afb0)',
'Test.Simple') called at /usr/local/share/perl/5.8.8/JSAN.pm line 65
JSAN::execute('JSAN', 'install Test.Simple') called at
/usr/local/share/perl/5.8.8/JSAN.pm line 72
JSAN::control('JSAN') called at /usr/local/bin/jsan line 10
===========
I had trouble with Class::DBI::DATA::Schema dependency, maybe it has
something to do with error above.
I forced the install of it, even though tests failed:
boris@freedom:~/.cpan/build/Class-DBI-DATA-Schema-1.00$ sudo make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/data............NOK 5
# Failed test 'We have one film automatically set up'
# at t/data.t line 21.
# got: '0'
# expected: '1'
Can't call method "rating" on an undefined value at t/data.t line 27.
# Looks like you planned 10 tests but only ran 7.
# Looks like you failed 1 test of 7 run.
# Looks like your test died just after 7.
t/data............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5, 8-10
Failed 4/10 tests, 60.00% okay
t/pod-coverage....skipped
all skipped: Test::Pod::Coverage 1.00 required for testing POD
coverage
t/pod.............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/data.t 255 65280 10 7 70.00% 5 8-10
1 test skipped.
Failed 1/3 test scripts, 66.67% okay. 4/11 subtests failed, 63.64%
okay.