STARIONGROUP / COMET-IME-Community-Edition

The Concurrent Design Desktop Application and Excel Integration compliant with ECSS-E-TM-10-25 Annex A and Annex C
https://www.stariongroup.eu
Other
21 stars 5 forks source link

draft version 9.4.2 quick test - python script gives syntax error #1254

Closed MartinFijneman closed 1 year ago

MartinFijneman commented 1 year ago

Prerequisites

Description

testing python script for summation of masses in engineering model not working in draft version of 9.4.2, gives following error message when trying to run:

An error occured during the execution of the script ! Error: invalid syntax

Note: performed reference test using same testing file in version 9.4.1, there it is working

Note: testing performed with draft installation file provided by Alexander related to #1253

Steps to Reproduce

Logs

System Configuration

samatstariongroup commented 1 year ago

the update is for Python 3.4, the file you have is old python 2.7. Please use the folllowing script https://github.com/RHEAGROUP/COMET-IME-Community-Edition/blob/development/CDP4Scripting.Tests/sample/CDP4%20python-script-2.py

MartinFijneman commented 1 year ago

with other provided python script it is working as expected for this version (9.4.2). issue closed