From ssadowsky at gmail.com Sat Aug 1 05:57:48 2026 From: ssadowsky at gmail.com (Scott Sadowsky) Date: Fri, 31 Jul 2026 22:57:48 -0500 Subject: [CWB] Upgrading from.. ehem... Ubuntu Server LTS 18.04 Message-ID: Hi all! My corpus server has been running perfectly fine, and without interruption, for the last eight years. So if it ain't broke, don't fix it, right? But there have been countless security patches and upgrades to Ubuntu and improvements to CWB in this time, so I'd like to upgrade both. I tried to upgrade Ubuntu, but it entirely broke CWB (fortunately, I had a full image backup to restore from). I tried it the other way around and it also broke. So can anybody give me some advice on how to do this properly? All the best, Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From timm.weber at fau.de Sat Aug 1 10:36:09 2026 From: timm.weber at fau.de (Timm Weber) Date: Sat, 01 Aug 2026 10:36:09 +0200 Subject: [CWB] Upgrading from.. ehem... Ubuntu Server LTS 18.04 In-Reply-To: Message-ID: An HTML attachment was scrubbed... URL: From ssadowsky at gmail.com Sun Aug 2 00:45:25 2026 From: ssadowsky at gmail.com (Scott Sadowsky) Date: Sat, 1 Aug 2026 17:45:25 -0500 Subject: [CWB] Upgrading from.. ehem... Ubuntu Server LTS 18.04 In-Reply-To: References: Message-ID: Hi Timm, First of all, many thanks for your response. I tried this a year or so ago, so I don't remember all that many details (it still works to this day, so I left it alone). I do remember crashes due to incompatible PHP versions. Not sure if that happened with R or anything else, but definitely PHP. CQPwebOutsideTheBox looks interesting, but I rent a bare-metal server and this seems to be a VM image. I know there are ways of "devirtualizing", but I don't know if my provider supports them. So it looks like I'm going to have to either do multiple updates of Ubuntu (four, in fact) or reinstall 26.04 LTS. In either case, how can I make sure my CQP data survives, as well as its config files? Is there even a definitive list of config files used by CQP/CWB? An ancient trick I learned a long time ago was to set the immutable bit on files so that not even root can modify or delete them (sudo chattr +i) and I could use this anywhere needed... if I knew where it's needed. Thing is, I set my server up so long ago that my CQPweb/CWB skills are worse than rusty. Thanks! Scott On Sat, Aug 1, 2026, 03:36 Timm Weber wrote: > Hello Scott, > > the proper way of doing this upgrade would be first upgrading (or better > reinstalling) Ubuntu and then reinstalling the CWB. You can keep your data > directories (corpus data/registry) but you definitely need to reinstall all > of the CWB/CQP binaries, since they depend on system libraries which will > have changed during the upgrade. To make your life a bit easier you can use > the cwb Debian package from the website instead of manually compiling the > CWB from source. > > If this is what you have already tried so far, please provide some more )) > details in what way the CWB install broke for you (which components, any > error messages etc). > > Best regards > Timm > > > Am 01.08.2026 05:57 schrieb Scott Sadowsky via CWB : > > Hi all! > > My corpus server has been running perfectly fine, and without > interruption, for the last eight years. So if it ain't broke, don't fix it, > right? > > But there have been countless security patches and upgrades to Ubuntu and > improvements to CWB in this time, so I'd like to upgrade both. I tried to > upgrade Ubuntu, but it entirely broke CWB (fortunately, I had a full image > backup to restore from). I tried it the other way around and it also broke. > > So can anybody give me some advice on how to do this properly? > > All the best, > Scott > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrewhardie at users.sourceforge.net Tue Aug 25 16:17:50 2026 From: andrewhardie at users.sourceforge.net (Andrew Hardie) Date: Tue, 25 Aug 2026 14:17:50 -0000 Subject: [CWB] [cwb:bugs] #82 CQP can hang without output when executing queries ending in a comment In-Reply-To: <6a709cf2f9be10926eb8214e.bugs@cwb.p.sourceforge.net> References: <6a709cf2f9be10926eb8214e.bugs@cwb.p.sourceforge.net> Message-ID:

