{Mayavi} crashes on Fedora 12

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

{Mayavi} crashes on Fedora 12

Gökhan SEVER
This is what I get after I update all installed packages.

[gsever@ccn Desktop]$ mayavi2
ERROR: In /builddir/build/BUILD/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 626
vtkXOpenGLRenderWindow (0xc5f6450): Cannot create GLX context.  Aborting.

Aborted (core dumped)

[gsever@ccn Desktop]$ uname -a
Linux ccn 2.6.31.9-174.fc12.i686.PAE #1 SMP Mon Dec 21 06:04:56 UTC 2009 i686 i686 i386 GNU/Linux

Also reported at https://bugzilla.redhat.com/show_bug.cgi?id=562025

I am guessing this is another issue due to update on Xorg. However need further investigation.


--
Gökhan

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: {Mayavi} crashes on Fedora 12

Gael Varoquaux
On Thu, Feb 04, 2010 at 07:28:17PM -0600, Gökhan Sever wrote:
>    [gsever@ccn Desktop]$ mayavi2
>    ERROR: In /builddir/build/BUILD/VTK/Rendering/vtkXOpenGLRenderWindow.cxx,
>    line 626
>    vtkXOpenGLRenderWindow (0xc5f6450): Cannot create GLX context.  Aborting.

>    Aborted (core dumped)

Damn it. That looks ugly. It seems its time to rescucitate my Fedora
virtual machine. Any chance someone knows where I can download a Fedora
VM, or do I have to make one from scratch?


>    [gsever@ccn Desktop]$ uname -a
>    Linux ccn 2.6.31.9-174.fc12.i686.PAE #1 SMP Mon Dec 21 06:04:56 UTC 2009
>    i686 i686 i386 GNU/Linux

>    Also reported at [1]https://bugzilla.redhat.com/show_bug.cgi?id=562025

>    I am guessing this is another issue due to update on Xorg. However need
>    further investigation.

Could also be related to SELinux, maybe.

I fear that I am going to need help from the Fedora team here, as the
problem is happening outside of the Mayavi code. Looking at the error
message, any program trying to use VTK would have the same problem.

Gaël
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: {Mayavi} crashes on Fedora 12

Gökhan SEVER


On Fri, Feb 5, 2010 at 12:47 AM, Gael Varoquaux <[hidden email]> wrote:
On Thu, Feb 04, 2010 at 07:28:17PM -0600, Gökhan Sever wrote:
>    [gsever@ccn Desktop]$ mayavi2
>    ERROR: In /builddir/build/BUILD/VTK/Rendering/vtkXOpenGLRenderWindow.cxx,
>    line 626
>    vtkXOpenGLRenderWindow (0xc5f6450): Cannot create GLX context.  Aborting.

>    Aborted (core dumped)

Damn it. That looks ugly. It seems its time to rescucitate my Fedora
virtual machine. Any chance someone knows where I can download a Fedora
VM, or do I have to make one from scratch?

Thanks. I am good at catching the exceptions.

You can get VirtualBox and install Fedora 12 from a livecd or directly from a dvdiso. You might also check VMware appliances page if you don't like VB. It works nicely here on FC12. It even runs an android-x86 :)

 


>    [gsever@ccn Desktop]$ uname -a
>    Linux ccn 2.6.31.9-174.fc12.i686.PAE #1 SMP Mon Dec 21 06:04:56 UTC 2009
>    i686 i686 i386 GNU/Linux

>    Also reported at [1]https://bugzilla.redhat.com/show_bug.cgi?id=562025

>    I am guessing this is another issue due to update on Xorg. However need
>    further investigation.

Could also be related to SELinux, maybe.

I fear that I am going to need help from the Fedora team here, as the
problem is happening outside of the Mayavi code. Looking at the error
message, any program trying to use VTK would have the same problem.

I have checked with Paraview 3.6.2. Tada here comes my another bug report: https://bugzilla.redhat.com/show_bug.cgi?id=562073

Now I am looking to downgrade VTK to a previous version, but it is not in repos. It is late at night to compile everything from sources. I will wait till another update and might use another machine for the time being.
 

Gaël
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev



--
Gökhan

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: {Mayavi} crashes on Fedora 12

Gael Varoquaux
On Fri, Feb 05, 2010 at 01:22:51AM -0600, Gökhan Sever wrote:
>      I fear that I am going to need help from the Fedora team here, as the
>      problem is happening outside of the Mayavi code. Looking at the error
>      message, any program trying to use VTK would have the same problem.

>    I have checked with Paraview 3.6.2. Tada here comes my another bug report:
>    [3]https://bugzilla.redhat.com/show_bug.cgi?id=562073

That's almost good news for me. It mean the problem is not ours.

Keep me posted on that.

Cheers,

Gaël
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

py2exe&enthought

Boiteux, Benoit
Hello,

I have a python project and one part of the code is using TabularEditor, and it runs with no error
Then, I used py2exe to generate a binary version of the project, I copied enthought folder in the root of my app as suggested in this mailing list,
And everything works well except TabularEditor :
"NotImplementedError: The wx traits backend doesn't implement _TabularEditor"
Any idea on where I can start investigating ?

Thanks
benoit


Exception occurred in traits notification handler for object: <post_process.
vity_report.ActivityReportWindow object at 0x032CB2D0>, trait: activity_tabl
tems, old value: <undefined>, new value: <enthought.traits.trait_handlers.Tr
istEvent object at 0x077CEE70>
Traceback (most recent call last):
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\trait_notifiers.py", line 482, in rebind_call_1
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\trait_notifiers.py", line 592, in dispatch
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\list_editor.py", line 628, in update_editor_item
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\list_editor.py", line 741, in _create_page
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\has_traits.py", line 2200, in edit_traits
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\view.py", line 435, in ui
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\ui.py", line 228, in ui
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\toolkit.py", line 124, in ui_subpanel
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\ui_panel.py", line 99, in ui_subpanel
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\ui_panel.py", line 112, in ui_panel_for
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\ui_panel.py", line 198, in __init__
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\ui_panel.py", line 340, in panel
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\ui_panel.py", line 514, in fill_panel_for_group
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\ui_panel.py", line 663, in __init__
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\wx\ui_panel.py", line 1016, in add_items
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\editor_factory.py", line 164, in readonly_editor
  File "C:\Documents and Settings\bboiteu1\My Documents\PowerAnalyzer\dist\.\en
hought\traits\ui\toolkit.py", line 77, in __init__
NotImplementedError: The wx traits backend doesn't implement _TabularEditor
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: py2exe&enthought

Didrik Pinte
On Fri, 2010-02-05 at 11:31 +0000, Boiteux, Benoit wrote:

> Hello,
>
> I have a python project and one part of the code is using TabularEditor, and it runs with no error
> Then, I used py2exe to generate a binary version of the project, I copied enthought folder in the root of my app as suggested in this mailing list,
> And everything works well except TabularEditor :
> "NotImplementedError: The wx traits backend doesn't implement _TabularEditor"
> Any idea on where I can start investigating ?
>
> Thanks
> benoit
Hi Benoit,

Yes, it should most probably be due to the fact the the TabularEditor
relies on some wx libraries that are not collected by py2exe.

You should ensure that you have those two ones :
- wx.lib.gridmovers
- wx.lib.mixins.listctrl

If they are not available, Traits to fail with the given error message.
That should probably be improved.

-- Didrik

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: py2exe&enthought

Boiteux, Benoit
Hi Didrik,
Thanks for the answer.

I added these 2 libraries to my setup file, I can see the 2 files are copied now, but I still have the same error with TabularEditor.
Here's an extract of my setup file :

options = {'py2exe': {'unbuffered': True,
                              'optimize': 2,
                              'excludes': ['Tkinter', 'Tkconstants', 'tcl', '_tkinter', 'enthought'],
                              'includes': ['uuid', 'pkg_resources', 'cgi', 'wx', 'wx.lib.scrolledpanel','wx.lib.gridmovers','wx.lib.mixins.listctrl','colorsys', 'wx.html','cProfile'],
                              'skip_archive': True
                              }
Maybe I missed another lib :)

Benoit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Didrik Pinte
Sent: Friday, February 05, 2010 2:33 PM
To: [hidden email]
Subject: Re: [Enthought-Dev] py2exe&enthought

On Fri, 2010-02-05 at 11:31 +0000, Boiteux, Benoit wrote:

> Hello,
>
> I have a python project and one part of the code is using
> TabularEditor, and it runs with no error Then, I used py2exe to
> generate a binary version of the project, I copied enthought folder in the root of my app as suggested in this mailing list, And everything works well except TabularEditor :
> "NotImplementedError: The wx traits backend doesn't implement _TabularEditor"
> Any idea on where I can start investigating ?
>
> Thanks
> benoit

Hi Benoit,

Yes, it should most probably be due to the fact the the TabularEditor relies on some wx libraries that are not collected by py2exe.

You should ensure that you have those two ones :
- wx.lib.gridmovers
- wx.lib.mixins.listctrl

If they are not available, Traits to fail with the given error message.
That should probably be improved.

-- Didrik
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: py2exe&enthought

Boiteux, Benoit
My mistake, tabular_editor.pyo disappeared during mu copy/paste manipulations.

So it works perfectly now!

Thanks a lot for the help !

Benoit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Boiteux, Benoit
Sent: Friday, February 05, 2010 5:12 PM
To: [hidden email]
Subject: Re: [Enthought-Dev] py2exe&enthought

Hi Didrik,
Thanks for the answer.

I added these 2 libraries to my setup file, I can see the 2 files are copied now, but I still have the same error with TabularEditor.
Here's an extract of my setup file :

options = {'py2exe': {'unbuffered': True,
                              'optimize': 2,
                              'excludes': ['Tkinter', 'Tkconstants', 'tcl', '_tkinter', 'enthought'],
                              'includes': ['uuid', 'pkg_resources', 'cgi', 'wx', 'wx.lib.scrolledpanel','wx.lib.gridmovers','wx.lib.mixins.listctrl','colorsys', 'wx.html','cProfile'],
                              'skip_archive': True
                              }
Maybe I missed another lib :)

Benoit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Didrik Pinte
Sent: Friday, February 05, 2010 2:33 PM
To: [hidden email]
Subject: Re: [Enthought-Dev] py2exe&enthought

On Fri, 2010-02-05 at 11:31 +0000, Boiteux, Benoit wrote:

> Hello,
>
> I have a python project and one part of the code is using
> TabularEditor, and it runs with no error Then, I used py2exe to
> generate a binary version of the project, I copied enthought folder in the root of my app as suggested in this mailing list, And everything works well except TabularEditor :
> "NotImplementedError: The wx traits backend doesn't implement _TabularEditor"
> Any idea on where I can start investigating ?
>
> Thanks
> benoit

Hi Benoit,

Yes, it should most probably be due to the fact the the TabularEditor relies on some wx libraries that are not collected by py2exe.

You should ensure that you have those two ones :
- wx.lib.gridmovers
- wx.lib.mixins.listctrl

If they are not available, Traits to fail with the given error message.
That should probably be improved.

-- Didrik
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: {Mayavi} crashes on Fedora 12

Gökhan SEVER
In reply to this post by Gael Varoquaux
Another NVIDIA driver issue.

Sorry for the noise. Re-building the prop drivers solved the issue.

On Fri, Feb 5, 2010 at 4:09 AM, Gael Varoquaux <[hidden email]> wrote:
On Fri, Feb 05, 2010 at 01:22:51AM -0600, Gökhan Sever wrote:
>      I fear that I am going to need help from the Fedora team here, as the
>      problem is happening outside of the Mayavi code. Looking at the error
>      message, any program trying to use VTK would have the same problem.

>    I have checked with Paraview 3.6.2. Tada here comes my another bug report:
>    [3]https://bugzilla.redhat.com/show_bug.cgi?id=562073

That's almost good news for me. It mean the problem is not ours.

Keep me posted on that.

Cheers,

Gaël
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev



--
Gökhan

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: py2exe&enthought

Boiteux, Benoit
In reply to this post by Boiteux, Benoit
Hi again,
Can you tell me if there are similar dependencies for ListStrEditor ?

Thanks
benoit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Boiteux, Benoit
Sent: Friday, February 05, 2010 5:27 PM
To: [hidden email]
Subject: Re: [Enthought-Dev] py2exe&enthought

My mistake, tabular_editor.pyo disappeared during mu copy/paste manipulations.

So it works perfectly now!

Thanks a lot for the help !

Benoit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Boiteux, Benoit
Sent: Friday, February 05, 2010 5:12 PM
To: [hidden email]
Subject: Re: [Enthought-Dev] py2exe&enthought

Hi Didrik,
Thanks for the answer.

I added these 2 libraries to my setup file, I can see the 2 files are copied now, but I still have the same error with TabularEditor.
Here's an extract of my setup file :

options = {'py2exe': {'unbuffered': True,
                              'optimize': 2,
                              'excludes': ['Tkinter', 'Tkconstants', 'tcl', '_tkinter', 'enthought'],
                              'includes': ['uuid', 'pkg_resources', 'cgi', 'wx', 'wx.lib.scrolledpanel','wx.lib.gridmovers','wx.lib.mixins.listctrl','colorsys', 'wx.html','cProfile'],
                              'skip_archive': True
                              }
Maybe I missed another lib :)

Benoit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Didrik Pinte
Sent: Friday, February 05, 2010 2:33 PM
To: [hidden email]
Subject: Re: [Enthought-Dev] py2exe&enthought

On Fri, 2010-02-05 at 11:31 +0000, Boiteux, Benoit wrote:

> Hello,
>
> I have a python project and one part of the code is using
> TabularEditor, and it runs with no error Then, I used py2exe to
> generate a binary version of the project, I copied enthought folder in the root of my app as suggested in this mailing list, And everything works well except TabularEditor :
> "NotImplementedError: The wx traits backend doesn't implement _TabularEditor"
> Any idea on where I can start investigating ?
>
> Thanks
> benoit

Hi Benoit,

Yes, it should most probably be due to the fact the the TabularEditor relies on some wx libraries that are not collected by py2exe.

You should ensure that you have those two ones :
- wx.lib.gridmovers
- wx.lib.mixins.listctrl

If they are not available, Traits to fail with the given error message.
That should probably be improved.

-- Didrik
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev