Re: [greenstone-users] Unable to run GLI under Linux

From Richard Managh
DateFri, 10 Feb 2006 16:15:20 +1300
Subject Re: [greenstone-users] Unable to run GLI under Linux
In-Reply-To (52B914D66FE6974A952ECCACE81B364278C07A-libmail1-libad-csus-edu)
Hi Bin,

Just a suggestion. The gli appears to store configuration information
for a user in this file ~/.gli/config.xml perhaps the gli doesnt have
permission to create/write/read from this file? I wouldnt expect the gli
when it first runs to absolutely rely on being able to read from this
file, or to not have defaults internally for the size of the gui window
displayed, but I'd say its possible that file permissions are the problem.


Hope this helps,


Richard
---
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.co.nz
www.dlconsulting.co.nz


Bin Zhang wrote:

>Hi,
>
>I am new to Greenstone. I installed Greenstone on a Debian Linux server. When I tried to run GLI, I was first asked to provide a path to the GSDL server, then, it just died. Here is messages from the console. Can someone help me?
>
>Thanks!
>Bin Zhang
>Digital Information Services Librarian
>Library Information Systems
>California State University, Sacramento
>2000 State University Drive East
>Sacramento, CA 95819-6039
>+86 916-278-5664 (voice); +86 916-278-3891 (fax)
>bzhang@csus.edu
>
>
>
>Greenstone Librarian Interface (GLI)
>Copyright (C) 2005, New Zealand Digital Library Project, University Of Waikato
>GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
>This is free software, and you are welcome to redistribute it
>
>Checking GSDL: /data/www/gsdl
>Your environment has successfully been set up to run Greenstone
>Checking Perl: /usr/bin/perl
>Checking Java: /usr/bin/java
>
>Running the Greenstone Librarian Interface...
>Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and hei
>ght (0) cannot be <= 0
> at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Direct
>ColorModel.java:999)
> at sun.awt.X11.XFramePeer.setIconImage(XFramePeer.java:217)
> at sun.awt.X11.XFramePeer.postInit(XFramePeer.java:75)
> at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:117)
> at sun.awt.X11.XBaseWindow.<init>(XBaseWindow.java:150)
> at sun.awt.X11.XWindow.<init>(XWindow.java:86)
> at sun.awt.X11.XComponentPeer.<init>(XComponentPeer.java:100)
> at sun.awt.X11.XCanvasPeer.<init>(XCanvasPeer.java:22)
> at sun.awt.X11.XPanelPeer.<init>(XPanelPeer.java:27)
> at sun.awt.X11.XWindowPeer.<init>(XWindowPeer.java:53)
> at sun.awt.X11.XDecoratedPeer.<init>(XDecoratedPeer.java:36)
> at sun.awt.X11.XFramePeer.<init>(XFramePeer.java:41)
> at sun.awt.X11.XToolkit.createFrame(XToolkit.java:349)
> at java.awt.Frame.addNotify(Frame.java:491)
> at java.awt.Window.show(Window.java:513)
> at java.awt.Component.show(Component.java:1300)
> at java.awt.Component.setVisible(Component.java:1253)
> at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:455)
> at org.greenstone.gatherer.GathererProg.main(GathererProg.java:80)
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>