[CWB] Some problems installing a new corpus at cqpweb

Hardie, Andrew a.hardie at lancaster.ac.uk
Wed Oct 12 17:46:13 CEST 2016


Ah, looks like you need to manually clean annotation_metadata too.

Sorry – the corpus delete function was v buggy in the low-numbered 3.2 versions.

Andrew.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of "Andrés Chandía"
Sent: 12 October 2016 16:44
To: Open source development of the Corpus WorkBench
Subject: Re: [CWB] Some problems installing a new corpus at cqpweb

I updated to CQPweb v3.2.11
I manually cleaned xml_metadata, xml_metadata_values and corpus_info but still I get this error

Original query: insert into annotation_metadata (corpus, handle, description, tagset, external_url, is_feature_set) values ('corpglicom', 'lema', '', '', '', is_feature_set) /* from User: admin | Function: install_new_corpus() | 2016-Oct-12 15:40:45 */

 Error # 1062: Duplicate entry 'corpglicom-lema' for key 'PRIMARY'


On Tue, October 11, 2016 20:40, Hardie, Andrew wrote:
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>[X]<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!






_______________________
            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/20161012/ab86acfb/attachment-0001.html>


More information about the CWB mailing list