[Bug 381069] Re: Cannot step debugger in IPython 0.9.1/0.10 under Python 2.6.2/2.6.4: Pdb instance has no attribute 'curframe'
#26: Mike, try _adding_ the checkline() method in IPython/Debugger.py. Clicking the IPython/Debugger.py link in http://bazaar.launchpad.net/~ipython-dev/ipython/0.10.1/revision/1214 will display added lines in dark green. The IPython Pdb class inherits from the standard Pdb class ("from pdb import Pdb as OldPdb", followed later by "class Pdb(OldPdb):"). Fernando's fix overrides the checkline() method, whereas Minjae's original solution modified the standard Pdb.checkline() to tolerate the way IPython does things. -- Cannot step debugger in IPython 0.9.1/0.10 under Python 2.6.2/2.6.4: Pdb instance has no attribute 'curframe' https://bugs.launchpad.net/bugs/381069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 381069] Re: Cannot step debugger in IPython 0.9.1/0.10 under Python 2.6.2/2.6.4: Pdb instance has no attribute 'curframe'
#18: Your fix works for IPython 0.10 under Python 2.6.4 on 32-bit Windows XP SP3. Thanks! -- Cannot step debugger in IPython 0.9.1/0.10 under Python 2.6.2/2.6.4: Pdb instance has no attribute 'curframe' https://bugs.launchpad.net/bugs/381069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 381069] Re: Cannot step debugger in IPython 0.9.1/0.10 under Python 2.6.2/2.6.4: Pdb instance has no attribute 'curframe'
#28: This particular bug only requires that you replace the file site-packages/ipython-0.10-py2.6.egg/IPython/Debugger.py (or wherever it is on your system) with the latest version at http://bazaar.launchpad.net/~ipython-dev/ipython/0.10.1/download/head%3A/debugger.py-20080216095032-xb0is4a97lmosv2z-24/Debugger.py The only change is the addition of a checkline() method, as explained in #27. -- Cannot step debugger in IPython 0.9.1/0.10 under Python 2.6.2/2.6.4: Pdb instance has no attribute 'curframe' https://bugs.launchpad.net/bugs/381069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 381069] Re: Cannot step debugger in IPython 0.9.1/0.10 under Python 2.6.2/2.6.4: Pdb instance has no attribute 'curframe'
In case anyone wants to hack away at this, here is a relevant diff (pdb.py from Python 2.6.2 vs 2.5.2): http://svn.python.org/view/python/tags/r262/Lib/pdb.py?r1=60915&r2=71601 As Minjae pointed out, the error is in the checkline() method. Unfortunately, I don't have a Python 2.6 installation to hack, but maybe someone could test this in pdb.py? Replace: def checkline(self, filename, lineno): """Check whether specified line seems to be executable. Return `lineno` if it is, 0 if not (e.g. a docstring, comment, blank line or EOF). Warning: testing is not comprehensive. """ line = linecache.getline(filename, lineno, self.curframe.f_globals) if not line: with: def checkline(self, filename, lineno): """Check whether specified line seems to be executable. Return `lineno` if it is, 0 if not (e.g. a docstring, comment, blank line or EOF). Warning: testing is not comprehensive. """ try: line = linecache.getline(filename, lineno, self.curframe.f_globals) except AttributeError: line = 0 if not line: -- Cannot step debugger in IPython 0.9.1/0.10 under Python 2.6.2/2.6.4: Pdb instance has no attribute 'curframe' https://bugs.launchpad.net/bugs/381069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 461015] Re: evince-thumbnailer blocks the system with huge memory-load
It would be nice just to set limits for how big files should be thumbnailed, or maximum memory usage for evince-thumbnailer, or both. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/461015 Title: evince-thumbnailer blocks the system with huge memory-load To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/461015/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs