[CWB] Download keyword list, CQP 3.2.23

Hardie, Andrew a.hardie at lancaster.ac.uk
Wed Aug 17 19:28:00 CEST 2016


Fix for this bug now committed to svn

(You saw the bug and I didn’t because you must have PHP7 and I have PHP5….)

best

Andrew.

From: Thilo Wiertz [mailto:thilo.wiertz at geographie.uni-freiburg.de]
Sent: 17 August 2016 18:20
To: Hardie, Andrew
Subject: Fwd: [CWB] Download keyword list, CQP 3.2.23




Anfang der weitergeleiteten Nachricht:

Von: Thilo Wiertz <thilo.wiertz at geographie.uni-freiburg.de<mailto:thilo.wiertz at geographie.uni-freiburg.de>>
Betreff: Aw: [CWB] Download keyword list, CQP 3.2.23
Datum: 17. August 2016 um 19:17:05 MESZ
An: Open source development of the Corpus WorkBench <cwb at liste.sslmit.unibo.it<mailto:cwb at liste.sslmit.unibo.it>>
Umgeleitet von: Thilo Wiertz <thilo.wiertz at geographie.uni-freiburg.de<mailto:thilo.wiertz at geographie.uni-freiburg.de>>
Umgeleitet an: CWB at liste.sslmit.unibo.it<mailto:CWB at liste.sslmit.unibo.it>

Hi Andrew,

thanks for your quick response and for the hint towards case sensitivity. The attempt to download the keyword list indeed gives an error message in the apache log (that unfortunately I can't make sense of):

[Wed Aug 17 19:09:26.102749 2016] [:error] [pid 27046] [client 132.230.239.182:57819] PHP Fatal error:  Uncaught Error: Cannot use object of type stdClass as array in /var/www/html/cqp/lib/fake-mysql.inc.php:347
Stack trace:
#0 /var/www/html/cqp/lib/keywords.inc.php(929): mysql_field_name(Object(mysqli_result), 5)
#1 /var/www/html/cqp/lib/keywords.inc.php(717): keywords_write_download('Word', 'Keyword list fo...', Object(mysqli_result), Array)
#2 /var/www/html/cqp/lib/redirect.inc.php(215): require('/var/www/html/c...')
#3 /var/www/html/cqp/exe/redirect.php(1): require('/var/www/html/c...')
#4 {main}
thrown in /var/www/html/cqp/lib/fake-mysql.inc.php on line 347, referer: http://[IP]/cqp/[corpusname]/keywords.php?kwTable1=sc%7E27&kwTable2=__entire_corpus&kwCompareAtt=word&kwWhatToShow=allKey&kwStatistic=LL&kwAlpha=1.0&kwFamilywiseCorrect=Y&kwMinFreq1=3&kwMinFreq2=3&kwMethod=Calculate+keywords&kwEmpty=f1&uT=y<http://[ip]/cqp/%5bcorpusname%5d/keywords.php?kwTable1=sc%7E27&kwTable2=__entire_corpus&kwCompareAtt=word&kwWhatToShow=allKey&kwStatistic=LL&kwAlpha=1.0&kwFamilywiseCorrect=Y&kwMinFreq1=3&kwMinFreq2=3&kwMethod=Calculate+keywords&kwEmpty=f1&uT=y>

Best,
Thilo


Am 17.08.2016 um 18:28 schrieb Hardie, Andrew <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>>:

Hi Thilo,

I can't reproduce this. Can you have a look in your Apache log and see if there is an error message?

best

Andrew.


-----Original Message-----
From: cwb-bounces at liste.sslmit.unibo.it<mailto:cwb-bounces at liste.sslmit.unibo.it> [mailto:cwb-bounces at liste.sslmit.unibo.it] On Behalf Of Thilo Wiertz
Sent: 17 August 2016 14:15
To: Open source development of the Corpus WorkBench
Subject: [CWB] Download keyword list, CQP 3.2.23

Dear Andrew, dear all,

when trying to download the results of a keyword analysis, I get a browser error message:

"File not found: http://[IP]/cqp/[corpusname]/redirect.php?redirect=downloadKeywords&kwTable1=sc~27&kwTable2=__entire_corpus&kwCompareAtt=word&kwWhatToShow=allKey&kwStatistic=LL&kwAlpha=0.0001&kwFamilywiseCorrect=Y&kwMinFreq1=3&kwMinFreq2=3&kwMethod=Calculate+keywords&kwEmpty=f1&uT=y<http://[ip]/cqp/%5bcorpusname%5d/redirect.php?redirect=downloadKeywords&kwTable1=sc~27&kwTable2=__entire_corpus&kwCompareAtt=word&kwWhatToShow=allKey&kwStatistic=LL&kwAlpha=0.0001&kwFamilywiseCorrect=Y&kwMinFreq1=3&kwMinFreq2=3&kwMethod=Calculate+keywords&kwEmpty=f1&uT=y>"

Any experience with that issue? Same happens with different corpora on my CQPweb 3.2.23. Downloading query results or frequency lists works fine. Guess it could also be an issue with directory permissions?

Cheers
Thilo



_______________________________________________
CWB mailing list
CWB at liste.sslmit.unibo.it<mailto:CWB at liste.sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
_______________________________________________
CWB mailing list
CWB at liste.sslmit.unibo.it<mailto:CWB at liste.sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20160817/5eecc430/attachment-0001.html>


More information about the CWB mailing list