pudb shell does not work with ipython 0.12 and configuration issue

Bug #1019604 reported by Julian Taylor
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pudb (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

Impact: ipython 0.12 had a hidden api change which brakes pudb's embedded ipython shell
also it has issues with urwid > 1.0 which appear when configuring it

Fix: it was fixed in v2012.1

TEST CASE:
cat test.py
a=1
print "test"

urwid:
start without ~/.config/pudb/pudb.cfg
pudb test.py
it will prompt for configuration, in that dialog scroll down till the end
it will often crash with a listboxerror in urwid

ipython
set shell to ipython in ~/.config/pudb/pudb.cfg

pudb test.py
press !

you get an exception in ipython:
AttributeError: can't set attribute

expected an ipython shell spawning with a in the namespace

regression potential:
the urwid is very simple, should not cause any regressions.
the ipython change is isolated to the ipython shell spawing code, there isn't much chance of breaking other stuff.
There is also a threading fix in 2012.1, see:
https://github.com/inducer/pudb/pull/29
it does not look like it can break much

Revision history for this message
Julian Taylor (jtaylor) wrote :
description: updated
description: updated
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

This is fixed in Quantal.

      pudb | 2012.1-1 | quantal/universe | source

Changed in pudb (Ubuntu):
status: New → Fix Released
Changed in pudb (Ubuntu Precise):
importance: Undecided → High
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Julian, or anyone else affected,

Accepted pudb into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/pudb/2012.1-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Julian Taylor (jtaylor) wrote :

thanks the update works fine and the issues are fixed.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pudb - 2012.1-1ubuntu0.1

---------------
pudb (2012.1-1ubuntu0.1) precise-proposed; urgency=low

  * backport 2012.1-1 to precise: (LP: #1019604)
    - fixes compatiblity with ipython 0.12
    - fixes compatibility with urwid >= 1.0
    - fixes running pudb from the non-main thread
 -- Julian Taylor <email address hidden> Sat, 30 Jun 2012 16:37:01 +0200

Changed in pudb (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.