[greenstone-users] Opening collections in Ubuntu

From Kurt Mattsson
DateSat May 12 03:55:19 2012
Subject [greenstone-users] Opening collections in Ubuntu
In-Reply-To (CAHJt4A4y7TSvePg-YiGOp6aCMPvq-8=eV813s=DOwnsKwTWwTA-mail-gmail-com)
Hi,

Thanks for the advice. I tried following the first guide (
http://www.clickonf5.org/7777/how-install-sun-java-ubuntu-1004-lts/) and
got as far as writing the first three lines. But as far as I can understand
the software/package is not there (?):

*
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
kb@kb-HP-Compaq-4000-Pro-SFF-PC:~$ sudo apt-get update
*
*Ign http://dk.archive.ubuntu.com precise InRelease*

*Ign http://dk.archive.ubuntu.com precise-updates InRelease *

*Ign http://dk.archive.ubuntu.com precise-backports InRelease *

*Get:1 http://dk.archive.ubuntu.com precise Release.gpg [198 B] *

*Get:2 http://dk.archive.ubuntu.com precise-updates Release.gpg [198 B] *

*Get:3 http://dk.archive.ubuntu.com precise-backports Release.gpg [198 B] *

*Ign http://dl.google.com stable InRelease *

*Ign http://extras.ubuntu.com precise InRelease *

*Ign http://archive.canonical.com lucid InRelease *

*Ign http://security.ubuntu.com precise-security InRelease *

*Get:4 http://dk.archive.ubuntu.com precise Release [49.6 kB] *

*Get:5 http://dl.google.com stable Release.gpg [198 B] *

*Get:6 http://extras.ubuntu.com precise Release.gpg [72 B] *

*Get:7 http://security.ubuntu.com precise-security Release.gpg [198 B] *

*Get:8 http://archive.canonical.com lucid Release.gpg [198 B] *

*Get:9 http://dk.archive.ubuntu.com precise-updates Release [49.6 kB] *

*Hit http://extras.ubuntu.com precise Release *

*Get:10 http://security.ubuntu.com precise-security Release [49.6 kB] *

*Get:11 http://archive.canonical.com lucid Release [8,215 B] *

*Get:12 http://dk.archive.ubuntu.com precise-backports Release [49.6 kB] *

*Get:13 http://dk.archive.ubuntu.com precise/main Sources [934 kB] *

*Get:14 http://dl.google.com stable Release [1,351 B] *

*Hit http://extras.ubuntu.com precise/main Sources *

*Get:15 http://archive.canonical.com lucid/partner Sources [6,725 B] *

*Hit http://extras.ubuntu.com precise/main i386 Packages *

*Ign http://extras.ubuntu.com precise/main TranslationIndex *

*Get:16 http://archive.canonical.com lucid/partner i386 Packages [13.6 kB] *

*Get:17 http://security.ubuntu.com precise-security/main Sources [7,089 B] *

*Ign http://archive.canonical.com lucid/partner TranslationIndex *

*Get:18 http://security.ubuntu.com precise-security/restricted Sources [14
B] *

*Get:19 http://security.ubuntu.com precise-security/universe Sources [3,653
B] *

*Get:20 http://security.ubuntu.com precise-security/multiverse Sources [696
B] *

*Get:21 http://security.ubuntu.com precise-security/main i386 Packages
[32.9 kB] *

*Get:22 http://dl.google.com stable/main i386 Packages [1,252 B] *

*Ign http://dl.google.com stable/main TranslationIndex *

*Get:23 http://security.ubuntu.com precise-security/restricted i386
Packages [14 B] *

*Get:24 http://security.ubuntu.com precise-security/universe i386 Packages
[8,594 B] *

*Get:25 http://security.ubuntu.com precise-security/multiverse i386
Packages [1,393 B] *

*Hit http://security.ubuntu.com precise-security/main TranslationIndex *

*Hit http://security.ubuntu.com precise-security/multiverse
TranslationIndex *

*Hit http://security.ubuntu.com precise-security/restricted
TranslationIndex *

*Hit http://security.ubuntu.com precise-security/universe TranslationIndex *

*Hit http://security.ubuntu.com precise-security/main Translation-en *

*Hit http://security.ubuntu.com precise-security/multiverse Translation-en *

*Hit http://security.ubuntu.com precise-security/restricted Translation-en *

*Hit http://security.ubuntu.com precise-security/universe Translation-en *

*Ign http://extras.ubuntu.com precise/main Translation-en_GB *

*Ign http://extras.ubuntu.com precise/main Translation-en *

*Ign http://archive.canonical.com lucid/partner Translation-en_GB *

*Ign http://archive.canonical.com lucid/partner Translation-en *

*Get:26 http://dk.archive.ubuntu.com precise/restricted Sources [5,470 B] *

*Ign http://dl.google.com stable/main Translation-en_GB *

