Code Monkey home page Code Monkey logo

Comments (5)

hkroeger avatar hkroeger commented on August 15, 2024

Hi wisehart,
thanks for the report.
It appears that the software tries to create a temporary directory in the (non-writable) root directory.
Is it possible that the TMPDIR environment variable might be messed up? I'll check in due course for possible other causes.

Do you have a full console log for me?

from insightcae.

wisehart avatar wisehart commented on August 15, 2024

Hi,

I tried again this morning and now there are several things happening now:

It now ends with a map::at error:

`

+================================ ERROR =================================+
| |
| map::at |
| |
+------------------------------------------------------------------------------+
`

Also some other functions do not work anymore. I changed the working directory, but the OpenFoam folders are sitll created in the old place. Also, the "clean" button in the GUI does not work anymore. I attached the console log.
run_log.log

from insightcae.

hkroeger avatar hkroeger commented on August 15, 2024

OK, thanks for the log.

The displayed error is misleading and just a follow-up error. The actual problem is recognizable in the log (below: ModuleNotFoundError: No module named 'Insight').
There is something messed up with the python path.

I haven't used the airfoil simulation for quite a while. It obviously needs some maintenance.
I will update it's result image rendering code to some updated method without the need for pvbatch asap and get back to you once this is done.

Regards


env -i DISPLAY=:0 HOME=/home/projects USER=projects SHELL=/bin/bash LANG=en_US.UTF-8 bash -lc source /opt/insightcae/bin/insight_setenv.sh;source insight.bashrc.of1806;cd "/home/projects/CFD/InsightCAE_Examples/subcase__geometry_alpha=5";pvbatch-offscreen "--force-offscreen-rendering" "/home/projects/CFD/InsightCAE_Examples/Airfoil2d_TL_180/042217280.py" 
Executing env
[E] Traceback (most recent call last):
[E]   File "/home/projects/CFD/InsightCAE_Examples/Airfoil2d_TL_180/042217280.py", line 1, in 
[E]     from Insight.Paraview import *
[E] ModuleNotFoundError: No module named 'Insight'

+------------------------------ Warning follows -------------------------------+
|                                                                              |
| An exception has occurred while processing the instance                      |
| subcase__geometry_alpha=5 of the parameter study.The analsis of this         |
| instance was not completed.                                                  |
| Reason: Execution of external application                                    |
| "pvbatch-offscreen "--force-offscreen-rendering"                             |
| "/home/projects/CFD/InsightCAE_Examples/Airfoil2d_TL_180/042217280.py""      |
| failed with return code 1!                                                   |
| Error output was:                                                            |
|                                                                              |
| Traceback (most recent call                                                  |
| last):                                                                       |
|   File                                                                       |
| "/home/projects/CFD/InsightCAE_Examples/Airfoil2d_TL_180/042217280.py", line |
| 1, in                                                                |
|     from Insight.Paraview import *                                           |
| ModuleNotFoundError: No                                                      |
| module named 'Insight'                                                       |
|                                                                              |
|                                                                              |
| The error occurred                                                           |
| while running OpenFOAM                                                       |
| analysis                                                                     |
| while executing command "pvbatch-offscreen                                   |
| "--force-offscreen-rendering"                                                |
| "/home/projects/CFD/InsightCAE_Examples/Airfoil2d_TL_180/042217280.py""      |
|                                                                              |
+------------------------------------------------------------------------------+


+================================ ***ERROR*** =================================+
|                                                                              |
| map::at                                                                      |
|                                                                              |
+------------------------------------------------------------------------------+

from insightcae.

hkroeger avatar hkroeger commented on August 15, 2024

I have updated the VTK rendering part in the airfoil app and put an update into our development repository ( http://downloads.silentdynamics.de/ubuntu_dev/ ).
This should now no longer need python for the rendering part.

from insightcae.

wisehart avatar wisehart commented on August 15, 2024

Switched into dev ppa and got your fix! Works like a charm. Thank you very much.

from insightcae.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.