ipython notebook of weird error