Skip Menu |
 

This queue is for tickets about the Wiki-Toolkit CPAN distribution.

Report information
The Basics
Id: 125401
Status: open
Priority: 0/
Queue: Wiki-Toolkit

People
Owner: dom [...] cpan.org
Requestors: david6228 [...] 126.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug report of wiki-toolkit
Date: Fri, 25 May 2018 20:45:35 +0800 (CST)
To: bug-Wiki-Toolkit [...] rt.cpan.org
From: david <david6228 [...] 126.com>
Download (untitled) / with headers
text/plain 669b
Dear Sir, I meet a bug when test the sample code: code: my $store = Wiki::Toolkit::Store::SQLite->new( dbname => "/home/wiki/store.db" ); my $indexdb = Search::InvertedIndex::DB::DB_File_SplitHash->new( -map_name => "/home/wiki/indexes.db", -lock_mode => "EX" ); my $search = Wiki::Toolkit::Search::SII->new( indexdb => $indexdb ); my $wiki = Wiki::Toolkit->new( store => $store, search => $search ); bug: Database schema version 0 is too old (need 10) run enviroment: CentOS 7 perl v5.16.3 same bug when test run in window 7 32bit, perl v5.14 and v5.26 David
Download (untitled) / with headers
text/plain 991b
On Fri May 25 13:45:54 2018, david6228@126.com wrote: Show quoted text
> Dear Sir, > > > I meet a bug when test the sample code: > > > code: > my $store = Wiki::Toolkit::Store::SQLite->new( > dbname => "/home/wiki/store.db" ); > my $indexdb = Search::InvertedIndex::DB::DB_File_SplitHash->new( > -map_name => "/home/wiki/indexes.db", > -lock_mode => "EX" ); > my $search = Wiki::Toolkit::Search::SII->new( > indexdb => $indexdb ); > > my $wiki = Wiki::Toolkit->new( store => $store, > search => $search ); > > > bug: > Database schema version 0 is too old (need 10)
The database file referred in this example should already have a valid Wiki::Toolkit schema prepared, using the supplied wiki-toolkit-setupdb script. I've just added this to git for the next release: # The database should already exist; it can be created using # the supplied wiki-toolkit-setupdb script. Thanks for the report and sorry for the trouble!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.