2021-07-12T15:03:17,392 Created temporary directory: /tmp/pip-ephem-wheel-cache-q6nvk6hz 2021-07-12T15:03:17,395 Created temporary directory: /tmp/pip-req-tracker-2cbdp07c 2021-07-12T15:03:17,395 Initialized build tracking at /tmp/pip-req-tracker-2cbdp07c 2021-07-12T15:03:17,396 Created build tracker: /tmp/pip-req-tracker-2cbdp07c 2021-07-12T15:03:17,396 Entered build tracker: /tmp/pip-req-tracker-2cbdp07c 2021-07-12T15:03:17,396 Created temporary directory: /tmp/pip-wheel-zdmwdfic 2021-07-12T15:03:17,428 1 location(s) to search for versions of usb1208fs: 2021-07-12T15:03:17,428 * https://pypi.org/simple/usb1208fs/ 2021-07-12T15:03:17,429 Fetching project page and analyzing links: https://pypi.org/simple/usb1208fs/ 2021-07-12T15:03:17,429 Getting page https://pypi.org/simple/usb1208fs/ 2021-07-12T15:03:17,431 Found index url https://pypi.org/simple 2021-07-12T15:03:17,524 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,525 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,525 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,525 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,526 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,526 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,526 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,527 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,527 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,527 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,527 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,528 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,528 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,528 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,529 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,529 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,529 Skipping link: not a file: https://pypi.org/simple/usb1208fs/ 2021-07-12T15:03:17,550 Given no hashes to check 1 links for project 'usb1208fs': discarding no candidates 2021-07-12T15:03:17,568 Collecting usb1208fs==0.1.3.post2 2021-07-12T15:03:17,570 Created temporary directory: /tmp/pip-unpack-wnra_px5 2021-07-12T15:03:17,781 Downloading usb1208fs-0.1.3.post2.tar.gz (83 kB) 2021-07-12T15:03:17,883 Added usb1208fs==0.1.3.post2 from https://files.pythonhosted.org/packages/10/02/016aa2bc9f643277cffecc487c61c146f0718f3ddc74abf738d73a14d93a/usb1208fs-0.1.3.post2.tar.gz#sha256=759bd7563bdb37729f917ceeec185cd268ceb7995ccde5b2256a2e6c1ee935dc to build tracker '/tmp/pip-req-tracker-2cbdp07c' 2021-07-12T15:03:17,884 Running setup.py (path:/tmp/pip-wheel-zdmwdfic/usb1208fs_5f9be4f10d6347eda0603b488861218c/setup.py) egg_info for package usb1208fs 2021-07-12T15:03:17,885 Created temporary directory: /tmp/pip-pip-egg-info-6m1ek9jc 2021-07-12T15:03:17,885 Running command python setup.py egg_info 2021-07-12T15:03:19,881 /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-zdmwdfic/usb1208fs_5f9be4f10d6347eda0603b488861218c/usb1208fs/usb1208fs.pyx 2021-07-12T15:03:19,882 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-12T15:03:20,286 Error compiling Cython file: 2021-07-12T15:03:20,286 ------------------------------------------------------------ 2021-07-12T15:03:20,286 ... 2021-07-12T15:03:20,286 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 2021-07-12T15:03:20,287 from __future__ import print_function 2021-07-12T15:03:20,287 from libc.stdlib cimport malloc, free 2021-07-12T15:03:20,287 from libc.stdint cimport uint8_t, uint16_t, uint32_t, int16_t 2021-07-12T15:03:20,287 cimport c1208fs 2021-07-12T15:03:20,287 ^ 2021-07-12T15:03:20,287 ------------------------------------------------------------ 2021-07-12T15:03:20,287 usb1208fs/usb1208fs.pyx:24:8: 'c1208fs.pxd' not found 2021-07-12T15:03:21,369 Error compiling Cython file: 2021-07-12T15:03:21,369 ------------------------------------------------------------ 2021-07-12T15:03:21,369 ... 2021-07-12T15:03:21,370 data {np.ndarray *} - output array for data. Need to be allocated 2021-07-12T15:03:21,370 on the heap 2021-07-12T15:03:21,370 Constants are from usb-1208FS.h""" 2021-07-12T15:03:21,370 cdef libusb_device_handle * udev 2021-07-12T15:03:21,371 ^ 2021-07-12T15:03:21,371 ------------------------------------------------------------ 2021-07-12T15:03:21,371 usb1208fs/usb1208fs.pyx:98:9: 'libusb_device_handle' is not a type identifier 2021-07-12T15:03:21,493 Error compiling Cython file: 2021-07-12T15:03:21,494 ------------------------------------------------------------ 2021-07-12T15:03:21,494 ... 2021-07-12T15:03:21,494 cimport cython 2021-07-12T15:03:21,494 np.import_array() 2021-07-12T15:03:21,494 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:03:21,494 if libusb_init(NULL) != 0: 2021-07-12T15:03:21,495 ^ 2021-07-12T15:03:21,495 ------------------------------------------------------------ 2021-07-12T15:03:21,495 usb1208fs/usb1208fs.pyx:34:3: undeclared name not builtin: libusb_init 2021-07-12T15:03:21,495 Error compiling Cython file: 2021-07-12T15:03:21,495 ------------------------------------------------------------ 2021-07-12T15:03:21,495 ... 2021-07-12T15:03:21,496 cimport cython 2021-07-12T15:03:21,496 np.import_array() 2021-07-12T15:03:21,496 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:03:21,496 if libusb_init(NULL) != 0: 2021-07-12T15:03:21,496 ^ 2021-07-12T15:03:21,496 ------------------------------------------------------------ 2021-07-12T15:03:21,497 usb1208fs/usb1208fs.pyx:34:15: Cannot convert 'void *' to Python object 2021-07-12T15:03:21,497 Error compiling Cython file: 2021-07-12T15:03:21,497 ------------------------------------------------------------ 2021-07-12T15:03:21,497 ... 2021-07-12T15:03:21,497 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:03:21,497 if libusb_init(NULL) != 0: 2021-07-12T15:03:21,498 raise ImportError("Could not load libusb.") 2021-07-12T15:03:21,498 # constants 2021-07-12T15:03:21,498 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:03:21,498 ^ 2021-07-12T15:03:21,498 ------------------------------------------------------------ 2021-07-12T15:03:21,498 usb1208fs/usb1208fs.pyx:38:16: undeclared name not builtin: _USB1208FS_PID 2021-07-12T15:03:21,499 Error compiling Cython file: 2021-07-12T15:03:21,499 ------------------------------------------------------------ 2021-07-12T15:03:21,499 ... 2021-07-12T15:03:21,499 raise ImportError("Could not load libusb.") 2021-07-12T15:03:21,499 # constants 2021-07-12T15:03:21,499 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:03:21,500 DIO_PORTA = _DIO_PORTA 2021-07-12T15:03:21,500 ^ 2021-07-12T15:03:21,500 ------------------------------------------------------------ 2021-07-12T15:03:21,500 usb1208fs/usb1208fs.pyx:40:12: undeclared name not builtin: _DIO_PORTA 2021-07-12T15:03:21,500 Error compiling Cython file: 2021-07-12T15:03:21,500 ------------------------------------------------------------ 2021-07-12T15:03:21,500 ... 2021-07-12T15:03:21,501 # constants 2021-07-12T15:03:21,501 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:03:21,501 DIO_PORTA = _DIO_PORTA 2021-07-12T15:03:21,501 DIO_PORTB = _DIO_PORTB 2021-07-12T15:03:21,501 ^ 2021-07-12T15:03:21,501 ------------------------------------------------------------ 2021-07-12T15:03:21,502 usb1208fs/usb1208fs.pyx:41:12: undeclared name not builtin: _DIO_PORTB 2021-07-12T15:03:21,502 Error compiling Cython file: 2021-07-12T15:03:21,502 ------------------------------------------------------------ 2021-07-12T15:03:21,502 ... 2021-07-12T15:03:21,502 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:03:21,502 DIO_PORTA = _DIO_PORTA 2021-07-12T15:03:21,503 DIO_PORTB = _DIO_PORTB 2021-07-12T15:03:21,503 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,503 ^ 2021-07-12T15:03:21,503 ------------------------------------------------------------ 2021-07-12T15:03:21,503 usb1208fs/usb1208fs.pyx:43:13: undeclared name not builtin: _DIO_DIR_IN 2021-07-12T15:03:21,504 Error compiling Cython file: 2021-07-12T15:03:21,504 ------------------------------------------------------------ 2021-07-12T15:03:21,504 ... 2021-07-12T15:03:21,504 DIO_PORTA = _DIO_PORTA 2021-07-12T15:03:21,504 DIO_PORTB = _DIO_PORTB 2021-07-12T15:03:21,504 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,504 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:03:21,505 ^ 2021-07-12T15:03:21,505 ------------------------------------------------------------ 2021-07-12T15:03:21,505 usb1208fs/usb1208fs.pyx:44:14: undeclared name not builtin: _DIO_DIR_OUT 2021-07-12T15:03:21,505 Error compiling Cython file: 2021-07-12T15:03:21,505 ------------------------------------------------------------ 2021-07-12T15:03:21,505 ... 2021-07-12T15:03:21,505 DIO_PORTB = _DIO_PORTB 2021-07-12T15:03:21,506 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,506 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:03:21,506 SYNC = _SYNC 2021-07-12T15:03:21,506 ^ 2021-07-12T15:03:21,506 ------------------------------------------------------------ 2021-07-12T15:03:21,506 usb1208fs/usb1208fs.pyx:46:7: undeclared name not builtin: _SYNC 2021-07-12T15:03:21,507 Error compiling Cython file: 2021-07-12T15:03:21,507 ------------------------------------------------------------ 2021-07-12T15:03:21,507 ... 2021-07-12T15:03:21,507 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,507 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:03:21,507 SYNC = _SYNC 2021-07-12T15:03:21,508 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,508 ^ 2021-07-12T15:03:21,508 ------------------------------------------------------------ 2021-07-12T15:03:21,508 usb1208fs/usb1208fs.pyx:47:16: undeclared name not builtin: _EXT_TRIG_EDGE 2021-07-12T15:03:21,508 Error compiling Cython file: 2021-07-12T15:03:21,508 ------------------------------------------------------------ 2021-07-12T15:03:21,508 ... 2021-07-12T15:03:21,509 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:03:21,509 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:03:21,509 SYNC = _SYNC 2021-07-12T15:03:21,509 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,509 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,509 ^ 2021-07-12T15:03:21,509 ------------------------------------------------------------ 2021-07-12T15:03:21,510 usb1208fs/usb1208fs.pyx:48:14: undeclared name not builtin: _UPDATE_MODE 2021-07-12T15:03:21,510 Error compiling Cython file: 2021-07-12T15:03:21,510 ------------------------------------------------------------ 2021-07-12T15:03:21,510 ... 2021-07-12T15:03:21,510 SYNC = _SYNC 2021-07-12T15:03:21,510 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,511 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,511 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,511 ^ 2021-07-12T15:03:21,511 ------------------------------------------------------------ 2021-07-12T15:03:21,511 usb1208fs/usb1208fs.pyx:50:12: undeclared name not builtin: _SE_10_00V 2021-07-12T15:03:21,511 Error compiling Cython file: 2021-07-12T15:03:21,512 ------------------------------------------------------------ 2021-07-12T15:03:21,512 ... 2021-07-12T15:03:21,512 SYNC = _SYNC 2021-07-12T15:03:21,512 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,512 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,512 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,512 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,512 ^ 2021-07-12T15:03:21,513 ------------------------------------------------------------ 2021-07-12T15:03:21,513 usb1208fs/usb1208fs.pyx:51:12: undeclared name not builtin: _BP_20_00V 2021-07-12T15:03:21,513 Error compiling Cython file: 2021-07-12T15:03:21,513 ------------------------------------------------------------ 2021-07-12T15:03:21,513 ... 2021-07-12T15:03:21,513 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:03:21,514 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,514 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,514 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,514 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,514 ^ 2021-07-12T15:03:21,514 ------------------------------------------------------------ 2021-07-12T15:03:21,514 usb1208fs/usb1208fs.pyx:52:12: undeclared name not builtin: _BP_10_00V 2021-07-12T15:03:21,515 Error compiling Cython file: 2021-07-12T15:03:21,515 ------------------------------------------------------------ 2021-07-12T15:03:21,515 ... 2021-07-12T15:03:21,515 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:03:21,515 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,515 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,515 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,516 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,516 ^ 2021-07-12T15:03:21,516 ------------------------------------------------------------ 2021-07-12T15:03:21,516 usb1208fs/usb1208fs.pyx:53:11: undeclared name not builtin: _BP_5_00V 2021-07-12T15:03:21,516 Error compiling Cython file: 2021-07-12T15:03:21,516 ------------------------------------------------------------ 2021-07-12T15:03:21,516 ... 2021-07-12T15:03:21,517 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,517 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,517 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,517 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,517 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,517 ^ 2021-07-12T15:03:21,517 ------------------------------------------------------------ 2021-07-12T15:03:21,518 usb1208fs/usb1208fs.pyx:54:11: undeclared name not builtin: _BP_4_00V 2021-07-12T15:03:21,518 Error compiling Cython file: 2021-07-12T15:03:21,518 ------------------------------------------------------------ 2021-07-12T15:03:21,518 ... 2021-07-12T15:03:21,518 SE_10_00V = _SE_10_00V 2021-07-12T15:03:21,518 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,518 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,518 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,519 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,519 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,519 ^ 2021-07-12T15:03:21,519 ------------------------------------------------------------ 2021-07-12T15:03:21,519 usb1208fs/usb1208fs.pyx:55:11: undeclared name not builtin: _BP_2_50V 2021-07-12T15:03:21,519 Error compiling Cython file: 2021-07-12T15:03:21,519 ------------------------------------------------------------ 2021-07-12T15:03:21,520 ... 2021-07-12T15:03:21,520 BP_20_00V = _BP_20_00V 2021-07-12T15:03:21,520 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,520 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,520 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,520 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,520 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,520 ^ 2021-07-12T15:03:21,520 ------------------------------------------------------------ 2021-07-12T15:03:21,521 usb1208fs/usb1208fs.pyx:56:11: undeclared name not builtin: _BP_2_00V 2021-07-12T15:03:21,521 Error compiling Cython file: 2021-07-12T15:03:21,521 ------------------------------------------------------------ 2021-07-12T15:03:21,521 ... 2021-07-12T15:03:21,521 BP_10_00V = _BP_10_00V 2021-07-12T15:03:21,521 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,522 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,522 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,522 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,522 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,522 ^ 2021-07-12T15:03:21,522 ------------------------------------------------------------ 2021-07-12T15:03:21,522 usb1208fs/usb1208fs.pyx:57:11: undeclared name not builtin: _BP_1_25V 2021-07-12T15:03:21,523 Error compiling Cython file: 2021-07-12T15:03:21,523 ------------------------------------------------------------ 2021-07-12T15:03:21,523 ... 2021-07-12T15:03:21,523 BP_5_00V = _BP_5_00V 2021-07-12T15:03:21,523 BP_4_00V = _BP_4_00V 2021-07-12T15:03:21,523 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,523 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,523 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,523 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,524 ^ 2021-07-12T15:03:21,524 ------------------------------------------------------------ 2021-07-12T15:03:21,524 usb1208fs/usb1208fs.pyx:58:11: undeclared name not builtin: _BP_1_00V 2021-07-12T15:03:21,524 Error compiling Cython file: 2021-07-12T15:03:21,524 ------------------------------------------------------------ 2021-07-12T15:03:21,524 ... 2021-07-12T15:03:21,524 BP_2_50V = _BP_2_50V 2021-07-12T15:03:21,525 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,525 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,525 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,525 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,525 ^ 2021-07-12T15:03:21,525 ------------------------------------------------------------ 2021-07-12T15:03:21,525 usb1208fs/usb1208fs.pyx:60:16: undeclared name not builtin: _AIN_EXECUTION 2021-07-12T15:03:21,526 Error compiling Cython file: 2021-07-12T15:03:21,526 ------------------------------------------------------------ 2021-07-12T15:03:21,526 ... 2021-07-12T15:03:21,526 BP_2_00V = _BP_2_00V 2021-07-12T15:03:21,526 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,526 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,526 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,527 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:03:21,527 ^ 2021-07-12T15:03:21,527 ------------------------------------------------------------ 2021-07-12T15:03:21,527 usb1208fs/usb1208fs.pyx:61:20: undeclared name not builtin: _AIN_TRANSFER_MODE 2021-07-12T15:03:21,527 Error compiling Cython file: 2021-07-12T15:03:21,527 ------------------------------------------------------------ 2021-07-12T15:03:21,528 ... 2021-07-12T15:03:21,528 BP_1_25V = _BP_1_25V 2021-07-12T15:03:21,528 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,528 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,528 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:03:21,528 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:03:21,528 ^ 2021-07-12T15:03:21,528 ------------------------------------------------------------ 2021-07-12T15:03:21,529 usb1208fs/usb1208fs.pyx:62:14: undeclared name not builtin: _AIN_TRIGGER 2021-07-12T15:03:21,529 Error compiling Cython file: 2021-07-12T15:03:21,529 ------------------------------------------------------------ 2021-07-12T15:03:21,529 ... 2021-07-12T15:03:21,529 BP_1_00V = _BP_1_00V 2021-07-12T15:03:21,529 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,530 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:03:21,530 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:03:21,530 AIN_DEBUG = _AIN_DEBUG 2021-07-12T15:03:21,530 ^ 2021-07-12T15:03:21,530 ------------------------------------------------------------ 2021-07-12T15:03:21,530 usb1208fs/usb1208fs.pyx:63:12: undeclared name not builtin: _AIN_DEBUG 2021-07-12T15:03:21,530 Error compiling Cython file: 2021-07-12T15:03:21,531 ------------------------------------------------------------ 2021-07-12T15:03:21,531 ... 2021-07-12T15:03:21,531 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:03:21,531 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:03:21,531 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:03:21,531 AIN_DEBUG = _AIN_DEBUG 2021-07-12T15:03:21,531 AIN_GAIN_QUEUE = _AIN_GAIN_QUEUE 2021-07-12T15:03:21,531 ^ 2021-07-12T15:03:21,532 ------------------------------------------------------------ 2021-07-12T15:03:21,532 usb1208fs/usb1208fs.pyx:64:17: undeclared name not builtin: _AIN_GAIN_QUEUE 2021-07-12T15:03:21,541 Error compiling Cython file: 2021-07-12T15:03:21,541 ------------------------------------------------------------ 2021-07-12T15:03:21,541 ... 2021-07-12T15:03:21,542 # module-scale functions 2021-07-12T15:03:21,542 def toVoltsFS(int gain, int num): 2021-07-12T15:03:21,542 """Wraps volts_FS(): 2021-07-12T15:03:21,542 converts signed short value to volts for Differential Mode 2021-07-12T15:03:21,542 """ 2021-07-12T15:03:21,542 return volts_FS(gain, num) 2021-07-12T15:03:21,542 ^ 2021-07-12T15:03:21,542 ------------------------------------------------------------ 2021-07-12T15:03:21,543 usb1208fs/usb1208fs.pyx:71:18: undeclared name not builtin: volts_FS 2021-07-12T15:03:21,545 Error compiling Cython file: 2021-07-12T15:03:21,545 ------------------------------------------------------------ 2021-07-12T15:03:21,545 ... 2021-07-12T15:03:21,546 @cython.wraparound(False) 2021-07-12T15:03:21,546 def __cinit__(self): 2021-07-12T15:03:21,546 """Constructor of the DAQ. 2021-07-12T15:03:21,546 Calls relevant C functions to acquire the handler of USB_1208FS""" 2021-07-12T15:03:21,546 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:03:21,546 ^ 2021-07-12T15:03:21,546 ------------------------------------------------------------ 2021-07-12T15:03:21,547 usb1208fs/usb1208fs.pyx:108:20: undeclared name not builtin: usb_device_find_USB_MCC 2021-07-12T15:03:21,547 Error compiling Cython file: 2021-07-12T15:03:21,547 ------------------------------------------------------------ 2021-07-12T15:03:21,547 ... 2021-07-12T15:03:21,547 @cython.wraparound(False) 2021-07-12T15:03:21,547 def __cinit__(self): 2021-07-12T15:03:21,547 """Constructor of the DAQ. 2021-07-12T15:03:21,548 Calls relevant C functions to acquire the handler of USB_1208FS""" 2021-07-12T15:03:21,548 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:03:21,548 ^ 2021-07-12T15:03:21,548 ------------------------------------------------------------ 2021-07-12T15:03:21,548 usb1208fs/usb1208fs.pyx:108:59: Cannot convert 'void *' to Python object 2021-07-12T15:03:21,548 Error compiling Cython file: 2021-07-12T15:03:21,549 ------------------------------------------------------------ 2021-07-12T15:03:21,549 ... 2021-07-12T15:03:21,549 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:03:21,549 if (self.udev == NULL) or (self.udev == -1): 2021-07-12T15:03:21,549 raise ValueError("Could not initialize USB1208FS, no device found.") 2021-07-12T15:03:21,549 else: 2021-07-12T15:03:21,549 init_USB1208FS(self.udev) 2021-07-12T15:03:21,549 ^ 2021-07-12T15:03:21,550 ------------------------------------------------------------ 2021-07-12T15:03:21,550 usb1208fs/usb1208fs.pyx:112:12: undeclared name not builtin: init_USB1208FS 2021-07-12T15:03:21,550 Error compiling Cython file: 2021-07-12T15:03:21,550 ------------------------------------------------------------ 2021-07-12T15:03:21,550 ... 2021-07-12T15:03:21,550 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:03:21,551 if (self.udev == NULL) or (self.udev == -1): 2021-07-12T15:03:21,551 raise ValueError("Could not initialize USB1208FS, no device found.") 2021-07-12T15:03:21,551 else: 2021-07-12T15:03:21,551 init_USB1208FS(self.udev) 2021-07-12T15:03:21,551 self.maxPacketSize = usb_get_max_packet_size(self.udev, 0) 2021-07-12T15:03:21,551 ^ 2021-07-12T15:03:21,551 ------------------------------------------------------------ 2021-07-12T15:03:21,552 usb1208fs/usb1208fs.pyx:113:29: undeclared name not builtin: usb_get_max_packet_size 2021-07-12T15:03:21,552 Error compiling Cython file: 2021-07-12T15:03:21,552 ------------------------------------------------------------ 2021-07-12T15:03:21,552 ... 2021-07-12T15:03:21,552 def __del__(self): 2021-07-12T15:03:21,552 """Fully close the device.""" 2021-07-12T15:03:21,552 print("Closing...") 2021-07-12T15:03:21,553 cdef int i = 0 2021-07-12T15:03:21,553 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:03:21,553 ^ 2021-07-12T15:03:21,553 ------------------------------------------------------------ 2021-07-12T15:03:21,553 usb1208fs/usb1208fs.pyx:119:8: undeclared name not builtin: libusb_clear_halt 2021-07-12T15:03:21,553 Error compiling Cython file: 2021-07-12T15:03:21,553 ------------------------------------------------------------ 2021-07-12T15:03:21,554 ... 2021-07-12T15:03:21,554 def __del__(self): 2021-07-12T15:03:21,554 """Fully close the device.""" 2021-07-12T15:03:21,554 print("Closing...") 2021-07-12T15:03:21,554 cdef int i = 0 2021-07-12T15:03:21,554 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:03:21,554 ^ 2021-07-12T15:03:21,555 ------------------------------------------------------------ 2021-07-12T15:03:21,555 usb1208fs/usb1208fs.pyx:119:37: undeclared name not builtin: LIBUSB_ENDPOINT_IN 2021-07-12T15:03:21,555 Error compiling Cython file: 2021-07-12T15:03:21,555 ------------------------------------------------------------ 2021-07-12T15:03:21,555 ... 2021-07-12T15:03:21,555 def __del__(self): 2021-07-12T15:03:21,555 """Fully close the device.""" 2021-07-12T15:03:21,556 print("Closing...") 2021-07-12T15:03:21,556 cdef int i = 0 2021-07-12T15:03:21,556 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:03:21,556 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_OUT| 2) 2021-07-12T15:03:21,556 ^ 2021-07-12T15:03:21,556 ------------------------------------------------------------ 2021-07-12T15:03:21,556 usb1208fs/usb1208fs.pyx:120:37: undeclared name not builtin: LIBUSB_ENDPOINT_OUT 2021-07-12T15:03:21,557 Error compiling Cython file: 2021-07-12T15:03:21,557 ------------------------------------------------------------ 2021-07-12T15:03:21,557 ... 2021-07-12T15:03:21,557 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_OUT| 2) 2021-07-12T15:03:21,557 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 3) 2021-07-12T15:03:21,557 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 4) 2021-07-12T15:03:21,557 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 5) 2021-07-12T15:03:21,557 for i in range(4): 2021-07-12T15:03:21,557 libusb_release_interface(self.udev, i) 2021-07-12T15:03:21,558 ^ 2021-07-12T15:03:21,558 ------------------------------------------------------------ 2021-07-12T15:03:21,558 usb1208fs/usb1208fs.pyx:125:12: undeclared name not builtin: libusb_release_interface 2021-07-12T15:03:21,558 Error compiling Cython file: 2021-07-12T15:03:21,558 ------------------------------------------------------------ 2021-07-12T15:03:21,558 ... 2021-07-12T15:03:21,559 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 3) 2021-07-12T15:03:21,559 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 4) 2021-07-12T15:03:21,559 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 5) 2021-07-12T15:03:21,559 for i in range(4): 2021-07-12T15:03:21,559 libusb_release_interface(self.udev, i) 2021-07-12T15:03:21,559 libusb_close(self.udev); 2021-07-12T15:03:21,559 ^ 2021-07-12T15:03:21,559 ------------------------------------------------------------ 2021-07-12T15:03:21,560 usb1208fs/usb1208fs.pyx:126:8: undeclared name not builtin: libusb_close 2021-07-12T15:03:21,560 Error compiling Cython file: 2021-07-12T15:03:21,560 ------------------------------------------------------------ 2021-07-12T15:03:21,560 ... 2021-07-12T15:03:21,560 """Configure director of digital port. Wraps usbDConfigPort_USB1208FS(): 2021-07-12T15:03:21,560 This command sets the direction of the DIO port to input or output. 2021-07-12T15:03:21,560 Port: 0 = Port A, 1 = Port B 2021-07-12T15:03:21,560 Direction: 0 = output, 1 = input 2021-07-12T15:03:21,561 """ 2021-07-12T15:03:21,561 if usbDConfigPort_USB1208FS(self.udev, port, direction) != 0: 2021-07-12T15:03:21,561 ^ 2021-07-12T15:03:21,561 ------------------------------------------------------------ 2021-07-12T15:03:21,561 usb1208fs/usb1208fs.pyx:134:11: undeclared name not builtin: usbDConfigPort_USB1208FS 2021-07-12T15:03:21,562 Error compiling Cython file: 2021-07-12T15:03:21,562 ------------------------------------------------------------ 2021-07-12T15:03:21,562 ... 2021-07-12T15:03:21,562 value will be the value seen at the port pins. 2021-07-12T15:03:21,562 Returns: {np.uint8_t} Read at port @port. 2021-07-12T15:03:21,562 """ 2021-07-12T15:03:21,562 cdef np.uint8_t din_value 2021-07-12T15:03:21,563 if usbDIn_USB1208FS(self.udev, port, &din_value) != 0: 2021-07-12T15:03:21,563 ^ 2021-07-12T15:03:21,563 ------------------------------------------------------------ 2021-07-12T15:03:21,563 usb1208fs/usb1208fs.pyx:146:11: undeclared name not builtin: usbDIn_USB1208FS 2021-07-12T15:03:21,563 Error compiling Cython file: 2021-07-12T15:03:21,563 ------------------------------------------------------------ 2021-07-12T15:03:21,563 ... 2021-07-12T15:03:21,564 This command writes data to the DIO port bits 2021-07-12T15:03:21,564 that are configured as outputs. 2021-07-12T15:03:21,564 Port: 0 = Port A, 1 = Port B 2021-07-12T15:03:21,564 value: value to write to the port 2021-07-12T15:03:21,564 """ 2021-07-12T15:03:21,564 usbDOut_USB1208FS(self.udev, port, value) 2021-07-12T15:03:21,564 ^ 2021-07-12T15:03:21,564 ------------------------------------------------------------ 2021-07-12T15:03:21,565 usb1208fs/usb1208fs.pyx:157:8: undeclared name not builtin: usbDOut_USB1208FS 2021-07-12T15:03:21,565 Error compiling Cython file: 2021-07-12T15:03:21,565 ------------------------------------------------------------ 2021-07-12T15:03:21,565 ... 2021-07-12T15:03:21,565 setting the desired gain range first. The returned value is a 2021-07-12T15:03:21,565 2’s-complement signed 16-bit number. 2021-07-12T15:03:21,565 channel: the channel to read (0-7) 2021-07-12T15:03:21,565 range: the gain range (0-7) 2021-07-12T15:03:21,566 """ 2021-07-12T15:03:21,566 return usbAIn_USB1208FS(self.udev, channel, _range) 2021-07-12T15:03:21,566 ^ 2021-07-12T15:03:21,566 ------------------------------------------------------------ 2021-07-12T15:03:21,566 usb1208fs/usb1208fs.pyx:167:15: undeclared name not builtin: usbAIn_USB1208FS 2021-07-12T15:03:21,566 Error compiling Cython file: 2021-07-12T15:03:21,566 ------------------------------------------------------------ 2021-07-12T15:03:21,567 ... 2021-07-12T15:03:21,567 where k is the value written to the device and V_ref = 4.096V. 2021-07-12T15:03:21,567 channel: the channel to write (0 or 1) 2021-07-12T15:03:21,567 value: the value to write 2021-07-12T15:03:21,567 """ 2021-07-12T15:03:21,567 usbAOut_USB1208FS(self.udev, channel, value) 2021-07-12T15:03:21,567 ^ 2021-07-12T15:03:21,568 ------------------------------------------------------------ 2021-07-12T15:03:21,568 usb1208fs/usb1208fs.pyx:183:8: undeclared name not builtin: usbAOut_USB1208FS 2021-07-12T15:03:21,568 Error compiling Cython file: 2021-07-12T15:03:21,568 ------------------------------------------------------------ 2021-07-12T15:03:21,568 ... 2021-07-12T15:03:21,568 if not data: 2021-07-12T15:03:21,569 raise MemoryError() 2021-07-12T15:03:21,569 cdef int i = 0 2021-07-12T15:03:21,569 try: 2021-07-12T15:03:21,569 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,569 ^ 2021-07-12T15:03:21,569 ------------------------------------------------------------ 2021-07-12T15:03:21,569 usb1208fs/usb1208fs.pyx:246:15: undeclared name not builtin: usbAOutScan_USB1208FS 2021-07-12T15:03:21,570 Error compiling Cython file: 2021-07-12T15:03:21,570 ------------------------------------------------------------ 2021-07-12T15:03:21,570 ... 2021-07-12T15:03:21,570 raise MemoryError() 2021-07-12T15:03:21,570 cdef int i = 0 2021-07-12T15:03:21,570 try: 2021-07-12T15:03:21,570 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,571 &freq, data, options) < 0: 2021-07-12T15:03:21,571 ^ 2021-07-12T15:03:21,571 ------------------------------------------------------------ 2021-07-12T15:03:21,571 usb1208fs/usb1208fs.pyx:247:20: Cannot convert 'float32_t *' to Python object 2021-07-12T15:03:21,571 Error compiling Cython file: 2021-07-12T15:03:21,571 ------------------------------------------------------------ 2021-07-12T15:03:21,571 ... 2021-07-12T15:03:21,572 raise MemoryError() 2021-07-12T15:03:21,572 cdef int i = 0 2021-07-12T15:03:21,572 try: 2021-07-12T15:03:21,572 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,572 &freq, data, options) < 0: 2021-07-12T15:03:21,572 ^ 2021-07-12T15:03:21,572 ------------------------------------------------------------ 2021-07-12T15:03:21,573 usb1208fs/usb1208fs.pyx:247:27: Cannot convert 'uint16_t *' to Python object 2021-07-12T15:03:21,573 Error compiling Cython file: 2021-07-12T15:03:21,573 ------------------------------------------------------------ 2021-07-12T15:03:21,573 ... 2021-07-12T15:03:21,573 def aoutStop(self): 2021-07-12T15:03:21,573 """Wraps usbAOutStop_USB1208FS(): 2021-07-12T15:03:21,573 This command stops the analog output scan (if running.) 2021-07-12T15:03:21,574 Unlikely to be used. 2021-07-12T15:03:21,574 """ 2021-07-12T15:03:21,574 usbAOutStop_USB1208FS(self.udev) 2021-07-12T15:03:21,574 ^ 2021-07-12T15:03:21,574 ------------------------------------------------------------ 2021-07-12T15:03:21,574 usb1208fs/usb1208fs.pyx:262:8: undeclared name not builtin: usbAOutStop_USB1208FS 2021-07-12T15:03:21,575 Error compiling Cython file: 2021-07-12T15:03:21,575 ------------------------------------------------------------ 2021-07-12T15:03:21,575 ... 2021-07-12T15:03:21,575 def ainStop(self): 2021-07-12T15:03:21,575 """Wraps usbAInStop_USB1208FS(): 2021-07-12T15:03:21,575 This command stops the analog input scan (if running.) 2021-07-12T15:03:21,575 Unlikely to be used. 2021-07-12T15:03:21,575 """ 2021-07-12T15:03:21,575 usbAInStop_USB1208FS(self.udev) 2021-07-12T15:03:21,576 ^ 2021-07-12T15:03:21,576 ------------------------------------------------------------ 2021-07-12T15:03:21,576 usb1208fs/usb1208fs.pyx:269:8: undeclared name not builtin: usbAInStop_USB1208FS 2021-07-12T15:03:21,576 Error compiling Cython file: 2021-07-12T15:03:21,576 ------------------------------------------------------------ 2021-07-12T15:03:21,576 ... 2021-07-12T15:03:21,577 if not data: 2021-07-12T15:03:21,577 raise MemoryError() 2021-07-12T15:03:21,577 cdef int i = 0 2021-07-12T15:03:21,577 try: 2021-07-12T15:03:21,577 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,577 ^ 2021-07-12T15:03:21,577 ------------------------------------------------------------ 2021-07-12T15:03:21,578 usb1208fs/usb1208fs.pyx:343:15: undeclared name not builtin: usbAInScan_USB1208FS 2021-07-12T15:03:21,578 Error compiling Cython file: 2021-07-12T15:03:21,578 ------------------------------------------------------------ 2021-07-12T15:03:21,578 ... 2021-07-12T15:03:21,578 raise MemoryError() 2021-07-12T15:03:21,578 cdef int i = 0 2021-07-12T15:03:21,578 try: 2021-07-12T15:03:21,579 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,579 &freq, options, data) < 0: 2021-07-12T15:03:21,579 ^ 2021-07-12T15:03:21,579 ------------------------------------------------------------ 2021-07-12T15:03:21,579 usb1208fs/usb1208fs.pyx:344:20: Cannot convert 'float32_t *' to Python object 2021-07-12T15:03:21,579 Error compiling Cython file: 2021-07-12T15:03:21,579 ------------------------------------------------------------ 2021-07-12T15:03:21,580 ... 2021-07-12T15:03:21,580 raise MemoryError() 2021-07-12T15:03:21,580 cdef int i = 0 2021-07-12T15:03:21,580 try: 2021-07-12T15:03:21,580 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:03:21,580 &freq, options, data) < 0: 2021-07-12T15:03:21,580 ^ 2021-07-12T15:03:21,581 ------------------------------------------------------------ 2021-07-12T15:03:21,581 usb1208fs/usb1208fs.pyx:344:36: Cannot convert 'int16_t *' to Python object 2021-07-12T15:03:21,581 Error compiling Cython file: 2021-07-12T15:03:21,581 ------------------------------------------------------------ 2021-07-12T15:03:21,581 ... 2021-07-12T15:03:21,581 if not data: 2021-07-12T15:03:21,582 raise MemoryError() 2021-07-12T15:03:21,582 cdef int i = 0 2021-07-12T15:03:21,582 try: 2021-07-12T15:03:21,582 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:03:21,582 ^ 2021-07-12T15:03:21,582 ------------------------------------------------------------ 2021-07-12T15:03:21,582 usb1208fs/usb1208fs.pyx:373:15: undeclared name not builtin: usbAInScan_USB1208FS_SE 2021-07-12T15:03:21,583 Error compiling Cython file: 2021-07-12T15:03:21,583 ------------------------------------------------------------ 2021-07-12T15:03:21,583 ... 2021-07-12T15:03:21,583 raise MemoryError() 2021-07-12T15:03:21,583 cdef int i = 0 2021-07-12T15:03:21,583 try: 2021-07-12T15:03:21,583 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:03:21,584 count, &freq, options, data) < 0: 2021-07-12T15:03:21,584 ^ 2021-07-12T15:03:21,584 ------------------------------------------------------------ 2021-07-12T15:03:21,584 usb1208fs/usb1208fs.pyx:374:27: Cannot convert 'float32_t *' to Python object 2021-07-12T15:03:21,584 Error compiling Cython file: 2021-07-12T15:03:21,584 ------------------------------------------------------------ 2021-07-12T15:03:21,584 ... 2021-07-12T15:03:21,585 raise MemoryError() 2021-07-12T15:03:21,585 cdef int i = 0 2021-07-12T15:03:21,585 try: 2021-07-12T15:03:21,585 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:03:21,585 count, &freq, options, data) < 0: 2021-07-12T15:03:21,585 ^ 2021-07-12T15:03:21,585 ------------------------------------------------------------ 2021-07-12T15:03:21,586 usb1208fs/usb1208fs.pyx:374:43: Cannot convert 'int16_t *' to Python object 2021-07-12T15:03:21,588 Error compiling Cython file: 2021-07-12T15:03:21,588 ------------------------------------------------------------ 2021-07-12T15:03:21,588 ... 2021-07-12T15:03:21,588 try: 2021-07-12T15:03:21,588 for i in range(len(chan)): 2021-07-12T15:03:21,589 chanArr[i] = chan[i] 2021-07-12T15:03:21,589 gainArr[i] = gains[i] 2021-07-12T15:03:21,589 usbALoadQueue_USB1208FS(self.udev, num, chanArr, gainArr) 2021-07-12T15:03:21,589 ^ 2021-07-12T15:03:21,589 ------------------------------------------------------------ 2021-07-12T15:03:21,589 usb1208fs/usb1208fs.pyx:418:12: undeclared name not builtin: usbALoadQueue_USB1208FS 2021-07-12T15:03:21,591 Error compiling Cython file: 2021-07-12T15:03:21,591 ------------------------------------------------------------ 2021-07-12T15:03:21,592 ... 2021-07-12T15:03:21,592 def initCounter(self): 2021-07-12T15:03:21,592 """Wraps usbInitCounter_USB1208FS(): 2021-07-12T15:03:21,592 This command initializes the event counter and resets the count to zero. 2021-07-12T15:03:21,592 """ 2021-07-12T15:03:21,592 usbInitCounter_USB1208FS(self.udev) 2021-07-12T15:03:21,592 ^ 2021-07-12T15:03:21,592 ------------------------------------------------------------ 2021-07-12T15:03:21,593 usb1208fs/usb1208fs.pyx:428:8: undeclared name not builtin: usbInitCounter_USB1208FS 2021-07-12T15:03:21,593 Error compiling Cython file: 2021-07-12T15:03:21,593 ------------------------------------------------------------ 2021-07-12T15:03:21,593 ... 2021-07-12T15:03:21,593 """Wraps usbReadCounter_USB1208FS(): 2021-07-12T15:03:21,593 This function reads the 32-bit event counter on the device. This 2021-07-12T15:03:21,594 counter tallies the transitions of an external input attached to 2021-07-12T15:03:21,594 the CTR pin on the screw terminal of the device. 2021-07-12T15:03:21,594 """ 2021-07-12T15:03:21,594 return usbReadCounter_USB1208FS(self.udev) 2021-07-12T15:03:21,594 ^ 2021-07-12T15:03:21,594 ------------------------------------------------------------ 2021-07-12T15:03:21,594 usb1208fs/usb1208fs.pyx:436:20: undeclared name not builtin: usbReadCounter_USB1208FS 2021-07-12T15:03:21,595 Error compiling Cython file: 2021-07-12T15:03:21,595 ------------------------------------------------------------ 2021-07-12T15:03:21,595 ... 2021-07-12T15:03:21,595 raise MemoryError() 2021-07-12T15:03:21,595 cdef int i = 0 2021-07-12T15:03:21,595 try: 2021-07-12T15:03:21,596 usbReadMemory_USB1208FS(self.udev, address, count, memory) 2021-07-12T15:03:21,596 ^ 2021-07-12T15:03:21,596 ------------------------------------------------------------ 2021-07-12T15:03:21,596 usb1208fs/usb1208fs.pyx:459:12: undeclared name not builtin: usbReadMemory_USB1208FS 2021-07-12T15:03:21,599 Error compiling Cython file: 2021-07-12T15:03:21,599 ------------------------------------------------------------ 2021-07-12T15:03:21,599 ... 2021-07-12T15:03:21,599 cdef int i 2021-07-12T15:03:21,599 try: 2021-07-12T15:03:21,599 for i in range(count): 2021-07-12T15:03:21,600 dataArr[i] = data[i] 2021-07-12T15:03:21,600 if usbWriteMemory_USB1208FS(self.udev, address, count, dataArr) < 0: 2021-07-12T15:03:21,600 ^ 2021-07-12T15:03:21,600 ------------------------------------------------------------ 2021-07-12T15:03:21,600 usb1208fs/usb1208fs.pyx:489:15: undeclared name not builtin: usbWriteMemory_USB1208FS 2021-07-12T15:03:21,601 Error compiling Cython file: 2021-07-12T15:03:21,601 ------------------------------------------------------------ 2021-07-12T15:03:21,601 ... 2021-07-12T15:03:21,602 def blink(self): 2021-07-12T15:03:21,602 """Wraps usbBlink_USB1208FS(): 2021-07-12T15:03:21,602 blinks the LED of USB device 2021-07-12T15:03:21,602 """ 2021-07-12T15:03:21,602 usbBlink_USB1208FS(self.udev) 2021-07-12T15:03:21,602 ^ 2021-07-12T15:03:21,602 ------------------------------------------------------------ 2021-07-12T15:03:21,603 usb1208fs/usb1208fs.pyx:499:8: undeclared name not builtin: usbBlink_USB1208FS 2021-07-12T15:03:21,603 Error compiling Cython file: 2021-07-12T15:03:21,603 ------------------------------------------------------------ 2021-07-12T15:03:21,603 ... 2021-07-12T15:03:21,603 def reset(self): 2021-07-12T15:03:21,603 """Wraps usbReset_USB1208FS(): 2021-07-12T15:03:21,604 This function causes the device to perform a reset. 2021-07-12T15:03:21,604 The device disconnects from the USB bus and resets its microcontroller. 2021-07-12T15:03:21,604 """ 2021-07-12T15:03:21,604 usbReset_USB1208FS(self.udev) 2021-07-12T15:03:21,604 ^ 2021-07-12T15:03:21,604 ------------------------------------------------------------ 2021-07-12T15:03:21,604 usb1208fs/usb1208fs.pyx:506:8: undeclared name not builtin: usbReset_USB1208FS 2021-07-12T15:03:21,605 Error compiling Cython file: 2021-07-12T15:03:21,605 ------------------------------------------------------------ 2021-07-12T15:03:21,605 ... 2021-07-12T15:03:21,605 def getStatus(self): 2021-07-12T15:03:21,605 """Wraps usbGetStatus_USB1208FS(): 2021-07-12T15:03:21,605 This command retrieves the status of the device. 2021-07-12T15:03:21,605 """ 2021-07-12T15:03:21,605 return usbGetStatus_USB1208FS(self.udev) 2021-07-12T15:03:21,606 ^ 2021-07-12T15:03:21,606 ------------------------------------------------------------ 2021-07-12T15:03:21,606 usb1208fs/usb1208fs.pyx:512:20: undeclared name not builtin: usbGetStatus_USB1208FS 2021-07-12T15:03:21,606 Error compiling Cython file: 2021-07-12T15:03:21,606 ------------------------------------------------------------ 2021-07-12T15:03:21,606 ... 2021-07-12T15:03:21,606 this feature. 2021-07-12T15:03:21,607 type: the type of trigger 2021-07-12T15:03:21,607 0 = external trigger falling edge, 1 = external trigger rising edge 2021-07-12T15:03:21,607 """ 2021-07-12T15:03:21,607 usbSetTrigger_USB1208FS(self.udev, _type) 2021-07-12T15:03:21,607 ^ 2021-07-12T15:03:21,607 ------------------------------------------------------------ 2021-07-12T15:03:21,607 usb1208fs/usb1208fs.pyx:526:8: undeclared name not builtin: usbSetTrigger_USB1208FS 2021-07-12T15:03:21,608 Error compiling Cython file: 2021-07-12T15:03:21,608 ------------------------------------------------------------ 2021-07-12T15:03:21,608 ... 2021-07-12T15:03:21,608 input. The device will switch the SYNC pin to the appropriate 2021-07-12T15:03:21,608 input / output state when this command is received. 2021-07-12T15:03:21,608 type: 0 = master, 1 = slave 2021-07-12T15:03:21,608 """ 2021-07-12T15:03:21,609 usbSetSync_USB1208FS(self.udev, _type) 2021-07-12T15:03:21,609 ^ 2021-07-12T15:03:21,609 ------------------------------------------------------------ 2021-07-12T15:03:21,609 usb1208fs/usb1208fs.pyx:551:8: undeclared name not builtin: usbSetSync_USB1208FS 2021-07-12T15:03:21,745 Traceback (most recent call last): 2021-07-12T15:03:21,746 File "", line 1, in 2021-07-12T15:03:21,746 File "/tmp/pip-wheel-zdmwdfic/usb1208fs_5f9be4f10d6347eda0603b488861218c/setup.py", line 53, in 2021-07-12T15:03:21,746 ext_modules = cythonize(usb1208fs), 2021-07-12T15:03:21,746 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1102, in cythonize 2021-07-12T15:03:21,747 cythonize_one(*args) 2021-07-12T15:03:21,747 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1225, in cythonize_one 2021-07-12T15:03:21,748 raise CompileError(None, pyx_file) 2021-07-12T15:03:21,749 Cython.Compiler.Errors.CompileError: usb1208fs/usb1208fs.pyx 2021-07-12T15:03:21,749 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,749 [1/1] Cythonizing usb1208fs/usb1208fs.pyx 2021-07-12T15:03:21,938 WARNING: Discarding https://files.pythonhosted.org/packages/10/02/016aa2bc9f643277cffecc487c61c146f0718f3ddc74abf738d73a14d93a/usb1208fs-0.1.3.post2.tar.gz#sha256=759bd7563bdb37729f917ceeec185cd268ceb7995ccde5b2256a2e6c1ee935dc (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,940 ERROR: Could not find a version that satisfies the requirement usb1208fs==0.1.3.post2 (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,940 ERROR: No matching distribution found for usb1208fs==0.1.3.post2 2021-07-12T15:03:21,941 Exception information: 2021-07-12T15:03:21,941 Traceback (most recent call last): 2021-07-12T15:03:21,941 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 341, in resolve 2021-07-12T15:03:21,941 name, crit = self._merge_into_criterion(r, parent=None) 2021-07-12T15:03:21,941 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,941 raise RequirementsConflicted(criterion) 2021-07-12T15:03:21,941 pip._vendor.resolvelib.resolvers.RequirementsConflicted: Requirements conflict: SpecifierRequirement('usb1208fs==0.1.3.post2') 2021-07-12T15:03:21,941 2021-07-12T15:03:21,941 During handling of the above exception, another exception occurred: 2021-07-12T15:03:21,941 2021-07-12T15:03:21,941 Traceback (most recent call last): 2021-07-12T15:03:21,941 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 127, in resolve 2021-07-12T15:03:21,941 result = self._result = resolver.resolve( 2021-07-12T15:03:21,941 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 473, in resolve 2021-07-12T15:03:21,941 state = resolution.resolve(requirements, max_rounds=max_rounds) 2021-07-12T15:03:21,941 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 343, in resolve 2021-07-12T15:03:21,941 raise ResolutionImpossible(e.criterion.information) 2021-07-12T15:03:21,941 pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('usb1208fs==0.1.3.post2'), parent=None)] 2021-07-12T15:03:21,941 2021-07-12T15:03:21,941 The above exception was the direct cause of the following exception: 2021-07-12T15:03:21,941 2021-07-12T15:03:21,941 Traceback (most recent call last): 2021-07-12T15:03:21,941 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-12T15:03:21,941 status = self.run(options, args) 2021-07-12T15:03:21,941 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-12T15:03:21,941 return func(self, options, args) 2021-07-12T15:03:21,941 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 142, in run 2021-07-12T15:03:21,941 requirement_set = resolver.resolve( 2021-07-12T15:03:21,941 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 136, in resolve 2021-07-12T15:03:21,941 raise error from e 2021-07-12T15:03:21,941 pip._internal.exceptions.DistributionNotFound: No matching distribution found for usb1208fs==0.1.3.post2 2021-07-12T15:03:21,946 Removed usb1208fs==0.1.3.post2 from https://files.pythonhosted.org/packages/10/02/016aa2bc9f643277cffecc487c61c146f0718f3ddc74abf738d73a14d93a/usb1208fs-0.1.3.post2.tar.gz#sha256=759bd7563bdb37729f917ceeec185cd268ceb7995ccde5b2256a2e6c1ee935dc from build tracker '/tmp/pip-req-tracker-2cbdp07c' 2021-07-12T15:03:21,946 Removed build tracker: '/tmp/pip-req-tracker-2cbdp07c'