I think linux uses utf8 by default.
Checking the last-circle (osx) build I found this leftover-patch:
Code: Select all
Applying patch: '/Users/distiller/test/recipe/win_unicode.patch'
patching file src/Mod/Test/TestPythonSyntax.py
I think linux uses utf8 by default.
Code: Select all
Applying patch: '/Users/distiller/test/recipe/win_unicode.patch'
patching file src/Mod/Test/TestPythonSyntax.py
Code: Select all
'ascii' codec can't decode byte 0xc3 in position 9036: ordinal not in range(128)
Code: Select all
Traceback (most recent call last):
File "E:\Data\FreeCAD_0.18.15536_Conda_Py3QT5-WinVS2015_x64\FreeCAD_0.18.15536_Conda_Py3QT5-WinVS2015_x64\Mod\AddonManager\AddonManager.py", line 815, in run
self.macro.fill_details_from_wiki(url)
File "E:\Data\FreeCAD_0.18.15536_Conda_Py3QT5-WinVS2015_x64\FreeCAD_0.18.15536_Conda_Py3QT5-WinVS2015_x64\Mod\AddonManager\addonmanager_macro.py", line 124, in fill_details_from_wiki
response += data
TypeError: must be str, not bytes
Thanks for reporting: https://github.com/FreeCAD/FreeCAD/pull/1893
Code: Select all
Traceback (most recent call last):
File "<string>", line 4, in <module>
File "/home/lo/conda/envs/dakota/Mod/Arch/importOBJ.py", line 159, in export
vlist,elist,flist = getIndices(obj.Shape,offset)
File "/home/lo/conda/envs/dakota/Mod/Arch/importOBJ.py", line 71, in getIndices
FreeCAD.Console.PrintWarning(translate("Arch","Found a shape containing curves, triangulating").decode('utf8')+"\n")
<class 'AttributeError'>: 'str' object has no attribute 'decode'
Fixed with: git commit 1ebcb3654looo wrote: ↑Tue Jan 08, 2019 9:29 am Exporting as .obj file:
Code: Select all
Traceback (most recent call last): File "<string>", line 4, in <module> File "/home/lo/conda/envs/dakota/Mod/Arch/importOBJ.py", line 159, in export vlist,elist,flist = getIndices(obj.Shape,offset) File "/home/lo/conda/envs/dakota/Mod/Arch/importOBJ.py", line 71, in getIndices FreeCAD.Console.PrintWarning(translate("Arch","Found a shape containing curves, triangulating").decode('utf8')+"\n") <class 'AttributeError'>: 'str' object has no attribute 'decode'