Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

CamDiag.py script cannot import 'end_diag_script': Why?

jbseth

Jennifer Seth
New Member
I've been working on getting the CAM diagnostic code up and running, but I keep running into this error message:

Traceback (most recent call last):
File "./run_diag", line 55, in <module>
from CamDiag import end_diag_script
ImportError: cannot import name 'end_diag_script' from 'CamDiag'

We have checked the CamDiag.py file and are finding that there are callbacks to this command but no formalized definition of this anywhere in the script. That's probably why I'm getting this error message, but I am not sure WHERE the origin of 'end_diag_script' is. Can someone help me resolve this issue?

Thank you!
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Which code are you using? Please could you point me to the location where you got the code. Thanks.
 
Top