EDIT YOUR PROFILE HERE

Please or Register to create posts and topics.

Errors using gerbil

Hi, I've just set up the hardware for my Gerbil, but the two computers I've tried to use it with don't seem to connect. I'm using older computers, I haven't bought a new one in quite a while (because the old ones work fine). Unfortunately, these errors don't tell me anything useful about what's wrong.

On the first one (running Windows XP), I got the following error:

Traceback (most recent call last):

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

import serial

File "C:\Program Files\Inkscape\python\lib\site-packages\serial\__init__.py", line 27, in <module>

from serial.serialwin32 import Serial

File "C:\Program Files\Inkscape\python\lib\site-packages\serial\serialwin32.py", line 15, in <module>

from serial import win32

File "C:\Program Files\Inkscape\python\lib\site-packages\serial\win32.py", line 182, in <module>

CancelIoEx = _stdcall_libraries['kernel32'].CancelIoEx

File "C:\Program Files\Inkscape\python\Lib\ctypes\__init__.py", line 375, in __getattr__

func = self.__getitem__(name)

File "C:\Program Files\Inkscape\python\Lib\ctypes\__init__.py", line 380, in __getitem__

func = self._FuncPtr((name_or_ordinal, self))

AttributeError: function 'CancelIoEx' not found

 

On the second computer (running Windows Vista):

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 3106, in gcodetocontroller

s = serial.Serial(port[0],BAUD_RATE)

IndexError: list index out of range

I found another thread which pointed out one issue I'd had, which was that I seem to have grabbed a charging cable. The XP computer still gives yhe same error, though.

Ahh you are using XP. It might be the FTDI driver. Check the ftdi website if there is an old xp driver available

Cheers, Paul awesome.tech

Forum Registration

EDIT YOUR PROFILE HERE