FEM bug - not starting with region fonts
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
FEM bug - not starting with region fonts
Solver doesn't start (cannot create file) while name of file has region fonts (should have UTF-8 coding?).
Re: FEM bug - not starting with region fonts
would you copy the FrerCAD error message
Re: FEM bug - not starting with region fonts
@efyx also for @bernd's and posterity sake, please always post your Help > About FreeCAD > Copy to clipboard info when you post asking for help. Thanks
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: FEM bug - not starting with region fonts
Unexpected error when writing CalculiX input file: <type 'exceptions.UnicodeEncodeError'>
Traceback (most recent call last):
File "C:\Program Files\FreeCAD_0.18.14779_x64_dev_win\Mod\Fem\femtools\ccxtools.py", line 680, in run
self.write_inp_file()
File "C:\Program Files\FreeCAD_0.18.14779_x64_dev_win\Mod\Fem\femtools\ccxtools.py", line 550, in write_inp_file
self.inp_file_name = inp_writer.write_calculix_input_file()
File "C:\Program Files\FreeCAD_0.18.14779_x64_dev_win\Mod\Fem\femsolver\calculix\writer.py", line 76, in write_calculix_input_file
self.write_calculix_one_input_file()
File "C:\Program Files\FreeCAD_0.18.14779_x64_dev_win\Mod\Fem\femsolver\calculix\writer.py", line 165, in write_calculix_one_input_file
self.write_footer(inpfile)
File "C:\Program Files\FreeCAD_0.18.14779_x64_dev_win\Mod\Fem\femsolver\calculix\writer.py", line 1096, in write_footer
f.write('** file name --> ' + os.path.basename(FreeCAD.ActiveDocument.FileName) + '\n')
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0142' in position 26: ordinal not in range(128)
File after changed instead of "ł" to "l" works good.
Re: FEM bug - not starting with region fonts
- Attachments
-
- test_ł.FCStd
- (12.26 KiB) Downloaded 36 times
Re: FEM bug - not starting with region fonts
issue #3629
confirmed on
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14957 (Git)
Build type: Release
Branch: master
Hash: 22513600ddc11a8d0d392f67225d443b7dc2e5bb
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Switzerland (de_CH)
confirmed on
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14957 (Git)
Build type: Release
Branch: master
Hash: 22513600ddc11a8d0d392f67225d443b7dc2e5bb
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Switzerland (de_CH)