There is a confusing error when running code in ipython cell. This error occurred only in ipython occasionally (not always, even when running the same code). When I ...