Skip to main content
Lionel Dyck
Participating Frequently
May 4, 2021 8:54 AM UTC

miniconda install bug

When installing miniconda via OMVS from a 3270 session there are many times when the INPUT indicator displays on the screen. 

If one presses ENTER then those enter commands are buffered resulting in a problem at this prompt:

Configure to use Rocket's secure conda server? [Y/n]

This prompt should require an explicit reply and not just accept a probably buffered enter to mean Y.

Please

------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------

    13 replies

    Lionel Dyck
    Participating Frequently
    May 4, 2021 9:05 AM UTC
    When installing miniconda via OMVS from a 3270 session there are many times when the INPUT indicator displays on the screen. 

    If one presses ENTER then those enter commands are buffered resulting in a problem at this prompt:

    Configure to use Rocket's secure conda server? [Y/n]

    This prompt should require an explicit reply and not just accept a probably buffered enter to mean Y.

    Please

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------

    One more installation 'bug'

    After setting up my .bashrc I now get this:

    bash: /u/splbd/conda/etc/profile.d/conda.sh: EDC5111I Permission denied.

    When I look I see this:

    t ISO8859-1 T=on -rw-r--r-- 1 SPLBD SYS1 1760 May 4 05:26 conda.csh
    t ISO8859-1 T=on -rw-r--r-- 1 SPLBD SYS1 5017 May 4 05:26 conda.sh

    Shouldn't conda.sh be rwxr--r-- ?



    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Lionel Dyck
    Participating Frequently
    May 4, 2021 9:12 AM UTC

    One more installation 'bug'

    After setting up my .bashrc I now get this:

    bash: /u/splbd/conda/etc/profile.d/conda.sh: EDC5111I Permission denied.

    When I look I see this:

    t ISO8859-1 T=on -rw-r--r-- 1 SPLBD SYS1 1760 May 4 05:26 conda.csh
    t ISO8859-1 T=on -rw-r--r-- 1 SPLBD SYS1 5017 May 4 05:26 conda.sh

    Shouldn't conda.sh be rwxr--r-- ?



    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Now that I've 'fixed' that when I get into  OMVS I now get this:

    bash: conda: command not found

    and when I look the PATH has not been updated.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Alexander Klochkov
    Rocketeer
    May 4, 2021 9:18 AM UTC

    One more installation 'bug'

    After setting up my .bashrc I now get this:

    bash: /u/splbd/conda/etc/profile.d/conda.sh: EDC5111I Permission denied.

    When I look I see this:

    t ISO8859-1 T=on -rw-r--r-- 1 SPLBD SYS1 1760 May 4 05:26 conda.csh
    t ISO8859-1 T=on -rw-r--r-- 1 SPLBD SYS1 5017 May 4 05:26 conda.sh

    Shouldn't conda.sh be rwxr--r-- ?



    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------

    Hi Lionel Dyck,

    re "bash: /u/splbd/conda/etc/profile.d/conda.sh: EDC5111I Permission denied."

    Looks like you missed dot and space near conda.sh string in your .bashrc:
    this should be ". /u/splbd/conda/etc/profile.d/conda.sh"



    ------------------------------
    Alexander Klochkov
    Rocket Software
    ------------------------------
    Lionel Dyck
    Participating Frequently
    May 4, 2021 9:20 AM UTC

    Hi Lionel Dyck,

    re "bash: /u/splbd/conda/etc/profile.d/conda.sh: EDC5111I Permission denied."

    Looks like you missed dot and space near conda.sh string in your .bashrc:
    this should be ". /u/splbd/conda/etc/profile.d/conda.sh"



    ------------------------------
    Alexander Klochkov
    Rocket Software
    ------------------------------
    Tried that and it failed with not found.

    I'm doing a clean install to see if that helps.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Tatiana Balaburkina
    Rocketeer
    May 4, 2021 9:23 AM UTC
    When installing miniconda via OMVS from a 3270 session there are many times when the INPUT indicator displays on the screen. 

    If one presses ENTER then those enter commands are buffered resulting in a problem at this prompt:

    Configure to use Rocket's secure conda server? [Y/n]

    This prompt should require an explicit reply and not just accept a probably buffered enter to mean Y.

    Please

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------

    Hi Lionel,
    Thank you for bringing this up. In order to install z/OS Miniconda without error, please, follow the steps in documentation:

    1. Login to your z/OS system using ssh client (e.g. PuTTy) and change directory to the path where you saved Miniconda installation files.

    Since the use case conflicts with documentation we can't consider it as a bug.

    Regarding the second issue, could you share the part of .bashrc that contains /u/splbd/conda/etc/profile.d/conda.sh call?



    ------------------------------
    Tatiana Balaburkina
    Rocket Software
    ------------------------------
    Lionel Dyck
    Participating Frequently
    May 4, 2021 9:25 AM UTC

    Hi Lionel,
    Thank you for bringing this up. In order to install z/OS Miniconda without error, please, follow the steps in documentation:

    1. Login to your z/OS system using ssh client (e.g. PuTTy) and change directory to the path where you saved Miniconda installation files.

    Since the use case conflicts with documentation we can't consider it as a bug.

    Regarding the second issue, could you share the part of .bashrc that contains /u/splbd/conda/etc/profile.d/conda.sh call?



    ------------------------------
    Tatiana Balaburkina
    Rocket Software
    ------------------------------
    I don't have ssh/putty access to this system. This is a bug as there should be no reason to not use OMVS under ISPF on a 3270.  Please consider this as a bug.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Lionel Dyck
    Participating Frequently
    May 4, 2021 10:18 AM UTC

    Hi Lionel Dyck,

    re "bash: /u/splbd/conda/etc/profile.d/conda.sh: EDC5111I Permission denied."

    Looks like you missed dot and space near conda.sh string in your .bashrc:
    this should be ". /u/splbd/conda/etc/profile.d/conda.sh"



    ------------------------------
    Alexander Klochkov
    Rocket Software
    ------------------------------
    This is what I get with the . in front:

    bash: ./u/splbd/conda/etc/profile.d/conda.sh: EDC5129I No such file or directory.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Alexander Klochkov
    Rocketeer
    May 4, 2021 10:20 AM UTC
    This is what I get with the . in front:

    bash: ./u/splbd/conda/etc/profile.d/conda.sh: EDC5129I No such file or directory.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    missed space between . and /

    ------------------------------
    Alexander Klochkov
    Rocket Software
    ------------------------------
    Lionel Dyck
    Participating Frequently
    May 4, 2021 10:23 AM UTC
    missed space between . and /

    ------------------------------
    Alexander Klochkov
    Rocket Software
    ------------------------------
    that solved the problem - thank you - wasn't clear when I was viewing the PDF.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Lionel Dyck
    Participating Frequently
    May 4, 2021 10:46 AM UTC
    I don't have ssh/putty access to this system. This is a bug as there should be no reason to not use OMVS under ISPF on a 3270.  Please consider this as a bug.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Why isn't the https://conda.anaconda.org/zoss-appdev defined as the default channel if the Rocket secure server is not selected?

    What's the secret to making it the default so it doesn't have to be specified in every install command?

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------