Skip to content

Step 3 termMapping #9

@nsasanka

Description

@nsasanka

I am running into an error while running the termMapping.ipynb pasted below is the error

TraitErrorTraceback (most recent call last)
in ()
----> 1 widgets.VBox(tms.initInterface())

/queries/TermMappingService.pyc in initInterface(self)
316 standardValWidget = widgets.Dropdown(
317 options=dropdownValues,
--> 318 value=selectedId
319 )
320

/usr/local/lib/python2.7/site-packages/ipywidgets/widgets/widget_selection.pyc in init(self, *args, **kwargs)
188 kwargs['label'], kwargs['value'] = options[0] if nonempty else (None, None)
189
--> 190 super(_Selection, self).init(*args, **kwargs)
191 self.initializing_traits = False
192

/usr/local/lib/python2.7/site-packages/ipywidgets/widgets/widget.pyc in init(self, **kwargs)
409 """Public constructor"""
410 self._model_id = kwargs.pop('model_id', None)
--> 411 super(Widget, self).init(**kwargs)
412
413 Widget._call_widget_constructed(self)

/usr/local/lib/python2.7/site-packages/traitlets/traitlets.pyc in init(self, *args, **kwargs)
998 else:
999 # passthrough args that don't set traits to super
-> 1000 super_kwargs[key] = value
1001 try:
1002 super(HasTraits, self).init(*super_args, **super_kwargs)

/usr/local/lib/python2.7/contextlib.pyc in exit(self, type, value, traceback)
22 if type is None:
23 try:
---> 24 self.gen.next()
25 except StopIteration:
26 return

/usr/local/lib/python2.7/site-packages/traitlets/traitlets.pyc in hold_trait_notifications(self)
1120 self._trait_values.pop(name)
1121 cache = {}
-> 1122 raise e
1123 finally:
1124 self._cross_validation_lock = False

TraitError: Invalid selection: value not found

Please let me know if there are any suggestions

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions