View Revisions: Issue #1767

Summary 0001767: Added an angular dimension and it doesn't work
Revision 2014-09-29 19:43 by yorik
Description Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3470, in attach
    self.updateData(vobj.Object,None)
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)

Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3659, in onChanged
    self.updateData(vobj.Object, None)
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)

Revision 2014-09-29 16:55 by more11
Description Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3470, in attach
    self.updateData(vobj.Object,None)
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3659, in onChanged
    self.updateData(vobj.Object, None)
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3659, in onChanged
    self.updateData(vobj.Object, None)
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3659, in onChanged
    self.updateData(vobj.Object, None)
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3659, in onChanged
    self.updateData(vobj.Object, None)
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3659, in onChanged
    self.updateData(vobj.Object, None)
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3659, in onChanged
    self.updateData(vobj.Object, None)
  File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Draft\Draft.py", line 3506, in updateData
    self.string = DraftGui.displayExternal(a,obj.ViewObject.Decimals,'Angle',su).decode("latin1").encode("utf8")
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xb0' in position 6: ordinal not in range(128)