[IPython-dev] igrid crash on ipwd (windows)

Ville M. Vainio vivainio@gmail....
Thu Apr 26 13:24:49 CDT 2007


[Console]|5> from ipipe import *
[Console]|6> ipwd
-----------> ipwd()

......

C:\Python25\Lib\site-packages\IPython\Extensions\igrid.py in __init__(self, pane
l, input, *attrs)
    218         fontsize = 9
    219         self.input = input
--> 220         self.table = IGridTable(self.input, fontsize, *attrs)
    221         self.SetTable(self.table, True)
    222         self.SetSelectionMode(wx.grid.Grid.wxGridSelectRows)

C:\Python25\Lib\site-packages\IPython\Extensions\igrid.py in __init__(self, inpu
t, fontsize, *attrs)
    129         self._sizing = False
    130         self.fontsize = fontsize
--> 131         self._fetch(1)
    132
    133     def GetAttr(self, *args):

C:\Python25\Lib\site-packages\IPython\Extensions\igrid.py in _fetch(self, count)

    177             except Exception, exc:
    178                 have += 1
--> 179                 self._append(item)
    180                 self.iterator = None
    181                 break

<type 'exceptions.UnboundLocalError'>: local variable 'item' referenced before a
ssignment

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-dev mailing list