Author |
Topic  |
|
CHIA001
4 Posts |
Posted - Feb 11 2022 : 09:52:05
|
I have build a FreeCAD model for FastHenry and I want to create a FastHenry input file but when I click the bottom ,"Create a FastHenry input file", the report view show the following message.
<Exception> UTF8 conversion failure at PropertyPath::getPyObject() 16:39:37 Running the Python command 'EM_FHInputFile' failed: Traceback (most recent call last): File "C:\Users\User\AppData\Roaming\FreeCAD\Mod\EM\EM_FHInputFile.py", line 187, in Activated FreeCADGui.doCommand('obj=EM.createFHInputFile(App.ActiveDocument)') File "<string>", line 1, in <module> File "C:\Users\User\AppData\Roaming\FreeCAD\Mod\EM\EM_FHInputFile.py", line 103, in createFHInputFile if solver.Folder == "":
UTF8 conversion failure at PropertyPath::getPyObject()
I install FastHenry & FreeCAD at D drive not at default path. And I try to change my device language to English still not work. |
|
Enrico
545 Posts |
Posted - Feb 11 2022 : 15:21:38
|
As the exception information reports, the issue seems linked to the check
if solver.Folder == "":
Is your solver object created and valid?
Can you try to manually set the Folder property of your solver object to some path which is not empty and see what happens?
In this context, can you provide also the information about FreeCAD version? Just go "Help->About FreeCAD" menu and press "Copy to clipboard", then paste here.
Best Regards, Enrico
|
 |
|
CHIA001
4 Posts |
Posted - Feb 11 2022 : 16:24:12
|
Thanks for your help. Finally I found that my solver's path with Chinese word. I think this is the reason why " solver.Folder == "" ".
Thanks a lot, Jason |
 |
|
Enrico
545 Posts |
Posted - Feb 11 2022 : 16:59:53
|
Oh I see. So the problem is not the E.M. Workbench but a more general problem with the text properties that are limited to contain UTF8 characters (that of course do not include Chinese characters).
Thanks for the update.
Enrico
|
 |
|
|
Topic  |
|
|
|