2021-07-12T15:02:51,249 Created temporary directory: /tmp/pip-ephem-wheel-cache-6bd86fjw 2021-07-12T15:02:51,253 Created temporary directory: /tmp/pip-req-tracker-uu_8bshj 2021-07-12T15:02:51,253 Initialized build tracking at /tmp/pip-req-tracker-uu_8bshj 2021-07-12T15:02:51,253 Created build tracker: /tmp/pip-req-tracker-uu_8bshj 2021-07-12T15:02:51,254 Entered build tracker: /tmp/pip-req-tracker-uu_8bshj 2021-07-12T15:02:51,254 Created temporary directory: /tmp/pip-wheel-nc8zpsud 2021-07-12T15:02:51,287 1 location(s) to search for versions of usb1208fs: 2021-07-12T15:02:51,287 * https://pypi.org/simple/usb1208fs/ 2021-07-12T15:02:51,288 Fetching project page and analyzing links: https://pypi.org/simple/usb1208fs/ 2021-07-12T15:02:51,288 Getting page https://pypi.org/simple/usb1208fs/ 2021-07-12T15:02:51,290 Found index url https://pypi.org/simple 2021-07-12T15:02:51,387 Found link https://files.pythonhosted.org/packages/2e/58/0b310277cf7c1b739ba6c5a68c32f0a8de9846decaa22d22f69fc792fbfa/usb1208fs-0.1.1.tar.gz#sha256=d252a3204ce3748fff79d8a14e45a0fbe9ca17cef59b01cba583fed3195ae0a6 (from https://pypi.org/simple/usb1208fs/), version: 0.1.1 2021-07-12T15:02:51,387 Found link https://files.pythonhosted.org/packages/17/31/ff73441a0c3dea4ced7ac8d4885751dac5a838c2b7462f1b03f33dd23539/usb1208fs-0.1.2.tar.gz#sha256=1b659bf364bd5d0c645ff9e08d8a4d51bcebcf6f17cbba9552a6a0f319e003f0 (from https://pypi.org/simple/usb1208fs/), version: 0.1.2 2021-07-12T15:02:51,388 Found link https://files.pythonhosted.org/packages/4a/27/d32c50d07670ea4bbabe0c8d7fc1b1c37a8d89a3e1038e462b4c7e057bcb/usb1208fs-0.1.3.tar.gz#sha256=928d1593d500b1b0961eae6fc3140dea5b9d32082191d8a5f55b88166fc1797f (from https://pypi.org/simple/usb1208fs/), version: 0.1.3 2021-07-12T15:02:51,388 Found link https://files.pythonhosted.org/packages/0c/66/0354b0a72a8e60001de48651f7e6aedf8b96b87750ad9b2294e841c883f8/usb1208fs-0.1.3.post0.tar.gz#sha256=659e7c6011932d8dda0c084148121ba97905270ab4f6635ca56fcc49a510aae7 (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post0 2021-07-12T15:02:51,388 Found link https://files.pythonhosted.org/packages/06/9f/823fcc527e318fec364590cb8468848c11a18aa125ba5b746830724f39fe/usb1208fs-0.1.3.post1.tar.gz#sha256=5c114fadcbd36a5e8dc72e95af3b37e716e0397ff20fc5a5c639975baf2c7636 (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post1 2021-07-12T15:02:51,389 Found link https://files.pythonhosted.org/packages/10/02/016aa2bc9f643277cffecc487c61c146f0718f3ddc74abf738d73a14d93a/usb1208fs-0.1.3.post2.tar.gz#sha256=759bd7563bdb37729f917ceeec185cd268ceb7995ccde5b2256a2e6c1ee935dc (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post2 2021-07-12T15:02:51,389 Found link https://files.pythonhosted.org/packages/96/27/f0f06d4ce489ccc76b0d321dbb37ac4016b9746e77e6ea0db3a63530d623/usb1208fs-0.1.3.post3.tar.gz#sha256=9d69e4231f5ae41b19ee4bbbb2490c8b41c6d357adfa75d3158f49d688e36951 (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post3 2021-07-12T15:02:51,389 Found link https://files.pythonhosted.org/packages/9e/2e/16db9fba77dc75447a6265d3b701885361a2d54990302903f5039fd126c1/usb1208fs-0.1.3.post4.tar.gz#sha256=d28ad2b0f72029406a8a34313356ca3c48492e65d88a9c85c3d5e5134a33addc (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post4 2021-07-12T15:02:51,389 Found link https://files.pythonhosted.org/packages/0c/99/b6631d35a079c5d406141b308a2139342f4e5b56266f6cfbae2c6c60bccb/usb1208fs-0.1.3.post5.tar.gz#sha256=a4e0dd6fa38d29008db7e84198cb53f7f5e65e4dbd351ee45d6ec4467c267dd5 (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post5 2021-07-12T15:02:51,390 Found link https://files.pythonhosted.org/packages/65/96/485493e19fd71f10745633aeb224c567a1625a20e40a7345e0ff364bf81e/usb1208fs-0.1.3.post6.tar.gz#sha256=cb0f5a9cf786ca58cdd7edc5ed01a872fd0b98d7102c7aec438379a14d97b902 (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post6 2021-07-12T15:02:51,390 Found link https://files.pythonhosted.org/packages/ed/7a/86b16d8d55007cdc85f3f0577ae1dc9dc8d76b7c56ca5e29f1ed03e5c00d/usb1208fs-0.1.3.post7.tar.gz#sha256=a46d9051fa0287977fa9cfa9d152a4b1c3dfe08aeb121367c94659ea581cc3d6 (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post7 2021-07-12T15:02:51,390 Found link https://files.pythonhosted.org/packages/c0/e6/e7d12019cee0b8e817f5b6bcd5391c804f9de2a7d360729c7e53cee72f4e/usb1208fs-0.1.3.post8.tar.gz#sha256=5bc2edd212284440367af9a8cbd9d52be33bf065c74ce07b62cc800d9d383421 (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post8 2021-07-12T15:02:51,390 Found link https://files.pythonhosted.org/packages/0d/fa/d732c6ad27e0d8367addec1536f1082c59e46ba191ecdf01cacd13648377/usb1208fs-0.1.3.post9.tar.gz#sha256=1748e06fd25513ba2f5c5c86d7ae6c4da54d9a8e5ef0dbb10ac0fa2d29b18ac6 (from https://pypi.org/simple/usb1208fs/), version: 0.1.3.post9 2021-07-12T15:02:51,391 Found link https://files.pythonhosted.org/packages/03/85/f6877abb914120620d2a64f387873039ffeb0ab62a9c6a70a716f38be056/usb1208fs-0.1.4.tar.gz#sha256=e481762d397449fdae18d692e1a170687bbfb6c785ac26a273cdde525119d49f (from https://pypi.org/simple/usb1208fs/), version: 0.1.4 2021-07-12T15:02:51,391 Found link https://files.pythonhosted.org/packages/24/12/e7cb65c699bb21c7b8adfea6d0758d34f911498b701ae2d928eeb56df086/usb1208fs-0.2.0.post0.tar.gz#sha256=e99c9824f5d909cc8c73d5d1c6eb8a1fdcc3a494726789ac3a3e6a79ecd7340f (from https://pypi.org/simple/usb1208fs/), version: 0.2.0.post0 2021-07-12T15:02:51,392 Found link https://files.pythonhosted.org/packages/77/75/764ae932cf1808bdd1c5d136fb5000c459d58bcb888a388b9aadd6185eba/usb1208fs-0.2.0.post1.tar.gz#sha256=5315d51485a4c5eda19509c1d1336f239dda6fe1ad1de56b9b6886c7f512cdb9 (from https://pypi.org/simple/usb1208fs/), version: 0.2.0.post1 2021-07-12T15:02:51,392 Skipping link: not a file: https://pypi.org/simple/usb1208fs/ 2021-07-12T15:02:51,412 Given no hashes to check 1 links for project 'usb1208fs': discarding no candidates 2021-07-12T15:02:51,431 Collecting usb1208fs==0.1.3.post1 2021-07-12T15:02:51,432 Created temporary directory: /tmp/pip-unpack-3r1s4f60 2021-07-12T15:02:51,616 Downloading usb1208fs-0.1.3.post1.tar.gz (83 kB) 2021-07-12T15:02:51,716 Added usb1208fs==0.1.3.post1 from https://files.pythonhosted.org/packages/06/9f/823fcc527e318fec364590cb8468848c11a18aa125ba5b746830724f39fe/usb1208fs-0.1.3.post1.tar.gz#sha256=5c114fadcbd36a5e8dc72e95af3b37e716e0397ff20fc5a5c639975baf2c7636 to build tracker '/tmp/pip-req-tracker-uu_8bshj' 2021-07-12T15:02:51,717 Running setup.py (path:/tmp/pip-wheel-nc8zpsud/usb1208fs_6d9579fd20fc4163a840d8324fb4f005/setup.py) egg_info for package usb1208fs 2021-07-12T15:02:51,718 Created temporary directory: /tmp/pip-pip-egg-info-i2ysgbg2 2021-07-12T15:02:51,718 Running command python setup.py egg_info 2021-07-12T15:02:53,633 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-nc8zpsud/usb1208fs_6d9579fd20fc4163a840d8324fb4f005/usb1208fs/usb1208fs.pyx 2021-07-12T15:02:53,634 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-12T15:02:54,036 Error compiling Cython file: 2021-07-12T15:02:54,036 ------------------------------------------------------------ 2021-07-12T15:02:54,036 ... 2021-07-12T15:02:54,036 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 2021-07-12T15:02:54,037 from __future__ import print_function 2021-07-12T15:02:54,037 from libc.stdlib cimport malloc, free 2021-07-12T15:02:54,037 from libc.stdint cimport uint8_t, uint16_t, uint32_t, int16_t 2021-07-12T15:02:54,037 cimport c1208fs 2021-07-12T15:02:54,037 ^ 2021-07-12T15:02:54,037 ------------------------------------------------------------ 2021-07-12T15:02:54,037 usb1208fs/usb1208fs.pyx:24:8: 'c1208fs.pxd' not found 2021-07-12T15:02:55,112 Error compiling Cython file: 2021-07-12T15:02:55,112 ------------------------------------------------------------ 2021-07-12T15:02:55,112 ... 2021-07-12T15:02:55,112 data {np.ndarray *} - output array for data. Need to be allocated 2021-07-12T15:02:55,113 on the heap 2021-07-12T15:02:55,113 Constants are from usb-1208FS.h""" 2021-07-12T15:02:55,113 cdef libusb_device_handle * udev 2021-07-12T15:02:55,113 ^ 2021-07-12T15:02:55,113 ------------------------------------------------------------ 2021-07-12T15:02:55,113 usb1208fs/usb1208fs.pyx:98:9: 'libusb_device_handle' is not a type identifier 2021-07-12T15:02:55,236 Error compiling Cython file: 2021-07-12T15:02:55,236 ------------------------------------------------------------ 2021-07-12T15:02:55,236 ... 2021-07-12T15:02:55,236 cimport cython 2021-07-12T15:02:55,236 np.import_array() 2021-07-12T15:02:55,236 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:02:55,236 if libusb_init(NULL) != 0: 2021-07-12T15:02:55,237 ^ 2021-07-12T15:02:55,237 ------------------------------------------------------------ 2021-07-12T15:02:55,237 usb1208fs/usb1208fs.pyx:34:3: undeclared name not builtin: libusb_init 2021-07-12T15:02:55,237 Error compiling Cython file: 2021-07-12T15:02:55,237 ------------------------------------------------------------ 2021-07-12T15:02:55,237 ... 2021-07-12T15:02:55,238 cimport cython 2021-07-12T15:02:55,238 np.import_array() 2021-07-12T15:02:55,238 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:02:55,238 if libusb_init(NULL) != 0: 2021-07-12T15:02:55,238 ^ 2021-07-12T15:02:55,238 ------------------------------------------------------------ 2021-07-12T15:02:55,239 usb1208fs/usb1208fs.pyx:34:15: Cannot convert 'void *' to Python object 2021-07-12T15:02:55,239 Error compiling Cython file: 2021-07-12T15:02:55,239 ------------------------------------------------------------ 2021-07-12T15:02:55,239 ... 2021-07-12T15:02:55,239 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:02:55,239 if libusb_init(NULL) != 0: 2021-07-12T15:02:55,239 raise ImportError("Could not load libusb.") 2021-07-12T15:02:55,240 # constants 2021-07-12T15:02:55,240 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:02:55,240 ^ 2021-07-12T15:02:55,240 ------------------------------------------------------------ 2021-07-12T15:02:55,240 usb1208fs/usb1208fs.pyx:38:16: undeclared name not builtin: _USB1208FS_PID 2021-07-12T15:02:55,240 Error compiling Cython file: 2021-07-12T15:02:55,241 ------------------------------------------------------------ 2021-07-12T15:02:55,241 ... 2021-07-12T15:02:55,241 raise ImportError("Could not load libusb.") 2021-07-12T15:02:55,241 # constants 2021-07-12T15:02:55,241 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:02:55,241 DIO_PORTA = _DIO_PORTA 2021-07-12T15:02:55,241 ^ 2021-07-12T15:02:55,242 ------------------------------------------------------------ 2021-07-12T15:02:55,242 usb1208fs/usb1208fs.pyx:40:12: undeclared name not builtin: _DIO_PORTA 2021-07-12T15:02:55,242 Error compiling Cython file: 2021-07-12T15:02:55,242 ------------------------------------------------------------ 2021-07-12T15:02:55,242 ... 2021-07-12T15:02:55,242 # constants 2021-07-12T15:02:55,243 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:02:55,243 DIO_PORTA = _DIO_PORTA 2021-07-12T15:02:55,243 DIO_PORTB = _DIO_PORTB 2021-07-12T15:02:55,243 ^ 2021-07-12T15:02:55,243 ------------------------------------------------------------ 2021-07-12T15:02:55,243 usb1208fs/usb1208fs.pyx:41:12: undeclared name not builtin: _DIO_PORTB 2021-07-12T15:02:55,243 Error compiling Cython file: 2021-07-12T15:02:55,244 ------------------------------------------------------------ 2021-07-12T15:02:55,244 ... 2021-07-12T15:02:55,244 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:02:55,244 DIO_PORTA = _DIO_PORTA 2021-07-12T15:02:55,244 DIO_PORTB = _DIO_PORTB 2021-07-12T15:02:55,244 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:02:55,245 ^ 2021-07-12T15:02:55,245 ------------------------------------------------------------ 2021-07-12T15:02:55,245 usb1208fs/usb1208fs.pyx:43:13: undeclared name not builtin: _DIO_DIR_IN 2021-07-12T15:02:55,245 Error compiling Cython file: 2021-07-12T15:02:55,246 ------------------------------------------------------------ 2021-07-12T15:02:55,246 ... 2021-07-12T15:02:55,246 DIO_PORTA = _DIO_PORTA 2021-07-12T15:02:55,246 DIO_PORTB = _DIO_PORTB 2021-07-12T15:02:55,246 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:02:55,246 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:02:55,246 ^ 2021-07-12T15:02:55,247 ------------------------------------------------------------ 2021-07-12T15:02:55,247 usb1208fs/usb1208fs.pyx:44:14: undeclared name not builtin: _DIO_DIR_OUT 2021-07-12T15:02:55,247 Error compiling Cython file: 2021-07-12T15:02:55,247 ------------------------------------------------------------ 2021-07-12T15:02:55,247 ... 2021-07-12T15:02:55,247 DIO_PORTB = _DIO_PORTB 2021-07-12T15:02:55,248 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:02:55,248 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:02:55,248 SYNC = _SYNC 2021-07-12T15:02:55,248 ^ 2021-07-12T15:02:55,248 ------------------------------------------------------------ 2021-07-12T15:02:55,248 usb1208fs/usb1208fs.pyx:46:7: undeclared name not builtin: _SYNC 2021-07-12T15:02:55,249 Error compiling Cython file: 2021-07-12T15:02:55,249 ------------------------------------------------------------ 2021-07-12T15:02:55,249 ... 2021-07-12T15:02:55,249 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:02:55,249 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:02:55,249 SYNC = _SYNC 2021-07-12T15:02:55,249 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:02:55,250 ^ 2021-07-12T15:02:55,250 ------------------------------------------------------------ 2021-07-12T15:02:55,250 usb1208fs/usb1208fs.pyx:47:16: undeclared name not builtin: _EXT_TRIG_EDGE 2021-07-12T15:02:55,250 Error compiling Cython file: 2021-07-12T15:02:55,250 ------------------------------------------------------------ 2021-07-12T15:02:55,250 ... 2021-07-12T15:02:55,250 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:02:55,251 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:02:55,251 SYNC = _SYNC 2021-07-12T15:02:55,251 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:02:55,251 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:02:55,251 ^ 2021-07-12T15:02:55,251 ------------------------------------------------------------ 2021-07-12T15:02:55,251 usb1208fs/usb1208fs.pyx:48:14: undeclared name not builtin: _UPDATE_MODE 2021-07-12T15:02:55,252 Error compiling Cython file: 2021-07-12T15:02:55,252 ------------------------------------------------------------ 2021-07-12T15:02:55,252 ... 2021-07-12T15:02:55,252 SYNC = _SYNC 2021-07-12T15:02:55,252 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:02:55,252 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:02:55,253 SE_10_00V = _SE_10_00V 2021-07-12T15:02:55,253 ^ 2021-07-12T15:02:55,253 ------------------------------------------------------------ 2021-07-12T15:02:55,253 usb1208fs/usb1208fs.pyx:50:12: undeclared name not builtin: _SE_10_00V 2021-07-12T15:02:55,253 Error compiling Cython file: 2021-07-12T15:02:55,253 ------------------------------------------------------------ 2021-07-12T15:02:55,253 ... 2021-07-12T15:02:55,254 SYNC = _SYNC 2021-07-12T15:02:55,254 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:02:55,254 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:02:55,254 SE_10_00V = _SE_10_00V 2021-07-12T15:02:55,254 BP_20_00V = _BP_20_00V 2021-07-12T15:02:55,254 ^ 2021-07-12T15:02:55,254 ------------------------------------------------------------ 2021-07-12T15:02:55,254 usb1208fs/usb1208fs.pyx:51:12: undeclared name not builtin: _BP_20_00V 2021-07-12T15:02:55,255 Error compiling Cython file: 2021-07-12T15:02:55,255 ------------------------------------------------------------ 2021-07-12T15:02:55,255 ... 2021-07-12T15:02:55,255 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:02:55,255 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:02:55,255 SE_10_00V = _SE_10_00V 2021-07-12T15:02:55,256 BP_20_00V = _BP_20_00V 2021-07-12T15:02:55,256 BP_10_00V = _BP_10_00V 2021-07-12T15:02:55,256 ^ 2021-07-12T15:02:55,256 ------------------------------------------------------------ 2021-07-12T15:02:55,256 usb1208fs/usb1208fs.pyx:52:12: undeclared name not builtin: _BP_10_00V 2021-07-12T15:02:55,256 Error compiling Cython file: 2021-07-12T15:02:55,257 ------------------------------------------------------------ 2021-07-12T15:02:55,257 ... 2021-07-12T15:02:55,257 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:02:55,257 SE_10_00V = _SE_10_00V 2021-07-12T15:02:55,257 BP_20_00V = _BP_20_00V 2021-07-12T15:02:55,257 BP_10_00V = _BP_10_00V 2021-07-12T15:02:55,257 BP_5_00V = _BP_5_00V 2021-07-12T15:02:55,257 ^ 2021-07-12T15:02:55,257 ------------------------------------------------------------ 2021-07-12T15:02:55,258 usb1208fs/usb1208fs.pyx:53:11: undeclared name not builtin: _BP_5_00V 2021-07-12T15:02:55,258 Error compiling Cython file: 2021-07-12T15:02:55,258 ------------------------------------------------------------ 2021-07-12T15:02:55,258 ... 2021-07-12T15:02:55,258 SE_10_00V = _SE_10_00V 2021-07-12T15:02:55,258 BP_20_00V = _BP_20_00V 2021-07-12T15:02:55,259 BP_10_00V = _BP_10_00V 2021-07-12T15:02:55,259 BP_5_00V = _BP_5_00V 2021-07-12T15:02:55,259 BP_4_00V = _BP_4_00V 2021-07-12T15:02:55,259 ^ 2021-07-12T15:02:55,259 ------------------------------------------------------------ 2021-07-12T15:02:55,259 usb1208fs/usb1208fs.pyx:54:11: undeclared name not builtin: _BP_4_00V 2021-07-12T15:02:55,259 Error compiling Cython file: 2021-07-12T15:02:55,260 ------------------------------------------------------------ 2021-07-12T15:02:55,260 ... 2021-07-12T15:02:55,260 SE_10_00V = _SE_10_00V 2021-07-12T15:02:55,260 BP_20_00V = _BP_20_00V 2021-07-12T15:02:55,260 BP_10_00V = _BP_10_00V 2021-07-12T15:02:55,260 BP_5_00V = _BP_5_00V 2021-07-12T15:02:55,260 BP_4_00V = _BP_4_00V 2021-07-12T15:02:55,260 BP_2_50V = _BP_2_50V 2021-07-12T15:02:55,260 ^ 2021-07-12T15:02:55,261 ------------------------------------------------------------ 2021-07-12T15:02:55,261 usb1208fs/usb1208fs.pyx:55:11: undeclared name not builtin: _BP_2_50V 2021-07-12T15:02:55,261 Error compiling Cython file: 2021-07-12T15:02:55,261 ------------------------------------------------------------ 2021-07-12T15:02:55,261 ... 2021-07-12T15:02:55,261 BP_20_00V = _BP_20_00V 2021-07-12T15:02:55,261 BP_10_00V = _BP_10_00V 2021-07-12T15:02:55,262 BP_5_00V = _BP_5_00V 2021-07-12T15:02:55,262 BP_4_00V = _BP_4_00V 2021-07-12T15:02:55,262 BP_2_50V = _BP_2_50V 2021-07-12T15:02:55,262 BP_2_00V = _BP_2_00V 2021-07-12T15:02:55,262 ^ 2021-07-12T15:02:55,262 ------------------------------------------------------------ 2021-07-12T15:02:55,262 usb1208fs/usb1208fs.pyx:56:11: undeclared name not builtin: _BP_2_00V 2021-07-12T15:02:55,263 Error compiling Cython file: 2021-07-12T15:02:55,263 ------------------------------------------------------------ 2021-07-12T15:02:55,263 ... 2021-07-12T15:02:55,263 BP_10_00V = _BP_10_00V 2021-07-12T15:02:55,263 BP_5_00V = _BP_5_00V 2021-07-12T15:02:55,263 BP_4_00V = _BP_4_00V 2021-07-12T15:02:55,263 BP_2_50V = _BP_2_50V 2021-07-12T15:02:55,263 BP_2_00V = _BP_2_00V 2021-07-12T15:02:55,263 BP_1_25V = _BP_1_25V 2021-07-12T15:02:55,264 ^ 2021-07-12T15:02:55,264 ------------------------------------------------------------ 2021-07-12T15:02:55,264 usb1208fs/usb1208fs.pyx:57:11: undeclared name not builtin: _BP_1_25V 2021-07-12T15:02:55,264 Error compiling Cython file: 2021-07-12T15:02:55,264 ------------------------------------------------------------ 2021-07-12T15:02:55,264 ... 2021-07-12T15:02:55,264 BP_5_00V = _BP_5_00V 2021-07-12T15:02:55,264 BP_4_00V = _BP_4_00V 2021-07-12T15:02:55,265 BP_2_50V = _BP_2_50V 2021-07-12T15:02:55,265 BP_2_00V = _BP_2_00V 2021-07-12T15:02:55,265 BP_1_25V = _BP_1_25V 2021-07-12T15:02:55,265 BP_1_00V = _BP_1_00V 2021-07-12T15:02:55,265 ^ 2021-07-12T15:02:55,265 ------------------------------------------------------------ 2021-07-12T15:02:55,265 usb1208fs/usb1208fs.pyx:58:11: undeclared name not builtin: _BP_1_00V 2021-07-12T15:02:55,266 Error compiling Cython file: 2021-07-12T15:02:55,266 ------------------------------------------------------------ 2021-07-12T15:02:55,266 ... 2021-07-12T15:02:55,266 BP_2_50V = _BP_2_50V 2021-07-12T15:02:55,266 BP_2_00V = _BP_2_00V 2021-07-12T15:02:55,266 BP_1_25V = _BP_1_25V 2021-07-12T15:02:55,266 BP_1_00V = _BP_1_00V 2021-07-12T15:02:55,267 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:02:55,267 ^ 2021-07-12T15:02:55,267 ------------------------------------------------------------ 2021-07-12T15:02:55,267 usb1208fs/usb1208fs.pyx:60:16: undeclared name not builtin: _AIN_EXECUTION 2021-07-12T15:02:55,267 Error compiling Cython file: 2021-07-12T15:02:55,267 ------------------------------------------------------------ 2021-07-12T15:02:55,267 ... 2021-07-12T15:02:55,268 BP_2_00V = _BP_2_00V 2021-07-12T15:02:55,268 BP_1_25V = _BP_1_25V 2021-07-12T15:02:55,268 BP_1_00V = _BP_1_00V 2021-07-12T15:02:55,268 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:02:55,268 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:02:55,268 ^ 2021-07-12T15:02:55,268 ------------------------------------------------------------ 2021-07-12T15:02:55,269 usb1208fs/usb1208fs.pyx:61:20: undeclared name not builtin: _AIN_TRANSFER_MODE 2021-07-12T15:02:55,269 Error compiling Cython file: 2021-07-12T15:02:55,269 ------------------------------------------------------------ 2021-07-12T15:02:55,269 ... 2021-07-12T15:02:55,269 BP_1_25V = _BP_1_25V 2021-07-12T15:02:55,269 BP_1_00V = _BP_1_00V 2021-07-12T15:02:55,269 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:02:55,270 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:02:55,270 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:02:55,270 ^ 2021-07-12T15:02:55,270 ------------------------------------------------------------ 2021-07-12T15:02:55,270 usb1208fs/usb1208fs.pyx:62:14: undeclared name not builtin: _AIN_TRIGGER 2021-07-12T15:02:55,270 Error compiling Cython file: 2021-07-12T15:02:55,270 ------------------------------------------------------------ 2021-07-12T15:02:55,271 ... 2021-07-12T15:02:55,271 BP_1_00V = _BP_1_00V 2021-07-12T15:02:55,271 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:02:55,271 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:02:55,271 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:02:55,271 AIN_DEBUG = _AIN_DEBUG 2021-07-12T15:02:55,271 ^ 2021-07-12T15:02:55,271 ------------------------------------------------------------ 2021-07-12T15:02:55,272 usb1208fs/usb1208fs.pyx:63:12: undeclared name not builtin: _AIN_DEBUG 2021-07-12T15:02:55,272 Error compiling Cython file: 2021-07-12T15:02:55,272 ------------------------------------------------------------ 2021-07-12T15:02:55,272 ... 2021-07-12T15:02:55,272 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:02:55,272 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:02:55,272 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:02:55,273 AIN_DEBUG = _AIN_DEBUG 2021-07-12T15:02:55,273 AIN_GAIN_QUEUE = _AIN_GAIN_QUEUE 2021-07-12T15:02:55,273 ^ 2021-07-12T15:02:55,273 ------------------------------------------------------------ 2021-07-12T15:02:55,273 usb1208fs/usb1208fs.pyx:64:17: undeclared name not builtin: _AIN_GAIN_QUEUE 2021-07-12T15:02:55,284 Error compiling Cython file: 2021-07-12T15:02:55,284 ------------------------------------------------------------ 2021-07-12T15:02:55,284 ... 2021-07-12T15:02:55,284 # module-scale functions 2021-07-12T15:02:55,284 def toVoltsFS(int gain, int num): 2021-07-12T15:02:55,284 """Wraps volts_FS(): 2021-07-12T15:02:55,285 converts signed short value to volts for Differential Mode 2021-07-12T15:02:55,285 """ 2021-07-12T15:02:55,285 return volts_FS(gain, num) 2021-07-12T15:02:55,285 ^ 2021-07-12T15:02:55,285 ------------------------------------------------------------ 2021-07-12T15:02:55,285 usb1208fs/usb1208fs.pyx:71:18: undeclared name not builtin: volts_FS 2021-07-12T15:02:55,288 Error compiling Cython file: 2021-07-12T15:02:55,288 ------------------------------------------------------------ 2021-07-12T15:02:55,288 ... 2021-07-12T15:02:55,288 @cython.wraparound(False) 2021-07-12T15:02:55,288 def __cinit__(self): 2021-07-12T15:02:55,288 """Constructor of the DAQ. 2021-07-12T15:02:55,289 Calls relevant C functions to acquire the handler of USB_1208FS""" 2021-07-12T15:02:55,289 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:02:55,289 ^ 2021-07-12T15:02:55,289 ------------------------------------------------------------ 2021-07-12T15:02:55,289 usb1208fs/usb1208fs.pyx:108:20: undeclared name not builtin: usb_device_find_USB_MCC 2021-07-12T15:02:55,290 Error compiling Cython file: 2021-07-12T15:02:55,290 ------------------------------------------------------------ 2021-07-12T15:02:55,290 ... 2021-07-12T15:02:55,290 @cython.wraparound(False) 2021-07-12T15:02:55,290 def __cinit__(self): 2021-07-12T15:02:55,290 """Constructor of the DAQ. 2021-07-12T15:02:55,290 Calls relevant C functions to acquire the handler of USB_1208FS""" 2021-07-12T15:02:55,290 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:02:55,291 ^ 2021-07-12T15:02:55,291 ------------------------------------------------------------ 2021-07-12T15:02:55,291 usb1208fs/usb1208fs.pyx:108:59: Cannot convert 'void *' to Python object 2021-07-12T15:02:55,291 Error compiling Cython file: 2021-07-12T15:02:55,291 ------------------------------------------------------------ 2021-07-12T15:02:55,291 ... 2021-07-12T15:02:55,292 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:02:55,292 if (self.udev == NULL) or (self.udev == -1): 2021-07-12T15:02:55,292 raise ValueError("Could not initialize USB1208FS, no device found.") 2021-07-12T15:02:55,292 else: 2021-07-12T15:02:55,292 init_USB1208FS(self.udev) 2021-07-12T15:02:55,292 ^ 2021-07-12T15:02:55,292 ------------------------------------------------------------ 2021-07-12T15:02:55,292 usb1208fs/usb1208fs.pyx:112:12: undeclared name not builtin: init_USB1208FS 2021-07-12T15:02:55,293 Error compiling Cython file: 2021-07-12T15:02:55,293 ------------------------------------------------------------ 2021-07-12T15:02:55,293 ... 2021-07-12T15:02:55,293 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:02:55,293 if (self.udev == NULL) or (self.udev == -1): 2021-07-12T15:02:55,293 raise ValueError("Could not initialize USB1208FS, no device found.") 2021-07-12T15:02:55,293 else: 2021-07-12T15:02:55,294 init_USB1208FS(self.udev) 2021-07-12T15:02:55,294 self.maxPacketSize = usb_get_max_packet_size(self.udev, 0) 2021-07-12T15:02:55,294 ^ 2021-07-12T15:02:55,294 ------------------------------------------------------------ 2021-07-12T15:02:55,294 usb1208fs/usb1208fs.pyx:113:29: undeclared name not builtin: usb_get_max_packet_size 2021-07-12T15:02:55,294 Error compiling Cython file: 2021-07-12T15:02:55,294 ------------------------------------------------------------ 2021-07-12T15:02:55,295 ... 2021-07-12T15:02:55,295 def __del__(self): 2021-07-12T15:02:55,295 """Fully close the device.""" 2021-07-12T15:02:55,295 print("Closing...") 2021-07-12T15:02:55,295 cdef int i = 0 2021-07-12T15:02:55,295 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:02:55,295 ^ 2021-07-12T15:02:55,296 ------------------------------------------------------------ 2021-07-12T15:02:55,296 usb1208fs/usb1208fs.pyx:119:8: undeclared name not builtin: libusb_clear_halt 2021-07-12T15:02:55,296 Error compiling Cython file: 2021-07-12T15:02:55,296 ------------------------------------------------------------ 2021-07-12T15:02:55,296 ... 2021-07-12T15:02:55,296 def __del__(self): 2021-07-12T15:02:55,297 """Fully close the device.""" 2021-07-12T15:02:55,297 print("Closing...") 2021-07-12T15:02:55,297 cdef int i = 0 2021-07-12T15:02:55,297 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:02:55,297 ^ 2021-07-12T15:02:55,297 ------------------------------------------------------------ 2021-07-12T15:02:55,297 usb1208fs/usb1208fs.pyx:119:37: undeclared name not builtin: LIBUSB_ENDPOINT_IN 2021-07-12T15:02:55,298 Error compiling Cython file: 2021-07-12T15:02:55,298 ------------------------------------------------------------ 2021-07-12T15:02:55,298 ... 2021-07-12T15:02:55,298 def __del__(self): 2021-07-12T15:02:55,298 """Fully close the device.""" 2021-07-12T15:02:55,298 print("Closing...") 2021-07-12T15:02:55,298 cdef int i = 0 2021-07-12T15:02:55,298 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:02:55,298 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_OUT| 2) 2021-07-12T15:02:55,299 ^ 2021-07-12T15:02:55,299 ------------------------------------------------------------ 2021-07-12T15:02:55,299 usb1208fs/usb1208fs.pyx:120:37: undeclared name not builtin: LIBUSB_ENDPOINT_OUT 2021-07-12T15:02:55,299 Error compiling Cython file: 2021-07-12T15:02:55,299 ------------------------------------------------------------ 2021-07-12T15:02:55,299 ... 2021-07-12T15:02:55,300 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_OUT| 2) 2021-07-12T15:02:55,300 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 3) 2021-07-12T15:02:55,300 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 4) 2021-07-12T15:02:55,300 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 5) 2021-07-12T15:02:55,300 for i in range(4): 2021-07-12T15:02:55,300 libusb_release_interface(self.udev, i) 2021-07-12T15:02:55,300 ^ 2021-07-12T15:02:55,300 ------------------------------------------------------------ 2021-07-12T15:02:55,301 usb1208fs/usb1208fs.pyx:125:12: undeclared name not builtin: libusb_release_interface 2021-07-12T15:02:55,301 Error compiling Cython file: 2021-07-12T15:02:55,301 ------------------------------------------------------------ 2021-07-12T15:02:55,301 ... 2021-07-12T15:02:55,301 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 3) 2021-07-12T15:02:55,301 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 4) 2021-07-12T15:02:55,301 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 5) 2021-07-12T15:02:55,301 for i in range(4): 2021-07-12T15:02:55,302 libusb_release_interface(self.udev, i) 2021-07-12T15:02:55,302 libusb_close(self.udev); 2021-07-12T15:02:55,302 ^ 2021-07-12T15:02:55,302 ------------------------------------------------------------ 2021-07-12T15:02:55,302 usb1208fs/usb1208fs.pyx:126:8: undeclared name not builtin: libusb_close 2021-07-12T15:02:55,302 Error compiling Cython file: 2021-07-12T15:02:55,302 ------------------------------------------------------------ 2021-07-12T15:02:55,303 ... 2021-07-12T15:02:55,303 """Configure director of digital port. Wraps usbDConfigPort_USB1208FS(): 2021-07-12T15:02:55,303 This command sets the direction of the DIO port to input or output. 2021-07-12T15:02:55,303 Port: 0 = Port A, 1 = Port B 2021-07-12T15:02:55,303 Direction: 0 = output, 1 = input 2021-07-12T15:02:55,303 """ 2021-07-12T15:02:55,303 if usbDConfigPort_USB1208FS(self.udev, port, direction) != 0: 2021-07-12T15:02:55,303 ^ 2021-07-12T15:02:55,303 ------------------------------------------------------------ 2021-07-12T15:02:55,304 usb1208fs/usb1208fs.pyx:134:11: undeclared name not builtin: usbDConfigPort_USB1208FS 2021-07-12T15:02:55,304 Error compiling Cython file: 2021-07-12T15:02:55,304 ------------------------------------------------------------ 2021-07-12T15:02:55,304 ... 2021-07-12T15:02:55,304 value will be the value seen at the port pins. 2021-07-12T15:02:55,304 Returns: {np.uint8_t} Read at port @port. 2021-07-12T15:02:55,305 """ 2021-07-12T15:02:55,305 cdef np.uint8_t din_value 2021-07-12T15:02:55,305 if usbDIn_USB1208FS(self.udev, port, &din_value) != 0: 2021-07-12T15:02:55,305 ^ 2021-07-12T15:02:55,305 ------------------------------------------------------------ 2021-07-12T15:02:55,305 usb1208fs/usb1208fs.pyx:146:11: undeclared name not builtin: usbDIn_USB1208FS 2021-07-12T15:02:55,306 Error compiling Cython file: 2021-07-12T15:02:55,306 ------------------------------------------------------------ 2021-07-12T15:02:55,306 ... 2021-07-12T15:02:55,306 This command writes data to the DIO port bits 2021-07-12T15:02:55,306 that are configured as outputs. 2021-07-12T15:02:55,306 Port: 0 = Port A, 1 = Port B 2021-07-12T15:02:55,306 value: value to write to the port 2021-07-12T15:02:55,306 """ 2021-07-12T15:02:55,306 usbDOut_USB1208FS(self.udev, port, value) 2021-07-12T15:02:55,306 ^ 2021-07-12T15:02:55,307 ------------------------------------------------------------ 2021-07-12T15:02:55,307 usb1208fs/usb1208fs.pyx:157:8: undeclared name not builtin: usbDOut_USB1208FS 2021-07-12T15:02:55,307 Error compiling Cython file: 2021-07-12T15:02:55,307 ------------------------------------------------------------ 2021-07-12T15:02:55,307 ... 2021-07-12T15:02:55,307 setting the desired gain range first. The returned value is a 2021-07-12T15:02:55,307 2’s-complement signed 16-bit number. 2021-07-12T15:02:55,308 channel: the channel to read (0-7) 2021-07-12T15:02:55,308 range: the gain range (0-7) 2021-07-12T15:02:55,308 """ 2021-07-12T15:02:55,308 return usbAIn_USB1208FS(self.udev, channel, _range) 2021-07-12T15:02:55,308 ^ 2021-07-12T15:02:55,308 ------------------------------------------------------------ 2021-07-12T15:02:55,308 usb1208fs/usb1208fs.pyx:167:15: undeclared name not builtin: usbAIn_USB1208FS 2021-07-12T15:02:55,309 Error compiling Cython file: 2021-07-12T15:02:55,309 ------------------------------------------------------------ 2021-07-12T15:02:55,309 ... 2021-07-12T15:02:55,309 where k is the value written to the device and V_ref = 4.096V. 2021-07-12T15:02:55,309 channel: the channel to write (0 or 1) 2021-07-12T15:02:55,309 value: the value to write 2021-07-12T15:02:55,309 """ 2021-07-12T15:02:55,309 usbAOut_USB1208FS(self.udev, channel, value) 2021-07-12T15:02:55,310 ^ 2021-07-12T15:02:55,310 ------------------------------------------------------------ 2021-07-12T15:02:55,310 usb1208fs/usb1208fs.pyx:183:8: undeclared name not builtin: usbAOut_USB1208FS 2021-07-12T15:02:55,310 Error compiling Cython file: 2021-07-12T15:02:55,310 ------------------------------------------------------------ 2021-07-12T15:02:55,310 ... 2021-07-12T15:02:55,311 if not data: 2021-07-12T15:02:55,311 raise MemoryError() 2021-07-12T15:02:55,311 cdef int i = 0 2021-07-12T15:02:55,311 try: 2021-07-12T15:02:55,311 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:02:55,311 ^ 2021-07-12T15:02:55,311 ------------------------------------------------------------ 2021-07-12T15:02:55,312 usb1208fs/usb1208fs.pyx:246:15: undeclared name not builtin: usbAOutScan_USB1208FS 2021-07-12T15:02:55,312 Error compiling Cython file: 2021-07-12T15:02:55,312 ------------------------------------------------------------ 2021-07-12T15:02:55,312 ... 2021-07-12T15:02:55,312 raise MemoryError() 2021-07-12T15:02:55,312 cdef int i = 0 2021-07-12T15:02:55,312 try: 2021-07-12T15:02:55,313 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:02:55,313 &freq, data, options) < 0: 2021-07-12T15:02:55,313 ^ 2021-07-12T15:02:55,313 ------------------------------------------------------------ 2021-07-12T15:02:55,313 usb1208fs/usb1208fs.pyx:247:20: Cannot convert 'float32_t *' to Python object 2021-07-12T15:02:55,313 Error compiling Cython file: 2021-07-12T15:02:55,313 ------------------------------------------------------------ 2021-07-12T15:02:55,314 ... 2021-07-12T15:02:55,314 raise MemoryError() 2021-07-12T15:02:55,314 cdef int i = 0 2021-07-12T15:02:55,314 try: 2021-07-12T15:02:55,314 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:02:55,314 &freq, data, options) < 0: 2021-07-12T15:02:55,314 ^ 2021-07-12T15:02:55,314 ------------------------------------------------------------ 2021-07-12T15:02:55,315 usb1208fs/usb1208fs.pyx:247:27: Cannot convert 'uint16_t *' to Python object 2021-07-12T15:02:55,315 Error compiling Cython file: 2021-07-12T15:02:55,315 ------------------------------------------------------------ 2021-07-12T15:02:55,315 ... 2021-07-12T15:02:55,315 def aoutStop(self): 2021-07-12T15:02:55,315 """Wraps usbAOutStop_USB1208FS(): 2021-07-12T15:02:55,315 This command stops the analog output scan (if running.) 2021-07-12T15:02:55,316 Unlikely to be used. 2021-07-12T15:02:55,316 """ 2021-07-12T15:02:55,316 usbAOutStop_USB1208FS(self.udev) 2021-07-12T15:02:55,316 ^ 2021-07-12T15:02:55,316 ------------------------------------------------------------ 2021-07-12T15:02:55,316 usb1208fs/usb1208fs.pyx:262:8: undeclared name not builtin: usbAOutStop_USB1208FS 2021-07-12T15:02:55,317 Error compiling Cython file: 2021-07-12T15:02:55,317 ------------------------------------------------------------ 2021-07-12T15:02:55,317 ... 2021-07-12T15:02:55,317 def ainStop(self): 2021-07-12T15:02:55,317 """Wraps usbAInStop_USB1208FS(): 2021-07-12T15:02:55,317 This command stops the analog input scan (if running.) 2021-07-12T15:02:55,317 Unlikely to be used. 2021-07-12T15:02:55,317 """ 2021-07-12T15:02:55,317 usbAInStop_USB1208FS(self.udev) 2021-07-12T15:02:55,317 ^ 2021-07-12T15:02:55,318 ------------------------------------------------------------ 2021-07-12T15:02:55,318 usb1208fs/usb1208fs.pyx:269:8: undeclared name not builtin: usbAInStop_USB1208FS 2021-07-12T15:02:55,318 Error compiling Cython file: 2021-07-12T15:02:55,318 ------------------------------------------------------------ 2021-07-12T15:02:55,318 ... 2021-07-12T15:02:55,318 if not data: 2021-07-12T15:02:55,319 raise MemoryError() 2021-07-12T15:02:55,319 cdef int i = 0 2021-07-12T15:02:55,319 try: 2021-07-12T15:02:55,319 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:02:55,319 ^ 2021-07-12T15:02:55,319 ------------------------------------------------------------ 2021-07-12T15:02:55,319 usb1208fs/usb1208fs.pyx:343:15: undeclared name not builtin: usbAInScan_USB1208FS 2021-07-12T15:02:55,320 Error compiling Cython file: 2021-07-12T15:02:55,320 ------------------------------------------------------------ 2021-07-12T15:02:55,320 ... 2021-07-12T15:02:55,320 raise MemoryError() 2021-07-12T15:02:55,320 cdef int i = 0 2021-07-12T15:02:55,320 try: 2021-07-12T15:02:55,320 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:02:55,321 &freq, options, data) < 0: 2021-07-12T15:02:55,321 ^ 2021-07-12T15:02:55,321 ------------------------------------------------------------ 2021-07-12T15:02:55,321 usb1208fs/usb1208fs.pyx:344:20: Cannot convert 'float32_t *' to Python object 2021-07-12T15:02:55,321 Error compiling Cython file: 2021-07-12T15:02:55,321 ------------------------------------------------------------ 2021-07-12T15:02:55,321 ... 2021-07-12T15:02:55,322 raise MemoryError() 2021-07-12T15:02:55,322 cdef int i = 0 2021-07-12T15:02:55,322 try: 2021-07-12T15:02:55,322 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:02:55,322 &freq, options, data) < 0: 2021-07-12T15:02:55,322 ^ 2021-07-12T15:02:55,322 ------------------------------------------------------------ 2021-07-12T15:02:55,322 usb1208fs/usb1208fs.pyx:344:36: Cannot convert 'int16_t *' to Python object 2021-07-12T15:02:55,323 Error compiling Cython file: 2021-07-12T15:02:55,323 ------------------------------------------------------------ 2021-07-12T15:02:55,323 ... 2021-07-12T15:02:55,323 if not data: 2021-07-12T15:02:55,323 raise MemoryError() 2021-07-12T15:02:55,323 cdef int i = 0 2021-07-12T15:02:55,324 try: 2021-07-12T15:02:55,324 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:02:55,324 ^ 2021-07-12T15:02:55,324 ------------------------------------------------------------ 2021-07-12T15:02:55,324 usb1208fs/usb1208fs.pyx:373:15: undeclared name not builtin: usbAInScan_USB1208FS_SE 2021-07-12T15:02:55,324 Error compiling Cython file: 2021-07-12T15:02:55,324 ------------------------------------------------------------ 2021-07-12T15:02:55,325 ... 2021-07-12T15:02:55,325 raise MemoryError() 2021-07-12T15:02:55,325 cdef int i = 0 2021-07-12T15:02:55,325 try: 2021-07-12T15:02:55,325 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:02:55,325 count, &freq, options, data) < 0: 2021-07-12T15:02:55,325 ^ 2021-07-12T15:02:55,326 ------------------------------------------------------------ 2021-07-12T15:02:55,326 usb1208fs/usb1208fs.pyx:374:27: Cannot convert 'float32_t *' to Python object 2021-07-12T15:02:55,326 Error compiling Cython file: 2021-07-12T15:02:55,326 ------------------------------------------------------------ 2021-07-12T15:02:55,326 ... 2021-07-12T15:02:55,326 raise MemoryError() 2021-07-12T15:02:55,326 cdef int i = 0 2021-07-12T15:02:55,327 try: 2021-07-12T15:02:55,327 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:02:55,327 count, &freq, options, data) < 0: 2021-07-12T15:02:55,327 ^ 2021-07-12T15:02:55,327 ------------------------------------------------------------ 2021-07-12T15:02:55,327 usb1208fs/usb1208fs.pyx:374:43: Cannot convert 'int16_t *' to Python object 2021-07-12T15:02:55,331 Error compiling Cython file: 2021-07-12T15:02:55,331 ------------------------------------------------------------ 2021-07-12T15:02:55,331 ... 2021-07-12T15:02:55,331 try: 2021-07-12T15:02:55,331 for i in range(len(chan)): 2021-07-12T15:02:55,331 chanArr[i] = chan[i] 2021-07-12T15:02:55,331 gainArr[i] = gains[i] 2021-07-12T15:02:55,332 usbALoadQueue_USB1208FS(self.udev, num, chanArr, gainArr) 2021-07-12T15:02:55,332 ^ 2021-07-12T15:02:55,332 ------------------------------------------------------------ 2021-07-12T15:02:55,332 usb1208fs/usb1208fs.pyx:418:12: undeclared name not builtin: usbALoadQueue_USB1208FS 2021-07-12T15:02:55,334 Error compiling Cython file: 2021-07-12T15:02:55,334 ------------------------------------------------------------ 2021-07-12T15:02:55,334 ... 2021-07-12T15:02:55,334 def initCounter(self): 2021-07-12T15:02:55,335 """Wraps usbInitCounter_USB1208FS(): 2021-07-12T15:02:55,335 This command initializes the event counter and resets the count to zero. 2021-07-12T15:02:55,335 """ 2021-07-12T15:02:55,335 usbInitCounter_USB1208FS(self.udev) 2021-07-12T15:02:55,335 ^ 2021-07-12T15:02:55,335 ------------------------------------------------------------ 2021-07-12T15:02:55,335 usb1208fs/usb1208fs.pyx:428:8: undeclared name not builtin: usbInitCounter_USB1208FS 2021-07-12T15:02:55,336 Error compiling Cython file: 2021-07-12T15:02:55,336 ------------------------------------------------------------ 2021-07-12T15:02:55,336 ... 2021-07-12T15:02:55,336 """Wraps usbReadCounter_USB1208FS(): 2021-07-12T15:02:55,336 This function reads the 32-bit event counter on the device. This 2021-07-12T15:02:55,336 counter tallies the transitions of an external input attached to 2021-07-12T15:02:55,336 the CTR pin on the screw terminal of the device. 2021-07-12T15:02:55,336 """ 2021-07-12T15:02:55,337 return usbReadCounter_USB1208FS(self.udev) 2021-07-12T15:02:55,337 ^ 2021-07-12T15:02:55,337 ------------------------------------------------------------ 2021-07-12T15:02:55,337 usb1208fs/usb1208fs.pyx:436:20: undeclared name not builtin: usbReadCounter_USB1208FS 2021-07-12T15:02:55,337 Error compiling Cython file: 2021-07-12T15:02:55,337 ------------------------------------------------------------ 2021-07-12T15:02:55,337 ... 2021-07-12T15:02:55,338 raise MemoryError() 2021-07-12T15:02:55,338 cdef int i = 0 2021-07-12T15:02:55,338 try: 2021-07-12T15:02:55,338 usbReadMemory_USB1208FS(self.udev, address, count, memory) 2021-07-12T15:02:55,338 ^ 2021-07-12T15:02:55,338 ------------------------------------------------------------ 2021-07-12T15:02:55,339 usb1208fs/usb1208fs.pyx:459:12: undeclared name not builtin: usbReadMemory_USB1208FS 2021-07-12T15:02:55,342 Error compiling Cython file: 2021-07-12T15:02:55,342 ------------------------------------------------------------ 2021-07-12T15:02:55,342 ... 2021-07-12T15:02:55,342 cdef int i 2021-07-12T15:02:55,342 try: 2021-07-12T15:02:55,342 for i in range(count): 2021-07-12T15:02:55,342 dataArr[i] = data[i] 2021-07-12T15:02:55,343 if usbWriteMemory_USB1208FS(self.udev, address, count, dataArr) < 0: 2021-07-12T15:02:55,343 ^ 2021-07-12T15:02:55,343 ------------------------------------------------------------ 2021-07-12T15:02:55,343 usb1208fs/usb1208fs.pyx:489:15: undeclared name not builtin: usbWriteMemory_USB1208FS 2021-07-12T15:02:55,344 Error compiling Cython file: 2021-07-12T15:02:55,344 ------------------------------------------------------------ 2021-07-12T15:02:55,344 ... 2021-07-12T15:02:55,344 def blink(self): 2021-07-12T15:02:55,344 """Wraps usbBlink_USB1208FS(): 2021-07-12T15:02:55,345 blinks the LED of USB device 2021-07-12T15:02:55,345 """ 2021-07-12T15:02:55,345 usbBlink_USB1208FS(self.udev) 2021-07-12T15:02:55,345 ^ 2021-07-12T15:02:55,345 ------------------------------------------------------------ 2021-07-12T15:02:55,345 usb1208fs/usb1208fs.pyx:499:8: undeclared name not builtin: usbBlink_USB1208FS 2021-07-12T15:02:55,346 Error compiling Cython file: 2021-07-12T15:02:55,346 ------------------------------------------------------------ 2021-07-12T15:02:55,346 ... 2021-07-12T15:02:55,346 def reset(self): 2021-07-12T15:02:55,346 """Wraps usbReset_USB1208FS(): 2021-07-12T15:02:55,346 This function causes the device to perform a reset. 2021-07-12T15:02:55,346 The device disconnects from the USB bus and resets its microcontroller. 2021-07-12T15:02:55,346 """ 2021-07-12T15:02:55,346 usbReset_USB1208FS(self.udev) 2021-07-12T15:02:55,347 ^ 2021-07-12T15:02:55,347 ------------------------------------------------------------ 2021-07-12T15:02:55,347 usb1208fs/usb1208fs.pyx:506:8: undeclared name not builtin: usbReset_USB1208FS 2021-07-12T15:02:55,347 Error compiling Cython file: 2021-07-12T15:02:55,347 ------------------------------------------------------------ 2021-07-12T15:02:55,347 ... 2021-07-12T15:02:55,348 def getStatus(self): 2021-07-12T15:02:55,348 """Wraps usbGetStatus_USB1208FS(): 2021-07-12T15:02:55,348 This command retrieves the status of the device. 2021-07-12T15:02:55,348 """ 2021-07-12T15:02:55,348 return usbGetStatus_USB1208FS(self.udev) 2021-07-12T15:02:55,348 ^ 2021-07-12T15:02:55,348 ------------------------------------------------------------ 2021-07-12T15:02:55,348 usb1208fs/usb1208fs.pyx:512:20: undeclared name not builtin: usbGetStatus_USB1208FS 2021-07-12T15:02:55,349 Error compiling Cython file: 2021-07-12T15:02:55,349 ------------------------------------------------------------ 2021-07-12T15:02:55,349 ... 2021-07-12T15:02:55,349 this feature. 2021-07-12T15:02:55,349 type: the type of trigger 2021-07-12T15:02:55,349 0 = external trigger falling edge, 1 = external trigger rising edge 2021-07-12T15:02:55,349 """ 2021-07-12T15:02:55,350 usbSetTrigger_USB1208FS(self.udev, _type) 2021-07-12T15:02:55,350 ^ 2021-07-12T15:02:55,350 ------------------------------------------------------------ 2021-07-12T15:02:55,350 usb1208fs/usb1208fs.pyx:526:8: undeclared name not builtin: usbSetTrigger_USB1208FS 2021-07-12T15:02:55,350 Error compiling Cython file: 2021-07-12T15:02:55,350 ------------------------------------------------------------ 2021-07-12T15:02:55,350 ... 2021-07-12T15:02:55,350 input. The device will switch the SYNC pin to the appropriate 2021-07-12T15:02:55,351 input / output state when this command is received. 2021-07-12T15:02:55,351 type: 0 = master, 1 = slave 2021-07-12T15:02:55,351 """ 2021-07-12T15:02:55,351 usbSetSync_USB1208FS(self.udev, _type) 2021-07-12T15:02:55,351 ^ 2021-07-12T15:02:55,351 ------------------------------------------------------------ 2021-07-12T15:02:55,351 usb1208fs/usb1208fs.pyx:551:8: undeclared name not builtin: usbSetSync_USB1208FS 2021-07-12T15:02:55,484 Traceback (most recent call last): 2021-07-12T15:02:55,485 File "", line 1, in 2021-07-12T15:02:55,485 File "/tmp/pip-wheel-nc8zpsud/usb1208fs_6d9579fd20fc4163a840d8324fb4f005/setup.py", line 53, in 2021-07-12T15:02:55,485 ext_modules = cythonize(usb1208fs), 2021-07-12T15:02:55,486 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1102, in cythonize 2021-07-12T15:02:55,486 cythonize_one(*args) 2021-07-12T15:02:55,487 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1225, in cythonize_one 2021-07-12T15:02:55,488 raise CompileError(None, pyx_file) 2021-07-12T15:02:55,488 Cython.Compiler.Errors.CompileError: usb1208fs/usb1208fs.pyx 2021-07-12T15:02:55,488 Compiling usb1208fs/usb1208fs.pyx because it depends on /usr/local/lib/python3.9/dist-packages/Cython/Includes/libc/string.pxd. 2021-07-12T15:02:55,488 [1/1] Cythonizing usb1208fs/usb1208fs.pyx 2021-07-12T15:02:55,688 WARNING: Discarding https://files.pythonhosted.org/packages/06/9f/823fcc527e318fec364590cb8468848c11a18aa125ba5b746830724f39fe/usb1208fs-0.1.3.post1.tar.gz#sha256=5c114fadcbd36a5e8dc72e95af3b37e716e0397ff20fc5a5c639975baf2c7636 (from https://pypi.org/simple/usb1208fs/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. 2021-07-12T15:02:55,690 ERROR: Could not find a version that satisfies the requirement usb1208fs==0.1.3.post1 (from versions: 0.1.1, 0.1.2, 0.1.3, 0.1.3.post0, 0.1.3.post1, 0.1.3.post2, 0.1.3.post3, 0.1.3.post4, 0.1.3.post5, 0.1.3.post6, 0.1.3.post7, 0.1.3.post8, 0.1.3.post9, 0.1.4, 0.2.0.post0, 0.2.0.post1) 2021-07-12T15:02:55,690 ERROR: No matching distribution found for usb1208fs==0.1.3.post1 2021-07-12T15:02:55,690 Exception information: 2021-07-12T15:02:55,690 Traceback (most recent call last): 2021-07-12T15:02:55,690 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 341, in resolve 2021-07-12T15:02:55,690 name, crit = self._merge_into_criterion(r, parent=None) 2021-07-12T15:02:55,690 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _merge_into_criterion 2021-07-12T15:02:55,690 raise RequirementsConflicted(criterion) 2021-07-12T15:02:55,690 pip._vendor.resolvelib.resolvers.RequirementsConflicted: Requirements conflict: SpecifierRequirement('usb1208fs==0.1.3.post1') 2021-07-12T15:02:55,690 2021-07-12T15:02:55,690 During handling of the above exception, another exception occurred: 2021-07-12T15:02:55,690 2021-07-12T15:02:55,690 Traceback (most recent call last): 2021-07-12T15:02:55,690 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 127, in resolve 2021-07-12T15:02:55,690 result = self._result = resolver.resolve( 2021-07-12T15:02:55,690 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 473, in resolve 2021-07-12T15:02:55,690 state = resolution.resolve(requirements, max_rounds=max_rounds) 2021-07-12T15:02:55,690 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 343, in resolve 2021-07-12T15:02:55,690 raise ResolutionImpossible(e.criterion.information) 2021-07-12T15:02:55,690 pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('usb1208fs==0.1.3.post1'), parent=None)] 2021-07-12T15:02:55,690 2021-07-12T15:02:55,690 The above exception was the direct cause of the following exception: 2021-07-12T15:02:55,690 2021-07-12T15:02:55,690 Traceback (most recent call last): 2021-07-12T15:02:55,690 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-12T15:02:55,690 status = self.run(options, args) 2021-07-12T15:02:55,690 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-12T15:02:55,690 return func(self, options, args) 2021-07-12T15:02:55,690 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 142, in run 2021-07-12T15:02:55,690 requirement_set = resolver.resolve( 2021-07-12T15:02:55,690 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 136, in resolve 2021-07-12T15:02:55,690 raise error from e 2021-07-12T15:02:55,690 pip._internal.exceptions.DistributionNotFound: No matching distribution found for usb1208fs==0.1.3.post1 2021-07-12T15:02:55,696 Removed usb1208fs==0.1.3.post1 from https://files.pythonhosted.org/packages/06/9f/823fcc527e318fec364590cb8468848c11a18aa125ba5b746830724f39fe/usb1208fs-0.1.3.post1.tar.gz#sha256=5c114fadcbd36a5e8dc72e95af3b37e716e0397ff20fc5a5c639975baf2c7636 from build tracker '/tmp/pip-req-tracker-uu_8bshj' 2021-07-12T15:02:55,696 Removed build tracker: '/tmp/pip-req-tracker-uu_8bshj'