FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 E.M. Workbench
 A problem of "Create a FastHenry input file"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

CHIA001

4 Posts

Posted - Feb 11 2022 :  09:52:05  Show Profile  Reply with Quote
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

532 Posts

Posted - Feb 11 2022 :  15:21:38  Show Profile  Reply with Quote
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



Go to Top of Page

CHIA001

4 Posts

Posted - Feb 11 2022 :  16:24:12  Show Profile  Reply with Quote
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
Go to Top of Page

Enrico

532 Posts

Posted - Feb 11 2022 :  16:59:53  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06