Home › Evil Mad Scientist Forums › AxiDraw › Trying to plot some sketches but always a stop with: IndexError: string index out of range
- This topic has 2 replies, 2 voices, and was last updated 8 years ago by tttp.
-
AuthorPosts
-
October 25, 2016 at 2:11 pm #20579tttpParticipant
I just received my plotter
Excited with the first test, but every time I try to make a drawing the plotter stop with an error
Macosx Capitan
Inkscape 0.91 r13725Please any help?
best from spain
daniTraceback (most recent call last):
File “axidraw.py”, line 2047, in <module>
e.affect()
File “/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py”, line 268, in affect
self.effect()
File “axidraw.py”, line 253, in effect
self.plotDocument()
File “axidraw.py”, line 519, in plotDocument
self.recursivelyTraverseSvg( self.svg, self.svgTransform )
File “axidraw.py”, line 584, in recursivelyTraverseSvg
self.recursivelyTraverseSvg( node, matNew, parent_visibility=v )
File “axidraw.py”, line 584, in recursivelyTraverseSvg
self.recursivelyTraverseSvg( node, matNew, parent_visibility=v )
File “axidraw.py”, line 584, in recursivelyTraverseSvg
self.recursivelyTraverseSvg( node, matNew, parent_visibility=v )
File “axidraw.py”, line 584, in recursivelyTraverseSvg
self.recursivelyTraverseSvg( node, matNew, parent_visibility=v )
File “axidraw.py”, line 584, in recursivelyTraverseSvg
self.recursivelyTraverseSvg( node, matNew, parent_visibility=v )
File “axidraw.py”, line 641, in recursivelyTraverseSvg
self.plotPath( node, matNew )
File “axidraw.py”, line 1051, in plotPath
self.PlanTrajectory(singlePath)
File “axidraw.py”, line 1343, in PlanTrajectory
self.plotSegmentWithVelocity( inputPath[0] , inputPath[1] ,TrajVels[i-1] , TrajVels)
File “axidraw.py”, line 1827, in plotSegmentWithVelocity
if strButton[0] == ‘1’: #button pressed
IndexError: string index out of rangeOctober 25, 2016 at 4:09 pm #22668Windell OskayKeymasterWhile it doesn’t say so directly, this error actually indicates that there has been a communication error with the machine. Most often, we have seen this kind of thing when someone is using either (1) an extra long USB cable (2) an extra thin USB cable, or (3) a USB extension cord, but there are some other things that might cause this. If you are using a cable like one of those, you might try using the one that came in the box. If you are using the cable that came in the box, you might try a different cable (if one is handy), just to rule out that it isn’t our cable that is defective.
If the machine is behaving itself otherwise, we do have a newer version of the software that you might try, which catches and can “ride over” some of these nonfatal bumps. (The software is available on github, but if you e-mail us through our contact form, we can e-mail the full bundle to you, and that’s likely easier.)October 25, 2016 at 5:12 pm #22669tttpParticipantOk,
thanks,
I am using the cable that came in the box
But I am going to try with another cableI sent already a mail, thanks
d -
AuthorPosts
- You must be logged in to reply to this topic.