Michele Mattioni | 3 Jan 2010 10:41
Picon
Gravatar

Installing mayavi bleeding edge

I followed the instruction[1] to install the svn mayavi with all the dependences, however I can install Mayavi properly.

This is the error:

    mattions <at> triton:Mayavi_3.3.1$ sudo ets develop
    [sudo] password for mattions:
    Running "/usr/bin/python setup.py develop --no-deps" within dir "/home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/Traits_3.2.1"
    running develop
    unrecognized .svn/entries format; skipping .
    running egg_info
    writing requirements to Traits.egg-info/requires.txt
    writing Traits.egg-info/PKG-INFO
    writing namespace_packages to Traits.egg-info/namespace_packages.txt
    writing top-level names to Traits.egg-info/top_level.txt
    writing dependency_links to Traits.egg-info/dependency_links.txt
    unrecognized .svn/entries format in
    reading manifest file 'Traits.egg-info/SOURCES.txt'
    writing manifest file 'Traits.egg-info/SOURCES.txt'
    running build_ext
    copying build/lib.linux-i686-2.6/enthought/traits/ctraits.so -> enthought/traits
    copying build/lib.linux-i686-2.6/enthought/traits/protocols/_speedups.so -> enthought/traits/protocols
    Creating /usr/local/lib/python2.6/dist-packages/Traits.egg-link (link to .)
    Traits 3.2.1.dev-r0 is already the active version in easy-install.pth

    Installed /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/Traits_3.2.1
    running build_docs
    Using source directory /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/Traits_3.2.1/docs/source
    Running Sphinx v0.6.2
    loading pickled environment... done
    building [html]: targets for 0 source files that are out of date
    updating environment: 0 added, 0 changed, 0 removed
    looking for now-outdated files... none found
    no targets are out of date.
    Running "/usr/bin/python setup.py develop --no-deps" within dir "/home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/TraitsGUI_3.1.1"
    running develop
    unrecognized .svn/entries format; skipping .
    running egg_info
    writing requirements to TraitsGUI.egg-info/requires.txt
    writing TraitsGUI.egg-info/PKG-INFO
    writing namespace_packages to TraitsGUI.egg-info/namespace_packages.txt
    writing top-level names to TraitsGUI.egg-info/top_level.txt
    writing dependency_links to TraitsGUI.egg-info/dependency_links.txt
    unrecognized .svn/entries format in
    reading manifest file 'TraitsGUI.egg-info/SOURCES.txt'
    writing manifest file 'TraitsGUI.egg-info/SOURCES.txt'
    running build_ext
    Creating /usr/local/lib/python2.6/dist-packages/TraitsGUI.egg-link (link to .)
    TraitsGUI 3.1.1.dev-r0 is already the active version in easy-install.pth

    Installed /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/TraitsGUI_3.1.1
    running build_docs
    Using source directory /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/TraitsGUI_3.1.1/docs/source
    Running Sphinx v0.6.2
    loading pickled environment... not found
    building [html]: targets for 0 source files that are out of date
    updating environment: 0 added, 0 changed, 0 removed
    WARNING: master file /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/TraitsGUI_3.1.1/docs/source/index.rst not found
    looking for now-outdated files... none found
    no targets are out of date.
    Running "/usr/bin/python setup.py develop --no-deps" within dir "/home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/TraitsBackendWX_3.2.1"
    running develop
    unrecognized .svn/entries format; skipping .
    running egg_info
    writing requirements to TraitsBackendWX.egg-info/requires.txt
    writing TraitsBackendWX.egg-info/PKG-INFO
    writing namespace_packages to TraitsBackendWX.egg-info/namespace_packages.txt
    writing top-level names to TraitsBackendWX.egg-info/top_level.txt
    writing dependency_links to TraitsBackendWX.egg-info/dependency_links.txt
    unrecognized .svn/entries format in
    reading manifest file 'TraitsBackendWX.egg-info/SOURCES.txt'
    writing manifest file 'TraitsBackendWX.egg-info/SOURCES.txt'
    running build_ext
    Creating /usr/local/lib/python2.6/dist-packages/TraitsBackendWX.egg-link (link to .)
    TraitsBackendWX 3.2.1.dev-r0 is already the active version in easy-install.pth

    Installed /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/TraitsBackendWX_3.2.1
    Running "/usr/bin/python setup.py develop --no-deps" within dir "/home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/EnvisagePlugins_3.1.2"
    running develop
    unrecognized .svn/entries format; skipping .
    running egg_info
    writing requirements to EnvisagePlugins.egg-info/requires.txt
    writing EnvisagePlugins.egg-info/PKG-INFO
    writing namespace_packages to EnvisagePlugins.egg-info/namespace_packages.txt
    writing top-level names to EnvisagePlugins.egg-info/top_level.txt
    writing dependency_links to EnvisagePlugins.egg-info/dependency_links.txt
    writing entry points to EnvisagePlugins.egg-info/entry_points.txt
    unrecognized .svn/entries format in
    reading manifest file 'EnvisagePlugins.egg-info/SOURCES.txt'
    writing manifest file 'EnvisagePlugins.egg-info/SOURCES.txt'
    running build_ext
    Creating /usr/local/lib/python2.6/dist-packages/EnvisagePlugins.egg-link (link to .)
    EnvisagePlugins 3.1.2.dev-r0 is already the active version in easy-install.pth

    Installed /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/EnvisagePlugins_3.1.2
    running build_docs
    Using source directory /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/EnvisagePlugins_3.1.2/docs/source
    Running Sphinx v0.6.2
    loading pickled environment... not found
    building [html]: targets for 0 source files that are out of date
    updating environment: 0 added, 0 changed, 0 removed
    WARNING: master file /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/EnvisagePlugins_3.1.2/docs/source/index.rst not found
    looking for now-outdated files... none found
    no targets are out of date.
    Running "/usr/bin/python setup.py develop --no-deps" within dir "/home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/Mayavi_3.3.1"
    running develop
    unrecognized .svn/entries format; skipping .
    running gen_docs
    Traceback (most recent call last):
      File "/usr/local/bin/ets", line 8, in <module>
        load_entry_point('ETSProjectTools==0.6.0.dev-r0', 'console_scripts', 'ets')()
      File "/usr/local/lib/python2.6/dist-packages/enthought/ets/ets.py", line 152, in main
        args.func(args, cfg)
      File "/usr/local/lib/python2.6/dist-packages/enthought/ets/develop.py", line 76, in main
        checkouts.perform(command, dry_run=args.dry_run)
      File "/usr/local/lib/python2.6/dist-packages/enthought/ets/tools/checkouts.py", line 126, in perform
        '%s' % project)
    RuntimeError: Unable to complete command for project: /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/Mayavi_3.3.1

