[CWB] CQPweb: v 3.1.0 now usable, I think

Markus Killer markus.killer at uzh.ch
Tue Jan 21 07:27:33 CET 2014


(sorry for repost - used wrong sender email) - This time I managed to get a bit further, but still no successful install/upgrade possible:
autosetup on empty database:
Updated to Revision 504.mki at ubuntu:/var/www/cqp-web-beta$ cd bin/mki at ubuntu:/var/www/cqp-web-beta/bin$ sudo php ./autosetup.php CQPweb has encountered an error!================================
	<table class="concordtable" width="100%">		<tr>			<th class="concordtable">CQPweb encountered an error and could not continue.</th>		</tr>	A mySQL query did not run successfully!
Original query: 
update user_info set last_seen_time = CURRENT_TIMESTAMP where username='mkiller'
Error # 1146: Table 'cqpwbeta.user_info' doesn't exist 
or upgrade-database on v3.0.16 database (sql-import into empty database before running script):
mki at ubuntu:/var/www/cqp-web-beta/bin$ sudo php ./upgrade-database.php Database version is now at < 3.1.0. Database will now be upgraded to 3.1.0...A mySQL query did not run successfully!
Original query: 
alter table saved_dbs drop key dbname


Error # 1091: Can't DROP 'dbname'; check that column/key exists 
Best wishes,Markus
From: a.hardie at lancaster.ac.uk
To: m.killer at outlook.com; cwb at sslmit.unibo.it
Date: Tue, 21 Jan 2014 04:12:06 +0000
Subject: Re: [CWB] CQPweb: v 3.1.0 now usable, I think









Thanks for the bug report; sorry for delay responding. This turned out to be a lingering environment bug from a much earlier version that was newly exposed
 by the new scripts. Now fixed in svn.
 
best
 
Andrew.
 


From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it]
On Behalf Of Markus Killer

Sent: 20 January 2014 19:25

To: cwb at sslmit.unibo.it

Subject: Re: [CWB] CQPweb: v 3.1.0 now usable, I think


 

Dear Andrew,
 
Thanks a lot for the update to v3.1.0. Today, I've successfully installed and configured v3.0.16 on a Xubuntu 12.04 LTS (64-bit) system. However, I didn't manage to get v3.1.0 (svn rev 497) running. 
When I try to run the autosetup script, I get the following php notices and a fatal error:
$php autosetup.php 
PHP Notice:  Undefined offset: 1 in /var/www/cqp-web-beta/lib/defaults.inc.php on line 446
PHP Notice:  Undefined offset: 1 in /var/www/cqp-web-beta/lib/defaults.inc.php on line 446
PHP Fatal error:  Call to a member function is_admin() on a non-object in /var/www/cqp-web-beta/lib/exiterror.inc.php on line 282

I then went on to try an upgrade from v3.0.16, but the update upgrade-database.php script terminates with the same php fatal error.
Best wishes,
Markus

 
[CWB] CQPweb: v 3.1.0 now usable, I think
Hardie, Andrew a.hardie
 at lancaster.ac.uk 

Mon Jan 20 09:19:41 CET 2014


Previous message: [CWB] [cwb:bugs] #60 CQPweb : metadata from XML, primary classification not set
Next message: [CWB] CQPweb: v 3.1.0 now usable, I think
Messages sorted by: [ date ] [
 thread ] [ subject ] [ author ]



Hi all,
 
My grand re-structuring of almost everything for CQPweb v 3.1.0 is now finished. 
 
There is not much visible difference, but a lot has changed under the bonnet, and this will hopefully make it quicker and easier to implement new features.
 
If you are an adventurous sort, I think you can now safely upgrade to 3.1.0 (repo commit 497). There are probably bugs; reports very welcome.
 
If you are less adventurous, you might want to stick with 3.0.16 a bit longer, until the worst problems are dealt with.
 
Currently 3.1 runs nowhere but on my computer. Later today I hope to upgrade the Lancaster to 3.1, so those of you with accounts on that server can have a look at it later this week to see what has changed.
 
One big change that you won't see from looking at a server is that I have completely revamped the sysadmin documentation. Previously this consisted of a series of HTML files - the maintenance of which has become increasingly hairy over the past couple of years. Now, I have shifted most of these over into a "CQPweb System Administrator's Manual" written in LaTeX and available within the usual documentation tree on the SourceForge repository. I hope that this new format will (a) make it more maintainable (b) make it easier for others to contribute patches. There are still a couple of HTML files to convert; these will be done as and when I find a moment.
 
Like the CWB and CQP tutorials, the manual compiles to both PDF and HTML; the PDF is included with CQPweb and is also on the website here:
 
http://cwb.sourceforge.net/files/CQPwebAdminManual.pdf 
 
Crucially, it has a couple of sections that between them cover the process of upgrading from v 3.0.16 to 3.1.0, which, given all the changes I have made, is non-straightforward.
 
That's all for now.
 
best
 
Andrew.





_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20140121/cd659130/attachment.html>


More information about the CWB mailing list