rnv [Tue, 12 Oct 2010 08:04:44 +0000 (08:04 +0000)]
Fix of the bugs:
1) IPAL22049 TC5.1.5: Application crash at close document operation
2) Bug IPAL22067 TC5.1.5: SIGSEGV exception at close application after MESH-002 scenario execution
Avoid double deletion of the Salome Generic Objects:
1. First decrement of the reference count in the SALOMEDSImpl_AttributeIOR::~SALOMEDSImpl_AttributeIOR();
2. Second decrement of the reference count in RemovePostponed(...) method;
caremoli [Fri, 1 Oct 2010 08:38:46 +0000 (08:38 +0000)]
CCAR: add a new script (runSalomeScript) in SALOME application
This script can be used to execute a SALOME script on a server
when the client has no SALOME installation.
It copies local files on the server and execute runSession python script on the server
CCAR: add a procedure (update_catalogs.py) in SALOME application that is
able to get remote module catalogs and update the resources catalog (CatalogResources.xml).
The description of the distributed SALOME application is found in a file named
CatalogResources.base.xml (same format as the standard resources catalog).
CCAR: fix a performance problem when adding references in study (AttributeTarget)
replace the vector<DF_Attribute*> by a map< std::string , DF_Attribute* >
where the key is the label of the DF_Attribute* to improve access time to an attribute
with given label (main performance bottleneck during explode)
Changed Python module studyedit.py to reflect current usage of the comment attribute in SComponents. The module will have to be changed again in Salome 6.
Issue 0020924: [CEA] 6.1.0rc1 - script fails
Always use execfile() function instead of "import" command to execute Python scripts (passed via -u option of runSalome.py script)
CCAR: add a way to initialize ModuleCatalog server with remote catalogs.
the new environment variable (SALOME_CATALOGS_PATH) is used by runSalome.py (setpath method)
to add more catalogs than those given by the module_root_dir list.
SALOME_CATALOGS_PATH is a list of directories separated by : (unix) where other catalogs are found.
CCAR: fix a bug in KeepOnlyResourcesWithComponent (erase an item of a vector when looping on it)
and allow GiveContainer to raise SALOME exceptions to catch them in YACS
CCAR: improvement to the component loading mechanism of SALOME (issue 20675)
Main modifications are:
- add an out string argument to container methods (load_component_Library and create_component_instance_env)
to report reason when load or create fails (INTERFACE CHANGE)
- try to detect if the implementation is C++, python or executable based on intermediate errors (dlopen, dlsym,
import, ...)
- some refactoring to put specific parts in separate methods
- minimal update of MPIContainer and ParallelContainer
- keep LifeCycle unchanged
caremoli [Mon, 22 Mar 2010 09:23:39 +0000 (09:23 +0000)]
CCAR: improve the shutdown process
1- use salome_kernel.py module instead of salome.py in shutdownSalome.py to avoid calling Study
2- disconnect all connections in the connection manager
3- change the order of servers shutdown :
- connection manager
- study
- module catalog
- registry
- launcher
- logger
and add some waiting time between each shutdown because it is asynchronous.
caremoli [Mon, 22 Mar 2010 09:15:41 +0000 (09:15 +0000)]
CCAR: add a new parameter (resources) to configuration of SALOME Application
It is a new entry in config_appli.xml file (tag resources) that gives the path of a user resources catalog
It is added to the SALOME Application as the USER_CATALOG_RESOURCES_FILE environment variable in env.d/configSalome.sh