I find a little bug in the material editor while naming a material with a special character (é)
Code: Select all
Traceback (most recent call last):
File "/Applications/FreeCAD.app/Contents/Mod/Material/MaterialEditor.py", line 336, in savefile
name = str(self.widget.Editor.findItems(translate("Material", "Name"), QtCore.Qt.MatchRecursive, 0)[0].text(1))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 4: ordinal not in range(128)
Or inserting
Code: Select all
import sys
reload(sys)
sys.setdefaultencoding('utf8')