##// END OF EJS Templates
Backport PR #2169: ipdb: pdef, pdoc, pinfo magics all broken...
Backport PR #2169: ipdb: pdef, pdoc, pinfo magics all broken ``` In[1]: dg.meshes.square.qmesh(2) ... IndexError: index (48) out of range (0<=index<47) in dimension 0 In [2]: debug ... ipdb> pinfo jx ... /usr/lib/python2.7/dist-packages/IPython/core/debugger.pyc in do_pinfo(self, arg) 490 namespaces = [('Locals', self.curframe.f_locals), 491 ('Globals', self.curframe.f_globals)] --> 492 self.shell.magic_pinfo("pinfo %s" % arg, namespaces=namespaces) 493 494 def checkline(self, filename, lineno): AttributeError: 'TerminalInteractiveShell' object has no attribute 'magic_pinfo' ```

File last commit:

r7607:16e1f096
r8065:07ce3259
Show More
generate_icons.sh
15 lines | 959 B | application/x-sh | BashLexer
INKSCAPE=/Applications/Inkscape.app/Contents/Resources/bin/inkscape
${INKSCAPE} -z -C --file=ipynb_icon_16x16.svg --export-png=ipynb_icon_16x16_uncrush.png
${INKSCAPE} -z -C --file=ipynb_icon_24x24.svg --export-png=ipynb_icon_24x24_uncrush.png
${INKSCAPE} -z -C --file=ipynb_icon_32x32.svg --export-png=ipynb_icon_32x32_uncrush.png
${INKSCAPE} -z -C --file=ipynb_icon_512x512.svg --export-png=ipynb_icon_64x64_uncrush.png -w 64 -h 64
${INKSCAPE} -z -C --file=ipynb_icon_512x512.svg --export-png=ipynb_icon_128x128_uncrush.png -w 128 -h 128
${INKSCAPE} -z -C --file=ipynb_icon_512x512.svg --export-png=ipynb_icon_256x256_uncrush.png -w 256 -h 256
${INKSCAPE} -z -C --file=ipynb_icon_512x512.svg --export-png=ipynb_icon_512x512_uncrush.png -w 512 -h 512
for file in `ls *_uncrush.png`; do
pngcrush -brute -l 9 -reduce -rem alla -rem text -rem time -rem gAMA -rem cHRM -rem iCCP -rem sRGB $file `basename $file _uncrush.png`.png
rm $file
done