MobilityNet / mobilitynet.github.io

BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

Notebook failing when run through binder #9

Open lefterav opened 4 years ago

lefterav commented 4 years ago

in example_visualization_SFBA_first_failed_experiment, step 5

DATASTORE_URL = "http://cardshark.cs.berkeley.edu"
AUTHOR_EMAIL = "shankari@eecs.berkeley.edu"
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': 'shankari@eecs.berkeley.edu', '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': 'shankari@eecs.berkeley.edu', '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 = "shankari@eecs.berkeley.edu"
      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 commented 4 years ago

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?