Picon
Gravatar

Re: mayavi2 crashes on startup (was Re: Wrong URL for svn repository?)

LUK ShunTim wrote:
>> After the file->new->vtk scene or just on startup?  If the former, then 
>> can you disable the logger from the View menu and try again (if that 
>> doesn't work disable the shell even).  Both the test.py and mayavi2 use 
>> pretty much the same approach to the main application which is why this 
>> segfault is really weird.
> 
> For "mayavi2 -x test.py", it crashes maybe a second after the empty 
> window is shown.

Oh, I didn't mean mayavi/examples/test.py but 
tvtk/examples/plugin/test.py.  Can you run the 
tvtk/examples/plugin/test.py (as python test.py) and then select the 
file->new->vtk scene and see if that crashes just like the mayavi2 crash?

> For "mayavi2 -x empty.py", the empty window appears (no crash), you can 
> click on the menu to change things, but creating a new scene seg faults 
> despite your suggestion of turning off the shell and logger panes.

OK, that gets us closer but can you please confirm the above?

Thanks!
regards,
prabhu
LUK ShunTim | 1 Mar 05:59
Picon

Re: mayavi2 crashes on startup (was Re: Wrong URL for svn repository?)

Prabhu Ramachandran wrote:
> LUK ShunTim wrote:
>>> After the file->new->vtk scene or just on startup?  If the former, then 
>>> can you disable the logger from the View menu and try again (if that 
>>> doesn't work disable the shell even).  Both the test.py and mayavi2 use 
>>> pretty much the same approach to the main application which is why this 
>>> segfault is really weird.
>> For "mayavi2 -x test.py", it crashes maybe a second after the empty 
>> window is shown.
> 
> Oh, I didn't mean mayavi/examples/test.py but 
> tvtk/examples/plugin/test.py.  Can you run the 
> tvtk/examples/plugin/test.py (as python test.py) and then select the 
> file->new->vtk scene and see if that crashes just like the mayavi2 crash?

No, no crash. Seems to work perfectly.

> 
>> For "mayavi2 -x empty.py", the empty window appears (no crash), you can 
>> click on the menu to change things, but creating a new scene seg faults 
>> despite your suggestion of turning off the shell and logger panes.
> 
> OK, that gets us closer but can you please confirm the above?
> 
> Thanks!
> regards,
> prabhu

Regards,
ST
(Continue reading)

Picon
Gravatar

Re: mayavi2 crashes on startup (was Re: Wrong URL for svn repository?)

KESTENER Pierre wrote:
> When i first installed ets using easy_install, mayavi2 was working 
> perfectly well.

Which release of ETS was this?  2.6.0?  Identifying which release 
actually worked would really help.  Thanks.

> Then i removed it, to install ets using svn sources and the crash appeared.
> 
>  >>From that point removing ets and re-installing it does not remove the 
> crash.
> The crash appears always when calling new_scene defined in engine.py

And also by clicking on File->New->VTK Scene, right?

> I also noticed that in example explorer3d.py,  the scene remains empty 
> at beginning until i resize window...

This error is really quite weird.  Looks like I'll have to install a 64 
bit ubuntu and actually run it to figure out whats wrong.

BTW, does anyone know if it is possible to install a 64 bit ubuntu on a 
32 bit host Gutsy via virtualbox?

cheers,
prabhu
KESTENER Pierre | 1 Mar 11:03
Picon
Favicon

RE : mayavi2 crashes on startup (was Re: Wrong URL for svn repository?)


Hello,

>KESTENER Pierre wrote:
>> When i first installed ets using easy_install, mayavi2 was working
>> perfectly well.
>
>Which release of ETS was this?  2.6.0?  Identifying which release
>actually worked would really help.  Thanks.
>

it was ets 2.6.0b1

>> Then i removed it, to install ets using svn sources and the crash appeared.
>>
>>  >>From that point removing ets and re-installing it does not remove the
>> crash.
>> The crash appears always when calling new_scene defined in engine.py
>
>And also by clicking on File->New->VTK Scene, right?
>

Yes, that is right.

>> I also noticed that in example explorer3d.py,  the scene remains empty
>> at beginning until i resize window...
>
>This error is really quite weird.  Looks like I'll have to install a 64
>bit ubuntu and actually run it to figure out whats wrong.
>

I forgot to say that, explorer3d is working perfectly after resizing the window.
File->New->VTK Scene does not crash.

>BTW, does anyone know if it is possible to install a 64 bit ubuntu on a
>32 bit host Gutsy via virtualbox?
>

I don't know about VirtualBox, but you can try to use kvm, see
https://help.ubuntu.com/community/KVM#head-0648a4f455e13fd839c19cb2b2cb7d0d1bf96f4a
there is an example to install a guest Ubuntu inside another one.



Best regards,

Pierre Kestener.

_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Simon J. Hook | 2 Mar 02:54
Picon
Picon
Favicon

EPD Beta Install Issue and Chaco

Hi,

I ran the install on my test system and everything appeared to go fine. 
Now the issues:

1) 2 icons were installed on my desktop (pylab and mayvi). However, I do 
not remember being asked if I wanted these added. It is customary to ask.

2) The file associations do not appear to have been set correctly. I am 
on a windows machine and normally an icon would now be assoc with a .py 
file. Instead there are no icon associations. However, if I right-click 
the file, I can pick which program to use. With a regular python 
install, any python programs have the python icon if listed in explorer.

