Errors using gerbil
Quote from sumbloke on February 11, 2018, 4:10 amHi, 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
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
Quote from sumbloke on February 11, 2018, 4:34 amI 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.
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.
Quote from Paul on March 19, 2018, 1:38 amAhh you are using XP. It might be the FTDI driver. Check the ftdi website if there is an old xp driver available
Ahh you are using XP. It might be the FTDI driver. Check the ftdi website if there is an old xp driver available