unicode error utf-8 using clone CloneConvert.FCMacro
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
unicode error utf-8 using clone CloneConvert.FCMacro
Hello another small problem occurs using FreeCAD 0.18 with CloneConvert.FCMacro: unicode error utf-8.
The Version 0.18 is single and new on the PC. The macro was installed today.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
any ideas?
norus
The Version 0.18 is single and new on the PC. The macro was installed today.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
any ideas?
norus
- Attachments
-
- FreeCAD_CloneConvert_utf_8.PNG (43.75 KiB) Viewed 1096 times
Re: unicode error utf-8 using clone CloneConvert.FCMacro
Did you follow the advice in Addon Manager that you have to install it manually?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: unicode error utf-8 using clone CloneConvert.FCMacro
Yes I did but now I see GitPython not installed! Cannot retrieve macros from git.
I have to look for it.
thank´s norus
I have to look for it.
thank´s norus
Re: unicode error utf-8 using clone CloneConvert.FCMacro
github was installed:
https://forum.freecadweb.org/viewtopic.php?f=3&t=39353
the error is the same as before:
where is my fail?
norus
https://forum.freecadweb.org/viewtopic.php?f=3&t=39353
the error is the same as before:
where is my fail?
norus
- Attachments
-
- FreeCAD_CloneConvert_github.PNG (50.91 KiB) Viewed 1071 times
Re: unicode error utf-8 using clone CloneConvert.FCMacro
strange this problem doesn't occure in linux, but I can reproduce with windows.
to fix the issue:
- macros
- select cloneconvert
- press edit
- go to line 433
- replace the <?> with a µ (ctrl m)
to fix the issue:
- macros
- select cloneconvert
- press edit
- go to line 433
- replace the <?> with a µ (ctrl m)
Re: unicode error utf-8 using clone CloneConvert.FCMacro
Oh my dear, there is no ? at 433, -> very strange
- Attachments
-
- FreeCAD_cloneConvert_433.PNG (54.3 KiB) Viewed 1059 times
Re: unicode error utf-8 using clone CloneConvert.FCMacro
sorry, sorry, I found it. the picture is FCInfo, my mistake.
excuse me.
It works, you saved my day.
norus
excuse me.
It works, you saved my day.
norus
Re: unicode error utf-8 using clone CloneConvert.FCMacro
I don't see <?> it in the macro source in mario52's gist.
Code: Select all
self.comboBox.setItemText(7, _translate("MainWindow", "µm", None)) #µm # micro = 0.001
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: unicode error utf-8 using clone CloneConvert.FCMacro
hi
i upgrade the macro cloneConvert and i replace the (the change "grandeur" in comboBox not work)
by (also µm to um many problem)
now work until
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18213 (Git)
Build type: Release
Branch: master
Hash: 22babc09954ac6fda9135ee71d68550921659b1c
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
try this, download with addonManager the macro ZTest Over 128 , open it with one text editor OpenOffice ... read the file,
after open it with FC macro editor and see the "�" and the error on execute
mario
i upgrade the macro cloneConvert and i replace the (the change "grandeur" in comboBox not work)
Code: Select all
self.comboBox.setItemText(7, _translate("MainWindow", "µm", None)) #µm # micro = 0.001
Code: Select all
self.comboBox.setItemText(7, "um") #um # micro = 0.001
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18213 (Git)
Build type: Release
Branch: master
Hash: 22babc09954ac6fda9135ee71d68550921659b1c
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
see Fehler in Version 0.19 pre ??
try this, download with addonManager the macro ZTest Over 128 , open it with one text editor OpenOffice ... read the file,
after open it with FC macro editor and see the "�" and the error on execute
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.