*Get:27 http://dk.archive.ubuntu.com precise/universe Sources [5,019 kB] *

*Ign http://dl.google.com stable/main Translation-en *

*Get:28 http://dk.archive.ubuntu.com precise/multiverse Sources [155 kB] *

*Get:29 http://dk.archive.ubuntu.com precise/main i386 Packages [1,274 kB] *

*Get:30 http://dk.archive.ubuntu.com precise/restricted i386 Packages
[8,431 B] *

*Get:31 http://dk.archive.ubuntu.com precise/universe i386 Packages [4,796
kB] *

*Get:32 http://dk.archive.ubuntu.com precise/multiverse i386 Packages [121
kB] *

*Hit http://dk.archive.ubuntu.com precise/main TranslationIndex *

*Hit http://dk.archive.ubuntu.com precise/multiverse TranslationIndex *

*Hit http://dk.archive.ubuntu.com precise/restricted TranslationIndex *

*Hit http://dk.archive.ubuntu.com precise/universe TranslationIndex *

*Get:33 http://dk.archive.ubuntu.com precise-updates/main Sources [30.4 kB]
*

*Get:34 http://dk.archive.ubuntu.com precise-updates/restricted Sources
[765 B] *

*Get:35 http://dk.archive.ubuntu.com precise-updates/universe Sources
[9,625 B] *

*Get:36 http://dk.archive.ubuntu.com precise-updates/multiverse Sources
[696 B] *

*Get:37 http://dk.archive.ubuntu.com precise-updates/main i386 Packages
[95.0 kB] *

*Get:38 http://dk.archive.ubuntu.com precise-updates/restricted i386
Packages [770 B] *

*Get:39 http://dk.archive.ubuntu.com precise-updates/universe i386 Packages
[26.7 kB] *

*Get:40 http://dk.archive.ubuntu.com precise-updates/multiverse i386
Packages [1,393 B] *

*Get:41 http://dk.archive.ubuntu.com precise-updates/main TranslationIndex
[73 B] *

*Get:42 http://dk.archive.ubuntu.com precise-updates/multiverse
TranslationIndex [71 B] *

*Get:43 http://dk.archive.ubuntu.com precise-updates/restricted
TranslationIndex [71 B] *

*Get:44 http://dk.archive.ubuntu.com precise-updates/universe
TranslationIndex [73 B] *

*Get:45 http://dk.archive.ubuntu.com precise-backports/main Sources [700 B]
*

*Get:46 http://dk.archive.ubuntu.com precise-backports/restricted Sources
[14 B] *

*Get:47 http://dk.archive.ubuntu.com precise-backports/universe Sources [14
B] *

*Get:48 http://dk.archive.ubuntu.com precise-backports/multiverse Sources
[14 B] *

*Get:49 http://dk.archive.ubuntu.com precise-backports/main i386 Packages
[559 B] *

*Get:50 http://dk.archive.ubuntu.com precise-backports/restricted i386
Packages [14 B] *

*Get:51 http://dk.archive.ubuntu.com precise-backports/universe i386
Packages [14 B] *

*Get:52 http://dk.archive.ubuntu.com precise-backports/multiverse i386
Packages [14 B] *

*Hit http://dk.archive.ubuntu.com precise-backports/main TranslationIndex *

*Hit http://dk.archive.ubuntu.com precise-backports/multiverse
TranslationIndex *

*Hit http://dk.archive.ubuntu.com precise-backports/restricted
TranslationIndex *

*Hit http://dk.archive.ubuntu.com precise-backports/universe
TranslationIndex *

*Get:53 http://dk.archive.ubuntu.com precise/main Translation-en_GB [96.4
kB] *

*Hit http://dk.archive.ubuntu.com precise/main Translation-en *

*Get:54 http://dk.archive.ubuntu.com precise/multiverse Translation-en_GB
[79.8 kB] *

*Hit http://dk.archive.ubuntu.com precise/multiverse Translation-en *

*Get:55 http://dk.archive.ubuntu.com precise/restricted Translation-en_GB
[2,406 B] *

*Hit http://dk.archive.ubuntu.com precise/restricted Translation-en *

*Get:56 http://dk.archive.ubuntu.com precise/universe Translation-en_GB
[5,492 B] *

*Hit http://dk.archive.ubuntu.com precise/universe Translation-en *

*Get:57 http://dk.archive.ubuntu.com precise-updates/main Translation-en
[42.0 kB] *

*Hit http://dk.archive.ubuntu.com precise-updates/multiverse Translation-en
*

*Hit http://dk.archive.ubuntu.com precise-updates/restricted Translation-en
*

*Get:58 http://dk.archive.ubuntu.com precise-updates/universe
Translation-en [16.3 kB] *

*Hit http://dk.archive.ubuntu.com precise-backports/main Translation-en *

*Hit http://dk.archive.ubuntu.com precise-backports/multiverse
Translation-en *

*Hit http://dk.archive.ubuntu.com precise-backports/restricted
Translation-en *

*Hit http://dk.archive.ubuntu.com precise-backports/universe Translation-en
*

*Fetched 13.0 MB in 12s (1,052 kB/s) *

*Reading package lists... Done *

*kb@kb-HP-Compaq-4000-Pro-SFF-PC:~$ sudo apt-get install sun-java6-jre
sun-java6-plugin *

*Reading package lists... Done *

*Building dependency tree *

*Reading state information... Done *

*Package sun-java6-jre is not available, but is referred to by another
package. *

*This may mean that the package is missing, has been obsoleted, or *

*is only available from another source *

*E: Package 'sun-java6-jre' has no installation candidate *

*E: Unable to locate package sun-java6-plugin*


- Kurt

On 9 May 2012 19:36, Diego Spano <diegospano@gmail.com> wrote:
>
> I think that the problem is that you are using Open Java. Try installing
Sun java.
>
> Give a look to:
>
> http://www.clickonf5.org/7777/how-install-sun-java-ubuntu-1004-lts/
> http://www.thegeekstuff.com/2009/09/how-to-install-java-on-ubunt-debiau/
>
>
> Regards!
>
>
> Diego
>
>
> Diego Spano Director de Proyectos, Prodigio Consultores
> Tel: (54 11) 5093-5313
>
> Argentina
> dspano@prodigioconsultores.com | www.prodigioconsultores.com
>
> Contact me: diegospano diegospano
> Want a signature like mine? CLICK HERE.
>
>
> On Wed, May 9, 2012 at 2:25 PM, Kurt Mattsson <kbmattsson@gmail.com>
wrote:
>>
>> Here is the result:
>>
>> java version "1.6.0_24"
>> OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu2)
>> OpenJDK Server VM (build 20.0-b12, mixed mode)
>> kb@kb-HP-Compaq-4000-Pro-SFF-PC:~$
>>
>> - Kurt
>>
>> On 9 May 2012 18:08, Diego Spano <diegospano@gmail.com> wrote:
>>>
>>> Kurt,
>>>
>>> can you run this command in a terminal and post the result?
>>>
>>> java -version
>>>
>>> Regards.
>>>
>>> Diego
>>>
>>>
>>> Diego Spano Director de Proyectos, Prodigio Consultores
>>> Tel: (54 11) 5093-5313
>>>
>>> Argentina
>>> dspano@prodigioconsultores.com | www.prodigioconsultores.com
>>>
>>> Contact me: diegospano diegospano
>>> Want a signature like mine? CLICK HERE.
>>>
>>>
>>> On Tue, May 8, 2012 at 1:46 PM, Kurt Mattsson <kbmattsson@gmail.com>
wrote:
>>>>
>>>> Hi,
>>>>
>>>> I just installed Greenstone 2.85 on Ubuntu 12.04, and I'm having
problems opening collections.
>>>>
>>>> When I try to open a collection I get a message saying that it cannot
be opened. This is what is written in the terminal:
>>>>
>>>> java.lang.NullPointerException
>>>> at
org.greenstone.gatherer.collection.ScriptOptions.loadArguments(ScriptOptions.java:264)
>>>> at
org.greenstone.gatherer.collection.ScriptOptions.<init>(ScriptOptions.java:43)
>>>> at
org.greenstone.gatherer.collection.Collection.<init>(Collection.java:126)
>>>> at
org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:1391)
>>>> at
org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:85)
>>>> at
org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTask.run(CollectionManager.java:1189)
>>>> java.lang.NullPointerException
>>>> at
org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:74)
>>>> at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:77)
>>>> at
org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyListModel.java:224)
>>>> at
org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:82)
>>>> at
org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails(CollectionDesignManager.java:143)
>>>> at
org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(CollectionDesignManager.java:118)
>>>> at
org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:1450)
>>>> at
org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:85)
>>>> at
org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTask.run(CollectionManager.java:1189)
>>>> java.lang.NullPointerException
>>>> at
org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:74)
>>>> at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:77)
>>>> at
org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyListModel.java:224)
>>>> at
org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:82)
>>>> at
org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails(CollectionDesignManager.java:143)
>>>> at
org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(CollectionDesignManager.java:118)
>>>> at
org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:1450)
>>>> at
org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:85)
>>>> at
org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTask.run(CollectionManager.java:1189)
>>>>
>>>> I'm new to linux, but I'm hoping this will give some kind of clue..
>>>>
>>>> P.S.: Sometimes I do not get any message - the cursor just indicates
that it is loading, but nothing happens.
>>>>
>>>> _______________________________________________
>>>> greenstone-users mailing list
>>>> greenstone-users@list.scms.waikato.ac.nz
>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20120511/e21a65a0/attachment-0001.html