[CWB] Some problems installing a new corpus at cqpweb

Hardie, Andrew a.hardie at lancaster.ac.uk
Tue Oct 11 20:40:28 CEST 2016


The duplicate key entries that are failing to be deleted are in the xml_metadata and/or xml_metadata_values tables.

This suggests that the problem is that your corpus deletion process is aborting before it gets to the point of deleting those keys.

You should check your http error log after such a deletion to check whether there is a report of what the problem is.

You should, likewise, check your http error log after trying and failing to install metadata. A blank screen will usually lead to an entry there that will be at least a little informative.

Re >> Yet another issue, if I delete from the interface the corpus I installed using an uploaded file, then the whole data dir get deleted, fortunately I have a backup...

I don’t get what the problem is, isn’t this the expected behaviour? Perhaps I’m not following what you mean by “using an uploaded file”…

best

Andrew.

From: "Andrés Chandía" [mailto:andres at chandia.net]
Sent: 11 October 2016 19:32
To: Hardie, Andrew
Cc: Open source development of the Corpus WorkBench
Subject: Some problems installing a new corpus at cqpweb

Hi there, I have some problems installing a preindexed corpus in cqpweb interface
1.when clicking the button to set metadata, it only shows a blank oage, either using a given table or installing a minimalist set
2.I delete the corpus to try again
3, On second try I get this error:
Error # 1062: Duplicate entry 'corpglicom-p' for key 'corpus'
eventhough I have deleted the previous installation and reindexed the corpus with cwb.
4. moving the corpus to the uploaded file and deleting previous installation does not help, I get same error:
Error # 1062: Duplicate entry 'corpglicom-text' for key 'corpus'

The only way to start over is changing corpus name, but I have again the same problems...
Any suggestion?

Thanks

_______________________
            andrés chandía
[chandia.net]<http://www.chandia.net>[http://www.upf.edu/universitat/_img/ico_tw.png]<https://twitter.com/andreschandia>
NMT<http://chandia.net/content/nmt> | Dungupeyem<http://chandia.net/content/dungupeyem> | Corlexim<http://chandia.net/corlexim>

administrador de:
Parles.upf<http://parles.upf.edu> | Delingua<http://www.delingua.es> | Amind terapia<http://amindterapia.com> | Mapuche koyaktu<http://koyaktumapuche.net> | Nocando<http://parles.upf.edu/llocs/nocando> |
mail: ONG Mapuche koyaktu<http://mail.corporacionkoyaktu.net> | Psicoaching<http://mail.psicoaching.net> |
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20161011/2d73fc29/attachment.html>


More information about the CWB mailing list