Ansys Products

Ansys Products

Ansys ACP issue

    • Véloom ÉTS
      Subscriber

      Hello,

      I am having a problem opening Ansys ACP, I get the following message : 

      ACP: 5 errors while refreshing file C:\Users\club\Documents\Analyse composite\Carrosserie\FAIRING AVANT\FAIRING AVANT_files\dp0\ACP-Pre\ACP\ACP-Pre.acph5. The first errors are (a maximum of 5 shown): 

      The log file is below : 

      2023-03-04 11:58:53.015816 info: Runtime arguments:
      2023-03-04 11:58:53.015816 info: - Command line options: {'batch_mode': 0, 'debug': False, 'num_threads': None, 'logfile': None, 'mode': 'pre', 'workbench': True, 'port': 55460}
      2023-03-04 11:58:53.015816 info: - Script file: C:\Users\club\Documents\Analyse composite\Carrosserie\FAIRING AVANT\FAIRING AVANT_files\dp0\ACP-Pre\ACP\runACP.py
      2023-03-04 11:58:54.755189 info: WorkbenchConnection connected to port 55460.
      2023-03-04 11:58:54.755189 info: Sending notification hello
      2023-03-04 11:58:54.756206 info:  - Serialized Request: {"jsonrpc": "2.0", "method": "hello"}
      2023-03-04 11:58:54.784598 info: Initialize Ansys ACLE license manager for acp: Successful
      2023-03-04 11:58:54.987689 info: Checkout of ACP product license with Ansys ACLE license manager: Checkout successful (server= 1055@MEC051918, client=mec051916_ens_ad_etsmtl_ca-club-7460-000501). 
      2023-03-04 11:58:55.003357 info: Execute Script: C:\Users\club\Documents\Analyse composite\Carrosserie\FAIRING AVANT\FAIRING AVANT_files\dp0\ACP-Pre\ACP\runACP.py
      2023-03-04 11:58:55.004396 info: Finished execution of C:\Users\club\Documents\Analyse composite\Carrosserie\FAIRING AVANT\FAIRING AVANT_files\dp0\ACP-Pre\ACP\runACP.py after t= 0.00s
      2023-03-04 11:58:55.005354 info: Received Request: method=update_system_coordinates, params=['B:ACP (Pre)'], id=1 
      2023-03-04 11:58:55.006720 info: Sending Response: success, result=None, id=1
      2023-03-04 11:58:55.006720 info: Received Request: method=wbrefresh, params=[True, 'C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\ACP\\ACP-Pre.acph5', '{\'materials\' : {\'external_id\':u"Engineering Data", \'path\':u"C:\\\\Users\\\\club\\\\Documents\\\\Analyse composite\\\\Carrosserie\\\\FAIRING AVANT\\\\FAIRING AVANT_files\\\\dp0\\\\ACP-Pre\\\\ENGD\\\\material.engd", \'material_apdl_path\':u"C:\\\\Users\\\\club\\\\Documents\\\\Analyse composite\\\\Carrosserie\\\\FAIRING AVANT\\\\FAIRING AVANT_files\\\\dp0\\\\ACP-Pre\\\\ACP\\\\material.apdl", \'modified\':True, }, \'model\' : {\'external_id\':u"Model", \'path\':u"C:\\\\Users\\\\club\\\\Documents\\\\Analyse composite\\\\Carrosserie\\\\FAIRING AVANT\\\\FAIRING AVANT_files\\\\dp0\\\\ACP-Pre\\\\MECH\\\\ACP-Pre.h5", \'modified\':True, }, }', '', ''], id=2 
      2023-03-04 11:58:55.008717 info: refresh acph5: path='C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\ACP\\ACP-Pre.acph5', external_sources={'materials': {'external_id': 'Engineering Data', 'path': 'C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\ENGD\\material.engd', 'material_apdl_path': 'C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\ACP\\material.apdl', 'modified': True}, 'model': {'external_id': 'Model', 'path': 'C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\MECH\\ACP-Pre.h5', 'modified': True}}, input_parameters=None, initialize=True, unit_system_type=None, upgrade_from=None
      2023-03-04 11:58:55.008717 info: Create empty acph5 C:\Users\club\Documents\Analyse composite\Carrosserie\FAIRING AVANT\FAIRING AVANT_files\dp0\ACP-Pre\ACP\ACP-Pre.acph5
      2023-03-04 11:58:55.011190 info: Importing ansys:h5 model from C:\Users\club\Documents\Analyse composite\Carrosserie\FAIRING AVANT\FAIRING AVANT_files\dp0\ACP-Pre\MECH\ACP-Pre.h5 
      2023-03-04 11:58:55.019169 info: Import of HDF5 mesh finished after 0.007 seconds
      2023-03-04 11:58:55.023158 info: Bounding box of reference surface: Box(p1=(-0.363924,0.0829131,0.3), p2=(0.363924,0.641044,0.733798))
      2023-03-04 11:58:55.027148 error: ACP: 5 errors while refreshing file C:\Users\club\Documents\Analyse composite\Carrosserie\FAIRING AVANT\FAIRING AVANT_files\dp0\ACP-Pre\ACP\ACP-Pre.acph5. The first errors are (a maximum of 5 shown): 

      Execution of line 2 failed:
      db.import_model(name=u'ACP Model', path='C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\MECH\\ACP-Pre.h5', format='ansys:h5', ignored_entities=['materials'], convert_section_data=False, unit_system_type=None)
      Error:'utf-8' codec can't decode byte 0xe8 in position 4: invalid continuation byte

      Execution of line 3 failed:
      db.active_model.create_scene('Scene.1')
      Error:'NoneType' object has no attribute 'create_scene'

      Execution of line 4 failed:
      db.active_model.save_path = 'C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\ACP\\ACP-Pre.acph5'
      Error:'NoneType' object has no attribute 'save_path'

      Execution of line 5 failed:
      db.active_model._wbrefresh(external_sources={'materials': {'external_id': 'Engineering Data', 'path': 'C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\ENGD\\material.engd', 'material_apdl_path': 'C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\ACP\\material.apdl', 'modified': True}, 'model': {'external_id': 'Model', 'path': 'C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\MECH\\ACP-Pre.h5', 'modified': True}}, initialize=True, input_parameters=None)
      Error:'NoneType' object has no attribute '_wbrefresh'

      Execution of line 6 failed:
      db.active_model.save(path='C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\ACP\\ACP-Pre.acph5')
      Error:'NoneType' object has no attribute 'save'
      2023-03-04 11:58:55.027148 info: Sending JSONRPCErrorResponse(jsonrpc='2.0',id=2,error={'message': 'Traceback (most recent call last):\n  File "C:\\ANSYSDev\\tfs_agent\\_work\\488\\s\\dependencies\\ThirdParty\\CPython\\3_7\\winx64\\Release\\python\\lib\\code.py", line 90, in runcode\n  File "", line 1, in \n  File "c:\\ansysdev\\tfs_agent\\_work\\488\\s\\felyx\\python\\compolyx\\db.py", line 360, in refresh_acph5\nRuntimeError: ACP: 5 errors while refreshing file C:\\Users\\club\\Documents\\Analyse composite\\Carrosserie\\FAIRING AVANT\\FAIRING AVANT_files\\dp0\\ACP-Pre\\ACP\\ACP-Pre.acph5. The first errors are (a maximum of 5 shown): \n\nExecution of line 2 failed:\ndb.import_model(name=u\'ACP Model\', path=\'C:\\\\Users\\\\club\\\\Documents\\\\Analyse composite\\\\Carrosserie\\\\FAIRING AVANT\\\\FAIRING AVANT_files\\\\dp0\\\\ACP-Pre\\\\MECH\\\\ACP-Pre.h5\', format=\'ansys:h5\', ignored_entities=[\'materials\'], convert_section_data=False, unit_system_type=None)\nError:\'utf-8\' codec can\'t decode byte 0xe8 in position 4: invalid continuation byte\n\nExecution of line 3 failed:\ndb.active_model.create_scene(\'Scene.1\')\nError:\'NoneType\' object has no attribute \'create_scene\'\n\nExecution of line 4 failed:\ndb.active_model.save_path = \'C:\\\\Users\\\\club\\\\Documents\\\\Analyse composite\\\\Carrosserie\\\\FAIRING AVANT\\\\FAIRING AVANT_files\\\\dp0\\\\ACP-Pre\\\\ACP\\\\ACP-Pre.acph5\'\nError:\'NoneType\' object has no attribute \'save_path\'\n\nExecution of line 5 failed:\ndb.active_model._wbrefresh(external_sources={\'materials\': {\'external_id\': \'Engineering Data\', \'path\': \'C:\\\\Users\\\\club\\\\Documents\\\\Analyse composite\\\\Carrosserie\\\\FAIRING AVANT\\\\FAIRING AVANT_files\\\\dp0\\\\ACP-Pre\\\\ENGD\\\\material.engd\', \'material_apdl_path\': \'C:\\\\Users\\\\club\\\\Documents\\\\Analyse composite\\\\Carrosserie\\\\FAIRING AVANT\\\\FAIRING AVANT_files\\\\dp0\\\\ACP-Pre\\\\ACP\\\\material.apdl\', \'modified\': True}, \'model\': {\'external_id\': \'Model\', \'path\': \'C:\\\\Users\\\\club\\\\Documents\\\\Analyse composite\\\\Carrosserie\\\\FAIRING AVANT\\\\FAIRING AVANT_files\\\\dp0\\\\ACP-Pre\\\\MECH\\\\ACP-Pre.h5\', \'modified\': True}}, initialize=True, input_parameters=None)\nError:\'NoneType\' object has no attribute \'_wbrefresh\'\n\nExecution of line 6 failed:\ndb.active_model.save(path=\'C:\\\\Users\\\\club\\\\Documents\\\\Analyse composite\\\\Carrosserie\\\\FAIRING AVANT\\\\FAIRING AVANT_files\\\\dp0\\\\ACP-Pre\\\\ACP\\\\ACP-Pre.acph5\')\nError:\'NoneType\' object has no attribute \'save\'\n\n', 'code': -32000})

    • Ashish Khemka
      Ansys Employee

      Hi,

      Are you facing issues while opening this file?

      Regards,

      Ashish Khemka

    • Véloom ÉTS
      Subscriber

      Hello Ashish,

      Yes, the issue occurs when I double click "Setup" to open ACP (see picture below).

      Best regards

      Olivier

    • Reno Genest
      Ansys Employee

      Hello Olivier,

      Which version of Ansys are you using? Have you tried the latest 2023R1?

      It is difficult to troubleshoot this type of problem without having the model. Ansys employees are not allowed to upload and download files on the Ansys Forum.

      It would be best if you could create a service request (SR)  on the Ansys customer portal for  this issue:

      support.ansys.com

       

      Let me know how  it goes.

       

      Reno.

    • Véloom ÉTS
      Subscriber

      Hello Reno, I'm currently using 2023R1. I've also tried 2022R3 and it does the same thing. I've tried on another computer and I've had the same result. I tried using another 3D model and I had the same issue. I will create a service request.

      Best regards

      Olivier

    • Reno Genest
      Ansys Employee

      Hello Olivier,

      Sounds good.

       

      Have a good weekend!

       

      Reno.

Viewing 5 reply threads
  • You must be logged in to reply to this topic.