[1]http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/installation.html

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
MayaVi-users mailing list
MayaVi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users
Gael Varoquaux | 3 Jan 2010 10:45
Favicon
Gravatar

Re: Installing mayavi bleeding edge

On Sun, Jan 03, 2010 at 10:41:35AM +0100, Michele Mattioni wrote:
>    I followed the instruction[1] to install the svn mayavi with all the
>    dependences, however I can install Mayavi properly.

> [snip]
>        running develop
>        unrecognized .svn/entries format; skipping .
>        running gen_docs
>        Traceback (most recent call last):
>          File "/usr/local/bin/ets", line 8, in <module>
>            load_entry_point('ETSProjectTools==0.6.0.dev-r0',
>    'console_scripts', 'ets')()
>          File
>    "/usr/local/lib/python2.6/dist-packages/enthought/ets/ets.py", line 152,
>    in main
>            args.func(args, cfg)
>          File
>    "/usr/local/lib/python2.6/dist-packages/enthought/ets/develop.py", line
>    76, in main
>            checkouts.perform(command, dry_run=args.dry_run)
>          File
>    "/usr/local/lib/python2.6/dist-packages/enthought/ets/tools/checkouts.py",
>    line 126, in perform
>            '%s' % project)
>        RuntimeError: Unable to complete command for project:
>    /home/mattions/Work/progs/Mayavi/Mayavi_3.3.1/Mayavi_3.3.1

I am not sure what the problem is (the error message seems confusing to
me), but it could be that you are victim of a bug in setuptools with
recent versions of SVN. What is your setuptools version number and what
is your SVN's version number?

Gaël

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Michele Mattioni | 6 Jan 2010 18:19
Picon
Gravatar

Bug on cylinder length on visual module

Hi,

I opened this bug about the max length of a cylinder
https://svn.enthought.com/enthought/ticket/1859

Patch attached.

Is that the correct way?

Cheers,
Michele.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
MayaVi-users mailing list
MayaVi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users
Gael Varoquaux | 8 Jan 2010 23:47
Favicon
Gravatar

Re: Bug on cylinder length on visual module

On Wed, Jan 06, 2010 at 05:19:07PM +0000, Michele Mattioni wrote:
>    Hi,

>    I opened this bug about the max length of a cylinder
>    [1]https://svn.enthought.com/enthought/ticket/1859

>    Patch attached.

>    Is that the correct way?

Hey,

Yes, that's pretty much the right way to do. Also, you should assing the
ticket to me, elsewhere, I'll never find out about it :).

The correct fix for the problem would be to use a trait that restricts to
positive numbers, rather than a range. I have committed your fix anyhow
(rev 25097).

Thanks a lot for the bug report and the fix. Sorry for being slow to
answer, I have a lot of things on my plate.

Gaël

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Gael Varoquaux | 13 Jan 2010 07:37
Favicon
Gravatar

Re: Code

On Fri, Dec 18, 2009 at 12:07:45PM -0700, Lang, Edward wrote:
>    I like the format of your program.  Is it possible for me to see the
>    python source code? I would like to use it to develop structural
>    engineering programs.

The source code is downloadable: 

http://www.enthought.com/repo/ETS/Mayavi-3.3.0.tar.gz

Gaël

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Gael Varoquaux | 18 Jan 2010 23:56
Favicon
Gravatar

Re: [IPython-dev] Updated build of trunk-dev available

On Mon, Jan 18, 2010 at 02:54:59PM -0800, Fernando Perez wrote:
> /home/fperez/Desktop/qt_embedding.py in <module>()
>      17     Int, Dict
>      18 from enthought.traits.ui.api import View, Item
> ---> 19 from enthought.mayavi.core.ui.api import MayaviScene, MlabSceneModel, \
>      20         SceneEditor
>      21 from enthought.mayavi import mlab

> ImportError: No module named api

Yes, that's new. You can just replace the api imports with the ones in:

https://svn.enthought.com/enthought/browser/Mayavi/trunk/enthought/mayavi/core/ui/api.py

HTH,

Gaël

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
Fernando Perez | 19 Jan 2010 00:18
Picon
Gravatar

Re: [IPython-dev] Updated build of trunk-dev available

On Mon, Jan 18, 2010 at 2:56 PM, Gael Varoquaux
<gael.varoquaux <at> normalesup.org> wrote:
>
> Yes, that's new. You can just replace the api imports with the ones in:
>
> https://svn.enthought.com/enthought/browser/Mayavi/trunk/enthought/mayavi/core/ui/api.py
>
> HTH,

Awesome, many thanks.  At least now I can reproduce the problem here
as well, I've updated the bug report so anyone can download the test
script:

https://bugs.launchpad.net/ipython/+bug/508953

This is indeed a pretty serious regression, so I made it critical for
0.11.  But I don't know what the problem is, so help from anyone would
be very, very welcome.  I can't work on this right now, unfortunately.

Cheers,

f

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
Michele Mattioni | 21 Jan 2010 10:57
Picon
Gravatar

Re: Pick an object on a mayavi scene

Hi Gaël,

sorry to resurrect this old topic but I would like to implement this.

On Mon, Dec 14, 2009 at 2:03 PM, Gael Varoquaux
<gael.varoquaux <at> normalesup.org> wrote:
> On Mon, Dec 14, 2009 at 01:30:58PM +0000, Michele Mattioni wrote:
>>    Hi,
>
>>    I've tried this example:
>
>>    [1]http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/example_pick_on_surface.html#example-pick-on-surface
>
> If you are using VTK >= 5.2, you need to replace 'MouseMoveEvent' by
> 'RenderEvent' and 'LeftButtonReleaseEvent' by 'EndInteractionEvent'.
>
> There will be a nice helper function to make all this easier in the next
> release of Mayavi.
>

I'm already using the SVN of Mayavi and my software depends on it, so
I'm wondering if you can point me to this helper function so i can use
them directly.

BTW when the next mayvi release is scheduled?

On a side note: From 0.4.0 Neuronvisio [1] is using Mayavi rendering.

[1] http://mattions.github.com/neuronvisio/

Thanks,
Michele.

> Gaël
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
MayaVi-users mailing list
MayaVi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users
Gael Varoquaux | 21 Jan 2010 11:09
Favicon
Gravatar

Re: Pick an object on a mayavi scene

On Thu, Jan 21, 2010 at 09:57:03AM +0000, Michele Mattioni wrote:
> Hi Gaël,

> sorry to resurrect this old topic but I would like to implement this.

Hi Michele,

It's in SVN:

https://svn.enthought.com/enthought/browser/Mayavi/trunk/examples/mayavi/data_interaction

It should work on your box. If not, complain!

> BTW when the next mayvi release is scheduled?

Well, I can't do it for another 4 months. I know it sounds long, but my
post-doc contract is running to an end, and I am applying for a position,
so I am very busy writing articles and grant proposals and going to
conferences. It is really hectic. I hope that someone at Enthought will
step up to do it, if not, I would expect around June.

> On a side note: From 0.4.0 Neuronvisio [1] is using Mayavi rendering.

> [1] http://mattions.github.com/neuronvisio/

That's really cool. I love you screenshots. It's nice also to see that
the neuroscience is using Mayavi, as I am in NeuroImaging research.

Cheers,

Gaël

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
Prabhu Ramachandran | 21 Jan 2010 12:38
Picon
Gravatar

Re: Pick an object on a mayavi scene

Michele Mattioni wrote:
> On a side note: From 0.4.0 Neuronvisio [1] is using Mayavi rendering.
> 
> [1] http://mattions.github.com/neuronvisio/

Awesome to hear!

regards,
prabhu

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev

Gmane