[Bug 776078] Re: Can no longer use mlab

2011-05-25 Thread vincefn
A quick followup: about the 'threads' issue, this seems to be a bug
related to ipython (see https://bugs.launchpad.net/bugs/777420 and
https://github.com/ipython/ipython/issues/185).

This is fixed by upgrading to ipython 0.10.2, which is available from ubuntu 
oneiric (no additional dependency compared to natty):
wget http://launchpadlibrarian.net/70857487/ipython_0.10.2-1_all.deb
sudo dpkg -i ipython_0.10.2-1_all.deb

After installing this version, I can use ipython -pylab with the GTKAgg
backend working, and I also get a working console&GUI using mlab with
"ipython -whread".

Hopefully this version of ipython can be pushed to natty as well.

=> go to https://bugs.launchpad.net/bugs/777420 if you wish to follow up
on this.

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-09 Thread Launchpad Bug Tracker
This bug was fixed in the package python-enthoughtbase - 3.0.6-1ubuntu1

---
python-enthoughtbase (3.0.6-1ubuntu1) natty-proposed; urgency=low

  * Recover 3.0.6 from snapshot.debian.org and upload to fix mayavi2
(LP: #776078)

python-enthoughtbase (3.0.6-1) experimental; urgency=low

  * New upstream release
  * d/copyright: Fix BSD license referencing
  * Drop patches/fix_exceptions.diff -- merged upstream
 -- Scott KittermanTue, 03 May 2011 16:22:25 -0400

** Changed in: python-enthoughtbase (Ubuntu Natty)
   Status: Fix Committed => Fix Released

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Scott Kitterman
** Tags added: verification-done
** Tags removed: verification-needed

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Dat Chu
Tested the proposed package and the import problem is fixed. As vincefn
has noted, running with ipython -wthread no longer has interactive
update of the plot area. One needs to run mlab.show() to have that
window updated.

The immediate issue of mayavi2 broken is fixed. Thank you all.

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/natty-proposed/python-enthoughtbase

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Clint Byrum
Accepted python-enthoughtbase into natty-proposed, the package will
build now and be available in a few hours. Please test and give feedback
here. See https://wiki.ubuntu.com/Testing/EnableProposed for
documentation how to enable and use -proposed. Thank you in advance!

** Changed in: python-enthoughtbase (Ubuntu Natty)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

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

Title:
  Can no longer use mlab

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


Re: [Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Scott Kitterman
Manual is perfectly fine.  Test procedure may be a better term than test
case.

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

Title:
  Can no longer use mlab

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


Re: [Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Gael Varoquaux
On Tue, May 03, 2011 at 08:20:00PM -, Scott Kitterman wrote:
> I can take care of getting python-enthoughtbase 3.0.6 uploaded.  Someone
> who knows mayavi2 needs to write a test case for this.  Edit the main
> text of the bug adding a section that starts "TEST CASE:" and then
> describe how to both replicate the problem and demonstrate it's fixed
> suitable for a tester who isn't familiar with the package.

Should it be an automated test case (unit testing) or a manual one?

Gael

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

Title:
  Can no longer use mlab

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


Re: [Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Scott Kitterman
I would suggest taking the threads issue to a new bug so we don't get that 
confused with the not working at all problem that we have a fix for.

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Scott Kitterman
Uploaded.  Waiting for ubuntu-sru to review/accept and for the test
case.

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread vincefn
>That kinda sucks. Are you sure that you are using the Wx backend for
>Mayavi. Do you have the python-traitsbackendwx package installed? If
>something is not working with Wx, Mayavi now defaults to Qt.

  I had installed python-traitsbackendwx, python-traitsgui, and not
python-traitsbackendqt. I also have python-wxgtk2.8.

  I'm starting with ipython -wthread so it should import the wx backend.
Not sure how to make sure of this when I am in ipython ?

  After that, I tried installing python-traitsbackendqt and starting
with -qtthread and -q4thread, but I still have to use mlab.show() to get
the window to be interactive.

  (incidentally, I also tried with a new HOME directory to avoid any
issue with prior ipythonrc files - no difference as far as mlab is
concerned)

   Vincent

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Scott Kitterman
Reassigned to python-enthoughtbase since that's where the fix is.

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Scott Kitterman
Already fixed in oneiric.

** Package changed: mayavi2 (Ubuntu) => python-enthoughtbase (Ubuntu)

** Changed in: python-enthoughtbase (Ubuntu)
   Status: New => Fix Released

** Changed in: python-enthoughtbase (Ubuntu)
 Assignee: (unassigned) => Scott Kitterman (kitterman)

** Also affects: python-enthoughtbase (Ubuntu Natty)
   Importance: Undecided
   Status: New

** Changed in: python-enthoughtbase (Ubuntu Natty)
   Status: New => In Progress

** Changed in: python-enthoughtbase (Ubuntu Natty)
   Importance: Undecided => High

** Changed in: python-enthoughtbase (Ubuntu Natty)
 Assignee: (unassigned) => Scott Kitterman (kitterman)

** Changed in: python-enthoughtbase (Ubuntu Natty)
Milestone: None => natty-updates

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Scott Kitterman
I can take care of getting python-enthoughtbase 3.0.6 uploaded.  Someone
who knows mayavi2 needs to write a test case for this.  Edit the main
text of the bug adding a section that starts "TEST CASE:" and then
describe how to both replicate the problem and demonstrate it's fixed
suitable for a tester who isn't familiar with the package.

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

Title:
  Can no longer use mlab

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


Re: [Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Gael Varoquaux
On Tue, May 03, 2011 at 07:35:57PM -, vincefn wrote:
>   So it seems the only thing not working (again with enthoughtbase
> 3.0.6) is the '-wthread' ipython option for the transparent event loop
> handling.

That kinda sucks. Are you sure that you are using the Wx backend for
Mayavi. Do you have the python-traitsbackendwx package installed? If
something is not working with Wx, Mayavi now defaults to Qt.

G

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread vincefn
> What's your IPython version?

Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) 
IPython 0.10.1 -- An enhanced Interactive Python.

>When you try with simply python, do you use'mlab.show()' to start the
event loop?

  Ah, right - the mlab window popped open without using show(), so I did
not try that. If I use mlab.show() after, e.g., mlab.test_contour3d(),
then the interaction is OK ! And the same is true with ipython (with or
without -wthread).

  So it seems the only thing not working (again with enthoughtbase
3.0.6) is the '-wthread' ipython option for the transparent event loop
handling.

Vincent

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

Title:
  Can no longer use mlab

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


Re: [Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Gael Varoquaux
On Tue, May 03, 2011 at 07:12:58PM -, vincefn wrote:
>   I have a freshly updated natty system. I can confirm the bug. I can
> also confirm that updating to python-enthoughtbase 3.0.6 fixes the issue
> when importing mlab, but then the event loop seems stuck (can't interact
> with the mlab window, using ipython -wthread or simply python).

What's your IPython version? When you try with simply python, do you use
'mlab.show()' to start the event loop?

G

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread vincefn
Hi,

  I have a freshly updated natty system. I can confirm the bug. I can
also confirm that updating to python-enthoughtbase 3.0.6 fixes the issue
when importing mlab, but then the event loop seems stuck (can't interact
with the mlab window, using ipython -wthread or simply python).

For those who want to try, using the binary package from the link above:

wget
http://snapshot.debian.org/archive/debian/20101018T085153Z/pool/main/p
/python-enthoughtbase/python-enthoughtbase_3.0.6-1_all.deb

sudo dpkg -i python-enthoughtbase_3.0.6-1_all.deb

and  "from enthought.mayavi import mlab" works (no more guisupport
error), but the mlab.test*** functions do notwork OK (no interaction).

  I tried installing python-enthoughtbase_3.1.0-1_all.deb, but there's a
dependency with the python version (<<2.7 ?), and I'm not sure I can
quickly work around.

   Vincent

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Dat Chu
I do have a Natty system around but I don't know how to package the new
version of python-enthoughtbase. Could someone please

1) Teach me to package it so I can submit to Gael to be pushed to backport
or
2) Help me package it and push it to backport

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Gael Varoquaux
I don't have a Natty system around, but if there are any question with
regards to the backport, I am available as an upstream developer.

With regards to further packaging, to reduce such problems, some
packages have been merged together. In particular, in the next release,
enthought-base will be part of traits. I am happy working with any
packager to clarify these relationships.

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

Title:
  Can no longer use mlab

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


Re: [Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Clint Byrum
Excerpts from Gael Varoquaux's message of Tue May 03 13:59:50 UTC 2011:
> mayavi2 and enthought-base are developped and released together. It's a
> bug of the Ubuntu distribution (and maybe Debian) of not upgrading them
> together.
> 
> Specifically, working around this problem will create a problem in the
> interaction between Mayavi and IPython due to a change in the mainloop
> handling of IPython in 0.10. The code in enthought-base is required for
> proper execution of Mayavi.
> 

Ok, so it sounds like the solution is clear testing of all rdepends.

We also need to make sure a bug is opened against Debian to bind these
versions going forward, possibly by reading them out of the setup
metadata and using substVars.

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Gael Varoquaux
mayavi2 and enthought-base are developped and released together. It's a
bug of the Ubuntu distribution (and maybe Debian) of not upgrading them
together.

Specifically, working around this problem will create a problem in the
interaction between Mayavi and IPython due to a change in the mainloop
handling of IPython in 0.10. The code in enthought-base is required for
proper execution of Mayavi.

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Clint Byrum
There's another option which I'd like to at least see mentioned, which
is patching mayavi2 to work with the older version of python-
enthoughtbase. My concern is that the newer version of python-
enthoughtbase might break the API for other reverse dependencies.

That said, the list of rdepends is short, so it might be better/easier
to backport 3.0.6 and test the other reverse dependencies heavily.
Either path, heavy testing of rdepends, or patching mayavi2 to work w/
the older python-enthoughtbase, should be acceptable for SRU.

On a side note, its confusing why those versions aren't translated into
the Debian packaging. That would at least make it more likely that this
doesn't happen again.

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-03 Thread Scott Kitterman
We already have 3.1.0 in oneiric, so we won't be able to directly
backport from there.  The source package for 3.0.6 is available at
http://snapshot.debian.org/package/python-enthoughtbase/3.0.6-1/ - if
someone could try that we could see about the best way to get the
package updated.

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-02 Thread Dat Chu
That is a great news. I need mayavi2 for my day-to-day work. Is there
some way that I can help with backporting python-enthoughtbase 3.0.6?

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

Title:
  Can no longer use mlab

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


[Bug 776078] Re: Can no longer use mlab

2011-05-02 Thread Gael Varoquaux
The problem most probably comes from the fact that python-enthoughtbase has not 
been upgraded while mayavi2 has. Mayavi 3.4.0, as shipped in natty, depends on 
python-enthoughtbase 3.0.6, as detailed in the dependency list:
https://github.com/enthought/mayavi/blob/3.4.0/setup_data.py
python-enthoughtbase 3.0.5 is shipped in natty:
http://packages.ubuntu.com/natty/python-enthoughtbase

The easiest fix is probably to backport python-enthoughtbase. The
changes are relatively minor.

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

Title:
  Can no longer use mlab

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