[CWB] [ cwb-Bugs-2839824 ] Corpus data directory name cannot contain blanks

SourceForge.net noreply at sourceforge.net
Tue Aug 18 22:23:15 CEST 2009


Bugs item #2839824, was opened at 2009-08-18 22:12
Message generated for change (Comment added) made by schtepf
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=2839824&group_id=131809

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CL low-level library
Group: None
Status: Closed
Resolution: Fixed
Priority: 6
Private: No
Submitted By: Stefan Evert (schtepf)
Assigned to: Stefan Evert (schtepf)
Summary: Corpus data directory name cannot contain blanks

Initial Comment:
CWB registry files do not allow paths containing blanks and some other special characters (e.g. a path starting with a period '.') in the HOME and INFO fields. CQP and command-line utilities will fail with a general parse error that does not indicate the location of the problem.

----------------------------------------------------------------------

>Comment By: Stefan Evert (schtepf)
Date: 2009-08-18 22:23

Message:
Test: comments & changes to bug reports and feature requests should now
also be sent to the CWBdev mailing list (so everyone knows what's going
on).

If this become too bothersome for non-developers, please speak up. It may
be necessary to set up separate mailing lists for developers and end users
in this case.

----------------------------------------------------------------------

Comment By: Stefan Evert (schtepf)
Date: 2009-08-18 22:16

Message:
Fixed in revision #35.

If a HOME or INFO path contains blanks or other problematic characters
(such as leading "."), it has to be enclosed in _double_ quotes.  When in
doubt, quote the path, but keep in mind that this will not be compatible
with older CWB releases!  Any double quotes in the path must be escaped
with a backslash (\"), and literal backslashes should be doubled (\\).

The cwb-encode utility should automatically produce double-quoted HOME and
INFO fields if necessary (with -R option).  The next official release of
the CWB/Perl modules will also support and generate the new quoted
pathnames (esp. the cwb-regedit and cwb-make utilities).

Please test!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=2839824&group_id=131809


More information about the CWB mailing list