Ipython shell in Mayavi2 in Karmic is broken

Bug #493117 reported by nick on 2009-12-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mayavi2 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: mayavi2

I try to input simple python operator in ipython shell of mayavi2:

for i in range(5):
    x = i*i
    print x

In Jaunty, when I write line "for i in range(5):" end press Enter, I get new line with ".....:" at beginning. Then I write "x = i*i", press Enter and get second line ".....:". So I can put as many lines as I wish.

But in Karmic input does not go to new line after "for i in range(5):", it stays on the same line with ".....:" added. If I press Enter i this situation, I get new ".....:"" on the same line and so infinitely. If I put some operator, like "x = i*i" and press Enter, loop is executed and I have no chance to put "print x" or other lines. This make mayavi2 for me unusable!

Related problem is that output in MayaVI2 in Karmic is printed on the same line as input, without any whitespace (newline is added, but AFTER output):

In [9]: x = 1
In [10]: print(x)1

In [11]: xOut[11]: 1

In [12]:

ProblemType: Bug
Architecture: amd64
Date: Sun Dec 6 14:24:29 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: mayavi2 3.2.0-3
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: mayavi2
Uname: Linux 2.6.31-15-generic x86_64

nick (nmn1) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers