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

Errors from scoreboard.py at the end of a run #43

Closed
chengzhuzhang opened this issue Sep 16, 2021 · 2 comments
Closed

Errors from scoreboard.py at the end of a run #43

chengzhuzhang opened this issue Sep 16, 2021 · 2 comments

Comments

@chengzhuzhang
Copy link

chengzhuzhang commented Sep 16, 2021

Hi there,

An error from scoreboard.py occurs when @acordonez and I ran ilamb though cmec-driver with latest master.

When i try to use ilamb-run to run ilamb standalone, I got the same error as below:

Traceback (most recent call last):
File "/home/zhang40/miniconda3/envs/ilamb/bin/ilamb-run", line 682, in
S.createHtml(M)
File "/home/zhang40/miniconda3/envs/ilamb/lib/python3.7/site-packages/ILAMB/Scoreboard.py", line 420, in createHtml
scores,rel_tree = self.createJSON(M)
File "/home/zhang40/miniconda3/envs/ilamb/lib/python3.7/site-packages/ILAMB/Scoreboard.py", line 393, in createJSON
rel_tree = GenerateRelationshipTree(self,M)
File "/home/zhang40/miniconda3/envs/ilamb/lib/python3.7/site-packages/ILAMB/Scoreboard.py", line 958, in GenerateRelationshipTree
h2 = Node(data.confrontation.longname)
AttributeError: 'NoneType' object has no attribute 'longname'

Any suggestions or insights are welcome. Thank you!

@nocollier
Copy link
Collaborator

nocollier commented Sep 20, 2021 via email

@chengzhuzhang
Copy link
Author

Hi @nocollier Thank you so much for the clarification. Ana also helped trouble shooting, and it looks like the both DATA and ILAMB_sample data on our server is outdated. After updating the dataset, I get a nice view of scoreboard with the testing data!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants