|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002831||OpenFOAM||[All Projects] Bug||public||2018-02-07 03:44||2018-02-12 17:08|
|Platform||OS||Mac OS||OS Version||High Sierra|
|Target Version||Fixed in Version|
|Summary||0002831: Paraview cannot be included in Docker|
|Description||I have installed all the required apps, like Docker, Paraview and XQuartz, but when I open the paraFoam, it says 'ParaView is not in the Docker container. Install on the host machine or run the launch script with -p option'. But several days ago I have successfully installed this software. My Paraview edition is 5.4.1.|
|Steps To Reproduce||koujiaqingdeMacBook-Air:~ koujiaqing$ cd $HOME/openfoam|
koujiaqingdeMacBook-Air:openfoam koujiaqing$ openfoam5-macos –p
User: "koujiaqing" (ID 501, group ID 20)
192.168.0.12 being added to access control list
Welcome to the OpenFOAM v5 Docker Image
Provides bash terminal with OpenFOAM 5.0 and some graphical applications
Produced and maintained by CFD Direct (http://cfd.direct), on behalf of the
OpenFOAM Foundation (http://openfoam.org), the owner and distributor of
OpenFOAM as free, open source software under the General Public Licence v3.
* OpenFOAM User Guide: http://cfd.direct/openfoam/user-guide
* C++ Source Guide: http://cpp.openfoam.org
* OpenFOAM Training: http://cfd.direct/openfoam-training
* Running in the Cloud: http://cfd.direct/cloud
* Issue (Bug) Reporting: http://bugs.openfoam.org
* Subscribe to Newsletter: http://cfd.direct/news
* Contributors to OpenFOAM: http://openfoam.org/dev/contributors
ParaView is not in the Docker container. Install on the host machine or run the launch script with -p option
@kkkokkjq: It took me a couple of reads to spot the typo... fortunately you've made a perfect copy-paste of the steps you've taken!
If you take a close look at step 6 here: https://openfoam.org/download/5-0-macos/ - "Step 6: Launching openfoam5-macos", you will see that the command should be:
However, the command you've used is:
It's really hard to spot, but the last "p" is preceded by a long dash "–" in your command, while in the original instructions it uses a short dash "-".
@Chris: In the script "openfoam5-macos" (and possibly in the other sibling scripts for other operating systems), the "*)" case option should not default to "break" and it should instead give a similar error message as for "-*)", given that any arguments that don't have the dash are ignored, but as we can see in this situation, they should be pointed out as wrong or unknown.
Many thanks! The problem is solved! It took me several weeks but I still cannot find the problem...
Thank you for your help!
|Updated the scripts with case statement that stops with error for anything that is not an option - with *).|
|2018-02-07 03:44||kkkokkjq||New Issue|
|2018-02-07 03:44||kkkokkjq||Tag Attached: paraview|
|2018-02-07 21:36||wyldckat||Note Added: 0009278|
|2018-02-07 21:36||wyldckat||Assigned To||=> chris|
|2018-02-07 21:36||wyldckat||Status||new => assigned|
|2018-02-08 05:15||kkkokkjq||Note Added: 0009279|
|2018-02-12 17:08||chris||Note Added: 0009306|
|2018-02-12 17:08||chris||Status||assigned => closed|
|2018-02-12 17:08||chris||Resolution||open => fixed|