[CWB] Adding metadata from XML
Hardie, Andrew
a.hardie at lancaster.ac.uk
Mon Nov 16 04:41:16 CET 2020
Hi Mansur,
The “processing” box is supposed to stay up until the server finishes processing the HTTP request that asked for the xml-to-text metadata installation, and returns a redirection header. The fact that you’re not getting an HTTP response either means that then server is getting stuck somewhere along the way, or else there is a bug in the client-side javascript somewhere blocking the browser from moving on.
To find out which, hit “refresh” on the page with the spinning popup. If it shows the metadata table as installed, then the problem is likely in the javascript. If it shows the metadata table as not installed, the problem is likely something going wrong along the way (in which case, check your server logs for error messages!)
In either case, I will need to know exactly which version of the code you’re running to propose a fix once the problem is identified. Note that 3.2 lives on a branch now so commits that refer to the trunk are outdated.
best
Andrew.
PS sorry for the delay replying, I am way behind with my correspondence at the minute.
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of mansur
Sent: 30 October 2020 20:18
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: [CWB] Adding metadata from XML
Hello!
During the last few days I have a very interesting problem:
1. I compile (index) several small corpora with cwb utilities and generate registry files.
2. I add these corpora to the CQPweb.
3. I choose adding metadata from XML, select the necessary fields and click "Create metadata table from XML using the settings above" button without running frequency-list setup. And a small box pops up about the task being processed. And it doesn't end, lasts forever. Apache web-server (httpd process) starts to consume 100% CPU time (1 core). It doesn't give any errors, though I tried to enable debug messages in the config file.
I tried to reinstall the system, and used different revisions of CQPweb and CWB that were released during last year: something around 1400-1559. The most stable ones here as I understand are trunc for cwb and 3.2-latest for CQPweb (3.2.42 if I remember it correctly).
Today I found out a detail that maybe could help to locate the source of the problem: after adding a corpus to the CQPweb, but before trying to add metadata if I try to make a search query, then adding metadata works well. I understand that search queries don't work before adding metadata and it gives an error, but after that I can easily add metadata without any problems.
Could you, please, share your opinion about it? How can I fix it or investigate further to find the exact reason? Maybe it is a bug?
With best wishes,
Mansur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20201116/846482f6/attachment-0001.html>
More information about the CWB
mailing list