[greenstone-users] re: GLI won't launch

From Nirupama Bawdekar
DateFri, 6 Feb 2004 09:22:56 +0530 (IST)
Subject [greenstone-users] re: GLI won't launch
reg:I'm having the same problem a couple of people were having last month,
I try to run gli.bat the Greenstone Librarians Interface doesn't open. I
the DOS box, with repeated "Bad command or file name" and a single
too big to fit in memory"

I tried editing "command" in the bat file to "command.co"m, but no change.
I'm running Windows Me.

I know it's a bad time to ask at the beginning of a long weekend in NZ.
if anyone can help I'd be very grateful.



i was facing the same problem and so was another colleague in India. The
solution is enclosed.

Hope it helps.


Mrs NIrupama Bawdekar
S/T Officer C,Library

Mrs Nirupama Bawdekar
Scientific/Technical Officer-Library
Inter-University Centre for Astronomy and Astrophysics
Post Bag No. 4, Ganeshkhind
Pune 411 007
email: nub@iucaa.ernet.in, telephone:+91-20-569 1414, fax: +91-20-569 0760

---------- Forwarded message ----------
Date: Thu, 18 Dec 2003 13:07:39 +0530 (IST)
From: Francis Jayakanth <franc@ncsi.iisc.ernet.in>
To: John M Thompson <jmt12@cs.waikato.ac.nz>
Cc: Nirupama Bawdekar <nub@iucaa.ernet.in>,
Subject: Re: [greenstone-users] not able to execute setup.ba

Hi Thompson:

Thanks for your quick and detailed response.

There isn't any problematic line in the setup.bat file but most of the
lines are terminating with cntl-M (^M) character. This was the root cause
of 'setup.bat' not being able to execute successfully on a system with
Windows 98 OS. I have edited 'setup.bat' file and got rid of all ^Ms and
it works fine now.

Thanks again to you and your colleagues for providing such a wonderful

Wishing you all Merry Christmas and a Very Happy New Year.

- Francis

On Thu, 18 Dec 2003, John M Thompson wrote:

> Hello Nirupama and Francis,

> It sounds like Greenstone/GLI is getting stuck on the same line in both
> of your cases. In order to get enough environment memory to run
> Greenstone/GLI (nothing to do with RAM) we make a program call under
> Win98 which looks a little like this (the letter case isn't important,
> and there may be several other arguments):
> COMMAND /E:2048
> I would imagine that this line is somehow causing the "Bad command or
> filename" message, and then, since it hasn't been run, Greenstone
> subsequently runs out of memory (the /E:2048 argument sets environment
> memory to 2MB). Of course why this is happening I'm not so sure about.
> The first thing I would suggest is attempting to open a old style DOS
> prompt. To do this go to Start Menu->Run, and in the textbox type:
> command
> and press enter. If this doesn't work then you're likely using the newer
> DOS prompt, which is started by typing cmd instead, and doesn't suffer
> from the same lack of environment memory problem. If it does work then
> the next thing to try is typing in the problematic line above. If it
> doesn't work, or displays an error message, then you have a strange
> version of command.com and we'll try to provide you with a working one.
> Now if you have a newer DOS prompt, or if the problem command seems to
> work fine, then we have to edit the setup.bat or gli.bat. The thing to
> try would be to find the line noted above and change it so it is:
> COMMAND.COM /E:2048 <other arguments unchanged>
> Some versions of Win98 require the file extension ".com" to be added.
> If that doesn't help, or if your systems using cmd anyway, try using the
> appropriate attached batch file. Rename the old file (setup.bat or
> gli.bat) first, and then copy the appropriate file into its place.
> Finally rename these files by removing the .txt (an unfortunate
> necessity of sending executable files from the university). In
> these versions of the batch files I've commented out the offending
> lines. There is a good chance that this won't actually help, and you'll
> still suffer from an "Out of Memory" error, but its worth a shot.
> Good Luck, Cheers, and Merry Christmas
> John Thompson
> Greenstone Project, NZDL, University of Waikato,
> New Zealand
> Francis Jayakanth wrote:
> >Hello List:
> >
> >I have successfully installed local library version of GSDL 2.41 on a PIII
> >system running Windows 98 OS with 256 MB of RAM. I'm able to build a
> >collection using the 'collector'. However, I'm unable to build the
> >collection in the command prompt. When I change directory (cd) to the GSDL
> >installation directory and execute the command, 'setup.bat', a series of
> >same error message, "Bad command or file name" is displayed. The error
> >message "Program is too big to fit in memory" is also displayed. Could you
> >please let me what am I doing wrong. There is no such problem on a system
> >running Windows 2000 Professional OS.
> >
> >Many thanks,
> >
> > - Francis
> >
> >Bangalore, India
> >
> >
> >_______________________________________________
> >greenstone-users mailing list
> >greenstone-users@list.scms.waikato.ac.nz
> >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >