Skip to content

python set by -P flag is not used/overwritten (in sixdb.sh and run_six.sh) #69

@JoschD

Description

@JoschD

calling sixdb.sh with the -P flag to set a python does this, but overrides it immediately after.

$ /afs/cern.ch/project/sixtrack/SixDesk_utilities/pro/utilities/bash/sixdb.sh -P python3 . load_dir
Wed 14/10/20 19:59:47  sixdb.sh Setting python to python3 in PATH env var
Wed 14/10/20 19:59:47  sixdb.sh Python set to: /usr/bin/python - version: Python 2.7.5 

This is especially bad as sixdb (python in utilities/externals/SixDeskDB/) requires now python3 (it doesn't check for it yet, but the code raises a syntax error in python .) see SixTrack/SixDeskDB#37
making sixdb.sh unusable at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions