Warning

Asked by 403175147

Hi, teachers
     I was doing the cylinder triaxial test simulation, display"FutureWarning: The default behavior will change; specify returnSpherePack=True for the new behavior, and False to get rid of this warning (your code will break in the future, however). The returned SpherePack object can be added to the simulation using SpherePack.toSimulation()
  warnings.warn('The default behavior will change; specify returnSpherePack=True for the new behavior, and False to get rid of this warning (your code will break in the future, however). The returned SpherePack object can be added to the simulation using SpherePack.toSimulation()',category=FutureWarning)". What does it mean? How should I do?What should I modify the program?

Regards

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,
please always, with a question, post also minimal working script
reproducing your problem.

see [1], in this case I would say the code needs to be modified by
developers (but without the script we can't be sure). So for now just
ignore it.
Jan

[1] https://bugs.launchpad.net/yade/+bug/1175574

2013/5/15 pingyang.1019@163.com <email address hidden>

> New question #228938 on Yade:
> https://answers.launchpad.net/yade/+question/228938
>
> Hi, teachers
> I was doing the cylinder triaxial test simulation,
> display"FutureWarning: The default behavior will change; specify
> returnSpherePack=True for the new behavior, and False to get rid of this
> warning (your code will break in the future, however). The returned
> SpherePack object can be added to the simulation using
> SpherePack.toSimulation()
> warnings.warn('The default behavior will change; specify
> returnSpherePack=True for the new behavior, and False to get rid of this
> warning (your code will break in the future, however). The returned
> SpherePack object can be added to the simulation using
> SpherePack.toSimulation()',category=FutureWarning)". What does it mean? How
> should I do?What should I modify the program?
>
>
> Regards
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Alexander Eulitz [Eugen] (kubeu) said :
#3

Hi,
Check Out https://bugs.launchpad.net/yade/+bug/1175574 For Example.
There I Reported This Warning,Too ;)

Can you help with this problem?

Provide an answer of your own, or ask 403175147 for more information if necessary.

To post a message you must log in.