[Python-modules-team] Bug#736175: ipython: paste magic command	fails (related to python3compat)
    Mauricio Calvao 
    mocalvao at gmail.com
       
    Mon Jan 20 18:22:25 UTC 2014
    
    
  
Package: ipython
Version: 1.1.0-1
Severity: important
Dear Maintainer,
   * What led up to the situation?
I just wanted to paste, from the clipboard to the ipython command line, any line(s) from an external python script.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I highlited the line from the external script, thus copying it to the clipboard, and then clicked the window running ipython, and, in its prompt, typed the magic paste command, pressing Enter
   * What was the outcome of this action?
There was an UboundLocalError, expanded on the link: http://mail.scipy.org/pipermail/ipython-dev/2014-January/012939.html
   * What outcome did you expect instead?
I expected the command to be seamlessly run under ipython, as always before. As explained in the above link, in the ensuing thread, I think I have been able to fix it by just suppressing a line in the /usr/lib/python2.7/dist-packages/IPython/lib/clipboard.py file. I guess this might help fixing definitively the bug. At least now things seem to be working fine for me and I can use paste without any hassle, as always (up unitl now at least)...
Thanks!
-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.12-6.dmz.1-liquorix-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ipython depends on:
ii  python                2.7.5-5
ii  python-decorator      3.4.0-2
ii  python-pexpect        3.0-2
ii  python-simplegeneric  0.8.1-1
ipython recommends no packages.
Versions of packages ipython suggests:
ii  ipython-doc                            1.1.0-1
ii  ipython-notebook                       1.1.0-1
ii  ipython-qtconsole                      1.1.0-1
ii  libpython2.7-stdlib [python-argparse]  2.7.6-5
ii  python [python-profiler]               2.7.5-5
ii  python-matplotlib                      1.3.1-1
ii  python-numpy                           1:1.7.1-3
ii  python-zmq                             14.0.1-1
-- no debconf information
    
    
More information about the Python-modules-team
mailing list