Dear Loris,

On 04/02/2020 08:39, Loris Bennett wrote:
Hi,

I am still struggling with CPLEX.  I have added a missing entry to
qanda, which seems to get me through the pre-install dialog.

What I am not sure about is the how noqanda works.  Currently I have,
unchanged from the original easyblock:

   noqanda = [r'Installing\.\.\..*\n.*------.*\n\n.*============.*\n.*$']

noqanda is a list of patterns for output lines that stay in place for a while, but are not questions waiting for an answer.


The output from the installer, however, contains lines like

   [----------|----------|---------- >
How should I deal with this?

You'll need to escape the '[', ']' and '|', so try this:

noqanda = [
    r'Installing\.\.\..*\n.*------.*\n\n.*============.*\n.*$',
    r'\[[-\|]*\]',
]



Cheers,

Loris

PS The installation does seem to start, as over a period of several
minutes, various temporary directories are created, but at the end I
just have two empty subdirectories.

It's possible the installer is shot down too early by run_cmd_qa, it'll kill the running command if it runs into output that looks like an unknown question.


regards,

Kenneth

Reply via email to