On Monday, 17 June 2013 00:05:54 UTC+5:30, Robert Cimrman wrote:
On 06/16/2013 03:26 AM, Ankit Mahato wrote:
> Also running ./postproc.py file.vtk is now throwing error with no fix as i
> browsed various forums
> ankit@ankit-HP-Pavilion-dv4-Notebook-PC:~/sfepy$ ./postproc.py cylinder.vtk
> The program 'python' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadRequest (invalid request code or no such operation)'.
>    (Details: serial 696 error_code 1 request_code 154 minor_code 19)
>    (Note to programmers: normally, X errors are reported asynchronously;
>     that is, you will receive the error a while after causing it.
>     To debug your program, run it with the --sync command line
>     option to change this behavior. You can then get a meaningful
>     backtrace from your debugger if you break on the gdk_x_error() function.)
>
>
> The earlier sfepy version on which i was working was throwing no such
> errors.

Hmm, almost nothing changed in postproc.py for a long time. The following
command works?

$ mayavi2 -d cylinder.vtk -m Surface


Nope. This is throwing the same error.
 
What is your mayavi version?

Mayavi 4.0.0

 

r.