[greenstone-users] RE: Newbie trying Greenstone using WinXP

From dvgonzal
DateThu, 27 Jan 2005 19:04:39 -0800
Subject [greenstone-users] RE: Newbie trying Greenstone using WinXP
In-Reply-To (20050119230528-A7C10D135E1F-haven-nps-navy-mil)
Is there someone out there who has installed and made greenstone work using
a WinXP Pro OS? I was able to install all the file and can run the Library
interface but cannot run the greenstone digital library

dominic

-----Original Message-----
From: greenstone-users-bounces@list.scms.waikato.ac.nz
[mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] On Behalf Of
greenstone-users-request@list.scms.waikato.ac.nz
Sent: Wednesday, January 19, 2005 3:05 PM
To: greenstone-users@list.scms.waikato.ac.nz
Subject: greenstone-users Digest, Vol 22, Issue 15

Send greenstone-users mailing list submissions to
greenstone-users@list.scms.waikato.ac.nz

To subscribe or unsubscribe via the World Wide Web, visit
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
or, via email, send a message with subject or body 'help' to
greenstone-users-request@list.scms.waikato.ac.nz

You can reach the person managing the list at
greenstone-users-owner@list.scms.waikato.ac.nz

When replying, please edit your Subject line so it is more specific
than "Re: Contents of greenstone-users digest..."


Today's Topics:

1. Page Not displayed/Proxy issue (was RE:[greenstone-devel]
Newbie with general questions aboutGreenstone.)
(Gregory S. Williamson)
2. Re: Page turn and go to page capabilities (Katherine Don)
3. Re: Mega test !!! (Katherine Don)
4. Re: unsolved problems #1 (Katherine Don)
5. Strange problem - multiple instances oflibrary.exe (Chaitra Rao)
6. Re: Page turn and go to page capabilities (Jenn Cole)
7. Defaults in preferences (Rich Robinson)


----------------------------------------------------------------------

Message: 1
Date: Tue, 18 Jan 2005 16:22:23 -0800
From: "Gregory S. Williamson" <gsw@globexplorer.com>
Subject: [greenstone-users] Page Not displayed/Proxy issue (was RE:
[greenstone-devel] Newbie with general questions aboutGreenstone.)
To: <dvgonzal@nps.edu>,<greenstone-users@list.scms.waikato.ac.nz>
Message-ID:
<71E37EF6B7DCC1499CEA0316A256832801D4BD2B@loki.wc.globexplorer.net>
Content-Type: text/plain;charset="Windows-1252"

Dominic --

I have cc-ed the users list (as John suggested).

My most recent install was to a linux version which has some differences
from the native windows version. I do have a version on a windoze box but it
is set up to use an apache web server rather than its own web interface, so
when I look at Start/Programs/Greenstone Digital Library I see only the
librarian interface and the read me file (at least I think this may be why I
am seeing a different set ofoptions).

I have not used the librarian interface since my original work was on an
earlier greenstone which didn't really have one; my linux work has all been
from the command line and my windows version is a variant of the linux one.

I would first find the "library.exe" file and try running it from a DOS
prompt (in the gsdl root directory is a setup.bat file you need to run
first) -- it should give you a long text listing at the end of which is
something like:
...
receptionist running in command line debug mode
enter cgi arguments as name=value pairs (e.g. 'a=p&p=home'):

If this works I'd guess that that executable is ok; the problem would then
like in your firewall or perhaps IIS environemnt; also, newer versions of
windows have beefed up security features which could be preventing you from
running greenstone.

When I run the librarian choice from the Start/Programs menu I get a splash
screen and a dialogue box that want to know the path to the webserver; the
librarian itself has (under Edit/Preferences a tab called "Connection"; my
guess is that these need to be set correctly for your machine; I'll try to
play with some some later and see if I can conjure it to life but tyhere be
real differences between my environment (Apache 2 on Win2k) and yours.

I'd suggest reviewing the Installation manual and perhaps the FAQs for
relevant topics; others on this list may have better suggestions than I,
since this is really an area of greenstone that I am unfamiliar with.

Sorry I can't beof more immediate help ...

Greg W.

ps better to post to the list if we can and thereby benefit future users as
well ... I'll post more on this if I have any success. You might consider
posting another messagve which describes your web server environment and
what web browser you are using; these might be relevant bits o' information
for others.

-----Original Message-----
From:dominic gonzales [mailto:dvgonzal@nps.edu]
Sent:Tue 1/18/2005 2:23 PM
To:Gregory S. Williamson
Cc:
Subject:RE: [greenstone-devel] Newbie with general questions
aboutGreenstone.
Greg,

Thanks for the quick response. I was able to get to greenstone, downloaded
the zip and installed the files. I am running winxp pro. When I click start,
all programs, greenstone digital library...i see readme.txt, greenstone
digital library and greenstone librarian interface.

When I click greenstone digital library, I get a pop-up saying greenstone
digital library version 2.52, a button to enter library. When I click "enter
library" it would say initializing then I get a "page cannot be displayed"
error. A pop-up comes up saying "your browser does not seem to be responding
to the "Enter Library' request. Try turning off all proxy servers in your
browser settings. If you are using IE make sureboth dial-up settings and LAN
settings have their proxy servers disabled."...my question is how do I do
this?

Then when I click the Greenstone Librarian interface mode, it opens the gli
interface mode window. Also says No collection.

One thing I noticed with the files I have downloaded was that I cannot find
the setup.exe file. I have the setup MS-DOS Batch file but wheni double
click on that I am not sure if it installed something. I guess I don't know
if I have all the necessary files to install the greenstone software. I
followed the instructions in the website, installed the software twice and
got the same results. Do you have a phone number so I can call and describe
my situation while doing it on my computer. I really want to learn and use
the greenstone software to do this digital library. The prototype digital
library is for our Information Operations Center of Excellence at Naval
Postgraduate School in Monterey CA.

I am very new to greenstone. I am starting a digital library. I do not know
where to start?

Thanks for your help
Dominic

-----Original Message-----
From: Gregory S. Williamson [mailto:gsw@globexplorer.com]
Sent: Tuesday, January 18, 2005 1:53 PM
To: dvgonzal@nps.edu; greenstone-devel@list.scms.waikato.ac.nz
Subject: RE: [greenstone-devel] Newbie with general questions about
Greenstone.


I am not able to find that email just right now; if you can give the list a
bit more information about what issues you are having that would help get
more foucssed answers.

For instance, can you get Greenstone itself to run ? What operating system ?

Is your problem in building new collections ? Or customizing the look & feel
?

Greg Williamson

-----Original Message-----
From:dominic gonzales [mailto:dvgonzal@nps.edu]
Sent:Tue 1/18/2005 1:31 PM
To:greenstone-devel@list.scms.waikato.ac.nz
Cc:
Subject:[greenstone-devel] Newbie with general questions about
Greenstone.
Linda,

Hello. How are you? I am very new to the greenstone software and I would
like to know more on using it. I am starting a digital library here at Naval
Postgraduate School in Monterey CA. I have downloaded the software and tried
to install it but I am having probs with it. I stumbled on your "Newbie with
general questions about greenstone" and I am in that situation right now. I
would appreciate any help on getting setup to use greenstone. Any assistance
would be greatly appreciated. Thanks.

Dominic

------------------------------

Message: 2
Date: Wed, 19 Jan 2005 13:52:46 +1300
From: Katherine Don <kjdon@cs.waikato.ac.nz>
Subject: Re: [greenstone-users] Page turn and go to page capabilities
To: library@ubcic.bc.ca
Cc: greenstone-users@list.scms.waikato.ac.nz
Message-ID: <41EDAF5E.2080404@cs.waikato.ac.nz>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi Jenn

Greenstone does this for you automatically if the sections of your
documents are titled 1, 2, 3... (numbers, not letters) and they are a
linear list.
Eg, if you have pdfs which are separated into sections, one per page,
then this happens for them.

During building, documents that meet this criteria are labelled as paged
documents in the database. You can force this to happen by setting
"gsdlthistype" metadata to "Paged" during import. I am not sure if
putting this in metadata.xml files is enough.
I have done this in PagedImgPlug -
$doc_obj->set_utf8_metadata_element ($topsection, "gsdlthistype",
"Paged");

the relevant section in the building code is in
perllib/mg(pp)buildproc.pm, sub get_document_type.

If you just have some documents that you want to be paged, you could
modify plugins to set gsdlthistype to Paged. you will need to reimport
and rebuild.
If you want all your documents like that, the easiest way is probably to
modify the get_document_type function to always return paged. eg

sub get_document_type {
my $self = shift (@_);
my ($doc_obj) = @_;

my $thistype = "";
my $childtype = "Paged";
if ($doc_obj->get_text_length ($doc_obj->get_top_section())) {
$thistype = "Paged";
} else {
$thistype = "Invisible";
}

return ($thistype, $childtype);
}

Then you just need to rebuild the gdbm database:
buildcol.pl -mode infodb <collname>
copy collect/collname/building/text/collname.ldb to
collect/collname/index/text/collname.ldb

Note the extra stuff determines whether to display the enclosing section
or not.
Noe also that this will not work properly if you have nested sections.
There can only be one level of sections inside the enclosing document
setion.

does this make sense? I hope its not too confusing.

Cheers,
Katherine Don

Jenn Cole wrote:
> Hello,
>
> I have searched your e-mail list archives for an answer to this question
> but have been unable to find an answer that works for me. If anyone had
> code for the following I would appreciate it.
>
> I have a collection of textual documents, I would like to know how I can:
>
> 1. Instead of a table of contents listing all of my pages, have a "go to
> page x" functionality, while keeping the expand text box on the screen.
> I have found references to PageId, but not quite sure how to set it up.
>
> Thanks,
>
> Jenn Cole
> UBCIC Library Technician
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>


------------------------------

Message: 3
Date: Wed, 19 Jan 2005 14:05:03 +1300
From: Katherine Don <kjdon@cs.waikato.ac.nz>
Subject: Re: [greenstone-users] Mega test !!!
To: Diego Spano <djspano@jus.gov.ar>
Cc: "Greenstone (Devel)" <greenstone-devel@list.scms.waikato.ac.nz>,
greenstone-users@list.scms.waikato.ac.nz
Message-ID: <41EDB23F.2090505@cs.waikato.ac.nz>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi Diego

Greenstone expects the index files to be in the collection directory. So
my suggestion would be to put the import dir on a different disk, and
build into the c disk.

i.e.
e:import
d:archives
c:program filesgsdlcollect ucumanbuilding

then you can rename the building dir to index and it will be in the
right place.

you will need to use -importdir and -archivedir options to import.pl,
and -archivedir option to buildcol.pl.

Cheers,
Katherine Don

Diego Spano wrote:
> Hi list, I need to test Greenstone with one million pages using
> PagedImgPlug, so I have the following scenario:
>
> - a windows xp machine with 3 disks
> - greenstone installed on c:program filesgsdl
> - a collection named "tucuman" on c:program filesgsdlcollect ucuman
> - an import dir in c:program filesgsdlcollect ucumanimport
> - an archive dir in d:archives
> - a building folder in e:building
>
>
> I build the collection using command line, so the import process is:
>
> "perl -S import.pl -archivedir d:archives -verbosity 0 tucuman"
>
> and the build process is:
>
> "perl -S buildcol.pl -builddir e:building -archivedir d:archives
> -verbosity 1 tucuman"
>
> This works ok.
>
> The question is that when I load Greenstone, it tries to read indexes
> from "c:program filesgsdlcollect ucumanindex". Where do I have to
> "tell" greenstone that it has to read indexes from "e:index"?
>
> Thanks a lot.
>
> *Diego Spano*
> Archivo Digital
> Secretaria de DD. HH.
> Ministerio de Justicia y DD. HH.
> Tel: 4382-6404
> djspano@jus.gov.ar <mailto:djspano@jus.gov.ar>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users

------------------------------

Message: 4
Date: Wed, 19 Jan 2005 14:42:57 +1300
From: Katherine Don <kjdon@cs.waikato.ac.nz>
Subject: Re: [greenstone-users] unsolved problems #1
To: Rich Robinson <richrobinson2005@yahoo.com>
Cc: Michael Dewsnip <mdewsnip@cs.waikato.ac.nz>,
greenstone-users@list.scms.waikato.ac.nz
Message-ID: <41EDBB21.8090609@cs.waikato.ac.nz>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi Rich

There is currently no way to make Greenstone do this for you. We have
thought that it might be a good idea to have metadata fields that have
restricted sets of values, which could then potentially be used in the
GLI when assigning metadata, and in the interface when searching.
However, this has not been implemented.

You may be able to achieve it using javascript but I'm not sure. If you
do come up with a solution, please let us know as we'd love to have it.

Cheers,
Katherine Don

Rich Robinson wrote:
> Thanks Michael, this worked! Now that I have fielded searching going
> again - is there a way to make some of the fields pull-down menus with
> only certain choices, as currently all fields require text entry. Some
> fields will only have a few possibilities, so a pull-down menu is
> preferable to entering free text.
>
> Rich
>
>> Hi Rich,
>>
>> Happy New Year!
>>
>> I think this is a problem with the CGI arguments to the page -- you
>> need slightly different arguments if you're using fielded searching.
>>
>> Instead of
>>
>> ?a=p&p=about&c=colname
>>
>> you need
>>
>> ?a=p&p=about&c=colname&ct=1&qto=3&qt=1
>>
>> If you've clicked Preview Collection from the GLI or entered the
>> collection from your Greenstone library homepage these extra arguments
>> should be added automatically. Maybe you have bookmarked the
>> collection homepage and are using that?
>>
>> All the best,
>>
>> Michael
>>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

------------------------------

Message: 5
Date: Wed, 19 Jan 2005 11:19:26 +0530 (IST)
From: Chaitra Rao <chaitra@it.iitb.ac.in>
Subject: [greenstone-users] Strange problem - multiple instances of
library.exe
To: Katherine Don <kjdon@cs.waikato.ac.nz>
Cc: greenstone-users@list.scms.waikato.ac.nz
Message-ID:
<Pine.LNX.4.44.0501191110290.447-100000@fornax.it.iitb.ac.in>
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,
I have been facing a strange problem with greenstone since the last 2
days. When I open the greenstone page and choose one of the collections,
the browser status bar shows some activity and freezes after a while. It
doesn't move to the requested page.When I open the task manager on my
windows m/c, I see multiple instances of library.exe, which I can't
terminate. It throws an access denied error.Also, the task manager shows
100% CPU usage even if all the programs including greenstone are closed.
The library.exe files seem to be using up the CPU cycles. I need to
restart my system eachtime to be able to get my m/c running normally.

There are no viruses on my m/c. I tried reinstalling greenstone and it
worked fine ,but when i created a new collection and built it, the
problem has resurfaced.

Pls help.

Regards,
Chaitra

------------------------------

Message: 6
Date: Wed, 19 Jan 2005 12:03:44 -0800
From: Jenn Cole <library@ubcic.bc.ca>
Subject: Re: [greenstone-users] Page turn and go to page capabilities
To: Katherine Don <kjdon@cs.waikato.ac.nz>
Cc: library@ubcic.bc.ca, greenstone-users@list.scms.waikato.ac.nz
Message-ID: <41EEBD20.6030107@ubcic.bc.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Thanks Katherine. It does makes sense, but we are using nested sections
so I guess I cannot use this function. Too bad.

Another question I have for the list is in our html documents I have set
code for margins and font which Greenstone seems to be ignoring once it
is run through the HTML plugin. How can I control the look and font of
our HTML documents in Greenstone?

Sincerely,
Jenn Cole

Katherine Don wrote:

> Hi Jenn
>
> Greenstone does this for you automatically if the sections of your
> documents are titled 1, 2, 3... (numbers, not letters) and they are a
> linear list.
> Eg, if you have pdfs which are separated into sections, one per page,
> then this happens for them.
>
> During building, documents that meet this criteria are labelled as paged
> documents in the database. You can force this to happen by setting
> "gsdlthistype" metadata to "Paged" during import. I am not sure if
> putting this in metadata.xml files is enough.
> I have done this in PagedImgPlug -
> $doc_obj->set_utf8_metadata_element ($topsection, "gsdlthistype",
> "Paged");
>
> the relevant section in the building code is in
> perllib/mg(pp)buildproc.pm, sub get_document_type.
>
> If you just have some documents that you want to be paged, you could
> modify plugins to set gsdlthistype to Paged. you will need to reimport
> and rebuild.
> If you want all your documents like that, the easiest way is probably
> to modify the get_document_type function to always return paged. eg
>
> sub get_document_type {
> my $self = shift (@_);
> my ($doc_obj) = @_;
>
> my $thistype = "";
> my $childtype = "Paged";
> if ($doc_obj->get_text_length ($doc_obj->get_top_section())) {
> $thistype = "Paged";
> } else {
> $thistype = "Invisible";
> }
>
> return ($thistype, $childtype);
> }
>
> Then you just need to rebuild the gdbm database:
> buildcol.pl -mode infodb <collname>
> copy collect/collname/building/text/collname.ldb to
> collect/collname/index/text/collname.ldb
>
> Note the extra stuff determines whether to display the enclosing
> section or not.
> Noe also that this will not work properly if you have nested sections.
> There can only be one level of sections inside the enclosing document
> setion.
>
> does this make sense? I hope its not too confusing.
>
> Cheers,
> Katherine Don
>
> Jenn Cole wrote:
>
>> Hello,
>>
>> I have searched your e-mail list archives for an answer to this
>> question but have been unable to find an answer that works for me.
>> If anyone had code for the following I would appreciate it.
>>
>> I have a collection of textual documents, I would like to know how I
>> can:
>>
>> 1. Instead of a table of contents listing all of my pages, have a "go
>> to page x" functionality, while keeping the expand text box on the
>> screen. I have found references to PageId, but not quite sure how to
>> set it up.
>>
>> Thanks,
>>
>> Jenn Cole
>> UBCIC Library Technician
>>
>> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>


------------------------------

Message: 7
Date: Wed, 19 Jan 2005 13:34:10 -0800
From: Rich Robinson <richrobinson2005@yahoo.com>
Subject: [greenstone-users] Defaults in preferences
To: greenstone-users@list.scms.waikato.ac.nz
Message-ID: <f06200702be1482959d1a@[172.16.1.51]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Is there a way to force certain preference settings as defaults? I
have a fielded search form which shows four fields, as it seems to
default that way in the preferences page. I'd like to set it to a
different number.

------------------------------

_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users


End of greenstone-users Digest, Vol 22, Issue 15
************************************************