Public bug reported:

Binary package hint: ipython

The shell profile in ipython is not working properly. Using apt-cache or
apt-get fails with different errors, presumably because ipython
interprets the dash in the middle of the command as a minus operator.

To reproduce:

~$ ipython -p sh
Py 2.5.1 (r251:54863, Mar  7 2008, 04:10:12)  IPy 0.8.1
[~]|1> apt-cache search ipython
------------------------------------------------------------
   File "<ipython console>", line 1
     apt-cache search ipython
                    ^
<type 'exceptions.SyntaxError'>: invalid syntax

[~]|2> lsb_release -rd
IPython system call: lsb_release -rd
Description:    Ubuntu 7.10
Release:        7.10

~$ apt-cache policy ipython
ipython:
  Installed: 0.8.1-1
  Candidate: 0.8.1-1
  Version table:
 *** 0.8.1-1 0
        500 http://fi.archive.ubuntu.com gutsy/universe Packages
        100 /var/lib/dpkg/status

In the shell mode, ipython should be able to start all system commands
(it does tab-complete to it, making it even more weird).

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

-- 
ipython sh profile not working
https://bugs.launchpad.net/bugs/209549
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

Reply via email to