Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemError: Exception occurred: cannot access local variable 'pid' where it is not associated with a value" #261

Open
ar-siddiqui opened this issue Nov 7, 2024 · 1 comment
Labels
bug Something isn't working step: run_known_wse

Comments

@ar-siddiqui
Copy link
Collaborator

Version: 0.7.0rc
Reproducible

{
"jobID": "14e8fedb-1717-4b56-a76e-9d6eb8866f3b",
"processID": "run_known_wse",
"result": {
"err": "SystemError: Exception occurred: cannot access local variable 'pid' where it is not associated with a value",
"tb": "Traceback (most recent call last):\n File "D:\Users\abdul.siddiqui\venvs\ripple1d_0_7_0rc2\Lib\site-packages\ripple1d\ops/endpoints.py", line 62, in \u003Cmodule\u003E\n r = execute_endpoint(sys.argv[1], sys.argv[2])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "D:\Users\abdul.siddiqui\venvs\ripple1d_0_7_0rc2\Lib\site-packages\ripple1d\ops/endpoints.py", line 41, in execute_endpoint\n return func_lookupfunc\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "D:\Users\abdul.siddiqui\venvs\ripple1d_0_7_0rc2\Lib\site-packages\ripple1d\ops\ras_run.py", line 313, in run_known_wse\n return {f"{nwm_rm.model_name}_{plan_suffix}": {"kwse": known_water_surface_elevations.tolist()}, "pid": pid}\n ^^^\nUnboundLocalError: cannot access local variable 'pid' where it is not associated with a value\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "D:\Users\abdul.siddiqui\venvs\ripple1d_0_7_0rc2\Lib\site-packages\ripple1d\ops/endpoints.py", line 65, in \u003Cmodule\u003E\n raise SystemError(f"Exception occurred: {e}")\nSystemError: Exception occurred: cannot access local variable 'pid' where it is not associated with a value\n",
"val": null
},
"status": "failed",
"updated": "2024-11-07 13:03:09"
}

{
"62614e0a-30e7-4f1c-b1bf-387573f701ee": {
"accept_time": "2024-11-07 12:53:51",
"dismiss_time": null,
"finish_duration_minutes": 0.0499997287988663,
"finish_time": "2024-11-07 12:53:55",
"func_kwargs": "{"submodel_directory": "D:\\collections\\ble_08040203_UpperSaline\\submodels\\21919993", "plan_suffix": "kwse", "min_elevation": 580.7, "max_elevation": 594.0, "depth_increment": 1, "ras_version": "631", "write_depth_grids": true}",
"func_name": "run_known_wse",
"huey_status": "complete",
"ogc_status": "failed",
"start_time": "2024-11-07 12:53:52",
"status_time": "2024-11-07 12:53:55"
}
}

@ar-siddiqui ar-siddiqui added step: run_known_wse bug Something isn't working labels Nov 7, 2024
@ar-siddiqui
Copy link
Collaborator Author

21919993.zip

sclaw added a commit that referenced this issue Nov 7, 2024
@sclaw sclaw mentioned this issue Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working step: run_known_wse
Projects
None yet
Development

No branches or pull requests

1 participant