Dakota Error Debugging - morty, April 27, 2022 #284
Replies: 8 comments
-
Hi Morty, Thanks for posting this on the forum! The stories information is missing from your input file for some reason. Would you mind sharing your input file here (you can save that file by File/Save in PBE)? I could take a look and get a better idea about what is going on. Adam
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply, Adam. I have attached the json input file below.
|
Beta Was this translation helpful? Give feedback.
-
Hi Morty, Thanks for sharing your input file. This is a strange error. I could run the analysis with your input without seeing any errors. The stories are indeed well defined and - as you pointed out in our email conversation - the locations defined for the components could also be a problem, but I manually checked all of your locations and I do not see any error. I have a few ideas on how to find the source of this problem. First, please look at the working directory (you can see where it is by going to Preferences in PBE and looking for the Local Jobs Directory. In there, you should see a pelicun_log.txt. That should provide us more information about what was happening during the assessment when it run into the error. Please post that pelicun_log.txt and I'll take a look. Thanks
|
Beta Was this translation helpful? Give feedback.
-
Adam, I am now encountering this issue as well. Interestingly, I was able to get PBE to run and generate results initially for our 3 scenarios. But when I tried to run it again with a revised field (the replacement cost), I seem to now have this dakota.err problem too. Attached is my pelicun_log.txt Best, Chris
|
Beta Was this translation helpful? Give feedback.
-
Never mind - I realized that the issue for me was that the EDP file was somehow formatted incorrectly.
|
Beta Was this translation helpful? Give feedback.
-
I just wanted to follow up on this error in case any other users experience this problem. I hit this error when the components file story/locations definitions contained any of the following issues:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing that info, Hannah!
|
Beta Was this translation helpful? Give feedback.
-
It looks like you're facing an issue with the PBE analysis due to an undefined number of stories, even though they appear in the general information table. The error suggests a NoneType object is causing a loop failure in the code. To resolve this, check if the input data includes valid story definitions. Meanwhile, if you're in need of a fun diversion, try the online slope game where you can skillfully navigate challenges just like you're navigating your coding troubles!
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am running into the following issue when running a PBE analysis. The error log mentions an undefined number of stories, even though they are defined in the general information panel. Any idea what is causing this error and how I can fix it?
File "[PATH]\PBE_Windows_Download\applications\performDL\pelicun\pelicunPBE\file_io.py", line 376, in read_SimCenter_DL_input
TypeError: 'NoneType' object is not iterable
2022-04-27T20:18:45Z Damage and loss assessment finished successfully.
2022-04-27T20:18:45Z -----------------------------------------------------------
Loading Loss Results
No dakota.err file - dakota did not run - problem with dakota setup or the applications failed with inputs provided
Best,
Morty
Beta Was this translation helpful? Give feedback.
All reactions