[CWB] Some problems installing a new corpus at cqpweb
"Andrés Chandía"
andres at chandia.net
Wed Oct 12 18:44:03 CEST 2016
Ok, cleaning that table allowed me to install the corpus again, but when I click on theÂ
"Design and insert a text-metadata table for the corpus" link, it sends me to a non
found page.
At the apache error log I get a good amount of this line:
Undefined offset: 0 in .../cqp/lib/user-lib.inc.php on line 628, referer:
http://parles.upf.edu/llocs/cqp/adm/index.php?thisF=installCorpusIndexed&uT=y
On Wed, October 12, 2016 17:46, Hardie, Andrew wrote:
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
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!
_______________________
            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/dff04a30/attachment.html>
More information about the CWB
mailing list