It's been a while since I've updated from this branch, and I'm having a
little trouble running the examples now. On 'Part 1 Basics',  Input cell 4
gives me a slider but the error below. What I'd really like is a moderately
stable snapshot of the PR so we can experiment with some development on top
of the existing widgets, so I'd appreciate any pointers.  I'm not entirely
sure I've got it installed properly. It looks like we now pull
ipython-components from ipython instead  of jdfreder now. Is that right?
Thanks, Chris


---------------------------------------------------------------------------TypeError
                                Traceback (most recent call
last)<ipython-input-4-435f488f660e> in <module>()----> 1
display(mywidget)
/home/cekees/proteus/linux2/lib/python2.7/site-packages/IPython/core/display.pyc
in display(*objs, **kwargs)    118         # If _ipython_display_ is
defined, use that to display this object.  If    119         # it
returns NotImplemented, use the _repr_ logic (default).--> 120
if not hasattr(obj, '_ipython_display_') or
isinstance(obj._ipython_display_(**kwargs), NotImplemented):    121
         if raw:    122
publish_display_data('display', obj, metadata)
TypeError: isinstance() arg 2 must be a class, type, or tuple of
classes and types



On Mon, Jan 13, 2014 at 7:43 PM, Min RK <notifications@github.com> wrote:

> In IPython/html/widgets/widget.py:
>
> > +        """Called when a msg is recieved from the frontend"""
> > +        data = msg['content']['data']
> > +        method = data['method']
> > +
> > +        # Handle backbone sync methods CREATE, PATCH, and UPDATE all in one.
> > +        if method == 'backbone' and 'sync_data' in data:
> > +            sync_data = data['sync_data']
> > +            self._handle_recieve_state(sync_data) # handles all methods
> > +
> > +        # Handle a custom msg from the front-end
> > +        elif method == 'custom':
> > +            if 'custom_content' in data:
> > +                self._handle_custom_msg(data['custom_content'])
> > +
> > +
> > +    def _handle_recieve_state(self, sync_data):
>
> spelling: receive
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ipython/ipython/pull/4374/files#r8848358>
> .
>