[greenstone-users] Subscription

From Greenstone Team
DateFri Jul 15 15:34:51 2011
Subject [greenstone-users] Subscription
In-Reply-To (749839649B08C349A63339831C63CFBAD4C119-SC02-PALAC-ES)
Hi Jorge,
It feels like your index folder may be in use that building doesn't get
copied into index.

There are two temporary solutions I can think of, the first will help us
investigate what went wrong, the second will hopefully allow you to move
on with the work you wanted to do rather than be importuned by this problem.


First of all, use a file browser to copy your collection folder and call
it "<your collection name>2". This is just to have a backup copy of
your work. But remember to work with your original collection folder in
the following, rather than the copy:

1. Open a DOS prompt
Go to Start > Run. Type "cmd" and it will open a DOS prompt

2. Use the DOS prompt terminal to go into your Greenstone installation
folder.
E.g. if your Greenstone is installed in C:greenstone, type:
cd C:greenstone

3. Set up the environment for Greenstone by typing:
setup.bat

4. Now, you're going to be running the building process from the
commandline, rather than from GLI. Type:
perl -S import.pl -keepold <type your collection name>

5. That runs the import process. Once it's done and the DOS prompt lets
you type again, type:
perl -S buildcol.pl -keepold <type your collection name>

6. Since commandline building is a manual process, you will have to
manually move your collection's "building" folder to "index". I suggest
using your Filebrowser to do so.

7. Check your collection to see whether that worked. The idea is that if
anything got corrupted or if something was holding onto the "index"
folder, it may have got cleaned up.

8. Now open up GLI and try to rebuild your collection again using GLI
(rather than the manual steps above). Does "building" get copied into
"index" automatically and properly this time?

9. If not, then repeat steps 1 to 8, but this time, adjust steps 4 and 5
to run the following commands instead:
perl -S import.pl -removeold <type your collection name>
perl -S buildcol.pl -removeold <type your collection name>


The second solution is more drastic, but may help you to get back on
track with your actual work.
1. Open up a filebrowser
2. Then, back in your original collection (not the copy), delete the
folder "index" inside that collection.
3. Rebuild. Does it build again correctly this time? And does it rebuild
correctly on subsequent occasions too?
4. Or does it go back to your having to manually copy "building" to
"index" on future rebuilds? If so, repeat steps 1-3 but this time, in
step 2, delete not just the "index" folder but also "archives". Does
this help with rebuilding repeatedly, or do you still encounter the problem?

Regards,
Anupama

abana.7 wrote:
> Hi Anupama,
>
> Thanks for the answer, I will try to give you all the information I can:
>
> The OS that gives me problems is a Windows Vista and Greenstone 2.83
>
> I am not getting error messages. The only problem I am having is that, after I rebuild the collections, the images that should be shown in my HTML documents do not get shown. When I look at the source code of the Greenstone page I am viewing, the call to the image was a path
> collectcoleccioindexassocHASH01e8ghproj.jpg.
>
> But when I went to that folder, the folder was not HASH01e8, but another HASH name, and the assoc folder showed that it had not been modified at the time of the collection's rebuilding.
>
> I got an instruction from the Spanish users list, that told me that the folder with the new HASH name should be in
> /collect/coleccio/building/assoc/...
>
> And so it was. They told me that the problem was, probably, that the document was open at the time of the rebuilding; but the fact is that, after that, the folder does not get updated anymore when I rebuild the collection. I have the solution of moving the folders from ...building to ...index; but I would like to know if it can be fixed.
>
> There are no error logs in the folder
> apache-httpd/<your operating system>/logs/error_log
>
> I also attach the log of the last rebuilding of the collection, but it does not have any error lines, I think.
>
> That is all. I say again, in the spanish users list they gave me a patch for the problem, but if the problem could be fixed, it would be great.
>
> Thanks very much,
> Jorge
>
>
>
>
>
>
>
> -----Mensaje original-----
> De: Greenstone Team [mailto:greenstoneteam@gmail.com] En nombre de Greenstone Team
> Enviado el: martes, 12 de julio de 2011 8:46
> Para: abana.7; greenstone-users@list.scms.waikato.ac.nz; Anupama of Greenstone Team
> Asunto: Re: [greenstone-users] Subscription
>
> Hi Jorge,
>
> > I look forward to get some instructions about how to join the mailing
> group.
> Please visit http://www.greenstone.org/mailing-lists
> It contains links to pages from where you can subscribe to the
> Greenstone mailing lists. I think the link you will want to use is
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
> > Anyway, I will outline the problem, to give some orientation about it.
> > I have had a problem with the update of some folders, at the time I
> update the collection from the GLI. I have had problems with images
> associated to HTML documents, which are kept in folders with hash names
> for each document, in a folder named
> ...Greenstonecollectcollection_nameindexassoc. Those folders with
> hash names do not get updated, and I don□t understand the reason.
>
> We will be able to understand your particular difficulties better if you
> give us more specific information. Could you give us more details:
> 1. What is your OS? E.g. is it Windows and XP?
> 2. What version of Greenstone are you using? Greenstone 2.84?
> 3. Where are things going wrong? If you could outline the steps you
> followed, and at what step things failed. Example: you pressed the build
> button and an error message appeared, or things looked to build fine,
> but your documents don't appear to be updated when you go to preview them.
> 4. Any more details on what exactly is going wrong? What, if any, are
> the error output messages shown in Greenstone's Create Panel. Could you
> go to GLI's File > Preferences > Mode tab and set the mode to "Expert".
> Then rebuild by pressing the Build Collection button in GLI. This should
> now show more detailed messages including, hopefully, on where things
> are going wrong.
>
> If there are no error messages in your build log output (in GLI's Create
> panel), maybe there are errors in your Greenstone server's error log
> files. Please look for pertinent messages in your Greenstone
> installation's apache-httpd/<your operating system>/logs/error_log and
> mail any lines that look like error messages to us.
>
> Sending us screenshots of where and how things are going wrong when
> browsing your Greenstone Digital Library collection can also help.
>
>
> Thanks,
> Anupama
>
>
>
> abana.7 wrote:
> >
> > Hello,
> >
> > My name is Jorge Soret. I work with Greenstone on a digital resources
> > for the Real Biblioteca in the Royal Palace in Madrid, Spain. We have
> > developed the Biblioteca Digital sobre la Real Biblioteca
> > <http://www.realbiblioteca.es/greenstone/cgi-bin/library.cgi?a=p&p=home&l=es&w=utf-8>,
> > to publish texts about the collections we preserve.
> >
> > I would like to subscribe to the list in order to get technical
> > support about some features of greenstone. I don□t know if this mail
> > is the right place to expose the problems I am having, or if I should
> > wait to your response. I would appreciate indications on this. Anyway,
> > I will outline the problem, to give some orientation about it.
> >
> > I have had a problem with the update of some folders, at the time I
> > update the collection from the GLI. I have had problems with images
> > associated to HTML documents, which are kept in folders with hash
> > names for each document, in a folder named
> > ...Greenstonecollectcollection_nameindexassoc. Those folders with
> > hash names do not get updated, and I don□t understand the reason.
> >
> > I look forward to get some instructions about how to join the mailing
> > group. Thanks very much in advance.
> >
> > Best regards,
> >
> > Jorge Soret
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > greenstone-users mailing list
> > greenstone-users@list.scms.waikato.ac.nz
> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
>
>