← Back to team overview

yade-dev team mailing list archive

[Bug 501917] Re: plotting issue

 

Just mentioning the error I have now, running Chiara's one-one-elastic.py and pressing F8. It says the error is probably in yade. ;)
I didn't find where to pass the --sync option.

import yade.plot; yade.plot.plot();
The program 'yade-last-opt' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 770 error_code 9 request_code 14 minor_code 0)
  (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.)
Erreur de segmentation

-- 
plotting issue
https://bugs.launchpad.net/bugs/501917
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Invalid

Bug description:
Debug build r1932 returns this for me :

Running script scripts/simple-scene-plot.py
Now calling plot.plot() to show the figures (close them to continue).
python: tpp.c :63 : __pthread_tpp_change_priority:  assertion « new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio) » failed.





References