← Back to team overview

yade-users team mailing list archive

Re: [Question #656538]: Measuring Force, Trapdoor displacement and Surface displacement

 

Question #656538 on Yade changed:
https://answers.launchpad.net/yade/+question/656538

wise dan gave more information on the question:
And this is the error:

wise@wise-CM6330-CM6630-CM6730-CM6830-M11AA-8:~/wise$ yade nanawise.py 
Welcome to Yade 2016.06a 
TCP python prompt on localhost:9000, auth cookie `ssaduc'
XMLRPC info provider on http://localhost:21000
Running script nanawise.py
generated 136 polyhedrons
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for showing help), F10 both, F9 generator, F8 plot. ]]

Yade [1]: ERROR /build/yade-iRsyM_/yade-2016.06a/pkg/common/InsertionSortCollider.cpp:240 action: verletDist is set to 0 because no spheres were found. It will result in suboptimal performances, consider setting a positive verletDist in your script.
import yade.plot; yade.plot.plot();
^[[19~^[[19~^[[19~^[[19~---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
/usr/bin/yade in <module>()
----> 1 import yade.plot; yade.plot.plot();

/usr/lib/x86_64-linux-gnu/yade/py/yade/plot.py in plot(noShow, subPlots)
    593         global currLineRefs
    594         figs=set([l.line.axes.get_figure() for l in currLineRefs])
--> 595         if not hasattr(list(figs)[0],'show') and not noShow:
    596                 import warnings
    597                 warnings.warn('plot.plot not showing figure (matplotlib using headless backend?)')

IndexError: list index out of range

Yade [2]: import yade.plot; yade.plot.plot();
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
/usr/bin/yade in <module>()
----> 1 import yade.plot; yade.plot.plot();

/usr/lib/x86_64-linux-gnu/yade/py/yade/plot.py in plot(noShow, subPlots)
    593         global currLineRefs
    594         figs=set([l.line.axes.get_figure() for l in currLineRefs])
--> 595         if not hasattr(list(figs)[0],'show') and not noShow:
    596                 import warnings
    597                 warnings.warn('plot.plot not showing figure (matplotlib using headless backend?)')

IndexError: list index out of range

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.