problems trying to cut

Quote

I have installed Gerbil as well as the inkscape plugins and when I try to cut the laser fires a couple of times then I get this message from inkscape -

Inkscape has received additional data from the script executed.  The script did not return an error, but this may indicate the results will not be as expected.

Traceback (most recent call last):

File "laser.py", line 3367, in <module>

e.affect()

File "C:\Program Files\Inkscape\share\extensions/inkex.py", line 283, in affect

self.effect()

File "laser.py", line 3361, in effect

if self.options.stream == True : self.gcodetocontroller((self.serial_ports()),((self.options.directory+self.options.file)),((self.options.directory+self.options.file+"_log")))

File "laser.py", line 3113, in gcodetocontroller

s.write("\r\n\r\n")

File "C:\Program Files\Inkscape\lib\python2.7\site-packages/serial/serialwin32.py", line 323, in write

raise writeTimeoutError

serial.serialutil.SerialTimeoutException: Write timeout

any ideas on what I am doing wrong?

Thanks

Justin

Quote

Most of these are stemming from libraries which are not compatible. Make sure you install version 0.92 and not 0.92.2.

Quote

Paul,

How do the plugins determine which USB port the Gerbil is connected to? I'm using Linux Mint with inkscape. The cutting plugin generates a gcode file but I can't stream to the Gerbil, see error below. Is this similar to the issue above?

 

Traceback (most recent call last):
File "laser.py", line 3367, in <module>
e.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 268, in affect
self.effect()
File "laser.py", line 3361, in effect
if self.options.stream == True : self.gcodetocontroller((self.serial_ports()),((self.options.directory+self.options.file)),((self.options.directory+self.options.file+"_log")))
File "laser.py", line 3234, in serial_ports
ports = glob.glob('/dev/tty[A-Za-z]*')
NameError: global name 'glob' is not defined

Quote

Hi Peter, Gerbil runs a loop for scanning all the usb ports and then assigns the first found port to the plugin. I have not used linux with Inkscape (just Mac and Win). Although I do have worked with linux.

Let me look into it, it seems to me that a var is not defined in linux. Hopefully someone else with linux experience can tell us a bit more otherwise have a bit patience while I hunt down that incompatibility issue. Cheers!

Forum Registration

Edit Profile