[IIAB] [UKids] IIAB Software Install

Tim Moody tim at timmoody.com
Fri Jul 11 16:06:18 PDT 2014


I think it’s time to start over.  The version of iiab I’m using was billed as May2014.  However knowledge/modules/INFO.json says "version": "20130811".

The symlink is wikipedia-index -> wikipedia-index.with_content.

On the bright side I ran python-pip install --upgrade Internet-in-a-Box and search works for school wiki and maps.

Tim

From: Braddock Gaskill 
Sent: Friday, July 11, 2014 6:22 PM
To: Tim Moody 
Cc: Tony Anderson ; unleashkids at googlegroups.com ; Curt Thompson ; Braddock Gaskill ; iiab at sgvhak.org 
Subject: Re: [UKids] IIAB Software Install

The issue is that you have installed the IIAB software from the rpms.  The RPMs are not supported any more.  That old version of the software will not support the new dataset.

The recommended way to install is pip, as per the installation guide.  This unfortunately requires gcc on the system.  We had discussed some months ago using "wheel" but never settled on anything.

The link should be to wikipedia.index-with_content_new for the full text wikipedia search.  The old (not _new) versions will be removed at some point. 

wikipedia-index -> wikipedia-index.with_content_new

If that link is not present on the new clones of the dataset hard drive (and please write the version number on each drive for our sanity) then something went wrong or it was not copied correctly and we need to know.

The use of the symlink was a bad idea, but I didn't have time.


You can also find the dataset version number in knowledge/modules/INFO.json

-braddock



On Fri, Jul 11, 2014 at 1:34 PM, Tim Moody <tim at timmoody.com> wrote:

  our symlink is to wikipedia.index-with_content

  Other choices seem to be titles_only, titles_only_new, and with_content_new.

  Can someone confirm what the proper link should be.

  Is the issue the link or the fact that we installed iiab from rpms?

  Tim

  From: Tony Anderson 
  Sent: Thursday, July 10, 2014 11:55 AM
  To: unleashkids at googlegroups.com 
  Subject: Re: [UKids] IIAB Software Install

  Hi

  In setting up iiab on the schoolserver, the install script creates the following symbolic 
  link:

  #set up link
  cd /library/knowledge/modules
  ln -s wikipedia-index.titles_only wikipedia-index

  In this symbolic link is not set, wikipedia search fails.

  I also point to the knowledge/modules folder containing the iiab content with the following:

  cp iiab.wsgi /var/www

  where iiab.wsgi contains the following line:

  # WSGI interface file for Apache's mod_wsgi

  # If you are using a virtualenv, set this path
  path_to_virtualenv = '/library/iiab-venv'

  The defaults.ini is not modified so iiab searches for the knowledge folder 
  which is at /library/knowledge. I should probably change this to specify the 
  location.

  Tony


  On 07/10/2014 04:58 PM, Curt Thompson wrote:

    You can follow some instructions here to install or update IIAB.

    The pip install method seems to be the recommended method for now.

    https://github.com/braddockcg/internet-in-a-box/blob/master/INSTALL.txt

    -- 
    Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
    --- 
    You received this message because you are subscribed to the Google Groups "Unleash Kids" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to unleashkids+unsubscribe at googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.


  -- 
  Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
  --- 
  You received this message because you are subscribed to the Google Groups "Unleash Kids" group.
  To unsubscribe from this group and stop receiving emails from it, send an email to unleashkids+unsubscribe at googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

  -- 
  Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
  --- 
  You received this message because you are subscribed to the Google Groups "Unleash Kids" group.
  To unsubscribe from this group and stop receiving emails from it, send an email to unleashkids+unsubscribe at googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sgvhak.org/mailman/private/iiab/attachments/20140711/07682b4a/attachment-0001.html>


More information about the IIAB mailing list