3) I cannot figure out if chaco2 is properly installed. I would normally 
run one of the programs under chaco2 to see it is working but there does 
not seem to be any examples. If I go to the enthought chaco site all 
there are lots of beautiful examples but only the jpg remains. The links 
to the underlying code have all been moved and are no longer accessible.

4) I did open a file with IDLE once, but now when I right click on a 
file and select open with IDLE it looks like the system tries to do 
something but then returns, so it looks like IDLE died. I can open files 
with SCITE.

Best wishes, Simon
Simon J. Hook | 2 Mar 03:01
Picon
Picon
Favicon

Re: EPD Beta Install Issue and Chaco


Simon J. Hook wrote:
> Hi,
>
> I ran the install on my test system and everything appeared to go 
> fine. Now the issues:
>
> 1) 2 icons were installed on my desktop (pylab and mayvi). However, I 
> do not remember being asked if I wanted these added. It is customary 
> to ask.
>
> 2) The file associations do not appear to have been set correctly. I 
> am on a windows machine and normally an icon would now be assoc with a 
> .py file. Instead there are no icon associations. However, if I 
> right-click the file, I can pick which program to use. With a regular 
> python install, any python programs have the python icon if listed in 
> explorer.
>
> 3) I cannot figure out if chaco2 is properly installed. I would 
> normally run one of the programs under chaco2 to see it is working but 
> there does not seem to be any examples. If I go to the enthought chaco 
> site all there are lots of beautiful examples but only the jpg 
> remains. The links to the underlying code have all been moved and are 
> no longer accessible.
The examples are still missing at the chaco site but I did find the ones 
from the install and one just ran so chaco seems to be installed okay.
>
> 4) I did open a file with IDLE once, but now when I right click on a 
> file and select open with IDLE it looks like the system tries to do 
> something but then returns, so it looks like IDLE died. I can open 
> files with SCITE.
Definitely something wrong with the IDLE install. If I right-click on a 
.py file file and select IDLE -- nothing opens!
>
> Best wishes, Simon

--

-- 
_______________________________________________________
Simon J. Hook, MSc, PhD
Discipline Program Manager, Carbon Cycle and Ecosystems
MS 183-501, Jet Propulsion Laboratory
4800 Oak Grove Drive  
Pasadena, CA 91109
Office: 818-354-0974
Mobile: 818-640-8344
Fax: 818-354-5148
Email: simon.j.hook@...
http://science.jpl.nasa.gov/people/Hook
http://asterweb.jpl.nasa.gov
http://masterweb.jpl.nasa.gov
http://calval.jpl.nasa.gov
_______________________________________________________ 
Picon
Gravatar

Re: RE : mayavi2 crashes on startup (was Re: Wrong URL for svn repository?)

KESTENER Pierre wrote:
>  >Which release of ETS was this?  2.6.0?  Identifying which release
>  >actually worked would really help.  Thanks.
>  >
> it was ets 2.6.0b1

Would it be possible for you to just remove the installed 2.1 mayavi egg 
and instead install 2.0.2 from here:

http://code.enthought.com/enstaller/eggs/source/enthought.mayavi-2.0.2.tar.gz

The error is really wierd, I'm trying to figure out where the error 
could be.  Doing this would be really helpful.  I will try and setup a 
machine with a 64 bit ubuntu and test but it would be a huge help if you 
could help narrow this down any further.

> I forgot to say that, explorer3d is working perfectly after resizing the 
> window.
> File->New->VTK Scene does not crash.

This is the really weird part, both mayavi2 and the explorer are using 
the same mayavi plugin, it isn't clear what is causing the crash for 
mayavi2.

cheers,
prabhu
Gael Varoquaux | 2 Mar 11:15
Favicon
Gravatar

Re: ANNOUNCE: ETS 2.7.0 released!

On Tue, Feb 26, 2008 at 05:39:08PM -0600, Dave Peterson wrote:
> I'm proud to announce that as of a few minutes ago, ETS 2.7.0 was
> released by being tagged in our svn repository and having source eggs
> (i.e. tarballs) uploaded to the Enthought egg repository at:
> 	http://code.enthought.com/enstaller/eggs/source/

I was away last week, so my congratulations come with delay, but I still
wish to express thanks for the work many people on this list have been
doing to deliver this consistent release of many different packages that
fit together for the joy of the user.

I will make tarballs for Debian next week, and we can than update the
Debian and Ubuntu packages. Once this is done, I think I will make debs
for Gutsy, as I believe this is a major release, and it should be easy
for users to install.

> (Some of the) CHANGES FROM 2.6.0 to 2.7.0:

This changelog is really useful for users. Thanks a lot for taking time
to do it. In the long run, is there a way to make it easier for you build
such changelog.

Cheers,

Gaël
Gael Varoquaux | 2 Mar 11:36
Favicon
Gravatar

Re: ANN: Enthought Python Distribution - Beta

On Wed, Feb 27, 2008 at 09:14:08PM -0600, Travis Vaught wrote:
> EPD is compelling because it solves a lingering packaging and  
> distribution problem,

Congratulations to all the folks working on this. I do agree EPD plays a
major role in the Python landscape nowadays.

Gaël
Gael Varoquaux | 2 Mar 13:55
Favicon
Gravatar

Re: FYI: broken links and ANN: PyRx

On Fri, Feb 29, 2008 at 12:12:36PM -0800, Sargis Dallakyan wrote:
> I'd like also to mention about my new project PyRx:
> http://pyrx.sourceforge.net

> I don't want to publicize PyRx until its in alpha stage, but it might be of 
> interest to some of the readers of this mailing list.

Nice. I am very happy to see that TVTK is used for molecule
visualization. It seems very well suited for this purpose.

Have you considered using Mayavi2 (with the MlabSceneModel, as in this
example
https://svn.enthought.com/enthought/browser/Mayavi/tags/enthought.mayavi_2.1.0/examples/mayavi_traits_ui.py
)
rather than TVTK? I would be interested to know what influences your
choice towards pure TVTK, or Mayavi2 (with eventually some raw TVTK
objects injected into Mayavi2 -- note to self: we need to make this
easier).

Cheers,

Gaël

Gmane