v.059 fix for Linux (and probably MacOS)

https://attnam.com/topics/v-059-fix-for-Linux-and-probably-MacOS

The Cathedral of Attnam > Trouble Shooting and Bugs

#1 Feb 2, 2023, 6:10 pm Hide

mio

the application crashes in "./FeLib/Source/feio.cpp:398" which is trying to load a file
"{USER_DIR}/.ivan/.QuestionHistory_What_is_your_name.txt"
neither the folder ".ivan" nor the file exist.

If you create the directory and the file, v59 works just fine.

Not sure how this works, but possibly the CMakeLists.txt needs to be updated to touch "{USER_DIR/.ivan}" and then create that QuestionHistory file.
That or the application itself creates .ivan/QuestionHistory_What_is_your_name.txt if the file fails to open, that is probably cleaner.

might post pull request if you are on github.
#2 Feb 7, 2023, 5:18 am Hide

fejoa

Hey that's excellent, thanks for tracking that bug down. Yeah feel free to put up an issue on GH, or better yet, just make a PR and we can merge it.