Hi again,
I am facing another problem which is more or less related to this topic because it is another licensing issue. Therefore, I decided not to start an new topic.
The problem can be summarized like this:
I am running cubit from a python script which starts with these lines:
import sys
sys.path.append(“C:\Program Files\Coreform Cubit 2021.11\bin”)
import cubit
cubit.init([“cubit”, “-workingdir”, “C:\Temp”])
cubit.cmd(“reset”)
cubit.cmd(“import stl “C:\Temp\FemoralGrowth\TD06new_R\Segmentation\R_head.stl” feature_angle 135.00 merge”)
When I run this code I get the following output:
[2021-12-18 08:11:12.200] [error] Couldn’t initialize RLM! RLM ERROR code: -102 -> Can’t read license data
RLM Diagnostics at 12/18/2021 08:11
RLM version: 14.1BL3
RLM platform: x64_w4
OS version: 10.0
ISV name: csimsoft
Hostname: DESKTOP-17N84NC
User: willi
Working directory: C:\Temp\FemoralGrowth\TD06new_R\s_1.5_r_12_t_2_th_6\Mesh
Environment:
RLM_CONNECT_TIMEOUT=<not set>
RLM_EXTENDED_ERROR_MESSAGES=<not set>
RLM_LICENSE=<not set>
RLM_NO_UNLIMIT=<not set>
RLM_PATH_RANDOMIZE=<not set>
RLM_PROJECT=<not set>
RLM_QUEUE=<not set>
RLM_ROAM=<not set>
RLMSTAT=<not set>
HTTP_PROXY=<not set>
HTTP_PROXY_CREDENTIALS=<not set>
csimsoft_LICENSE=<not set>
RLM hostid list:
c2924ccf uuid=84411E4C-32DF-11B2-A85C-BBE6892CFAD5 disksn=CA4E2_0E_060C0B_6B_7E24EA_0C_000000_00.1 5405dbf54379 182649f172d7 0a0027000003 182649f172d8 1a2649f172d7 182649f172db ip=192.168.56.1 ip=192.168.0.103
License files:
C:\ProgramData\Reprise\csimsoft
rlm_init() parameters:
1: C:/Program Files/Coreform Cubit 2021.11/bin/licenses;C:/Users/willi/AppData/Local/Coreform/licenses
2:
3:
Local licenses which can be checked out:
Client Cached Licenses (only the highest version # shown):
<none>
In license file C:\ProgramData\Reprise\csimsoft
(no server)
<none>
Roaming Licenses:
<none>
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
HTTP ERROR: 0 CURL CODE: 77
Login error: Could not establish a connection to license server. Coreform Cubit will stop working in 3 day(s) unless you reestablish your connection to the internet.
Creating new Workspace session
Initializing LLVM
Loading workspace command plugin
Clearing uspline data
Then the code just does not produce any further output, so I think the imports are not executed.
However, previously I had the Cubit learn license with Cubit 2020.2 and when I run the same code as above and just replace the version “2021.11” to"2020.2" in the second line, it works as expected and I get this output:
[2021-12-18 08:14:56.836] [info] RLM session initialized
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
RLM Diagnostics at 12/18/2021 08:14
RLM version: 14.1BL3
RLM platform: x64_w4
OS version: 10.0
ISV name: csimsoft
Hostname: DESKTOP-17N84NC
User: willi
Working directory: C:\Temp\FemoralGrowth\TD06new_R\s_1.5_r_12_t_2_th_6\Mesh
Environment:
RLM_CONNECT_TIMEOUT=<not set>
RLM_EXTENDED_ERROR_MESSAGES=<not set>
RLM_LICENSE=<not set>
RLM_NO_UNLIMIT=<not set>
RLM_PATH_RANDOMIZE=<not set>
RLM_PROJECT=<not set>
RLM_QUEUE=<not set>
RLM_ROAM=<not set>
RLMSTAT=<not set>
HTTP_PROXY=<not set>
HTTP_PROXY_CREDENTIALS=<not set>
csimsoft_LICENSE=<not set>
RLM hostid list:
c2924ccf uuid=84411E4C-32DF-11B2-A85C-BBE6892CFAD5 disksn=CA4E2_0E_060C0B_6B_7E24EA_0C_000000_00.1 5405dbf54379 182649f172d7 0a0027000003 182649f172d8 1a2649f172d7 182649f172db ip=192.168.56.1 ip=192.168.0.103
License files:
C:\ProgramData\Reprise\csimsoft
C:/Program Files/Coreform Cubit 2020.2/bin/licenses\cubit-learn.lic
rlm_init() parameters:
1: C:/Program Files/Coreform Cubit 2020.2/bin/licenses
2:
3:
Local licenses which can be checked out:
Client Cached Licenses (only the highest version # shown):
<none>
In license file C:\ProgramData\Reprise\csimsoft
(no server)
<none>
In license file C:/Program Files/Coreform Cubit 2020.2/bin/licenses\cubit-learn.lic
(customer "cubitlearn1" server at: 443@ls75.rlmcloud.com)
<none>
Roaming Licenses:
<none>
CCCCC UU UU BBBBBB IIII TTTTTT
CC CC UU UU BB BB II TT
CC UU UU BB BB II TT
CC UU UU BBBBBB II TT
CC UU UU BB BB II TT
CC CC UU UU BB BB II TT
CCCCC UUUUU BBBBBB IIII TT tm
MESH GENERATION TOOLKIT
FOR
PRE-PROCESSING OF FINITE ELEMENT ANALYSES
User community mailing list: cubit@sandia.gov
Report bugs and enhancement requests to cubit-help@sandia.gov
Cubit Version 2020.2 64-Bit Build cc80dc5
VTK Version 8.2.0
ACIS Version 28.0.2.0
Exodus API Version 8.03
MeshGems Version 2.11-5
Copyright 2001-2008 Sandia Corporation
Revised Fri Jan 29 18:34:45 2021 +0000
Running 12/18/2021 08:14:56 AM
CUBIT includes MeshGems by Distene S.A.S.
CUBIT includes ACIS software by Spatial Inc.
CUBIT includes LP Solve by Michel Berkelaar.
CUBIT includes VTK by Kitware Inc.
CUBIT includes Exodus II, based on netCDF by UCAR/Unidata.
CUBIT includes VERDICT, by Sandia National Laboratories.
CUBIT includes MESQUITE, by Argonne National Laboratory and
Sandia National Laboratories.
Machine type is Microsoft Windows 10.0 (Build 19041)
Machine name is DESKTOP-17N84NC
Working Directory: C:\Temp\
Commands will be journaled to ‘C:\Temp\cubit04.jou’
Journaled Command: reset
Reading facets…
16284 facets read.
Building facet-based geometry from 16284 facets…
Body successfully created.
Number of new vertices = 20
Number of new curves = 21
Number of new surfaces = 7
Number of new shells = 1
Number of new volumes = 1
Number of new bodies = 1
Geometry engine set to: Facet Geometry Engine version 10.0.0
Journaled Command: import stl “C:\Temp\FemoralGrowth\TD06new_R\Segmentation\R_head.stl” feature_angle 135 merge
The error output is quite clear. I have tried to find a solution for this problem myself, but I was not successful.
I really appreciate your helpful replies. Thank you in advance!
Best regards,
Willi