[CWB] Some problems installing a new corpus at cqpweb

"Andrés Chandía" andres at chandia.net
Wed Oct 12 17:44:26 CEST 2016



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
 
 NMT |
 
 Dungupeyem | 
 Corlexim
 
 administrador de:
 Parles.upf | 
 Delingua | Amind terapia | 
 Mapuche koyaktu | Nocando |
 mail:
ONG Mapuche koyaktu | 
 Psicoaching
|
 P No imprima innecesariamente. ¡Cuide el medio
ambiente!


 

 
   


_______________________
            andrés
chandía

NMT |
Dungupeyem | Corlexim

administrador de:
Parles.upf | Delingua |
Amind terapia | Mapuche koyaktu | Nocando |
mail: ONG Mapuche koyaktu | Psicoaching |
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/dc13fff6/attachment.html>


More information about the CWB mailing list