Update: can confirm that in BNCweb, the following query "elephant"%c # coment comment comment "and"%c "castle%c ... evaluates as if it was just "elephant"%c --- **[bugs:#82] CQP can hang without output when executing queries ending in a comment** **Status:** open **Group:** TODO-3.5 **Created:** Mon Aug 03, 2026 01:51 PM UTC by Timm Weber **Last Updated:** Tue Aug 25, 2026 02:15 PM UTC **Owner:** nobody Executing the following malformed query in CQP causes its prompt to hang without output: `[pos="JJ.?]? ("#?brexit"%c)` To get CQP out of this stuck state, the user has to input an additional `;\n` to get an error message. This is unexpected behaviour and has the potential to break software using CQP in child process mode, since a deadlock situation arises (both cqp and the host program get stuck on reading stdin and stdout, respectively). See also [this issue](https://github.com/ausgerechnet/cwb-ccc/issues/92) (and subsequent workaround) for cwb-cc. The underlying issue seems to be that any query containing a `#` character outside a string hangs indefinitely, since CQP will treat the rest of the line following the hash symbol (including the `;` and newline) as a comment. Just executing `#` or `#;`is enough to replicate the issue and will also hang cqp in the same way. Interestingly, this only seems to occur when not using input line editing (the `-e` flag), i.e. in cqp started without any flag or in child process mode. --- Sent from sourceforge.net because cwb at sslmit.unibo.it is subscribed to https://sourceforge.net/p/cwb/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/cwb/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrewhardie at users.sourceforge.net Tue Aug 25 16:15:28 2026 From: andrewhardie at users.sourceforge.net (Andrew Hardie) Date: Tue, 25 Aug 2026 14:15:28 -0000 Subject: [CWB] [cwb:bugs] #82 CQP can hang without output when executing queries ending in a comment In-Reply-To: <6a709cf2f9be10926eb8214e.bugs@cwb.p.sourceforge.net> References: <6a709cf2f9be10926eb8214e.bugs@cwb.p.sourceforge.net> Message-ID:

Implicitly, comments on multiline input are disallowed in any commands sent via CWB/Perl (and in the cqp.php class, which follows it closely) - or, at least, they won't work. CQP.pm line 440: $cmd =~ s/\n+/ /g; # make sure there are no newline characters (to be on the safe side) Unless I'm very much mistaken, this means that any query content that follows the first comment will become *part of* the first comment, almost certainly causing an error. If the intent is for this *not* to happen, then probably that line should just go. (and same in CQPweb, etc etc.) --- **[bugs:#82] CQP can hang without output when executing queries ending in a comment** **Status:** open **Group:** TODO-3.5 **Created:** Mon Aug 03, 2026 01:51 PM UTC by Timm Weber **Last Updated:** Tue Aug 04, 2026 06:20 PM UTC **Owner:** nobody Executing the following malformed query in CQP causes its prompt to hang without output: `[pos="JJ.?]? ("#?brexit"%c)` To get CQP out of this stuck state, the user has to input an additional `;\n` to get an error message. This is unexpected behaviour and has the potential to break software using CQP in child process mode, since a deadlock situation arises (both cqp and the host program get stuck on reading stdin and stdout, respectively). See also [this issue](https://github.com/ausgerechnet/cwb-ccc/issues/92) (and subsequent workaround) for cwb-cc. The underlying issue seems to be that any query containing a `#` character outside a string hangs indefinitely, since CQP will treat the rest of the line following the hash symbol (including the `;` and newline) as a comment. Just executing `#` or `#;`is enough to replicate the issue and will also hang cqp in the same way. Interestingly, this only seems to occur when not using input line editing (the `-e` flag), i.e. in cqp started without any flag or in child process mode. --- Sent from sourceforge.net because cwb at sslmit.unibo.it is subscribed to https://sourceforge.net/p/cwb/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/cwb/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.hardie at lancaster.ac.uk Tue Aug 25 17:16:50 2026 From: a.hardie at lancaster.ac.uk (Hardie, Andrew) Date: Tue, 25 Aug 2026 15:16:50 +0000 Subject: [CWB] Linux dependencies of CWB::CL Message-ID: Hi all (especially Stephanie) I recently had to rebuild & reinstall the CWB-Perl modules and found that CWB::CL had some odd behaviour with regard to the libraries it depended on, with error messages not previously seen. (This is on Debian forky). Basically, compilation failed with the message that some library was not available; however, checking showed that the libraries were installed on the system. The libraries in question were libcrypt and libglib2. What I worked out eventually is that, for the libraries in question, the Perl compiler was looking only for a library with the extension .so , but the OS package in question had only installed a .so.0 . You only got the .so file if you installed the corresponding -dev package. (actually both the .so and the .so.0 are symlinks to something with another name, but that's a whole other kettle of fish) So once I installed libcrypt-dev and libglib2.0-dev everything worked as it did previously. I'm making a record of this on the list in case this presages greater problems with having the right dependencies to build the CWB::CL module on Linux... Andrew. -------------- next part -------------- An HTML attachment was scrubbed... URL: