Crash on angular dimensions tool

A forum dedicated to the Draft, Arch and BIM workbenches development.
User avatar
rockn
Posts: 1561
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Crash on angular dimensions tool

Postby rockn » Tue Jul 01, 2014 2:35 pm

Hi Yorik, hi everyone,
In Arch and Draft workbench FreeCAD crash when I want to add an angular dimension.

I set a workplane to XY+0.
I draw two lines that intersect.
I activate the dimension tool.
I press Ctrl + Alt and I select the two lines.
FC close himself with this message :

Code: Select all

jo@jo-desktop-trusty:~/Logiciels/FreeCAD/free-cad-code/build$ ./bin/FreeCAD
FreeCAD 0.14, Libs: 0.14R3691 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Draft workbench activated
Sélectionnez une face pour définir un plan de travailIndiquez le premier point :
Indiquez le point suivant :
Indiquez le premier point :
Indiquez le point suivant :
Indiquez le premier point :
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3465, in attach
    self.updateData(vobj.Object,None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3653, in onChanged
    self.updateData(vobj.Object, None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3653, in onChanged
    self.updateData(vobj.Object, None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3653, in onChanged
    self.updateData(vobj.Object, None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3653, in onChanged
    self.updateData(vobj.Object, None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3500, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
FreeCAD: SoAsciiText.cpp:870: void SoAsciiTextP::setUpGlyphs(SoState*, SoAsciiText*): Assertion `length' failed.
Abandon (core dumped)

Code: Select all

OS: Ubuntu 14.04 LTS
Word size: 64-bit
Version: 0.14.3691 (Git)
Branch: master
Hash: 691fd1128672c8bd472cece87c9e9d07b71d6fee
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.0
Formations et tutoriels FreeCAD en Français, soutenez moi : https://www.tipeee.com/formations-freecad
jmaustpc
Posts: 9515
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Crash on angular dimensions tool

Postby jmaustpc » Tue Jul 01, 2014 3:39 pm

I don't seem to be able to get it to crash here

OS: Ubuntu 14.04 LTS
Word size: 64-bit
Version: 0.14.3691 (Git)
Branch: master
Hash: 691fd1128672c8bd472cece87c9e9d07b71d6fee
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.0
User avatar
rockn
Posts: 1561
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: Crash on angular dimensions tool

Postby rockn » Tue Jul 01, 2014 3:45 pm

Thanks to look at it jmaustpc.

Could it be my environnement, or my compilation ?

I experienced different error with placement tools like move. And some crash with workplane adjustement.

:?
Formations et tutoriels FreeCAD en Français, soutenez moi : https://www.tipeee.com/formations-freecad
User avatar
shoogen
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Crash on angular dimensions tool

Postby shoogen » Tue Jul 01, 2014 4:02 pm

Code: Select all

FreeCAD: SoAsciiText.cpp:870: void SoAsciiTextP::setUpGlyphs(SoState*, SoAsciiText*): Assertion `length' failed.
Smells like some character encoding issue to me.
jmaustpc
Posts: 9515
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Crash on angular dimensions tool

Postby jmaustpc » Tue Jul 01, 2014 4:02 pm

rockn wrote:Thanks to look at it jmaustpc.

Could it be my environnement, or my compilation ?

I experienced different error with placement tools like move. And some crash with workplane adjustement.

:?
I just tried a few things in the Draft workbench and finally got a crash and also noticed that working plane offset does not seem to be working, i.e. I can't seem to set the working plane to for example xy +10mm.

I seem to be able to change the working plane without any problems.

I got the crash when I set the view perpendicular to the working plane and then tried to draw a Draft circle...however I can't repeat the crash.
User avatar
yorik
Site Admin
Posts: 11367
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: Crash on angular dimensions tool

Postby yorik » Wed Jul 02, 2014 1:32 am

Doh! First post-release obvious bug :cry:
Fixed now in git commit 1124a57
razor49
Posts: 16
Joined: Sun Apr 27, 2014 10:46 am

Re: Crash on angular dimensions tool

Postby razor49 » Wed Jul 02, 2014 7:38 am

OS: Ubuntu 13.10
Word size: 32-bit
Version: 0.14.3686 (Git)
Branch: master
Hash: 17c99eb6b03ae99e8966e7906d1d8b19944001b2
Python version: 2.7.5+
Qt version: 4.8.4
Coin version: 4.0.0a
SoQt version: 1.5.0

I get the same crash as per the log by rockn

Here is my log
Pick first point:
[Thread 0x9e46fb40 (LWP 5208) exited]
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3465, in attach
self.updateData(vobj.Object,None)
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3653, in onChanged
self.updateData(vobj.Object, None)
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3653, in onChanged
self.updateData(vobj.Object, None)
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3653, in onChanged
self.updateData(vobj.Object, None)
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3653, in onChanged
self.updateData(vobj.Object, None)
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 3500, in updateData
self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su)
<type 'exceptions.NameError'>: global name 'DraftGui' is not defined
freecad: SoAsciiText.cpp:870: void SoAsciiTextP::setUpGlyphs(SoState*, SoAsciiText*): Assertion `length' failed.
User avatar
rockn
Posts: 1561
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: Crash on angular dimensions tool

Postby rockn » Wed Jul 02, 2014 7:53 am

yorik wrote:Doh! First post-release obvious bug :cry:
Fixed now in git commit 1124a57
Now I get this message :

Code: Select all

jo@jo-desktop-trusty:~/Logiciels/FreeCAD/free-cad-code/build/bin$ ./FreeCAD
FreeCAD 0.14, Libs: 0.14R3691 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Arch workbench activated
Pick first point:
Pick a face to define the drawing plane
Pick first point:
Pick next point:
Pick first point:
Pick next point:
Pick first point:
Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3465, in attach
    self.updateData(vobj.Object,None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3654, in onChanged
    self.updateData(vobj.Object, None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3654, in onChanged
    self.updateData(vobj.Object, None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3654, in onChanged
    self.updateData(vobj.Object, None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3654, in onChanged
    self.updateData(vobj.Object, None)
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

Traceback (most recent call last):
  File "/home/jo/Logiciels/FreeCAD/free-cad-code/build/Mod/Draft/Draft.py", line 3513, in updateData
    self.text.string = self.text3d.string = self.string
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__
    field.setValue(value)
  File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 27371, in setValue
    return _coin.SoMFString_setValue(self, *args)
<type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
  Possible C/C++ prototypes are:
    SoMFString::setValue(SbString const &)
    SoMFString::setValue(char const *)
    SoMFString::setValue(SoMFString const *)

FreeCAD: SoAsciiText.cpp:870: void SoAsciiTextP::setUpGlyphs(SoState*, SoAsciiText*): Assertion `length' failed.
Abandon (core dumped)
Formations et tutoriels FreeCAD en Français, soutenez moi : https://www.tipeee.com/formations-freecad
jmaustpc
Posts: 9515
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Crash on angular dimensions tool

Postby jmaustpc » Wed Jul 02, 2014 11:19 am

razor49 wrote:OS: Ubuntu 13.10
Word size: 32-bit
Version: 0.14.3686 (Git)
Branch: master
Hash: 17c99eb6b03ae99e8966e7906d1d8b19944001b2
Python version: 2.7.5+
Qt version: 4.8.4
Coin version: 4.0.0a
SoQt version: 1.5.0

I get the same crash as per the log by rockn
your version is out of date, 0.14.3686 ....Yorik made the fix after your version....see 0.14.3692

Unless you compiled it yourself and did not first run "cmake space dot"?
jmaustpc
Posts: 9515
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Crash on angular dimensions tool

Postby jmaustpc » Wed Jul 02, 2014 12:12 pm

Still working for me, of course if it is a ascii character related issue, being an English system, my system probably wouldn't show up the issue.

OS: Kubuntu 14.04 LTS
Word size: 64-bit
Version: 0.14.3692 (Git)
Branch: master
Hash: 1124a5751456ac6b8f9d6f1b470281ca67e572e2
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.1