2021-07-12T15:03:17,152 Created temporary directory: /tmp/pip-ephem-wheel-cache-56zj96cg 2021-07-12T15:03:17,156 Created temporary directory: /tmp/pip-req-tracker-bnbj8uw1 2021-07-12T15:03:17,156 Initialized build tracking at /tmp/pip-req-tracker-bnbj8uw1 2021-07-12T15:03:17,156 Created build tracker: /tmp/pip-req-tracker-bnbj8uw1 2021-07-12T15:03:17,157 Entered build tracker: /tmp/pip-req-tracker-bnbj8uw1 2021-07-12T15:03:17,157 Created temporary directory: /tmp/pip-wheel-ma5xye3m 2021-07-12T15:03:17,187 1 location(s) to search for versions of usb1208fs: 2021-07-12T15:03:17,187 * https://pypi.org/simple/usb1208fs/ 2021-07-12T15:03:17,187 Fetching project page and analyzing links: https://pypi.org/simple/usb1208fs/ 2021-07-12T15:03:17,188 Getting page https://pypi.org/simple/usb1208fs/ 2021-07-12T15:03:17,189 Found index url https://pypi.org/simple 2021-07-12T15:03:17,285 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:03:17,286 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:03:17,286 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:03:17,286 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:03:17,287 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:03:17,287 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:03:17,287 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:03:17,287 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:03:17,288 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:03:17,288 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:03:17,288 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:03:17,289 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:03:17,289 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:03:17,289 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:03:17,289 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:03:17,290 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:03:17,290 Skipping link: not a file: https://pypi.org/simple/usb1208fs/ 2021-07-12T15:03:17,310 Given no hashes to check 1 links for project 'usb1208fs': discarding no candidates 2021-07-12T15:03:17,329 Collecting usb1208fs==0.1.3.post4 2021-07-12T15:03:17,331 Created temporary directory: /tmp/pip-unpack-amawr4xf 2021-07-12T15:03:17,514 Downloading usb1208fs-0.1.3.post4.tar.gz (83 kB) 2021-07-12T15:03:17,618 Added usb1208fs==0.1.3.post4 from https://files.pythonhosted.org/packages/9e/2e/16db9fba77dc75447a6265d3b701885361a2d54990302903f5039fd126c1/usb1208fs-0.1.3.post4.tar.gz#sha256=d28ad2b0f72029406a8a34313356ca3c48492e65d88a9c85c3d5e5134a33addc to build tracker '/tmp/pip-req-tracker-bnbj8uw1' 2021-07-12T15:03:17,619 Running setup.py (path:/tmp/pip-wheel-ma5xye3m/usb1208fs_c0178b527ca248719d667cf323623cc8/setup.py) egg_info for package usb1208fs 2021-07-12T15:03:17,620 Created temporary directory: /tmp/pip-pip-egg-info-i174wjzs 2021-07-12T15:03:17,620 Running command python setup.py egg_info 2021-07-12T15:03:19,512 /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-ma5xye3m/usb1208fs_c0178b527ca248719d667cf323623cc8/usb1208fs/usb1208fs.pyx 2021-07-12T15:03:19,513 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-12T15:03:19,928 Error compiling Cython file: 2021-07-12T15:03:19,928 ------------------------------------------------------------ 2021-07-12T15:03:19,928 ... 2021-07-12T15:03:19,928 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 2021-07-12T15:03:19,928 from __future__ import print_function 2021-07-12T15:03:19,929 from libc.stdlib cimport malloc, free 2021-07-12T15:03:19,929 from libc.stdint cimport uint8_t, uint16_t, uint32_t, int16_t 2021-07-12T15:03:19,929 cimport c1208fs 2021-07-12T15:03:19,929 ^ 2021-07-12T15:03:19,929 ------------------------------------------------------------ 2021-07-12T15:03:19,929 usb1208fs/usb1208fs.pyx:24:8: 'c1208fs.pxd' not found 2021-07-12T15:03:21,027 Error compiling Cython file: 2021-07-12T15:03:21,027 ------------------------------------------------------------ 2021-07-12T15:03:21,027 ... 2021-07-12T15:03:21,027 data {np.ndarray *} - output array for data. Need to be allocated 2021-07-12T15:03:21,028 on the heap 2021-07-12T15:03:21,028 Constants are from usb-1208FS.h""" 2021-07-12T15:03:21,028 cdef libusb_device_handle * udev 2021-07-12T15:03:21,028 ^ 2021-07-12T15:03:21,028 ------------------------------------------------------------ 2021-07-12T15:03:21,029 usb1208fs/usb1208fs.pyx:98:9: 'libusb_device_handle' is not a type identifier 2021-07-12T15:03:21,153 Error compiling Cython file: 2021-07-12T15:03:21,153 ------------------------------------------------------------ 2021-07-12T15:03:21,153 ... 2021-07-12T15:03:21,154 cimport cython 2021-07-12T15:03:21,154 np.import_array() 2021-07-12T15:03:21,154 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:03:21,154 if libusb_init(NULL) != 0: 2021-07-12T15:03:21,154 ^ 2021-07-12T15:03:21,154 ------------------------------------------------------------ 2021-07-12T15:03:21,155 usb1208fs/usb1208fs.pyx:34:3: undeclared name not builtin: libusb_init 2021-07-12T15:03:21,155 Error compiling Cython file: 2021-07-12T15:03:21,155 ------------------------------------------------------------ 2021-07-12T15:03:21,155 ... 2021-07-12T15:03:21,155 cimport cython 2021-07-12T15:03:21,155 np.import_array() 2021-07-12T15:03:21,156 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:03:21,156 if libusb_init(NULL) != 0: 2021-07-12T15:03:21,156 ^ 2021-07-12T15:03:21,156 ------------------------------------------------------------ 2021-07-12T15:03:21,156 usb1208fs/usb1208fs.pyx:34:15: Cannot convert 'void *' to Python object 2021-07-12T15:03:21,157 Error compiling Cython file: 2021-07-12T15:03:21,157 ------------------------------------------------------------ 2021-07-12T15:03:21,157 ... 2021-07-12T15:03:21,157 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:03:21,157 if libusb_init(NULL) != 0: 2021-07-12T15:03:21,157 raise ImportError("Could not load libusb.") 2021-07-12T15:03:21,157 # constants 2021-07-12T15:03:21,157 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:03:21,158 ^ 2021-07-12T15:03:21,158 ------------------------------------------------------------ 2021-07-12T15:03:21,158 usb1208fs/usb1208fs.pyx:38:16: undeclared name not builtin: _USB1208FS_PID 2021-07-12T15:03:21,158 Error compiling Cython file: 2021-07-12T15:03:21,158 ------------------------------------------------------------ 2021-07-12T15:03:21,158 ... 2021-07-12T15:03:21,159 raise ImportError("Could not load libusb.") 2021-07-12T15:03:21,159 # constants 2021-07-12T15:03:21,159 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:03:21,159 DIO_PORTA = _DIO_PORTA 2021-07-12T15:03:21,159 ^ 2021-07-12T15:03:21,159 ------------------------------------------------------------ 2021-07-12T15:03:21,160 usb1208fs/usb1208fs.pyx:40:12: undeclared name not builtin: _DIO_PORTA 2021-07-12T15:03:21,160 Error compiling Cython file: 2021-07-12T15:03:21,160 ------------------------------------------------------------ 2021-07-12T15:03:21,160 ... 2021-07-12T15:03:21,160 # constants 2021-07-12T15:03:21,160 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:03:21,161 DIO_PORTA = _DIO_PORTA 2021-07-12T15:03:21,161 DIO_PORTB = _DIO_PORTB 2021-07-12T15:03:21,161 ^ 2021-07-12T15:03:21,161 ------------------------------------------------------------ 2021-07-12T15:03:21,161 usb1208fs/usb1208fs.pyx:41:12: undeclared name not builtin: _DIO_PORTB 2021-07-12T15:03:21,161 Error compiling Cython file: 2021-07-12T15:03:21,161 ------------------------------------------------------------ 2021-07-12T15:03:21,161 ... 2021-07-12T15:03:21,162 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:03:21,162 DIO_PORTA = _DIO_PORTA 2021-07-12T15:03:21,162 DIO_PORTB = _DIO_PORTB 2021-07-12T15:03:21,162 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,162 ^ 2021-07-12T15:03:21,163 ------------------------------------------------------------ 2021-07-12T15:03:21,163 usb1208fs/usb1208fs.pyx:43:13: undeclared name not builtin: _DIO_DIR_IN 2021-07-12T15:03:21,163 Error compiling Cython file: 2021-07-12T15:03:21,163 ------------------------------------------------------------ 2021-07-12T15:03:21,163 ... 2021-07-12T15:03:21,164 DIO_PORTA = _DIO_PORTA 2021-07-12T15:03:21,164 DIO_PORTB = _DIO_PORTB 2021-07-12T15:03:21,164 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,164 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:03:21,164 ^ 2021-07-12T15:03:21,164 ------------------------------------------------------------ 2021-07-12T15:03:21,164 usb1208fs/usb1208fs.pyx:44:14: undeclared name not builtin: _DIO_DIR_OUT 2021-07-12T15:03:21,165 Error compiling Cython file: 2021-07-12T15:03:21,165 ------------------------------------------------------------ 2021-07-12T15:03:21,165 ... 2021-07-12T15:03:21,165 DIO_PORTB = _DIO_PORTB 2021-07-12T15:03:21,165 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,165 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:03:21,165 SYNC = _SYNC 2021-07-12T15:03:21,166 ^ 2021-07-12T15:03:21,166 ------------------------------------------------------------ 2021-07-12T15:03:21,166 usb1208fs/usb1208fs.pyx:46:7: undeclared name not builtin: _SYNC 2021-07-12T15:03:21,166 Error compiling Cython file: 2021-07-12T15:03:21,166 ------------------------------------------------------------ 2021-07-12T15:03:21,166 ... 2021-07-12T15:03:21,167 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,167 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:03:21,167 SYNC = _SYNC 2021-07-12T15:03:21,167 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,167 ^ 2021-07-12T15:03:21,167 ------------------------------------------------------------ 2021-07-12T15:03:21,167 usb1208fs/usb1208fs.pyx:47:16: undeclared name not builtin: _EXT_TRIG_EDGE 2021-07-12T15:03:21,168 Error compiling Cython file: 2021-07-12T15:03:21,168 ------------------------------------------------------------ 2021-07-12T15:03:21,168 ... 2021-07-12T15:03:21,168 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,168 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:03:21,168 SYNC = _SYNC 2021-07-12T15:03:21,168 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,169 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,169 ^ 2021-07-12T15:03:21,169 ------------------------------------------------------------ 2021-07-12T15:03:21,169 usb1208fs/usb1208fs.pyx:48:14: undeclared name not builtin: _UPDATE_MODE 2021-07-12T15:03:21,169 Error compiling Cython file: 2021-07-12T15:03:21,169 ------------------------------------------------------------ 2021-07-12T15:03:21,169 ... 2021-07-12T15:03:21,170 SYNC = _SYNC 2021-07-12T15:03:21,170 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,170 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,170 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,170 ^ 2021-07-12T15:03:21,170 ------------------------------------------------------------ 2021-07-12T15:03:21,171 usb1208fs/usb1208fs.pyx:50:12: undeclared name not builtin: _SE_10_00V 2021-07-12T15:03:21,171 Error compiling Cython file: 2021-07-12T15:03:21,171 ------------------------------------------------------------ 2021-07-12T15:03:21,171 ... 2021-07-12T15:03:21,171 SYNC = _SYNC 2021-07-12T15:03:21,171 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,171 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,172 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,172 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,172 ^ 2021-07-12T15:03:21,172 ------------------------------------------------------------ 2021-07-12T15:03:21,172 usb1208fs/usb1208fs.pyx:51:12: undeclared name not builtin: _BP_20_00V 2021-07-12T15:03:21,172 Error compiling Cython file: 2021-07-12T15:03:21,172 ------------------------------------------------------------ 2021-07-12T15:03:21,173 ... 2021-07-12T15:03:21,173 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,173 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,173 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,173 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,173 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,173 ^ 2021-07-12T15:03:21,173 ------------------------------------------------------------ 2021-07-12T15:03:21,174 usb1208fs/usb1208fs.pyx:52:12: undeclared name not builtin: _BP_10_00V 2021-07-12T15:03:21,174 Error compiling Cython file: 2021-07-12T15:03:21,174 ------------------------------------------------------------ 2021-07-12T15:03:21,174 ... 2021-07-12T15:03:21,174 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,174 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,175 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,175 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,175 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,175 ^ 2021-07-12T15:03:21,175 ------------------------------------------------------------ 2021-07-12T15:03:21,175 usb1208fs/usb1208fs.pyx:53:11: undeclared name not builtin: _BP_5_00V 2021-07-12T15:03:21,175 Error compiling Cython file: 2021-07-12T15:03:21,175 ------------------------------------------------------------ 2021-07-12T15:03:21,176 ... 2021-07-12T15:03:21,176 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,176 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,176 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,176 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,176 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,176 ^ 2021-07-12T15:03:21,176 ------------------------------------------------------------ 2021-07-12T15:03:21,177 usb1208fs/usb1208fs.pyx:54:11: undeclared name not builtin: _BP_4_00V 2021-07-12T15:03:21,177 Error compiling Cython file: 2021-07-12T15:03:21,177 ------------------------------------------------------------ 2021-07-12T15:03:21,177 ... 2021-07-12T15:03:21,177 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,177 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,177 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,178 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,178 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,178 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,178 ^ 2021-07-12T15:03:21,178 ------------------------------------------------------------ 2021-07-12T15:03:21,178 usb1208fs/usb1208fs.pyx:55:11: undeclared name not builtin: _BP_2_50V 2021-07-12T15:03:21,178 Error compiling Cython file: 2021-07-12T15:03:21,179 ------------------------------------------------------------ 2021-07-12T15:03:21,179 ... 2021-07-12T15:03:21,179 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,179 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,179 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,179 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,179 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,179 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,179 ^ 2021-07-12T15:03:21,179 ------------------------------------------------------------ 2021-07-12T15:03:21,180 usb1208fs/usb1208fs.pyx:56:11: undeclared name not builtin: _BP_2_00V 2021-07-12T15:03:21,180 Error compiling Cython file: 2021-07-12T15:03:21,180 ------------------------------------------------------------ 2021-07-12T15:03:21,180 ... 2021-07-12T15:03:21,180 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,180 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,180 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,181 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,181 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,181 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,181 ^ 2021-07-12T15:03:21,181 ------------------------------------------------------------ 2021-07-12T15:03:21,181 usb1208fs/usb1208fs.pyx:57:11: undeclared name not builtin: _BP_1_25V 2021-07-12T15:03:21,181 Error compiling Cython file: 2021-07-12T15:03:21,182 ------------------------------------------------------------ 2021-07-12T15:03:21,182 ... 2021-07-12T15:03:21,182 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,182 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,182 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,182 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,182 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,182 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,183 ^ 2021-07-12T15:03:21,183 ------------------------------------------------------------ 2021-07-12T15:03:21,183 usb1208fs/usb1208fs.pyx:58:11: undeclared name not builtin: _BP_1_00V 2021-07-12T15:03:21,183 Error compiling Cython file: 2021-07-12T15:03:21,183 ------------------------------------------------------------ 2021-07-12T15:03:21,183 ... 2021-07-12T15:03:21,183 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,184 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,184 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,184 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,184 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,184 ^ 2021-07-12T15:03:21,184 ------------------------------------------------------------ 2021-07-12T15:03:21,184 usb1208fs/usb1208fs.pyx:60:16: undeclared name not builtin: _AIN_EXECUTION 2021-07-12T15:03:21,185 Error compiling Cython file: 2021-07-12T15:03:21,185 ------------------------------------------------------------ 2021-07-12T15:03:21,185 ... 2021-07-12T15:03:21,185 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,185 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,185 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,185 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,185 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:03:21,186 ^ 2021-07-12T15:03:21,186 ------------------------------------------------------------ 2021-07-12T15:03:21,186 usb1208fs/usb1208fs.pyx:61:20: undeclared name not builtin: _AIN_TRANSFER_MODE 2021-07-12T15:03:21,186 Error compiling Cython file: 2021-07-12T15:03:21,186 ------------------------------------------------------------ 2021-07-12T15:03:21,186 ... 2021-07-12T15:03:21,186 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,187 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,187 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,187 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:03:21,187 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:03:21,187 ^ 2021-07-12T15:03:21,187 ------------------------------------------------------------ 2021-07-12T15:03:21,187 usb1208fs/usb1208fs.pyx:62:14: undeclared name not builtin: _AIN_TRIGGER 2021-07-12T15:03:21,188 Error compiling Cython file: 2021-07-12T15:03:21,188 ------------------------------------------------------------ 2021-07-12T15:03:21,188 ... 2021-07-12T15:03:21,188 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,188 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,188 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:03:21,188 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:03:21,188 AIN_DEBUG = _AIN_DEBUG 2021-07-12T15:03:21,189 ^ 2021-07-12T15:03:21,189 ------------------------------------------------------------ 2021-07-12T15:03:21,189 usb1208fs/usb1208fs.pyx:63:12: undeclared name not builtin: _AIN_DEBUG 2021-07-12T15:03:21,189 Error compiling Cython file: 2021-07-12T15:03:21,189 ------------------------------------------------------------ 2021-07-12T15:03:21,189 ... 2021-07-12T15:03:21,190 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,190 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:03:21,190 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:03:21,190 AIN_DEBUG = _AIN_DEBUG 2021-07-12T15:03:21,190 AIN_GAIN_QUEUE = _AIN_GAIN_QUEUE 2021-07-12T15:03:21,190 ^ 2021-07-12T15:03:21,190 ------------------------------------------------------------ 2021-07-12T15:03:21,190 usb1208fs/usb1208fs.pyx:64:17: undeclared name not builtin: _AIN_GAIN_QUEUE 2021-07-12T15:03:21,202 Error compiling Cython file: 2021-07-12T15:03:21,202 ------------------------------------------------------------ 2021-07-12T15:03:21,202 ... 2021-07-12T15:03:21,202 # module-scale functions 2021-07-12T15:03:21,202 def toVoltsFS(int gain, int num): 2021-07-12T15:03:21,202 """Wraps volts_FS(): 2021-07-12T15:03:21,202 converts signed short value to volts for Differential Mode 2021-07-12T15:03:21,202 """ 2021-07-12T15:03:21,203 return volts_FS(gain, num) 2021-07-12T15:03:21,203 ^ 2021-07-12T15:03:21,203 ------------------------------------------------------------ 2021-07-12T15:03:21,203 usb1208fs/usb1208fs.pyx:71:18: undeclared name not builtin: volts_FS 2021-07-12T15:03:21,206 Error compiling Cython file: 2021-07-12T15:03:21,206 ------------------------------------------------------------ 2021-07-12T15:03:21,206 ... 2021-07-12T15:03:21,206 @cython.wraparound(False) 2021-07-12T15:03:21,206 def __cinit__(self): 2021-07-12T15:03:21,206 """Constructor of the DAQ. 2021-07-12T15:03:21,206 Calls relevant C functions to acquire the handler of USB_1208FS""" 2021-07-12T15:03:21,207 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:03:21,207 ^ 2021-07-12T15:03:21,207 ------------------------------------------------------------ 2021-07-12T15:03:21,207 usb1208fs/usb1208fs.pyx:108:20: undeclared name not builtin: usb_device_find_USB_MCC 2021-07-12T15:03:21,207 Error compiling Cython file: 2021-07-12T15:03:21,207 ------------------------------------------------------------ 2021-07-12T15:03:21,208 ... 2021-07-12T15:03:21,208 @cython.wraparound(False) 2021-07-12T15:03:21,208 def __cinit__(self): 2021-07-12T15:03:21,208 """Constructor of the DAQ. 2021-07-12T15:03:21,208 Calls relevant C functions to acquire the handler of USB_1208FS""" 2021-07-12T15:03:21,208 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:03:21,208 ^ 2021-07-12T15:03:21,208 ------------------------------------------------------------ 2021-07-12T15:03:21,209 usb1208fs/usb1208fs.pyx:108:59: Cannot convert 'void *' to Python object 2021-07-12T15:03:21,209 Error compiling Cython file: 2021-07-12T15:03:21,209 ------------------------------------------------------------ 2021-07-12T15:03:21,209 ... 2021-07-12T15:03:21,209 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:03:21,209 if (self.udev == NULL) or (self.udev == -1): 2021-07-12T15:03:21,210 raise ValueError("Could not initialize USB1208FS, no device found.") 2021-07-12T15:03:21,210 else: 2021-07-12T15:03:21,210 init_USB1208FS(self.udev) 2021-07-12T15:03:21,210 ^ 2021-07-12T15:03:21,210 ------------------------------------------------------------ 2021-07-12T15:03:21,210 usb1208fs/usb1208fs.pyx:112:12: undeclared name not builtin: init_USB1208FS 2021-07-12T15:03:21,211 Error compiling Cython file: 2021-07-12T15:03:21,211 ------------------------------------------------------------ 2021-07-12T15:03:21,211 ... 2021-07-12T15:03:21,211 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:03:21,211 if (self.udev == NULL) or (self.udev == -1): 2021-07-12T15:03:21,211 raise ValueError("Could not initialize USB1208FS, no device found.") 2021-07-12T15:03:21,211 else: 2021-07-12T15:03:21,211 init_USB1208FS(self.udev) 2021-07-12T15:03:21,211 self.maxPacketSize = usb_get_max_packet_size(self.udev, 0) 2021-07-12T15:03:21,212 ^ 2021-07-12T15:03:21,212 ------------------------------------------------------------ 2021-07-12T15:03:21,212 usb1208fs/usb1208fs.pyx:113:29: undeclared name not builtin: usb_get_max_packet_size 2021-07-12T15:03:21,212 Error compiling Cython file: 2021-07-12T15:03:21,212 ------------------------------------------------------------ 2021-07-12T15:03:21,212 ... 2021-07-12T15:03:21,213 def __del__(self): 2021-07-12T15:03:21,213 """Fully close the device.""" 2021-07-12T15:03:21,213 print("Closing...") 2021-07-12T15:03:21,213 cdef int i = 0 2021-07-12T15:03:21,213 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:03:21,213 ^ 2021-07-12T15:03:21,213 ------------------------------------------------------------ 2021-07-12T15:03:21,213 usb1208fs/usb1208fs.pyx:119:8: undeclared name not builtin: libusb_clear_halt 2021-07-12T15:03:21,214 Error compiling Cython file: 2021-07-12T15:03:21,214 ------------------------------------------------------------ 2021-07-12T15:03:21,214 ... 2021-07-12T15:03:21,214 def __del__(self): 2021-07-12T15:03:21,214 """Fully close the device.""" 2021-07-12T15:03:21,214 print("Closing...") 2021-07-12T15:03:21,214 cdef int i = 0 2021-07-12T15:03:21,215 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:03:21,215 ^ 2021-07-12T15:03:21,215 ------------------------------------------------------------ 2021-07-12T15:03:21,215 usb1208fs/usb1208fs.pyx:119:37: undeclared name not builtin: LIBUSB_ENDPOINT_IN 2021-07-12T15:03:21,215 Error compiling Cython file: 2021-07-12T15:03:21,215 ------------------------------------------------------------ 2021-07-12T15:03:21,215 ... 2021-07-12T15:03:21,216 def __del__(self): 2021-07-12T15:03:21,216 """Fully close the device.""" 2021-07-12T15:03:21,216 print("Closing...") 2021-07-12T15:03:21,216 cdef int i = 0 2021-07-12T15:03:21,216 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:03:21,216 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_OUT| 2) 2021-07-12T15:03:21,216 ^ 2021-07-12T15:03:21,216 ------------------------------------------------------------ 2021-07-12T15:03:21,217 usb1208fs/usb1208fs.pyx:120:37: undeclared name not builtin: LIBUSB_ENDPOINT_OUT 2021-07-12T15:03:21,217 Error compiling Cython file: 2021-07-12T15:03:21,217 ------------------------------------------------------------ 2021-07-12T15:03:21,217 ... 2021-07-12T15:03:21,217 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_OUT| 2) 2021-07-12T15:03:21,217 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 3) 2021-07-12T15:03:21,217 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 4) 2021-07-12T15:03:21,218 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 5) 2021-07-12T15:03:21,218 for i in range(4): 2021-07-12T15:03:21,218 libusb_release_interface(self.udev, i) 2021-07-12T15:03:21,218 ^ 2021-07-12T15:03:21,218 ------------------------------------------------------------ 2021-07-12T15:03:21,218 usb1208fs/usb1208fs.pyx:125:12: undeclared name not builtin: libusb_release_interface 2021-07-12T15:03:21,218 Error compiling Cython file: 2021-07-12T15:03:21,219 ------------------------------------------------------------ 2021-07-12T15:03:21,219 ... 2021-07-12T15:03:21,219 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 3) 2021-07-12T15:03:21,219 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 4) 2021-07-12T15:03:21,219 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 5) 2021-07-12T15:03:21,219 for i in range(4): 2021-07-12T15:03:21,219 libusb_release_interface(self.udev, i) 2021-07-12T15:03:21,219 libusb_close(self.udev); 2021-07-12T15:03:21,219 ^ 2021-07-12T15:03:21,220 ------------------------------------------------------------ 2021-07-12T15:03:21,220 usb1208fs/usb1208fs.pyx:126:8: undeclared name not builtin: libusb_close 2021-07-12T15:03:21,220 Error compiling Cython file: 2021-07-12T15:03:21,220 ------------------------------------------------------------ 2021-07-12T15:03:21,220 ... 2021-07-12T15:03:21,220 """Configure director of digital port. Wraps usbDConfigPort_USB1208FS(): 2021-07-12T15:03:21,220 This command sets the direction of the DIO port to input or output. 2021-07-12T15:03:21,221 Port: 0 = Port A, 1 = Port B 2021-07-12T15:03:21,221 Direction: 0 = output, 1 = input 2021-07-12T15:03:21,221 """ 2021-07-12T15:03:21,221 if usbDConfigPort_USB1208FS(self.udev, port, direction) != 0: 2021-07-12T15:03:21,221 ^ 2021-07-12T15:03:21,221 ------------------------------------------------------------ 2021-07-12T15:03:21,221 usb1208fs/usb1208fs.pyx:134:11: undeclared name not builtin: usbDConfigPort_USB1208FS 2021-07-12T15:03:21,222 Error compiling Cython file: 2021-07-12T15:03:21,222 ------------------------------------------------------------ 2021-07-12T15:03:21,222 ... 2021-07-12T15:03:21,222 value will be the value seen at the port pins. 2021-07-12T15:03:21,222 Returns: {np.uint8_t} Read at port @port. 2021-07-12T15:03:21,222 """ 2021-07-12T15:03:21,223 cdef np.uint8_t din_value 2021-07-12T15:03:21,223 if usbDIn_USB1208FS(self.udev, port, &din_value) != 0: 2021-07-12T15:03:21,223 ^ 2021-07-12T15:03:21,223 ------------------------------------------------------------ 2021-07-12T15:03:21,223 usb1208fs/usb1208fs.pyx:146:11: undeclared name not builtin: usbDIn_USB1208FS 2021-07-12T15:03:21,223 Error compiling Cython file: 2021-07-12T15:03:21,223 ------------------------------------------------------------ 2021-07-12T15:03:21,224 ... 2021-07-12T15:03:21,224 This command writes data to the DIO port bits 2021-07-12T15:03:21,224 that are configured as outputs. 2021-07-12T15:03:21,224 Port: 0 = Port A, 1 = Port B 2021-07-12T15:03:21,224 value: value to write to the port 2021-07-12T15:03:21,224 """ 2021-07-12T15:03:21,224 usbDOut_USB1208FS(self.udev, port, value) 2021-07-12T15:03:21,224 ^ 2021-07-12T15:03:21,224 ------------------------------------------------------------ 2021-07-12T15:03:21,225 usb1208fs/usb1208fs.pyx:157:8: undeclared name not builtin: usbDOut_USB1208FS 2021-07-12T15:03:21,225 Error compiling Cython file: 2021-07-12T15:03:21,225 ------------------------------------------------------------ 2021-07-12T15:03:21,225 ... 2021-07-12T15:03:21,225 setting the desired gain range first. The returned value is a 2021-07-12T15:03:21,225 2’s-complement signed 16-bit number. 2021-07-12T15:03:21,225 channel: the channel to read (0-7) 2021-07-12T15:03:21,226 range: the gain range (0-7) 2021-07-12T15:03:21,226 """ 2021-07-12T15:03:21,226 return usbAIn_USB1208FS(self.udev, channel, _range) 2021-07-12T15:03:21,226 ^ 2021-07-12T15:03:21,226 ------------------------------------------------------------ 2021-07-12T15:03:21,226 usb1208fs/usb1208fs.pyx:167:15: undeclared name not builtin: usbAIn_USB1208FS 2021-07-12T15:03:21,227 Error compiling Cython file: 2021-07-12T15:03:21,227 ------------------------------------------------------------ 2021-07-12T15:03:21,227 ... 2021-07-12T15:03:21,227 where k is the value written to the device and V_ref = 4.096V. 2021-07-12T15:03:21,227 channel: the channel to write (0 or 1) 2021-07-12T15:03:21,227 value: the value to write 2021-07-12T15:03:21,227 """ 2021-07-12T15:03:21,227 usbAOut_USB1208FS(self.udev, channel, value) 2021-07-12T15:03:21,228 ^ 2021-07-12T15:03:21,228 ------------------------------------------------------------ 2021-07-12T15:03:21,228 usb1208fs/usb1208fs.pyx:183:8: undeclared name not builtin: usbAOut_USB1208FS 2021-07-12T15:03:21,228 Error compiling Cython file: 2021-07-12T15:03:21,228 ------------------------------------------------------------ 2021-07-12T15:03:21,228 ... 2021-07-12T15:03:21,228 if not data: 2021-07-12T15:03:21,229 raise MemoryError() 2021-07-12T15:03:21,229 cdef int i = 0 2021-07-12T15:03:21,229 try: 2021-07-12T15:03:21,229 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,229 ^ 2021-07-12T15:03:21,229 ------------------------------------------------------------ 2021-07-12T15:03:21,229 usb1208fs/usb1208fs.pyx:246:15: undeclared name not builtin: usbAOutScan_USB1208FS 2021-07-12T15:03:21,230 Error compiling Cython file: 2021-07-12T15:03:21,230 ------------------------------------------------------------ 2021-07-12T15:03:21,230 ... 2021-07-12T15:03:21,230 raise MemoryError() 2021-07-12T15:03:21,230 cdef int i = 0 2021-07-12T15:03:21,230 try: 2021-07-12T15:03:21,230 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,231 &freq, data, options) < 0: 2021-07-12T15:03:21,231 ^ 2021-07-12T15:03:21,231 ------------------------------------------------------------ 2021-07-12T15:03:21,231 usb1208fs/usb1208fs.pyx:247:20: Cannot convert 'float32_t *' to Python object 2021-07-12T15:03:21,231 Error compiling Cython file: 2021-07-12T15:03:21,231 ------------------------------------------------------------ 2021-07-12T15:03:21,231 ... 2021-07-12T15:03:21,232 raise MemoryError() 2021-07-12T15:03:21,232 cdef int i = 0 2021-07-12T15:03:21,232 try: 2021-07-12T15:03:21,232 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,232 &freq, data, options) < 0: 2021-07-12T15:03:21,232 ^ 2021-07-12T15:03:21,232 ------------------------------------------------------------ 2021-07-12T15:03:21,233 usb1208fs/usb1208fs.pyx:247:27: Cannot convert 'uint16_t *' to Python object 2021-07-12T15:03:21,233 Error compiling Cython file: 2021-07-12T15:03:21,233 ------------------------------------------------------------ 2021-07-12T15:03:21,233 ... 2021-07-12T15:03:21,233 def aoutStop(self): 2021-07-12T15:03:21,233 """Wraps usbAOutStop_USB1208FS(): 2021-07-12T15:03:21,233 This command stops the analog output scan (if running.) 2021-07-12T15:03:21,234 Unlikely to be used. 2021-07-12T15:03:21,234 """ 2021-07-12T15:03:21,234 usbAOutStop_USB1208FS(self.udev) 2021-07-12T15:03:21,234 ^ 2021-07-12T15:03:21,234 ------------------------------------------------------------ 2021-07-12T15:03:21,234 usb1208fs/usb1208fs.pyx:262:8: undeclared name not builtin: usbAOutStop_USB1208FS 2021-07-12T15:03:21,235 Error compiling Cython file: 2021-07-12T15:03:21,235 ------------------------------------------------------------ 2021-07-12T15:03:21,235 ... 2021-07-12T15:03:21,235 def ainStop(self): 2021-07-12T15:03:21,235 """Wraps usbAInStop_USB1208FS(): 2021-07-12T15:03:21,235 This command stops the analog input scan (if running.) 2021-07-12T15:03:21,235 Unlikely to be used. 2021-07-12T15:03:21,235 """ 2021-07-12T15:03:21,235 usbAInStop_USB1208FS(self.udev) 2021-07-12T15:03:21,236 ^ 2021-07-12T15:03:21,236 ------------------------------------------------------------ 2021-07-12T15:03:21,236 usb1208fs/usb1208fs.pyx:269:8: undeclared name not builtin: usbAInStop_USB1208FS 2021-07-12T15:03:21,236 Error compiling Cython file: 2021-07-12T15:03:21,236 ------------------------------------------------------------ 2021-07-12T15:03:21,236 ... 2021-07-12T15:03:21,236 if not data: 2021-07-12T15:03:21,237 raise MemoryError() 2021-07-12T15:03:21,237 cdef int i = 0 2021-07-12T15:03:21,237 try: 2021-07-12T15:03:21,237 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,237 ^ 2021-07-12T15:03:21,237 ------------------------------------------------------------ 2021-07-12T15:03:21,238 usb1208fs/usb1208fs.pyx:343:15: undeclared name not builtin: usbAInScan_USB1208FS 2021-07-12T15:03:21,238 Error compiling Cython file: 2021-07-12T15:03:21,238 ------------------------------------------------------------ 2021-07-12T15:03:21,238 ... 2021-07-12T15:03:21,238 raise MemoryError() 2021-07-12T15:03:21,238 cdef int i = 0 2021-07-12T15:03:21,238 try: 2021-07-12T15:03:21,239 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,239 &freq, options, data) < 0: 2021-07-12T15:03:21,239 ^ 2021-07-12T15:03:21,239 ------------------------------------------------------------ 2021-07-12T15:03:21,239 usb1208fs/usb1208fs.pyx:344:20: Cannot convert 'float32_t *' to Python object 2021-07-12T15:03:21,239 Error compiling Cython file: 2021-07-12T15:03:21,239 ------------------------------------------------------------ 2021-07-12T15:03:21,240 ... 2021-07-12T15:03:21,240 raise MemoryError() 2021-07-12T15:03:21,240 cdef int i = 0 2021-07-12T15:03:21,240 try: 2021-07-12T15:03:21,240 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,240 &freq, options, data) < 0: 2021-07-12T15:03:21,240 ^ 2021-07-12T15:03:21,241 ------------------------------------------------------------ 2021-07-12T15:03:21,241 usb1208fs/usb1208fs.pyx:344:36: Cannot convert 'int16_t *' to Python object 2021-07-12T15:03:21,241 Error compiling Cython file: 2021-07-12T15:03:21,241 ------------------------------------------------------------ 2021-07-12T15:03:21,241 ... 2021-07-12T15:03:21,241 if not data: 2021-07-12T15:03:21,241 raise MemoryError() 2021-07-12T15:03:21,242 cdef int i = 0 2021-07-12T15:03:21,242 try: 2021-07-12T15:03:21,242 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:03:21,242 ^ 2021-07-12T15:03:21,242 ------------------------------------------------------------ 2021-07-12T15:03:21,242 usb1208fs/usb1208fs.pyx:373:15: undeclared name not builtin: usbAInScan_USB1208FS_SE 2021-07-12T15:03:21,243 Error compiling Cython file: 2021-07-12T15:03:21,243 ------------------------------------------------------------ 2021-07-12T15:03:21,243 ... 2021-07-12T15:03:21,243 raise MemoryError() 2021-07-12T15:03:21,243 cdef int i = 0 2021-07-12T15:03:21,243 try: 2021-07-12T15:03:21,243 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:03:21,244 count, &freq, options, data) < 0: 2021-07-12T15:03:21,244 ^ 2021-07-12T15:03:21,244 ------------------------------------------------------------ 2021-07-12T15:03:21,244 usb1208fs/usb1208fs.pyx:374:27: Cannot convert 'float32_t *' to Python object 2021-07-12T15:03:21,244 Error compiling Cython file: 2021-07-12T15:03:21,244 ------------------------------------------------------------ 2021-07-12T15:03:21,244 ... 2021-07-12T15:03:21,245 raise MemoryError() 2021-07-12T15:03:21,245 cdef int i = 0 2021-07-12T15:03:21,245 try: 2021-07-12T15:03:21,245 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:03:21,245 count, &freq, options, data) < 0: 2021-07-12T15:03:21,245 ^ 2021-07-12T15:03:21,245 ------------------------------------------------------------ 2021-07-12T15:03:21,246 usb1208fs/usb1208fs.pyx:374:43: Cannot convert 'int16_t *' to Python object 2021-07-12T15:03:21,249 Error compiling Cython file: 2021-07-12T15:03:21,249 ------------------------------------------------------------ 2021-07-12T15:03:21,249 ... 2021-07-12T15:03:21,249 try: 2021-07-12T15:03:21,249 for i in range(len(chan)): 2021-07-12T15:03:21,249 chanArr[i] = chan[i] 2021-07-12T15:03:21,249 gainArr[i] = gains[i] 2021-07-12T15:03:21,250 usbALoadQueue_USB1208FS(self.udev, num, chanArr, gainArr) 2021-07-12T15:03:21,250 ^ 2021-07-12T15:03:21,250 ------------------------------------------------------------ 2021-07-12T15:03:21,250 usb1208fs/usb1208fs.pyx:418:12: undeclared name not builtin: usbALoadQueue_USB1208FS 2021-07-12T15:03:21,252 Error compiling Cython file: 2021-07-12T15:03:21,252 ------------------------------------------------------------ 2021-07-12T15:03:21,252 ... 2021-07-12T15:03:21,252 def initCounter(self): 2021-07-12T15:03:21,253 """Wraps usbInitCounter_USB1208FS(): 2021-07-12T15:03:21,253 This command initializes the event counter and resets the count to zero. 2021-07-12T15:03:21,253 """ 2021-07-12T15:03:21,253 usbInitCounter_USB1208FS(self.udev) 2021-07-12T15:03:21,253 ^ 2021-07-12T15:03:21,253 ------------------------------------------------------------ 2021-07-12T15:03:21,253 usb1208fs/usb1208fs.pyx:428:8: undeclared name not builtin: usbInitCounter_USB1208FS 2021-07-12T15:03:21,254 Error compiling Cython file: 2021-07-12T15:03:21,254 ------------------------------------------------------------ 2021-07-12T15:03:21,254 ... 2021-07-12T15:03:21,254 """Wraps usbReadCounter_USB1208FS(): 2021-07-12T15:03:21,254 This function reads the 32-bit event counter on the device. This 2021-07-12T15:03:21,254 counter tallies the transitions of an external input attached to 2021-07-12T15:03:21,254 the CTR pin on the screw terminal of the device. 2021-07-12T15:03:21,254 """ 2021-07-12T15:03:21,255 return usbReadCounter_USB1208FS(self.udev) 2021-07-12T15:03:21,255 ^ 2021-07-12T15:03:21,255 ------------------------------------------------------------ 2021-07-12T15:03:21,255 usb1208fs/usb1208fs.pyx:436:20: undeclared name not builtin: usbReadCounter_USB1208FS 2021-07-12T15:03:21,255 Error compiling Cython file: 2021-07-12T15:03:21,255 ------------------------------------------------------------ 2021-07-12T15:03:21,256 ... 2021-07-12T15:03:21,256 raise MemoryError() 2021-07-12T15:03:21,256 cdef int i = 0 2021-07-12T15:03:21,256 try: 2021-07-12T15:03:21,256 usbReadMemory_USB1208FS(self.udev, address, count, memory) 2021-07-12T15:03:21,256 ^ 2021-07-12T15:03:21,256 ------------------------------------------------------------ 2021-07-12T15:03:21,257 usb1208fs/usb1208fs.pyx:459:12: undeclared name not builtin: usbReadMemory_USB1208FS 2021-07-12T15:03:21,260 Error compiling Cython file: 2021-07-12T15:03:21,260 ------------------------------------------------------------ 2021-07-12T15:03:21,260 ... 2021-07-12T15:03:21,260 cdef int i 2021-07-12T15:03:21,260 try: 2021-07-12T15:03:21,260 for i in range(count): 2021-07-12T15:03:21,260 dataArr[i] = data[i] 2021-07-12T15:03:21,261 if usbWriteMemory_USB1208FS(self.udev, address, count, dataArr) < 0: 2021-07-12T15:03:21,261 ^ 2021-07-12T15:03:21,261 ------------------------------------------------------------ 2021-07-12T15:03:21,261 usb1208fs/usb1208fs.pyx:489:15: undeclared name not builtin: usbWriteMemory_USB1208FS 2021-07-12T15:03:21,262 Error compiling Cython file: 2021-07-12T15:03:21,262 ------------------------------------------------------------ 2021-07-12T15:03:21,262 ... 2021-07-12T15:03:21,262 def blink(self): 2021-07-12T15:03:21,263 """Wraps usbBlink_USB1208FS(): 2021-07-12T15:03:21,263 blinks the LED of USB device 2021-07-12T15:03:21,263 """ 2021-07-12T15:03:21,263 usbBlink_USB1208FS(self.udev) 2021-07-12T15:03:21,263 ^ 2021-07-12T15:03:21,263 ------------------------------------------------------------ 2021-07-12T15:03:21,263 usb1208fs/usb1208fs.pyx:499:8: undeclared name not builtin: usbBlink_USB1208FS 2021-07-12T15:03:21,264 Error compiling Cython file: 2021-07-12T15:03:21,264 ------------------------------------------------------------ 2021-07-12T15:03:21,264 ... 2021-07-12T15:03:21,264 def reset(self): 2021-07-12T15:03:21,264 """Wraps usbReset_USB1208FS(): 2021-07-12T15:03:21,264 This function causes the device to perform a reset. 2021-07-12T15:03:21,264 The device disconnects from the USB bus and resets its microcontroller. 2021-07-12T15:03:21,264 """ 2021-07-12T15:03:21,264 usbReset_USB1208FS(self.udev) 2021-07-12T15:03:21,265 ^ 2021-07-12T15:03:21,265 ------------------------------------------------------------ 2021-07-12T15:03:21,265 usb1208fs/usb1208fs.pyx:506:8: undeclared name not builtin: usbReset_USB1208FS 2021-07-12T15:03:21,265 Error compiling Cython file: 2021-07-12T15:03:21,265 ------------------------------------------------------------ 2021-07-12T15:03:21,265 ... 2021-07-12T15:03:21,266 def getStatus(self): 2021-07-12T15:03:21,266 """Wraps usbGetStatus_USB1208FS(): 2021-07-12T15:03:21,266 This command retrieves the status of the device. 2021-07-12T15:03:21,266 """ 2021-07-12T15:03:21,266 return usbGetStatus_USB1208FS(self.udev) 2021-07-12T15:03:21,266 ^ 2021-07-12T15:03:21,266 ------------------------------------------------------------ 2021-07-12T15:03:21,267 usb1208fs/usb1208fs.pyx:512:20: undeclared name not builtin: usbGetStatus_USB1208FS 2021-07-12T15:03:21,267 Error compiling Cython file: 2021-07-12T15:03:21,267 ------------------------------------------------------------ 2021-07-12T15:03:21,267 ... 2021-07-12T15:03:21,267 this feature. 2021-07-12T15:03:21,267 type: the type of trigger 2021-07-12T15:03:21,267 0 = external trigger falling edge, 1 = external trigger rising edge 2021-07-12T15:03:21,268 """ 2021-07-12T15:03:21,268 usbSetTrigger_USB1208FS(self.udev, _type) 2021-07-12T15:03:21,268 ^ 2021-07-12T15:03:21,268 ------------------------------------------------------------ 2021-07-12T15:03:21,268 usb1208fs/usb1208fs.pyx:526:8: undeclared name not builtin: usbSetTrigger_USB1208FS 2021-07-12T15:03:21,268 Error compiling Cython file: 2021-07-12T15:03:21,268 ------------------------------------------------------------ 2021-07-12T15:03:21,268 ... 2021-07-12T15:03:21,269 input. The device will switch the SYNC pin to the appropriate 2021-07-12T15:03:21,269 input / output state when this command is received. 2021-07-12T15:03:21,269 type: 0 = master, 1 = slave 2021-07-12T15:03:21,269 """ 2021-07-12T15:03:21,269 usbSetSync_USB1208FS(self.udev, _type) 2021-07-12T15:03:21,269 ^ 2021-07-12T15:03:21,269 ------------------------------------------------------------ 2021-07-12T15:03:21,270 usb1208fs/usb1208fs.pyx:551:8: undeclared name not builtin: usbSetSync_USB1208FS 2021-07-12T15:03:21,405 Traceback (most recent call last): 2021-07-12T15:03:21,405 File "", line 1, in 2021-07-12T15:03:21,406 File "/tmp/pip-wheel-ma5xye3m/usb1208fs_c0178b527ca248719d667cf323623cc8/setup.py", line 53, in 2021-07-12T15:03:21,406 ext_modules = cythonize(usb1208fs), 2021-07-12T15:03:21,406 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1102, in cythonize 2021-07-12T15:03:21,407 cythonize_one(*args) 2021-07-12T15:03:21,407 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1225, in cythonize_one 2021-07-12T15:03:21,408 raise CompileError(None, pyx_file) 2021-07-12T15:03:21,408 Cython.Compiler.Errors.CompileError: usb1208fs/usb1208fs.pyx 2021-07-12T15:03:21,409 Compiling usb1208fs/usb1208fs.pyx because it depends on /usr/local/lib/python3.9/dist-packages/Cython/Includes/libc/string.pxd. 2021-07-12T15:03:21,409 [1/1] Cythonizing usb1208fs/usb1208fs.pyx 2021-07-12T15:03:21,608 WARNING: Discarding https://files.pythonhosted.org/packages/9e/2e/16db9fba77dc75447a6265d3b701885361a2d54990302903f5039fd126c1/usb1208fs-0.1.3.post4.tar.gz#sha256=d28ad2b0f72029406a8a34313356ca3c48492e65d88a9c85c3d5e5134a33addc (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:03:21,610 ERROR: Could not find a version that satisfies the requirement usb1208fs==0.1.3.post4 (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:03:21,610 ERROR: No matching distribution found for usb1208fs==0.1.3.post4 2021-07-12T15:03:21,610 Exception information: 2021-07-12T15:03:21,610 Traceback (most recent call last): 2021-07-12T15:03:21,610 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 341, in resolve 2021-07-12T15:03:21,610 name, crit = self._merge_into_criterion(r, parent=None) 2021-07-12T15:03:21,610 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _merge_into_criterion 2021-07-12T15:03:21,610 raise RequirementsConflicted(criterion) 2021-07-12T15:03:21,610 pip._vendor.resolvelib.resolvers.RequirementsConflicted: Requirements conflict: SpecifierRequirement('usb1208fs==0.1.3.post4') 2021-07-12T15:03:21,610 2021-07-12T15:03:21,610 During handling of the above exception, another exception occurred: 2021-07-12T15:03:21,610 2021-07-12T15:03:21,610 Traceback (most recent call last): 2021-07-12T15:03:21,610 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 127, in resolve 2021-07-12T15:03:21,610 result = self._result = resolver.resolve( 2021-07-12T15:03:21,610 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 473, in resolve 2021-07-12T15:03:21,610 state = resolution.resolve(requirements, max_rounds=max_rounds) 2021-07-12T15:03:21,610 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 343, in resolve 2021-07-12T15:03:21,610 raise ResolutionImpossible(e.criterion.information) 2021-07-12T15:03:21,610 pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('usb1208fs==0.1.3.post4'), parent=None)] 2021-07-12T15:03:21,610 2021-07-12T15:03:21,610 The above exception was the direct cause of the following exception: 2021-07-12T15:03:21,610 2021-07-12T15:03:21,610 Traceback (most recent call last): 2021-07-12T15:03:21,610 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-12T15:03:21,610 status = self.run(options, args) 2021-07-12T15:03:21,610 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-12T15:03:21,610 return func(self, options, args) 2021-07-12T15:03:21,610 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 142, in run 2021-07-12T15:03:21,610 requirement_set = resolver.resolve( 2021-07-12T15:03:21,610 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 136, in resolve 2021-07-12T15:03:21,610 raise error from e 2021-07-12T15:03:21,610 pip._internal.exceptions.DistributionNotFound: No matching distribution found for usb1208fs==0.1.3.post4 2021-07-12T15:03:21,616 Removed usb1208fs==0.1.3.post4 from https://files.pythonhosted.org/packages/9e/2e/16db9fba77dc75447a6265d3b701885361a2d54990302903f5039fd126c1/usb1208fs-0.1.3.post4.tar.gz#sha256=d28ad2b0f72029406a8a34313356ca3c48492e65d88a9c85c3d5e5134a33addc from build tracker '/tmp/pip-req-tracker-bnbj8uw1' 2021-07-12T15:03:21,616 Removed build tracker: '/tmp/pip-req-tracker-bnbj8uw1'