View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004091 | OpenFOAM | Bug | public | 2024-06-05 14:36 | 2024-06-18 07:50 |
Reporter | BrendenEpps | Assigned To | chris | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OpenFOAMv11 for MacOS | OS | Mac | OS Version | 10.14.6 |
Product Version | 11 | ||||
Summary | 0004091: openfoam11-macos script throws error: "docker: invalid reference format.". | ||||
Description | The "openfoam11-macos" script has two bugs causing it to throw the error: "docker: invalid reference format.". | ||||
Steps To Reproduce | * First fix bug ID: 0004090. Remove these two lines (which cause error "No directory exists:") per bug report 0004090. [ -d "$MOUNT_DIR" ] || usage "No directory exists: $MOUNT_DIR" MOUNT_DIR=$(cd "$MOUNT_DIR" && pwd -P) * Now run the script as usual. Terminal > sudo chmod 755 /usr/local/bin/openfoam11-macos cd $HOME/openfoam openfoam11-macos * Result: Script throws error message "docker: invalid reference format." | ||||
Additional Information | * Cause of Error: Two typos... 1) Use double quotes ("") instead of single quotes (''), so $ver is expanded. 2) "IP" should be "ip", since Shell script is case sensitive. * Solution: Modify two lines as follows: change docker_image='openfoam/openfoam$ver-graphical-apps' to docker_image="openfoam/openfoam$ver-graphical-apps" change -e DISPLAY=$IP:0 \ to -e DISPLAY=$ip:0 \ | ||||
Tags | No tags attached. | ||||
|
Thanks. openfoam11-macos, openfoam10-macos and openfoam-dev-macos scripts are corrected. https://dl.openfoam.org/docker/ |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-06-05 14:36 | BrendenEpps | New Issue | |
2024-06-11 09:42 | wyldckat | Assigned To | => chris |
2024-06-11 09:42 | wyldckat | Status | new => assigned |
2024-06-11 09:44 | wyldckat | Relationship added | related to 0004062 |
2024-06-18 07:50 | chris | Status | assigned => closed |
2024-06-18 07:50 | chris | Resolution | open => fixed |
2024-06-18 07:50 | chris | Note Added: 0013265 |