Страница 1 из 1

can't generate anymore (ascii codec can't encode)

Добавлено: 23 апр 2015, 11:06
tecdroid
Hi,

i didn't use my cnc for some weeks- got other problems..
Now I want to build a banana pi case as birthday present for my brother but i can't generate the gcode.

this is the output i got..
Traceback (most recent call last):
File "gcodetools.py", line 6749, in <module>
gcodetools.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 221, in affect
self.effect()
File "gcodetools.py", line 6661, in effect
self.get_info()
File "gcodetools.py", line 4283, in get_info
recursive_search(self.document.getroot(),self.document.getroot())
File "gcodetools.py", line 4238, in recursive_search
recursive_search(i,i)
File "gcodetools.py", line 4246, in recursive_search
self.error(_("Warning! Found bad orientation points in '%s' layer. Resulting Gcode could be corrupt!") % layer.get(inkex.addNS('label','inkscape')), "bad_orientation_points_in_some_layers")
File "gcodetools.py", line 4136, in error
s = str(s)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 43: ordinal not in range(128)
Hope you can help, i need it until sunday...

Edit: I'm attaching the file i want to generate.. maybe this helps..

Re: can't generate anymore (ascii codec can't encode)

Добавлено: 23 апр 2015, 18:11
Nick
Try to rename your layers - probably they have some "bad" characters...

Or just copy everything you need into new document.

Re: can't generate anymore (ascii codec can't encode)

Добавлено: 24 апр 2015, 10:30
tecdroid
this worked,
thanks XD