I cannot do a run -d myfile.py without getting the following error:<br><br>In [15]: run -d logger.py<br>---------------------------------------------------------------------------<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
AttributeError Traceback (most recent call last)<br><br>c:\Python26\Lib\site-packages\solecon-1.41-py2.5.egg\logger\<ipython console> in <module>()<br><br>C:\Python26\lib\site-packages\IPython\iplib.pyc in ipmagic(self, arg_s)<br>
1180 else:<br> 1181 magic_args = self.var_expand(magic_args,1)<br>-> 1182 return fn(magic_args)<br> 1183<br> 1184 def ipalias(self,arg_s):<br><br>C:\Python26\lib\site-packages\IPython\Magic.pyc in magic_run(self, parameter_s, runner, file_finder)<br>
<br> 1631 maxtries = 10<br> 1632 bp = int(opts.get('b',[1])[0])<br>-> 1633 checkline = deb.checkline(filename,bp)<br> 1634 if not checkline:<br>
1635 for bp in range(bp+1,bp+maxtries+1):<br><br>C:\Python26\lib\pdb.pyc in checkline(self, filename, lineno)<br> 450 line or EOF). Warning: testing is not comprehensive.<br> 451 """<br>
--> 452 line = linecache.getline(filename, lineno, self.curframe.f_globals)<br> 453 if not line:<br> 454 print >>self.stdout, 'End of file'<br><br>AttributeError: Pdb instance has no attribute 'curframe'<br>
</blockquote><br>I am running Python 2.6.2 on Windows (this all worked when I was using Python 2.5.x).<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)<br>Type "copyright", "credits" or "license" for more information.<br><br>IPython 0.10 -- An enhanced Interactive Python.<br>
? -> Introduction and overview of IPython's features.<br>%quickref -> Quick reference.<br>help -> Python's own help system.<br>object? -> Details about 'object'. ?object also works, ?? prints more.<br>
</blockquote><br><br>Thank you,<br> <br>