<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Andrew,<br>
Well, the address was right with http. However, the execution of svn
switch ... threw up a whole load of conflicts (many involving
libraries, e.g., when I ask for differences:<br>
<br>
(1) their version (at line 1) |(2) your version (at line
0) <br>
--------------------------------------+--------------------------------------<br>
<?php require('../lib/analyse-ui.php')|<?php
require('../lib/analyse.inc.php'<br>
--------------------------------------+--------------------------------------<br>
<br>
I backed up the mysql db, but on execution of upgrade-database.php,
there was another error<br>
<br>
PHP Parse error: syntax error, unexpected '?' in
/var/www/html/cqpweb/bin/cli-lib.php on line 170<br>
<br>
Sorry about all this. I'm going to ask the tech to restore last
night's save.<br>
Best,<br>
Graham.<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Le 11/05/2023 à 16:54, Hardie, Andrew a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:LO4P265MB3485009581CED84E07558F3ACB749@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM">
<pre class="moz-quote-pre" wrap="">Change https to http
Andrew.
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> <a class="moz-txt-link-rfc2396E" href="mailto:cwb-bounces@sslmit.unibo.it"><cwb-bounces@sslmit.unibo.it></a> On Behalf Of Graham Ranger
Sent: 11 May 2023 15:11
To: <a class="moz-txt-link-abbreviated" href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>
Subject: Re: [CWB] Update difficulties
Thanks again, Andrew... But drat! I get another error message telling me svn doesn't like what I'm trying.
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">root@srvperso-cqpweb:/var/www/html/cqpweb# svn switch
<a class="moz-txt-link-freetext" href="https://svn/">https://svn/</a>.
code.sf.net%2Fp%2Fcwb%2Fcode%2Fgui%2Fcqpweb%2Fbranches3.2-latest&data=
05%7C01%7Chardiea%40live.lancs.ac.uk%7C6dd9c99730504dd086c608db5229973
d%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638194110804639161%7CUn
known%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW
wiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Q%2BBHppgATV9tfGgfUHKVuajSa3q5f
bANywo1L2Ft2gI%3D&reserved=0 Error validating server certificate for
'<a class="moz-txt-link-freetext" href="https://svn.code.sf.net/">https://svn.code.sf.net/</a>':
- The certificate has expired.
Certificate information:
- Hostname: code.sourceforge.net
- Valid: from Mar 12 03:15:54 2023 GMT until Jun 10 03:15:53 2023 GMT
- Issuer: Let's Encrypt, US
- Fingerprint:
22:83:F0:C1:96:B7:AE:84:FF:F4:71:25:03:05:97:AC:85:32:20:D5
(R)eject, accept (t)emporarily or accept (p)ermanently? p
svn: E155025: 'svn switch' does not support switching a working copy
to a different repository
svn: E155025: '<a class="moz-txt-link-freetext" href="http://svn.code.sf.net/p/cwb/code/gui/cqpweb/trunk">http://svn.code.sf.net/p/cwb/code/gui/cqpweb/trunk</a>'
is not the same repository as
'<a class="moz-txt-link-freetext" href="https://svn.code.sf.net/p/cwb/code">https://svn.code.sf.net/p/cwb/code</a>'
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">Many thanks in advance for any help you can give me.
Best,
Graham.
Le 11/05/2023 à 12:25, Hardie, Andrew a écrit :
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Apologies, that URL should be
<a class="moz-txt-link-freetext" href="https://svn/">https://svn/</a>.
code.sf.net%2Fp%2Fcwb%2Fcode%2Fgui%2Fcqpweb%2Fbranches3.2-latest&data=
05%7C01%7Chardiea%40live.lancs.ac.uk%7C6dd9c99730504dd086c608db5229973
d%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638194110804639161%7CUn
known%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW
wiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Q%2BBHppgATV9tfGgfUHKVuajSa3q5f
bANywo1L2Ft2gI%3D&reserved=0
(and the trunk one is
<a class="moz-txt-link-freetext" href="https://svn/">https://svn/</a>.
code.sf.net%2Fp%2Fcwb%2Fcode%2Fgui%2Fcqpweb%2Ftrunk&data=05%7C01%7Char
diea%40live.lancs.ac.uk%7C6dd9c99730504dd086c608db5229973d%7C9c9bcd119
77a4e9ca9a0bc734090164a%7C0%7C0%7C638194110804639161%7CUnknown%7CTWFpb
GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0
%3D%7C3000%7C%7C%7C&sdata=v1AcRAySj3jSVBW3VMW04%2Bwgu6C6SW6nQqnsNxzJ98
E%3D&reserved=0)
I accidentally grabbed the URL of the HTML viewer instead of the actual repo in my haste...
(also: no, it does not need to be an svn:// because sf.net supports
svn over http)
Andrew.
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> <a class="moz-txt-link-rfc2396E" href="mailto:cwb-bounces@sslmit.unibo.it"><cwb-bounces@sslmit.unibo.it></a> On
Behalf Of Graham Ranger
Sent: 11 May 2023 10:57
To: <a class="moz-txt-link-abbreviated" href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>
Subject: Re: [CWB] Update difficulties
Hi Andrew,
Thanks for this.
Yes, it is a working copy. However, svn switch command runs into problems... Specifically:
svn switch
<a class="moz-txt-link-freetext" href="https://sour/">https://sour/</a>
ceforge.net%2Fp%2Fcwb%2Fcode%2FHEAD%2Ftree%2Fgui%2Fcqpweb%2Fbranches%2
F3.2-latest%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7C6dd9c997305
04dd086c608db5229973d%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638
194110804639161%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=k17RrwekBYX
17XaSJymUQOplsmdmDQtidx81ubyEn9Y%3D&reserved=0
svn: E175009: Unable to connect to a repository at URL '<a class="moz-txt-link-freetext" href="https://sourceforge.net/p/cwb/code/HEAD/tree/gui/cqpweb/branches/3.2-latest">https://sourceforge.net/p/cwb/code/HEAD/tree/gui/cqpweb/branches/3.2-latest</a>'
svn: E175009: XML Parsing failed: Unexpected root element 'html'
Two errors. The first appears to suggest a mistake in the URL (shouldn't it start svn:// ?), the second a problem with the local setup, as cqpweb is placed in /var/www/html and perhaps svn doesn't like this directory name...
Best,
Graham.
Le 10/05/2023 à 15:17, Hardie, Andrew a écrit :
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">OK, first step: is your installation a working copy?
-------------
Working copy
-------------
If it is, check "svn info" to see whether it currently points at the
trunk or the branch URL
Trunk -
<a class="moz-txt-link-freetext" href="https://sour/">https://sour/</a>
ceforge.net%2Fp%2Fcwb%2Fcode%2FHEAD%2Ftree%2Fgui%2Fcqpweb%2Ftrunk%2F&
d
ata=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cdc2e80abfe7b4ad1523908db52
0
63664%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638193958871573161
%
7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I
k
1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=etBE5YMO8dBfQVFBVqEDgrSRZS
z
KzJEm2HjraVbQ1fY%3D&reserved=0
Branch -
<a class="moz-txt-link-freetext" href="https://sour/">https://sour/</a>
ceforge.net%2Fp%2Fcwb%2Fcode%2FHEAD%2Ftree%2Fgui%2Fcqpweb%2Fbranches%
2
F3.2-latest%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cdc2e80abfe
7
b4ad1523908db52063664%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C63
8
193958871573161%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
2
luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WxRg1mzQTi
8
O5%2F64VWUTJ7U2j3kmvvjtUXeMoAWJsew%3D&reserved=0
If you are on the Branch, just type "svn up". And your code is up to date.
If you are on the Trunk, re-point your checkout at the branch. The
command is
svn switch
<a class="moz-txt-link-freetext" href="https://sour/">https://sour/</a>
ceforge.net%2Fp%2Fcwb%2Fcode%2FHEAD%2Ftree%2Fgui%2Fcqpweb%2Fbranches%
2
F3.2-latest%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cdc2e80abfe
7
b4ad1523908db52063664%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C63
8
193958871573161%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
2
luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WxRg1mzQTi
8
O5%2F64VWUTJ7U2j3kmvvjtUXeMoAWJsew%3D&reserved=0
(which you must run from within the base directory of your CQPweb
checkout.)
The code will then update to the most recent version on the branch.
------------------
Not a working copy
------------------
If it's not a working copy, then go to another location, and use
svn export
<a class="moz-txt-link-freetext" href="https://sour/">https://sour/</a>
ceforge.net%2Fp%2Fcwb%2Fcode%2FHEAD%2Ftree%2Fgui%2Fcqpweb%2Fbranches%
2
F3.2-latest%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cdc2e80abfe
7
b4ad1523908db52063664%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C63
8
193958871573161%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
2
luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WxRg1mzQTi
8
O5%2F64VWUTJ7U2j3kmvvjtUXeMoAWJsew%3D&reserved=0 cqpweb-new-code
and then overwrite the files in the existing installation with these
new files. (You can then delete any leftover files from the earlier
version.)
----------
Either way
----------
After that, run the upgrade-database.php script. If you want to be able to downgrade, then backup the whole database before this step.
Hope this helps
best
Andrew.
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> <a class="moz-txt-link-rfc2396E" href="mailto:cwb-bounces@sslmit.unibo.it"><cwb-bounces@sslmit.unibo.it></a> On
Behalf Of Graham Ranger
Sent: 09 May 2023 12:06
To: Open source development of the Corpus WorkBench
<a class="moz-txt-link-rfc2396E" href="mailto:cwb@sslmit.unibo.it"><cwb@sslmit.unibo.it></a>
Subject: [CWB] Update difficulties
Hello all,
I'd like to update from 3.2.30 to the latest 3.2 version of cqpweb.
I first tried svn co
<a class="moz-txt-link-freetext" href="http://svn.code.sf.net/p/cwb/code/gui/cqpweb/branches/3.2-latest">http://svn.code.sf.net/p/cwb/code/gui/cqpweb/branches/3.2-latest</a> cqpweb but with no noticeable result. Although the update appeared to run as intended, the version displayed on the mainpage, and the various menus, remained unchanged.
I then tried a more radical approach with svn update which threw up a load of conflicts, and left me with a blank page at the web address.
I've since restored the previous state, but would appreciate any expert help in the matter. From my reading of the admin manual, the first command ought to have done the job, with no extra tweaks or database upgrades required.
Best,
Graham.
_______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://liste/">http://liste/</a>
.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&data=05%7C01%7Chardiea%40
l
ive.lancs.ac.uk%7Cdc2e80abfe7b4ad1523908db52063664%7C9c9bcd11977a4e9c
a
9a0bc734090164a%7C0%7C0%7C638193958871573161%7CUnknown%7CTWFpbGZsb3d8
e
yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3
0
00%7C%7C%7C&sdata=CA6gpVL5S5aFtF1VNn36O6VfsfU2iBdKg1viwuWCV7c%3D&rese
r
ved=0 _______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://liste/">http://liste/</a>
.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&data=05%7C01%7Chardiea%40
l
ive.lancs.ac.uk%7Cdc2e80abfe7b4ad1523908db52063664%7C9c9bcd11977a4e9c
a
9a0bc734090164a%7C0%7C0%7C638193958871573161%7CUnknown%7CTWFpbGZsb3d8
e
yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3
0
00%7C%7C%7C&sdata=CA6gpVL5S5aFtF1VNn36O6VfsfU2iBdKg1viwuWCV7c%3D&rese
r
ved=0
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">_______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://liste/">http://liste/</a>
.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&data=05%7C01%7Chardiea%40l
ive.lancs.ac.uk%7C6dd9c99730504dd086c608db5229973d%7C9c9bcd11977a4e9ca
9a0bc734090164a%7C0%7C0%7C638194110804639161%7CUnknown%7CTWFpbGZsb3d8e
yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C30
00%7C%7C%7C&sdata=HNnk0Ypqw7hjarXcjKQW2u5T4K6dVJ6wMNcZ33cnBI4%3D&reser
ved=0 _______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://liste/">http://liste/</a>
.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&data=05%7C01%7Chardiea%40l
ive.lancs.ac.uk%7C6dd9c99730504dd086c608db5229973d%7C9c9bcd11977a4e9ca
9a0bc734090164a%7C0%7C0%7C638194110804639161%7CUnknown%7CTWFpbGZsb3d8e
yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C30
00%7C%7C%7C&sdata=HNnk0Ypqw7hjarXcjKQW2u5T4K6dVJ6wMNcZ33cnBI4%3D&reser
ved=0
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
_______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a>
_______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a>
</pre>
</blockquote>
<br>
</body>
</html>