Public bug reported:

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

** Affects: pudb (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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:
  urwid:
  start without ~/.config/pudb/pudb.cfg
  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
  cat test.py
  a=1
  print "test"
  
  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

** Description changed:

  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:
  urwid:
  start without ~/.config/pudb/pudb.cfg
  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
  cat test.py
  a=1
  print "test"
  
  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

** Description changed:

  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
- cat test.py
- a=1
- print "test"
+ 
  
  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1019604

Title:
  pudb shell does not work with ipython 0.12 and configuration issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pudb/+bug/1019604/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to