ipython tip: `$ ipython --pdb` drops you into a debugger on exceptions, so you can explore what went wrong.