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

Notebook failing when run through binder #9

Open
lefterav opened this issue Apr 25, 2020 · 1 comment
Open

Notebook failing when run through binder #9

lefterav opened this issue Apr 25, 2020 · 1 comment

Comments

@lefterav
Copy link

in example_visualization_SFBA_first_failed_experiment, step 5

DATASTORE_URL = "http://cardshark.cs.berkeley.edu"
AUTHOR_EMAIL = "[email protected]"
sdt3 = eisd.SpecDetails(DATASTORE_URL, AUTHOR_EMAIL, "sfba_trial_3")
sd_ca_only = eisd.SpecDetails(DATASTORE_URL, AUTHOR_EMAIL, "sfba_calibration_only_1")

I get this error

About to retrieve messages using {'user': '[email protected]', 'key_list': ['config/evaluation_spec'], 'start_time': 0, 'end_time': 1587777901}
response = <Response [200]>
Found 20 entries
After iterating over 20 entries, entry found
Found spec = Evaluation procedure creation, trial #3
Evaluation ran from 2019-06-10T17:00:00-07:00 -> 2019-06-21T17:00:00-07:00
About to retrieve messages using {'user': '[email protected]', 'key_list': ['config/evaluation_spec'], 'start_time': 0, 'end_time': 1587777903}
response = <Response [200]>
Found 20 entries
After iterating over 20 entries, entry not found
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-5-b1bbfaea9f49> in <module>
      2 AUTHOR_EMAIL = "[email protected]"
      3 sdt3 = eisd.SpecDetails(DATASTORE_URL, AUTHOR_EMAIL, "sfba_trial_3")
----> 4 sd_ca_only = eisd.SpecDetails(DATASTORE_URL, AUTHOR_EMAIL, "sfba_calibration_only_1")

~/emeval/input/spec_details.py in __init__(self, datastore_url, author_email, spec_id)
     14         self.CURR_SPEC_ID = spec_id
     15         self.curr_spec_entry = self.get_current_spec()
---> 16         self.populate_spec_details(self.curr_spec_entry)
     17 
     18     def retrieve_data_from_server(self, user_label, key_list, start_ts, end_ts):

~/emeval/input/spec_details.py in populate_spec_details(self, curr_spec_entry)
     65 
     66     def populate_spec_details(self, curr_spec_entry):
---> 67         self.curr_spec_wrapper = self.curr_spec_entry["data"]
     68         self.curr_spec = self.curr_spec_wrapper["label"]
     69         print("Found spec = %s" % self.curr_spec["name"])

TypeError: 'NoneType' object is not subscriptable
@shankari
Copy link
Contributor

I don't currently guarantee that all notebooks, specially those that have failed in the title, work.
They are not part of the CI and we don't refer to them in the README or the quick start. Any thoughts on how to further highlight the notebooks that are known to work?

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