You are here: Foswiki>Tasks Web>Item14429 (31 Jan 2018, GeorgeClark)Edit Attach

Item14429: tools/configure generates invalid perl structure.

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.5
Target Release: patch
Applies To: Engine
Component: configure
Branches: Release02x01 master Item14288 Item14454 Item14380 Item14537
Reported By: PaulMerchantJr
Waiting For:
Last Change By: GeorgeClark
Prior to 2.1.4 the tools/configure script could be used to programmatically retrieve configuration settings. (i.e., tools/configure -getcfg {Store} as found in the InstallationGuide) In 2.1.4, the output includes a non-parseable plaintext message ("** Be sure to run as 'perl -CA tools/configure' if any settings will use utf-8 data") before the requested content and there's no way to suppress this message.

Please consider omitting the message entirely, or suppressing the message if -noprompt is specified.

-- PaulMerchantJr - 07 Jul 2017

Confirming. This message is too much. I should not have added it where I did. Would it be better to send messages like this to STDERR as well? Ideally it would be better to examine what is being "-set" and error if it appears to be incorrectly coded utf-8. Though I'm not sure how to do that.

-- GeorgeClark - 08 Jul 2017
 
Topic revision: r11 - 31 Jan 2018, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy