bugManeage - Bugs: bug #58560, Configure script fails in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #58560: Configure script fails in non-interactive mode without warning

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Sun 14 Jun 2020 02:25:12 AM UTC
   
 
Category:  Software Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Mon 15 Jun 2020 03:15:37 AM UTC, comment #2: 

This task has been fixed and implemented in Commit e7637904.

I first tested the non-interactive mode first by running the configuration step like this:


./project configure < /dev/null


Then, I made a Dockerfile (in task 15389, comment 1) to reproduce the problem and confirmed that it is now fixed.

This task is now closed, but there is still some final touches necessary to be able to use that Dockerfile. So far, it goes to the end of "basic.mk", but still has problems with XLSX/IO (for the maneage-paper project). That should be fixable soon too ;-).

Mohammad Akhlaghi <makhlaghi>
Group administrator
Sun 14 Jun 2020 02:26:39 AM UTC, comment #1: 

Sorry! A typo! This bug was actually reported in Issue 14 of the 'maneage-paper' project.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Sun 14 Jun 2020 02:25:12 AM UTC, original submission:  

This bug was originally reported on Issue 13 of the 'maneage-paper' project.

To fix the problem, we should add a step to see if the running-shell is interactive.

When it isn't interactive, and the desired option is not given ('--build-dir' in the example above), the script should stop and warn the user by saying something like this for the example above: "because you are running in non-interactive mode, you need to use '--build-dir' to specify the build directory".

Of course, to be more clear, this check and its corresponding warning should be done after printing the description of each step (so the user sees the purpose of the problematic option just above it).

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-15 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code