RuntimeError Traceback (most recent call last)

Asked by Fares Hanna

Hi guys.
while i was trying to launch again my script.py on yade i got this error :

RuntimeError Traceback (most recent call last)
 /usr/lib/x86_64-linux-gnu/yade-double/py/yade/__init__.py in loadSlot(self)
        145 if not f: return # cancelled
        146 self.deactivateControls()
  --> 147 O.load(f)
        148 def saveSlot(self):
        149 f=QFileDialog.getSaveFileName(self,'Save simulation','','Yade simulations (*.xml *.xml.bz2 *.xml.gz *.yade *.yade.gz *.yade.bz2);; *.*')

RuntimeError: basic_string::_M_replace_aux

THANKS for your help.

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,

> my script.py

always try to provide a MWE [1] and/or give relevant information [1] (e.g. Yade version)

From the error message it seems you are loading previously saved simulation.
You may encountered some compatibility issues, as stated in the documentation [2].

Please provide more information for more relevant answer.

Cheers
Jan

[1] https://www.yade-dem.org/wiki/Howtoask
[2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Omega.load

Can you help with this problem?

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

To post a message you must log in.