TypeError: descriptor ‘isdigit’ requires a ‘str’ object but received a ‘unicode’

Home Evil Mad Scientist Forums Egg-Bot TypeError: descriptor ‘isdigit’ requires a ‘str’ object but received a ‘unicode’

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #20213
    patric
    Participant

    I had this error (full quote at the end of this message). I found the following thread in the old forum:

    I had that problem too. At the end of layer one (before going back into the beginning position) everything stopped. No possibility to pause or reset :-/
    I think I found what caused the error. I had named the next layer “grĂ¼n” (green in german). Seems like one of the software parts of the whole system does not like Umlauts, so beware of naming your layers with non-ASCII fonts!
    After deleting all those umlauts everything went fine! 
    HTH, Patric
    **** (nearly) full error quote ****
    Traceback (most recent call last):

    (…)

    self.plotToEggBot()
    File “eggbot.py”, line 546, in plotToEggBot
    self.recursivelyTraverseSvg( self.svg, self.svgTransform )
    File “eggbot.py”, line 605, in recursivelyTraverseSvg
    self.DoWePlotLayer( node.get( inkex.addNS( ‘label’, ‘inkscape’ ) ) )
    File “eggbot.py”, line 958, in DoWePlotLayer
    if str.isdigit( CurrentLayerName[:stringPos] ):
    TypeError: descriptor ‘isdigit’ requires a ‘str’ object but received a ‘unicode’

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.