← Back to team overview

yade-dev team mailing list archive

[Bug 499254] Re: no error saving simulation to nonexistent file

 

fixed in r2019

** Changed in: yade
       Status: New => Fix Released

-- 
no error saving simulation to nonexistent file
https://bugs.launchpad.net/bugs/499254
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Fix Released

Bug description:
Saving simulation to nonexistent file such as O.save('/nonsense.xml'), but contrary to expectations, the out.good() check in IOFormatManager::saveToFile doesn't probably check what it is expected to. Saving reports no error at all, but reloading the simulation subsequently causes crash (O.reload()).

Find way to check the boost::iostreams sink that it is really writable.





References