[Kete] kete 1.2 cannot add item in

Walter McGinnis walter at katipo.co.nz
Fri Mar 12 11:47:30 NZDT 2010


Hi,

Have you restarted the web server after uninstalling the other versions of Nokogiri.  There is a chance that the newer version of Nokogiri is still loaded into memory for the web server's Ruby process.  Restarting and trying "rebuild search databases" again would rule this possibility out.

Cheers,
Walter


On Mar 12, 2010, at 11:29 AM, hoa lean wrote:

> Thanks a lot Walter and Kieran,
> 
> I already uninstall all versions of nokogiri except the 1.3.3. Then restart apache2, then rebuild search engine. it all looks OK, but when I browse, there are still no topics, just 1 weblink.
> Also attach the zebra log
> 
> Regards,
> An
> 
> --- On Fri, 12/3/10, Walter McGinnis <walter at katipo.co.nz> wrote:
> 
> From: Walter McGinnis <walter at katipo.co.nz>
> Subject: Re: [Kete] kete 1.2 cannot add item in
> To: "hoa lean" <anhoale at yahoo.com>
> Cc: "Walter McGinnis" <walter at katipo.co.nz>, "Kieran Pilkington" <kieran at katipo.co.nz>, Kete at lists.katipo.co.nz
> Received: Friday, 12 March, 2010, 4:53 AM
> 
> Kieran has also updated the installation guide to note this issue.
> 
> Please let us know if that solves the problem for you.
> 
> By the way the [sudo] means "use the sudo command if necessary", if you are logged in as the root user it probably isn't necessary.
> 
> Cheers,
> Walter
> 
> On Mar 12, 2010, at 10:36 AM, Kieran Pilkington wrote:
> 
> > Hey Hoa,
> > 
> > The issue may be caused by the fact that Kete 1.2 isn't compatible with the newer version of the Nokogiri Ruby gem.
> > 
> > You can rollback to a version of Nokogiri that works by running the following:
> > 
> > [sudo] gem install nokogiri --version=1.3.3
> > [sudo] gem uninstall nokogiri     (all except 1.3.3)
> > 
> > Alternatively, you can upgrade to the latest Kete codebase but checking out the 'master' branch from our Github repo.
> > 
> > http://github.com/kete/kete
> > 
> > Regards
> > Kieran
> > 
> > 
> > On 12/03/2010, at 10:20 AM, hoa lean wrote:
> > 
> >> Thanks again Walter,
> >> When I click Browse on the menu bar, there are no topics or images show up, only 1 web link.
> >> I attach the photo of how it looks like.
> >> Besides, I just have a look at the MYSQL database the kete_development "topics" table contains 17 items.
> >> Regards,
> >> An
> >> 
> >> --- On Fri, 12/3/10, Walter McGinnis <walter at katipo.co.nz> wrote:
> >> 
> >> From: Walter McGinnis <walter at katipo.co.nz>
> >> Subject: Re: [Kete] kete 1.2 cannot add item in
> >> To: "hoa lean" <anhoale at yahoo.com>
> >> Cc: "Walter McGinnis" <walter at katipo.co.nz>, Kete at lists.katipo.co.nz, "Andy Robertson" <andrew.robertson at natlib.govt.nz>
> >> Received: Friday, 12 March, 2010, 3:52 AM
> >> 
> >> 
> >> On Mar 12, 2010, at 9:24 AM, hoa lean wrote:
> >> Thanks a lot for looking at this Walter.
> >> 
> >> Here is the log.
> >> 
> >> An
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >>      <zebra.log>
> >> Hi,
> >> So my suspicion is confirmed by this bit of the log:
> >> 16:29:04-11/03 zebrasrv(67) [request] Auth idPass kete -...16:29:04-11/03 zebrasrv(67) [log] specialUpdate16:29:04-11/03 zebrasrv(67) [log] database: public16:29:04-11/03 zebrasrv(67) [log] enabling shadow spec=./shadow:4G16:29:04-11/03 zebrasrv(67) [log] cache_fname = ./shadow/cache16:29:04-11/03 zebrasrv(67) [log] record 0 type XML16:29:04-11/03 zebrasrv(67) [log] 3688 bytes:<?xml version="1.0" encoding="UTF-8"?><OAI-PMH xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openarchives.org/OAI/2.0/" xsi:schemaLocation="h ...16:29:04-11/03 zebrasrv(67) [log] alvis filter: profilePath .:./tab:../:../tab:/usr/local/share/idzebra-2.0/tab:/opt/local/share/idzebra-2.0/tab:/usr/local/share/idzebra-2.0/tab16:29:04-11/03 zebrasrv(67) [log] alvis filter: loading config file ../conf/alvis-conf.xml16:29:04-11/03 zebrasrv(67) [warn] XML: namespace 16:29:04-11/03 zebrasrv(67) [warn] XML: error : 16:29:04-11/03 zebrasrv(67) [warn] XML: Namespace
> >> prefix oai_dc on dc is not defined
> >> 16:29:04-11/03 zebrasrv(67) [warn] XML: openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"
> >> 16:29:04-11/03 zebrasrv(67) [warn] XML:                                                                                ^
> >> 16:29:04-11/03 zebrasrv(67) [warn] XML: namespace 16:29:04-11/03 zebrasrv(67) [warn] XML: error : ...
> >> 16:29:04-11/03 zebrasrv(67) [warn] extract error: generic16:29:04-11/03 zebrasrv(67) [log] Iterations: isam/dict 2/216:29:04-11/03 zebrasrv(67) [log] Dict: inserts/updates/deletions: 1/1/016:29:04-11/03 zebrasrv(67) [log] Records: 0 i/u/d 0/0/016:29:04-11/03 zebrasrv(67) [request] Extended Service: Update (done)16:29:04-11/03 zebrasrv(67) [log] function: 116:29:04-11/03 zebrasrv(67) [log] Waitaction: 216:29:04-11/03 zebrasrv(67) [log] adm request database public16:29:04-11/03 zebrasrv(67) [log] adm-commit16:29:04-11/03 zebrasrv(67) [log] enabling shadow spec=./shadow:4G16:29:04-11/03 zebrasrv(67) [log] cache_fname = ./shadow/cache16:29:04-11/03 zebrasrv(67) [request] Extended Service: Admin (done)
> >> I need you to confirm another thing for me though.  Are the default topics and web link listed when you click "browse" from the menu bar?  There should be 17 topics and 1 web link if I remember correctly.
> >> Cheers,Walter
> >> -----------------------------------------------------------------Walter McGinnisKete Project Lead (http://kete.net.nz)Katipo Communications, Ltd. (http://katipo.co.nz)http://twitter.com/wtemwalter@katipo.co.nz+64211241794
> >> 
> >> 
> >> 
> >> 
> >> <kete_issue.jpg>_______________________________________________
> >> Kete mailing list
> >> Kete at lists.katipo.co.nz
> >> http://lists.katipo.co.nz/cgi-bin/mailman/listinfo/kete
> > 
> > 
> > Regards
> > Kieran
> > 
> > ---------------------------------------------------------------------
> > Kieran Pilkington
> > Rails Developer, Kete Developer (http://kete.net.nz)
> > Katipo Communications, Ltd. (http://katipo.co.nz)
> > http://twitter.com/k776 - http://k776.tumblr.com
> > 
> 
> 
>  <zebra.log>



More information about the Kete mailing list