2021-07-12T15:14:03,720 Created temporary directory: /tmp/pip-ephem-wheel-cache-myniwz__ 2021-07-12T15:14:03,723 Created temporary directory: /tmp/pip-req-tracker-g3tjwqbi 2021-07-12T15:14:03,724 Initialized build tracking at /tmp/pip-req-tracker-g3tjwqbi 2021-07-12T15:14:03,724 Created build tracker: /tmp/pip-req-tracker-g3tjwqbi 2021-07-12T15:14:03,724 Entered build tracker: /tmp/pip-req-tracker-g3tjwqbi 2021-07-12T15:14:03,725 Created temporary directory: /tmp/pip-wheel-fd7fcq86 2021-07-12T15:14:03,754 1 location(s) to search for versions of usb1208fs: 2021-07-12T15:14:03,754 * https://pypi.org/simple/usb1208fs/ 2021-07-12T15:14:03,755 Fetching project page and analyzing links: https://pypi.org/simple/usb1208fs/ 2021-07-12T15:14:03,755 Getting page https://pypi.org/simple/usb1208fs/ 2021-07-12T15:14:03,757 Found index url https://pypi.org/simple 2021-07-12T15:14:03,850 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:14:03,850 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:14:03,851 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:14:03,851 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:14:03,851 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:14:03,852 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:14:03,852 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:14:03,852 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:14:03,853 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:14:03,853 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:14:03,853 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:14:03,853 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:14:03,854 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:14:03,854 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:14:03,854 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:14:03,854 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:14:03,855 Skipping link: not a file: https://pypi.org/simple/usb1208fs/ 2021-07-12T15:14:03,875 Given no hashes to check 1 links for project 'usb1208fs': discarding no candidates 2021-07-12T15:14:03,894 Collecting usb1208fs==0.2.0.post1 2021-07-12T15:14:03,895 Created temporary directory: /tmp/pip-unpack-3nazutef 2021-07-12T15:14:04,109 Downloading usb1208fs-0.2.0.post1.tar.gz (82 kB) 2021-07-12T15:14:04,196 Added usb1208fs==0.2.0.post1 from https://files.pythonhosted.org/packages/77/75/764ae932cf1808bdd1c5d136fb5000c459d58bcb888a388b9aadd6185eba/usb1208fs-0.2.0.post1.tar.gz#sha256=5315d51485a4c5eda19509c1d1336f239dda6fe1ad1de56b9b6886c7f512cdb9 to build tracker '/tmp/pip-req-tracker-g3tjwqbi' 2021-07-12T15:14:04,197 Running setup.py (path:/tmp/pip-wheel-fd7fcq86/usb1208fs_625cc83ec7ec49c5af4ab989c6954356/setup.py) egg_info for package usb1208fs 2021-07-12T15:14:04,198 Created temporary directory: /tmp/pip-pip-egg-info-bpg1n69p 2021-07-12T15:14:04,198 Running command python setup.py egg_info 2021-07-12T15:14:06,258 /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-fd7fcq86/usb1208fs_625cc83ec7ec49c5af4ab989c6954356/usb1208fs/usb1208fs.pyx 2021-07-12T15:14:06,259 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-12T15:14:06,677 Error compiling Cython file: 2021-07-12T15:14:06,677 ------------------------------------------------------------ 2021-07-12T15:14:06,677 ... 2021-07-12T15:14:06,677 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 2021-07-12T15:14:06,677 from __future__ import print_function 2021-07-12T15:14:06,677 from libc.stdlib cimport malloc, free 2021-07-12T15:14:06,678 from libc.stdint cimport uint8_t, uint16_t, uint32_t, int16_t 2021-07-12T15:14:06,678 cimport c1208fs 2021-07-12T15:14:06,678 ^ 2021-07-12T15:14:06,678 ------------------------------------------------------------ 2021-07-12T15:14:06,678 usb1208fs/usb1208fs.pyx:24:8: 'c1208fs.pxd' not found 2021-07-12T15:14:07,775 Error compiling Cython file: 2021-07-12T15:14:07,775 ------------------------------------------------------------ 2021-07-12T15:14:07,775 ... 2021-07-12T15:14:07,775 data {np.ndarray *} - output array for data. Need to be allocated 2021-07-12T15:14:07,776 on the heap 2021-07-12T15:14:07,776 Constants are from usb-1208FS.h""" 2021-07-12T15:14:07,776 cdef libusb_device_handle * udev 2021-07-12T15:14:07,776 ^ 2021-07-12T15:14:07,776 ------------------------------------------------------------ 2021-07-12T15:14:07,777 usb1208fs/usb1208fs.pyx:98:9: 'libusb_device_handle' is not a type identifier 2021-07-12T15:14:07,905 Error compiling Cython file: 2021-07-12T15:14:07,905 ------------------------------------------------------------ 2021-07-12T15:14:07,905 ... 2021-07-12T15:14:07,905 cimport cython 2021-07-12T15:14:07,905 np.import_array() 2021-07-12T15:14:07,906 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:14:07,906 if libusb_init(NULL) != 0: 2021-07-12T15:14:07,906 ^ 2021-07-12T15:14:07,906 ------------------------------------------------------------ 2021-07-12T15:14:07,906 usb1208fs/usb1208fs.pyx:34:3: undeclared name not builtin: libusb_init 2021-07-12T15:14:07,907 Error compiling Cython file: 2021-07-12T15:14:07,907 ------------------------------------------------------------ 2021-07-12T15:14:07,907 ... 2021-07-12T15:14:07,907 cimport cython 2021-07-12T15:14:07,907 np.import_array() 2021-07-12T15:14:07,907 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:14:07,908 if libusb_init(NULL) != 0: 2021-07-12T15:14:07,908 ^ 2021-07-12T15:14:07,908 ------------------------------------------------------------ 2021-07-12T15:14:07,908 usb1208fs/usb1208fs.pyx:34:15: Cannot convert 'void *' to Python object 2021-07-12T15:14:07,908 Error compiling Cython file: 2021-07-12T15:14:07,908 ------------------------------------------------------------ 2021-07-12T15:14:07,909 ... 2021-07-12T15:14:07,909 # initialize libusb on load. Register the exit function for exit. 2021-07-12T15:14:07,909 if libusb_init(NULL) != 0: 2021-07-12T15:14:07,909 raise ImportError("Could not load libusb.") 2021-07-12T15:14:07,909 # constants 2021-07-12T15:14:07,909 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:14:07,909 ^ 2021-07-12T15:14:07,909 ------------------------------------------------------------ 2021-07-12T15:14:07,910 usb1208fs/usb1208fs.pyx:38:16: undeclared name not builtin: _USB1208FS_PID 2021-07-12T15:14:07,910 Error compiling Cython file: 2021-07-12T15:14:07,910 ------------------------------------------------------------ 2021-07-12T15:14:07,910 ... 2021-07-12T15:14:07,910 raise ImportError("Could not load libusb.") 2021-07-12T15:14:07,911 # constants 2021-07-12T15:14:07,911 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:14:07,911 DIO_PORTA = _DIO_PORTA 2021-07-12T15:14:07,911 ^ 2021-07-12T15:14:07,911 ------------------------------------------------------------ 2021-07-12T15:14:07,911 usb1208fs/usb1208fs.pyx:40:12: undeclared name not builtin: _DIO_PORTA 2021-07-12T15:14:07,912 Error compiling Cython file: 2021-07-12T15:14:07,912 ------------------------------------------------------------ 2021-07-12T15:14:07,912 ... 2021-07-12T15:14:07,912 # constants 2021-07-12T15:14:07,912 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:14:07,912 DIO_PORTA = _DIO_PORTA 2021-07-12T15:14:07,912 DIO_PORTB = _DIO_PORTB 2021-07-12T15:14:07,913 ^ 2021-07-12T15:14:07,913 ------------------------------------------------------------ 2021-07-12T15:14:07,913 usb1208fs/usb1208fs.pyx:41:12: undeclared name not builtin: _DIO_PORTB 2021-07-12T15:14:07,913 Error compiling Cython file: 2021-07-12T15:14:07,913 ------------------------------------------------------------ 2021-07-12T15:14:07,913 ... 2021-07-12T15:14:07,913 USB1208FS_PID = _USB1208FS_PID 2021-07-12T15:14:07,914 DIO_PORTA = _DIO_PORTA 2021-07-12T15:14:07,914 DIO_PORTB = _DIO_PORTB 2021-07-12T15:14:07,914 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:14:07,914 ^ 2021-07-12T15:14:07,914 ------------------------------------------------------------ 2021-07-12T15:14:07,915 usb1208fs/usb1208fs.pyx:43:13: undeclared name not builtin: _DIO_DIR_IN 2021-07-12T15:14:07,915 Error compiling Cython file: 2021-07-12T15:14:07,915 ------------------------------------------------------------ 2021-07-12T15:14:07,915 ... 2021-07-12T15:14:07,915 DIO_PORTA = _DIO_PORTA 2021-07-12T15:14:07,915 DIO_PORTB = _DIO_PORTB 2021-07-12T15:14:07,916 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:14:07,916 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:14:07,916 ^ 2021-07-12T15:14:07,916 ------------------------------------------------------------ 2021-07-12T15:14:07,916 usb1208fs/usb1208fs.pyx:44:14: undeclared name not builtin: _DIO_DIR_OUT 2021-07-12T15:14:07,916 Error compiling Cython file: 2021-07-12T15:14:07,917 ------------------------------------------------------------ 2021-07-12T15:14:07,917 ... 2021-07-12T15:14:07,917 DIO_PORTB = _DIO_PORTB 2021-07-12T15:14:07,917 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:14:07,917 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:14:07,917 SYNC = _SYNC 2021-07-12T15:14:07,917 ^ 2021-07-12T15:14:07,918 ------------------------------------------------------------ 2021-07-12T15:14:07,918 usb1208fs/usb1208fs.pyx:46:7: undeclared name not builtin: _SYNC 2021-07-12T15:14:07,918 Error compiling Cython file: 2021-07-12T15:14:07,918 ------------------------------------------------------------ 2021-07-12T15:14:07,918 ... 2021-07-12T15:14:07,919 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:14:07,919 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:14:07,919 SYNC = _SYNC 2021-07-12T15:14:07,919 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:14:07,919 ^ 2021-07-12T15:14:07,919 ------------------------------------------------------------ 2021-07-12T15:14:07,919 usb1208fs/usb1208fs.pyx:47:16: undeclared name not builtin: _EXT_TRIG_EDGE 2021-07-12T15:14:07,920 Error compiling Cython file: 2021-07-12T15:14:07,920 ------------------------------------------------------------ 2021-07-12T15:14:07,920 ... 2021-07-12T15:14:07,920 DIO_DIR_IN = _DIO_DIR_IN 2021-07-12T15:14:07,920 DIO_DIR_OUT = _DIO_DIR_OUT 2021-07-12T15:14:07,920 SYNC = _SYNC 2021-07-12T15:14:07,920 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:14:07,921 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:14:07,921 ^ 2021-07-12T15:14:07,921 ------------------------------------------------------------ 2021-07-12T15:14:07,921 usb1208fs/usb1208fs.pyx:48:14: undeclared name not builtin: _UPDATE_MODE 2021-07-12T15:14:07,921 Error compiling Cython file: 2021-07-12T15:14:07,921 ------------------------------------------------------------ 2021-07-12T15:14:07,922 ... 2021-07-12T15:14:07,922 SYNC = _SYNC 2021-07-12T15:14:07,922 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:14:07,922 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:14:07,922 SE_10_00V = _SE_10_00V 2021-07-12T15:14:07,922 ^ 2021-07-12T15:14:07,922 ------------------------------------------------------------ 2021-07-12T15:14:07,923 usb1208fs/usb1208fs.pyx:50:12: undeclared name not builtin: _SE_10_00V 2021-07-12T15:14:07,923 Error compiling Cython file: 2021-07-12T15:14:07,923 ------------------------------------------------------------ 2021-07-12T15:14:07,923 ... 2021-07-12T15:14:07,923 SYNC = _SYNC 2021-07-12T15:14:07,923 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:14:07,924 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:14:07,924 SE_10_00V = _SE_10_00V 2021-07-12T15:14:07,924 BP_20_00V = _BP_20_00V 2021-07-12T15:14:07,924 ^ 2021-07-12T15:14:07,924 ------------------------------------------------------------ 2021-07-12T15:14:07,924 usb1208fs/usb1208fs.pyx:51:12: undeclared name not builtin: _BP_20_00V 2021-07-12T15:14:07,925 Error compiling Cython file: 2021-07-12T15:14:07,925 ------------------------------------------------------------ 2021-07-12T15:14:07,925 ... 2021-07-12T15:14:07,925 EXT_TRIG_EDGE = _EXT_TRIG_EDGE 2021-07-12T15:14:07,925 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:14:07,925 SE_10_00V = _SE_10_00V 2021-07-12T15:14:07,925 BP_20_00V = _BP_20_00V 2021-07-12T15:14:07,925 BP_10_00V = _BP_10_00V 2021-07-12T15:14:07,926 ^ 2021-07-12T15:14:07,926 ------------------------------------------------------------ 2021-07-12T15:14:07,926 usb1208fs/usb1208fs.pyx:52:12: undeclared name not builtin: _BP_10_00V 2021-07-12T15:14:07,926 Error compiling Cython file: 2021-07-12T15:14:07,926 ------------------------------------------------------------ 2021-07-12T15:14:07,926 ... 2021-07-12T15:14:07,926 UPDATE_MODE = _UPDATE_MODE 2021-07-12T15:14:07,927 SE_10_00V = _SE_10_00V 2021-07-12T15:14:07,927 BP_20_00V = _BP_20_00V 2021-07-12T15:14:07,927 BP_10_00V = _BP_10_00V 2021-07-12T15:14:07,927 BP_5_00V = _BP_5_00V 2021-07-12T15:14:07,927 ^ 2021-07-12T15:14:07,927 ------------------------------------------------------------ 2021-07-12T15:14:07,927 usb1208fs/usb1208fs.pyx:53:11: undeclared name not builtin: _BP_5_00V 2021-07-12T15:14:07,928 Error compiling Cython file: 2021-07-12T15:14:07,928 ------------------------------------------------------------ 2021-07-12T15:14:07,928 ... 2021-07-12T15:14:07,928 SE_10_00V = _SE_10_00V 2021-07-12T15:14:07,928 BP_20_00V = _BP_20_00V 2021-07-12T15:14:07,928 BP_10_00V = _BP_10_00V 2021-07-12T15:14:07,928 BP_5_00V = _BP_5_00V 2021-07-12T15:14:07,929 BP_4_00V = _BP_4_00V 2021-07-12T15:14:07,929 ^ 2021-07-12T15:14:07,929 ------------------------------------------------------------ 2021-07-12T15:14:07,929 usb1208fs/usb1208fs.pyx:54:11: undeclared name not builtin: _BP_4_00V 2021-07-12T15:14:07,929 Error compiling Cython file: 2021-07-12T15:14:07,929 ------------------------------------------------------------ 2021-07-12T15:14:07,929 ... 2021-07-12T15:14:07,930 SE_10_00V = _SE_10_00V 2021-07-12T15:14:07,930 BP_20_00V = _BP_20_00V 2021-07-12T15:14:07,930 BP_10_00V = _BP_10_00V 2021-07-12T15:14:07,930 BP_5_00V = _BP_5_00V 2021-07-12T15:14:07,930 BP_4_00V = _BP_4_00V 2021-07-12T15:14:07,930 BP_2_50V = _BP_2_50V 2021-07-12T15:14:07,930 ^ 2021-07-12T15:14:07,930 ------------------------------------------------------------ 2021-07-12T15:14:07,931 usb1208fs/usb1208fs.pyx:55:11: undeclared name not builtin: _BP_2_50V 2021-07-12T15:14:07,931 Error compiling Cython file: 2021-07-12T15:14:07,931 ------------------------------------------------------------ 2021-07-12T15:14:07,931 ... 2021-07-12T15:14:07,931 BP_20_00V = _BP_20_00V 2021-07-12T15:14:07,931 BP_10_00V = _BP_10_00V 2021-07-12T15:14:07,931 BP_5_00V = _BP_5_00V 2021-07-12T15:14:07,932 BP_4_00V = _BP_4_00V 2021-07-12T15:14:07,932 BP_2_50V = _BP_2_50V 2021-07-12T15:14:07,932 BP_2_00V = _BP_2_00V 2021-07-12T15:14:07,932 ^ 2021-07-12T15:14:07,932 ------------------------------------------------------------ 2021-07-12T15:14:07,932 usb1208fs/usb1208fs.pyx:56:11: undeclared name not builtin: _BP_2_00V 2021-07-12T15:14:07,932 Error compiling Cython file: 2021-07-12T15:14:07,933 ------------------------------------------------------------ 2021-07-12T15:14:07,933 ... 2021-07-12T15:14:07,933 BP_10_00V = _BP_10_00V 2021-07-12T15:14:07,933 BP_5_00V = _BP_5_00V 2021-07-12T15:14:07,933 BP_4_00V = _BP_4_00V 2021-07-12T15:14:07,933 BP_2_50V = _BP_2_50V 2021-07-12T15:14:07,933 BP_2_00V = _BP_2_00V 2021-07-12T15:14:07,933 BP_1_25V = _BP_1_25V 2021-07-12T15:14:07,933 ^ 2021-07-12T15:14:07,933 ------------------------------------------------------------ 2021-07-12T15:14:07,934 usb1208fs/usb1208fs.pyx:57:11: undeclared name not builtin: _BP_1_25V 2021-07-12T15:14:07,934 Error compiling Cython file: 2021-07-12T15:14:07,934 ------------------------------------------------------------ 2021-07-12T15:14:07,934 ... 2021-07-12T15:14:07,934 BP_5_00V = _BP_5_00V 2021-07-12T15:14:07,934 BP_4_00V = _BP_4_00V 2021-07-12T15:14:07,934 BP_2_50V = _BP_2_50V 2021-07-12T15:14:07,935 BP_2_00V = _BP_2_00V 2021-07-12T15:14:07,935 BP_1_25V = _BP_1_25V 2021-07-12T15:14:07,935 BP_1_00V = _BP_1_00V 2021-07-12T15:14:07,935 ^ 2021-07-12T15:14:07,935 ------------------------------------------------------------ 2021-07-12T15:14:07,935 usb1208fs/usb1208fs.pyx:58:11: undeclared name not builtin: _BP_1_00V 2021-07-12T15:14:07,935 Error compiling Cython file: 2021-07-12T15:14:07,936 ------------------------------------------------------------ 2021-07-12T15:14:07,936 ... 2021-07-12T15:14:07,936 BP_2_50V = _BP_2_50V 2021-07-12T15:14:07,936 BP_2_00V = _BP_2_00V 2021-07-12T15:14:07,936 BP_1_25V = _BP_1_25V 2021-07-12T15:14:07,936 BP_1_00V = _BP_1_00V 2021-07-12T15:14:07,936 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:14:07,936 ^ 2021-07-12T15:14:07,937 ------------------------------------------------------------ 2021-07-12T15:14:07,937 usb1208fs/usb1208fs.pyx:60:16: undeclared name not builtin: _AIN_EXECUTION 2021-07-12T15:14:07,937 Error compiling Cython file: 2021-07-12T15:14:07,937 ------------------------------------------------------------ 2021-07-12T15:14:07,937 ... 2021-07-12T15:14:07,937 BP_2_00V = _BP_2_00V 2021-07-12T15:14:07,937 BP_1_25V = _BP_1_25V 2021-07-12T15:14:07,938 BP_1_00V = _BP_1_00V 2021-07-12T15:14:07,938 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:14:07,938 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:14:07,938 ^ 2021-07-12T15:14:07,938 ------------------------------------------------------------ 2021-07-12T15:14:07,938 usb1208fs/usb1208fs.pyx:61:20: undeclared name not builtin: _AIN_TRANSFER_MODE 2021-07-12T15:14:07,939 Error compiling Cython file: 2021-07-12T15:14:07,939 ------------------------------------------------------------ 2021-07-12T15:14:07,939 ... 2021-07-12T15:14:07,939 BP_1_25V = _BP_1_25V 2021-07-12T15:14:07,939 BP_1_00V = _BP_1_00V 2021-07-12T15:14:07,939 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:14:07,939 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:14:07,939 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:14:07,940 ^ 2021-07-12T15:14:07,940 ------------------------------------------------------------ 2021-07-12T15:14:07,940 usb1208fs/usb1208fs.pyx:62:14: undeclared name not builtin: _AIN_TRIGGER 2021-07-12T15:14:07,940 Error compiling Cython file: 2021-07-12T15:14:07,940 ------------------------------------------------------------ 2021-07-12T15:14:07,940 ... 2021-07-12T15:14:07,941 BP_1_00V = _BP_1_00V 2021-07-12T15:14:07,941 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:14:07,941 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:14:07,941 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:14:07,941 AIN_DEBUG = _AIN_DEBUG 2021-07-12T15:14:07,941 ^ 2021-07-12T15:14:07,941 ------------------------------------------------------------ 2021-07-12T15:14:07,942 usb1208fs/usb1208fs.pyx:63:12: undeclared name not builtin: _AIN_DEBUG 2021-07-12T15:14:07,942 Error compiling Cython file: 2021-07-12T15:14:07,942 ------------------------------------------------------------ 2021-07-12T15:14:07,942 ... 2021-07-12T15:14:07,942 AIN_EXECUTION = _AIN_EXECUTION 2021-07-12T15:14:07,942 AIN_TRANSFER_MODE = _AIN_TRANSFER_MODE 2021-07-12T15:14:07,943 AIN_TRIGGER = _AIN_TRIGGER 2021-07-12T15:14:07,943 AIN_DEBUG = _AIN_DEBUG 2021-07-12T15:14:07,943 AIN_GAIN_QUEUE = _AIN_GAIN_QUEUE 2021-07-12T15:14:07,943 ^ 2021-07-12T15:14:07,943 ------------------------------------------------------------ 2021-07-12T15:14:07,943 usb1208fs/usb1208fs.pyx:64:17: undeclared name not builtin: _AIN_GAIN_QUEUE 2021-07-12T15:14:07,954 Error compiling Cython file: 2021-07-12T15:14:07,954 ------------------------------------------------------------ 2021-07-12T15:14:07,954 ... 2021-07-12T15:14:07,954 # module-scale functions 2021-07-12T15:14:07,954 def toVoltsFS(int gain, int num): 2021-07-12T15:14:07,955 """Wraps volts_FS(): 2021-07-12T15:14:07,955 converts signed short value to volts for Differential Mode 2021-07-12T15:14:07,955 """ 2021-07-12T15:14:07,955 return volts_FS(gain, num) 2021-07-12T15:14:07,955 ^ 2021-07-12T15:14:07,955 ------------------------------------------------------------ 2021-07-12T15:14:07,955 usb1208fs/usb1208fs.pyx:71:18: undeclared name not builtin: volts_FS 2021-07-12T15:14:07,958 Error compiling Cython file: 2021-07-12T15:14:07,958 ------------------------------------------------------------ 2021-07-12T15:14:07,958 ... 2021-07-12T15:14:07,958 @cython.wraparound(False) 2021-07-12T15:14:07,958 def __cinit__(self): 2021-07-12T15:14:07,958 """Constructor of the DAQ. 2021-07-12T15:14:07,958 Calls relevant C functions to acquire the handler of USB_1208FS""" 2021-07-12T15:14:07,959 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:14:07,959 ^ 2021-07-12T15:14:07,959 ------------------------------------------------------------ 2021-07-12T15:14:07,959 usb1208fs/usb1208fs.pyx:108:20: undeclared name not builtin: usb_device_find_USB_MCC 2021-07-12T15:14:07,959 Error compiling Cython file: 2021-07-12T15:14:07,960 ------------------------------------------------------------ 2021-07-12T15:14:07,960 ... 2021-07-12T15:14:07,960 @cython.wraparound(False) 2021-07-12T15:14:07,960 def __cinit__(self): 2021-07-12T15:14:07,960 """Constructor of the DAQ. 2021-07-12T15:14:07,960 Calls relevant C functions to acquire the handler of USB_1208FS""" 2021-07-12T15:14:07,960 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:14:07,960 ^ 2021-07-12T15:14:07,961 ------------------------------------------------------------ 2021-07-12T15:14:07,961 usb1208fs/usb1208fs.pyx:108:59: Cannot convert 'void *' to Python object 2021-07-12T15:14:07,961 Error compiling Cython file: 2021-07-12T15:14:07,961 ------------------------------------------------------------ 2021-07-12T15:14:07,961 ... 2021-07-12T15:14:07,962 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:14:07,962 if (self.udev == NULL) or (self.udev == -1): 2021-07-12T15:14:07,962 raise ValueError("Could not initialize USB1208FS, no device found.") 2021-07-12T15:14:07,962 else: 2021-07-12T15:14:07,962 init_USB1208FS(self.udev) 2021-07-12T15:14:07,962 ^ 2021-07-12T15:14:07,962 ------------------------------------------------------------ 2021-07-12T15:14:07,962 usb1208fs/usb1208fs.pyx:112:12: undeclared name not builtin: init_USB1208FS 2021-07-12T15:14:07,963 Error compiling Cython file: 2021-07-12T15:14:07,963 ------------------------------------------------------------ 2021-07-12T15:14:07,963 ... 2021-07-12T15:14:07,963 self.udev = usb_device_find_USB_MCC(USB1208FS_PID, NULL) 2021-07-12T15:14:07,963 if (self.udev == NULL) or (self.udev == -1): 2021-07-12T15:14:07,963 raise ValueError("Could not initialize USB1208FS, no device found.") 2021-07-12T15:14:07,963 else: 2021-07-12T15:14:07,964 init_USB1208FS(self.udev) 2021-07-12T15:14:07,964 self.maxPacketSize = usb_get_max_packet_size(self.udev, 0) 2021-07-12T15:14:07,964 ^ 2021-07-12T15:14:07,964 ------------------------------------------------------------ 2021-07-12T15:14:07,964 usb1208fs/usb1208fs.pyx:113:29: undeclared name not builtin: usb_get_max_packet_size 2021-07-12T15:14:07,964 Error compiling Cython file: 2021-07-12T15:14:07,965 ------------------------------------------------------------ 2021-07-12T15:14:07,965 ... 2021-07-12T15:14:07,965 def __del__(self): 2021-07-12T15:14:07,965 """Fully close the device.""" 2021-07-12T15:14:07,965 print("Closing...") 2021-07-12T15:14:07,965 cdef int i = 0 2021-07-12T15:14:07,965 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:14:07,965 ^ 2021-07-12T15:14:07,966 ------------------------------------------------------------ 2021-07-12T15:14:07,966 usb1208fs/usb1208fs.pyx:119:8: undeclared name not builtin: libusb_clear_halt 2021-07-12T15:14:07,966 Error compiling Cython file: 2021-07-12T15:14:07,966 ------------------------------------------------------------ 2021-07-12T15:14:07,966 ... 2021-07-12T15:14:07,966 def __del__(self): 2021-07-12T15:14:07,967 """Fully close the device.""" 2021-07-12T15:14:07,967 print("Closing...") 2021-07-12T15:14:07,967 cdef int i = 0 2021-07-12T15:14:07,967 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:14:07,967 ^ 2021-07-12T15:14:07,967 ------------------------------------------------------------ 2021-07-12T15:14:07,967 usb1208fs/usb1208fs.pyx:119:37: undeclared name not builtin: LIBUSB_ENDPOINT_IN 2021-07-12T15:14:07,968 Error compiling Cython file: 2021-07-12T15:14:07,968 ------------------------------------------------------------ 2021-07-12T15:14:07,968 ... 2021-07-12T15:14:07,968 def __del__(self): 2021-07-12T15:14:07,968 """Fully close the device.""" 2021-07-12T15:14:07,968 print("Closing...") 2021-07-12T15:14:07,968 cdef int i = 0 2021-07-12T15:14:07,968 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 1) 2021-07-12T15:14:07,969 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_OUT| 2) 2021-07-12T15:14:07,969 ^ 2021-07-12T15:14:07,969 ------------------------------------------------------------ 2021-07-12T15:14:07,969 usb1208fs/usb1208fs.pyx:120:37: undeclared name not builtin: LIBUSB_ENDPOINT_OUT 2021-07-12T15:14:07,969 Error compiling Cython file: 2021-07-12T15:14:07,969 ------------------------------------------------------------ 2021-07-12T15:14:07,970 ... 2021-07-12T15:14:07,970 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_OUT| 2) 2021-07-12T15:14:07,970 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 3) 2021-07-12T15:14:07,970 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 4) 2021-07-12T15:14:07,970 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 5) 2021-07-12T15:14:07,970 for i in range(4): 2021-07-12T15:14:07,970 libusb_release_interface(self.udev, i) 2021-07-12T15:14:07,970 ^ 2021-07-12T15:14:07,971 ------------------------------------------------------------ 2021-07-12T15:14:07,971 usb1208fs/usb1208fs.pyx:125:12: undeclared name not builtin: libusb_release_interface 2021-07-12T15:14:07,971 Error compiling Cython file: 2021-07-12T15:14:07,971 ------------------------------------------------------------ 2021-07-12T15:14:07,971 ... 2021-07-12T15:14:07,971 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 3) 2021-07-12T15:14:07,972 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 4) 2021-07-12T15:14:07,972 libusb_clear_halt(self.udev, LIBUSB_ENDPOINT_IN | 5) 2021-07-12T15:14:07,972 for i in range(4): 2021-07-12T15:14:07,972 libusb_release_interface(self.udev, i) 2021-07-12T15:14:07,972 libusb_close(self.udev); 2021-07-12T15:14:07,972 ^ 2021-07-12T15:14:07,972 ------------------------------------------------------------ 2021-07-12T15:14:07,972 usb1208fs/usb1208fs.pyx:126:8: undeclared name not builtin: libusb_close 2021-07-12T15:14:07,973 Error compiling Cython file: 2021-07-12T15:14:07,973 ------------------------------------------------------------ 2021-07-12T15:14:07,973 ... 2021-07-12T15:14:07,973 """Configure director of digital port. Wraps usbDConfigPort_USB1208FS(): 2021-07-12T15:14:07,973 This command sets the direction of the DIO port to input or output. 2021-07-12T15:14:07,973 Port: 0 = Port A, 1 = Port B 2021-07-12T15:14:07,973 Direction: 0 = output, 1 = input 2021-07-12T15:14:07,974 """ 2021-07-12T15:14:07,974 if usbDConfigPort_USB1208FS(self.udev, port, direction) != 0: 2021-07-12T15:14:07,974 ^ 2021-07-12T15:14:07,974 ------------------------------------------------------------ 2021-07-12T15:14:07,974 usb1208fs/usb1208fs.pyx:134:11: undeclared name not builtin: usbDConfigPort_USB1208FS 2021-07-12T15:14:07,974 Error compiling Cython file: 2021-07-12T15:14:07,975 ------------------------------------------------------------ 2021-07-12T15:14:07,975 ... 2021-07-12T15:14:07,975 value will be the value seen at the port pins. 2021-07-12T15:14:07,975 Returns: {np.uint8_t} Read at port @port. 2021-07-12T15:14:07,975 """ 2021-07-12T15:14:07,975 cdef np.uint8_t din_value 2021-07-12T15:14:07,975 if usbDIn_USB1208FS(self.udev, port, &din_value) != 0: 2021-07-12T15:14:07,975 ^ 2021-07-12T15:14:07,976 ------------------------------------------------------------ 2021-07-12T15:14:07,976 usb1208fs/usb1208fs.pyx:146:11: undeclared name not builtin: usbDIn_USB1208FS 2021-07-12T15:14:07,976 Error compiling Cython file: 2021-07-12T15:14:07,976 ------------------------------------------------------------ 2021-07-12T15:14:07,976 ... 2021-07-12T15:14:07,976 This command writes data to the DIO port bits 2021-07-12T15:14:07,976 that are configured as outputs. 2021-07-12T15:14:07,977 Port: 0 = Port A, 1 = Port B 2021-07-12T15:14:07,977 value: value to write to the port 2021-07-12T15:14:07,977 """ 2021-07-12T15:14:07,977 usbDOut_USB1208FS(self.udev, port, value) 2021-07-12T15:14:07,977 ^ 2021-07-12T15:14:07,977 ------------------------------------------------------------ 2021-07-12T15:14:07,977 usb1208fs/usb1208fs.pyx:157:8: undeclared name not builtin: usbDOut_USB1208FS 2021-07-12T15:14:07,978 Error compiling Cython file: 2021-07-12T15:14:07,978 ------------------------------------------------------------ 2021-07-12T15:14:07,978 ... 2021-07-12T15:14:07,978 setting the desired gain range first. The returned value is a 2021-07-12T15:14:07,978 2’s-complement signed 16-bit number. 2021-07-12T15:14:07,978 channel: the channel to read (0-7) 2021-07-12T15:14:07,978 range: the gain range (0-7) 2021-07-12T15:14:07,978 """ 2021-07-12T15:14:07,979 return usbAIn_USB1208FS(self.udev, channel, _range) 2021-07-12T15:14:07,979 ^ 2021-07-12T15:14:07,979 ------------------------------------------------------------ 2021-07-12T15:14:07,979 usb1208fs/usb1208fs.pyx:167:15: undeclared name not builtin: usbAIn_USB1208FS 2021-07-12T15:14:07,979 Error compiling Cython file: 2021-07-12T15:14:07,979 ------------------------------------------------------------ 2021-07-12T15:14:07,979 ... 2021-07-12T15:14:07,980 where k is the value written to the device and V_ref = 4.096V. 2021-07-12T15:14:07,980 channel: the channel to write (0 or 1) 2021-07-12T15:14:07,980 value: the value to write 2021-07-12T15:14:07,980 """ 2021-07-12T15:14:07,980 usbAOut_USB1208FS(self.udev, channel, value) 2021-07-12T15:14:07,980 ^ 2021-07-12T15:14:07,980 ------------------------------------------------------------ 2021-07-12T15:14:07,981 usb1208fs/usb1208fs.pyx:183:8: undeclared name not builtin: usbAOut_USB1208FS 2021-07-12T15:14:07,981 Error compiling Cython file: 2021-07-12T15:14:07,981 ------------------------------------------------------------ 2021-07-12T15:14:07,981 ... 2021-07-12T15:14:07,981 if not data: 2021-07-12T15:14:07,981 raise MemoryError() 2021-07-12T15:14:07,982 cdef int i = 0 2021-07-12T15:14:07,982 try: 2021-07-12T15:14:07,982 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:14:07,982 ^ 2021-07-12T15:14:07,982 ------------------------------------------------------------ 2021-07-12T15:14:07,982 usb1208fs/usb1208fs.pyx:246:15: undeclared name not builtin: usbAOutScan_USB1208FS 2021-07-12T15:14:07,983 Error compiling Cython file: 2021-07-12T15:14:07,983 ------------------------------------------------------------ 2021-07-12T15:14:07,983 ... 2021-07-12T15:14:07,983 raise MemoryError() 2021-07-12T15:14:07,983 cdef int i = 0 2021-07-12T15:14:07,983 try: 2021-07-12T15:14:07,983 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:14:07,983 &freq, data, options) < 0: 2021-07-12T15:14:07,984 ^ 2021-07-12T15:14:07,984 ------------------------------------------------------------ 2021-07-12T15:14:07,984 usb1208fs/usb1208fs.pyx:247:20: Cannot convert 'float32_t *' to Python object 2021-07-12T15:14:07,984 Error compiling Cython file: 2021-07-12T15:14:07,984 ------------------------------------------------------------ 2021-07-12T15:14:07,984 ... 2021-07-12T15:14:07,985 raise MemoryError() 2021-07-12T15:14:07,985 cdef int i = 0 2021-07-12T15:14:07,985 try: 2021-07-12T15:14:07,985 if usbAOutScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:14:07,985 &freq, data, options) < 0: 2021-07-12T15:14:07,985 ^ 2021-07-12T15:14:07,985 ------------------------------------------------------------ 2021-07-12T15:14:07,986 usb1208fs/usb1208fs.pyx:247:27: Cannot convert 'uint16_t *' to Python object 2021-07-12T15:14:07,986 Error compiling Cython file: 2021-07-12T15:14:07,986 ------------------------------------------------------------ 2021-07-12T15:14:07,986 ... 2021-07-12T15:14:07,986 def aoutStop(self): 2021-07-12T15:14:07,986 """Wraps usbAOutStop_USB1208FS(): 2021-07-12T15:14:07,987 This command stops the analog output scan (if running.) 2021-07-12T15:14:07,987 Unlikely to be used. 2021-07-12T15:14:07,987 """ 2021-07-12T15:14:07,987 usbAOutStop_USB1208FS(self.udev) 2021-07-12T15:14:07,987 ^ 2021-07-12T15:14:07,987 ------------------------------------------------------------ 2021-07-12T15:14:07,987 usb1208fs/usb1208fs.pyx:262:8: undeclared name not builtin: usbAOutStop_USB1208FS 2021-07-12T15:14:07,988 Error compiling Cython file: 2021-07-12T15:14:07,988 ------------------------------------------------------------ 2021-07-12T15:14:07,988 ... 2021-07-12T15:14:07,988 def ainStop(self): 2021-07-12T15:14:07,988 """Wraps usbAInStop_USB1208FS(): 2021-07-12T15:14:07,988 This command stops the analog input scan (if running.) 2021-07-12T15:14:07,988 Unlikely to be used. 2021-07-12T15:14:07,988 """ 2021-07-12T15:14:07,988 usbAInStop_USB1208FS(self.udev) 2021-07-12T15:14:07,989 ^ 2021-07-12T15:14:07,989 ------------------------------------------------------------ 2021-07-12T15:14:07,989 usb1208fs/usb1208fs.pyx:269:8: undeclared name not builtin: usbAInStop_USB1208FS 2021-07-12T15:14:07,989 Error compiling Cython file: 2021-07-12T15:14:07,989 ------------------------------------------------------------ 2021-07-12T15:14:07,989 ... 2021-07-12T15:14:07,990 if not data: 2021-07-12T15:14:07,990 raise MemoryError() 2021-07-12T15:14:07,990 cdef int i = 0 2021-07-12T15:14:07,990 try: 2021-07-12T15:14:07,990 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:14:07,990 ^ 2021-07-12T15:14:07,990 ------------------------------------------------------------ 2021-07-12T15:14:07,991 usb1208fs/usb1208fs.pyx:344:15: undeclared name not builtin: usbAInScan_USB1208FS 2021-07-12T15:14:07,991 Error compiling Cython file: 2021-07-12T15:14:07,991 ------------------------------------------------------------ 2021-07-12T15:14:07,991 ... 2021-07-12T15:14:07,991 raise MemoryError() 2021-07-12T15:14:07,991 cdef int i = 0 2021-07-12T15:14:07,991 try: 2021-07-12T15:14:07,992 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:14:07,992 &freq, options, data) < 0: 2021-07-12T15:14:07,992 ^ 2021-07-12T15:14:07,992 ------------------------------------------------------------ 2021-07-12T15:14:07,992 usb1208fs/usb1208fs.pyx:345:20: Cannot convert 'float32_t *' to Python object 2021-07-12T15:14:07,992 Error compiling Cython file: 2021-07-12T15:14:07,993 ------------------------------------------------------------ 2021-07-12T15:14:07,993 ... 2021-07-12T15:14:07,993 raise MemoryError() 2021-07-12T15:14:07,993 cdef int i = 0 2021-07-12T15:14:07,993 try: 2021-07-12T15:14:07,993 if usbAInScan_USB1208FS(self.udev, lowchannel, highchannel, count, \ 2021-07-12T15:14:07,993 &freq, options, data) < 0: 2021-07-12T15:14:07,993 ^ 2021-07-12T15:14:07,994 ------------------------------------------------------------ 2021-07-12T15:14:07,994 usb1208fs/usb1208fs.pyx:345:36: Cannot convert 'int16_t *' to Python object 2021-07-12T15:14:07,994 Error compiling Cython file: 2021-07-12T15:14:07,994 ------------------------------------------------------------ 2021-07-12T15:14:07,994 ... 2021-07-12T15:14:07,994 if not data: 2021-07-12T15:14:07,994 raise MemoryError() 2021-07-12T15:14:07,995 cdef int i = 0 2021-07-12T15:14:07,995 try: 2021-07-12T15:14:07,995 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:14:07,995 ^ 2021-07-12T15:14:07,995 ------------------------------------------------------------ 2021-07-12T15:14:07,995 usb1208fs/usb1208fs.pyx:375:15: undeclared name not builtin: usbAInScan_USB1208FS_SE 2021-07-12T15:14:07,996 Error compiling Cython file: 2021-07-12T15:14:07,996 ------------------------------------------------------------ 2021-07-12T15:14:07,996 ... 2021-07-12T15:14:07,996 raise MemoryError() 2021-07-12T15:14:07,996 cdef int i = 0 2021-07-12T15:14:07,996 try: 2021-07-12T15:14:07,996 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:14:07,997 count, &freq, options, data) < 0: 2021-07-12T15:14:07,997 ^ 2021-07-12T15:14:07,997 ------------------------------------------------------------ 2021-07-12T15:14:07,997 usb1208fs/usb1208fs.pyx:376:27: Cannot convert 'float32_t *' to Python object 2021-07-12T15:14:07,997 Error compiling Cython file: 2021-07-12T15:14:07,997 ------------------------------------------------------------ 2021-07-12T15:14:07,998 ... 2021-07-12T15:14:07,998 raise MemoryError() 2021-07-12T15:14:07,998 cdef int i = 0 2021-07-12T15:14:07,998 try: 2021-07-12T15:14:07,998 if usbAInScan_USB1208FS_SE(self.udev, lowchannel, highchannel, \ 2021-07-12T15:14:07,998 count, &freq, options, data) < 0: 2021-07-12T15:14:07,998 ^ 2021-07-12T15:14:07,998 ------------------------------------------------------------ 2021-07-12T15:14:07,999 usb1208fs/usb1208fs.pyx:376:43: Cannot convert 'int16_t *' to Python object 2021-07-12T15:14:08,002 Error compiling Cython file: 2021-07-12T15:14:08,002 ------------------------------------------------------------ 2021-07-12T15:14:08,002 ... 2021-07-12T15:14:08,002 try: 2021-07-12T15:14:08,002 for i in range(len(chan)): 2021-07-12T15:14:08,002 chanArr[i] = chan[i] 2021-07-12T15:14:08,002 gainArr[i] = gains[i] 2021-07-12T15:14:08,002 usbALoadQueue_USB1208FS(self.udev, num, chanArr, gainArr) 2021-07-12T15:14:08,003 ^ 2021-07-12T15:14:08,003 ------------------------------------------------------------ 2021-07-12T15:14:08,003 usb1208fs/usb1208fs.pyx:420:12: undeclared name not builtin: usbALoadQueue_USB1208FS 2021-07-12T15:14:08,005 Error compiling Cython file: 2021-07-12T15:14:08,005 ------------------------------------------------------------ 2021-07-12T15:14:08,005 ... 2021-07-12T15:14:08,005 def initCounter(self): 2021-07-12T15:14:08,005 """Wraps usbInitCounter_USB1208FS(): 2021-07-12T15:14:08,005 This command initializes the event counter and resets the count to zero. 2021-07-12T15:14:08,005 """ 2021-07-12T15:14:08,006 usbInitCounter_USB1208FS(self.udev) 2021-07-12T15:14:08,006 ^ 2021-07-12T15:14:08,006 ------------------------------------------------------------ 2021-07-12T15:14:08,006 usb1208fs/usb1208fs.pyx:430:8: undeclared name not builtin: usbInitCounter_USB1208FS 2021-07-12T15:14:08,006 Error compiling Cython file: 2021-07-12T15:14:08,006 ------------------------------------------------------------ 2021-07-12T15:14:08,007 ... 2021-07-12T15:14:08,007 """Wraps usbReadCounter_USB1208FS(): 2021-07-12T15:14:08,007 This function reads the 32-bit event counter on the device. This 2021-07-12T15:14:08,007 counter tallies the transitions of an external input attached to 2021-07-12T15:14:08,007 the CTR pin on the screw terminal of the device. 2021-07-12T15:14:08,007 """ 2021-07-12T15:14:08,007 return usbReadCounter_USB1208FS(self.udev) 2021-07-12T15:14:08,007 ^ 2021-07-12T15:14:08,008 ------------------------------------------------------------ 2021-07-12T15:14:08,008 usb1208fs/usb1208fs.pyx:438:20: undeclared name not builtin: usbReadCounter_USB1208FS 2021-07-12T15:14:08,008 Error compiling Cython file: 2021-07-12T15:14:08,008 ------------------------------------------------------------ 2021-07-12T15:14:08,008 ... 2021-07-12T15:14:08,008 raise MemoryError() 2021-07-12T15:14:08,009 cdef int i = 0 2021-07-12T15:14:08,009 try: 2021-07-12T15:14:08,009 usbReadMemory_USB1208FS(self.udev, address, count, memory) 2021-07-12T15:14:08,009 ^ 2021-07-12T15:14:08,009 ------------------------------------------------------------ 2021-07-12T15:14:08,009 usb1208fs/usb1208fs.pyx:461:12: undeclared name not builtin: usbReadMemory_USB1208FS 2021-07-12T15:14:08,012 Error compiling Cython file: 2021-07-12T15:14:08,012 ------------------------------------------------------------ 2021-07-12T15:14:08,013 ... 2021-07-12T15:14:08,013 cdef int i 2021-07-12T15:14:08,013 try: 2021-07-12T15:14:08,013 for i in range(count): 2021-07-12T15:14:08,013 dataArr[i] = data[i] 2021-07-12T15:14:08,013 if usbWriteMemory_USB1208FS(self.udev, address, count, dataArr) < 0: 2021-07-12T15:14:08,013 ^ 2021-07-12T15:14:08,014 ------------------------------------------------------------ 2021-07-12T15:14:08,014 usb1208fs/usb1208fs.pyx:491:15: undeclared name not builtin: usbWriteMemory_USB1208FS 2021-07-12T15:14:08,015 Error compiling Cython file: 2021-07-12T15:14:08,015 ------------------------------------------------------------ 2021-07-12T15:14:08,015 ... 2021-07-12T15:14:08,015 def blink(self): 2021-07-12T15:14:08,015 """Wraps usbBlink_USB1208FS(): 2021-07-12T15:14:08,015 blinks the LED of USB device 2021-07-12T15:14:08,015 """ 2021-07-12T15:14:08,016 usbBlink_USB1208FS(self.udev) 2021-07-12T15:14:08,016 ^ 2021-07-12T15:14:08,016 ------------------------------------------------------------ 2021-07-12T15:14:08,016 usb1208fs/usb1208fs.pyx:501:8: undeclared name not builtin: usbBlink_USB1208FS 2021-07-12T15:14:08,016 Error compiling Cython file: 2021-07-12T15:14:08,016 ------------------------------------------------------------ 2021-07-12T15:14:08,017 ... 2021-07-12T15:14:08,017 def reset(self): 2021-07-12T15:14:08,017 """Wraps usbReset_USB1208FS(): 2021-07-12T15:14:08,017 This function causes the device to perform a reset. 2021-07-12T15:14:08,017 The device disconnects from the USB bus and resets its microcontroller. 2021-07-12T15:14:08,017 """ 2021-07-12T15:14:08,017 usbReset_USB1208FS(self.udev) 2021-07-12T15:14:08,017 ^ 2021-07-12T15:14:08,017 ------------------------------------------------------------ 2021-07-12T15:14:08,018 usb1208fs/usb1208fs.pyx:508:8: undeclared name not builtin: usbReset_USB1208FS 2021-07-12T15:14:08,018 Error compiling Cython file: 2021-07-12T15:14:08,018 ------------------------------------------------------------ 2021-07-12T15:14:08,018 ... 2021-07-12T15:14:08,018 def getStatus(self): 2021-07-12T15:14:08,018 """Wraps usbGetStatus_USB1208FS(): 2021-07-12T15:14:08,019 This command retrieves the status of the device. 2021-07-12T15:14:08,019 """ 2021-07-12T15:14:08,019 return usbGetStatus_USB1208FS(self.udev) 2021-07-12T15:14:08,019 ^ 2021-07-12T15:14:08,019 ------------------------------------------------------------ 2021-07-12T15:14:08,019 usb1208fs/usb1208fs.pyx:514:20: undeclared name not builtin: usbGetStatus_USB1208FS 2021-07-12T15:14:08,020 Error compiling Cython file: 2021-07-12T15:14:08,020 ------------------------------------------------------------ 2021-07-12T15:14:08,020 ... 2021-07-12T15:14:08,020 this feature. 2021-07-12T15:14:08,020 type: the type of trigger 2021-07-12T15:14:08,020 0 = external trigger falling edge, 1 = external trigger rising edge 2021-07-12T15:14:08,020 """ 2021-07-12T15:14:08,021 usbSetTrigger_USB1208FS(self.udev, _type) 2021-07-12T15:14:08,021 ^ 2021-07-12T15:14:08,021 ------------------------------------------------------------ 2021-07-12T15:14:08,021 usb1208fs/usb1208fs.pyx:528:8: undeclared name not builtin: usbSetTrigger_USB1208FS 2021-07-12T15:14:08,021 Error compiling Cython file: 2021-07-12T15:14:08,021 ------------------------------------------------------------ 2021-07-12T15:14:08,022 ... 2021-07-12T15:14:08,022 input. The device will switch the SYNC pin to the appropriate 2021-07-12T15:14:08,022 input / output state when this command is received. 2021-07-12T15:14:08,022 type: 0 = master, 1 = slave 2021-07-12T15:14:08,022 """ 2021-07-12T15:14:08,022 usbSetSync_USB1208FS(self.udev, _type) 2021-07-12T15:14:08,022 ^ 2021-07-12T15:14:08,022 ------------------------------------------------------------ 2021-07-12T15:14:08,023 usb1208fs/usb1208fs.pyx:553:8: undeclared name not builtin: usbSetSync_USB1208FS 2021-07-12T15:14:08,023 Error compiling Cython file: 2021-07-12T15:14:08,023 ------------------------------------------------------------ 2021-07-12T15:14:08,023 ... 2021-07-12T15:14:08,023 def getSerial(self): 2021-07-12T15:14:08,023 """Wraps getUsbSerialNumber() in pmd.h, 2021-07-12T15:14:08,023 returns the serial number as a python string 2021-07-12T15:14:08,024 """ 2021-07-12T15:14:08,024 cdef unsigned char[9] serial 2021-07-12T15:14:08,024 if getUsbSerialNumber(self.udev, serial) < 0: 2021-07-12T15:14:08,024 ^ 2021-07-12T15:14:08,024 ------------------------------------------------------------ 2021-07-12T15:14:08,024 usb1208fs/usb1208fs.pyx:560:11: undeclared name not builtin: getUsbSerialNumber 2021-07-12T15:14:08,163 Traceback (most recent call last): 2021-07-12T15:14:08,164 File "", line 1, in 2021-07-12T15:14:08,164 File "/tmp/pip-wheel-fd7fcq86/usb1208fs_625cc83ec7ec49c5af4ab989c6954356/setup.py", line 80, in 2021-07-12T15:14:08,164 ext_modules = cythonize(usb1208fs) if use_cython else usb1208fs, 2021-07-12T15:14:08,164 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1102, in cythonize 2021-07-12T15:14:08,165 cythonize_one(*args) 2021-07-12T15:14:08,166 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1225, in cythonize_one 2021-07-12T15:14:08,166 raise CompileError(None, pyx_file) 2021-07-12T15:14:08,167 Cython.Compiler.Errors.CompileError: usb1208fs/usb1208fs.pyx 2021-07-12T15:14:08,167 Compiling usb1208fs/usb1208fs.pyx because it depends on /usr/local/lib/python3.9/dist-packages/Cython/Includes/libc/string.pxd. 2021-07-12T15:14:08,167 [1/1] Cythonizing usb1208fs/usb1208fs.pyx 2021-07-12T15:14:08,362 WARNING: Discarding https://files.pythonhosted.org/packages/77/75/764ae932cf1808bdd1c5d136fb5000c459d58bcb888a388b9aadd6185eba/usb1208fs-0.2.0.post1.tar.gz#sha256=5315d51485a4c5eda19509c1d1336f239dda6fe1ad1de56b9b6886c7f512cdb9 (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:14:08,364 ERROR: Could not find a version that satisfies the requirement usb1208fs==0.2.0.post1 (from versions: 0.1.1, 0.1.2, 0.1.3, 0.1.3.post0, 0.1.3.post1, 0.1.3.post2, 0.1.3.post3, 0.1.3.post4, 0.1.3.post5, 0.1.3.post6, 0.1.3.post7, 0.1.3.post8, 0.1.3.post9, 0.1.4, 0.2.0.post0, 0.2.0.post1) 2021-07-12T15:14:08,364 ERROR: No matching distribution found for usb1208fs==0.2.0.post1 2021-07-12T15:14:08,365 Exception information: 2021-07-12T15:14:08,365 Traceback (most recent call last): 2021-07-12T15:14:08,365 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 341, in resolve 2021-07-12T15:14:08,365 name, crit = self._merge_into_criterion(r, parent=None) 2021-07-12T15:14:08,365 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _merge_into_criterion 2021-07-12T15:14:08,365 raise RequirementsConflicted(criterion) 2021-07-12T15:14:08,365 pip._vendor.resolvelib.resolvers.RequirementsConflicted: Requirements conflict: SpecifierRequirement('usb1208fs==0.2.0.post1') 2021-07-12T15:14:08,365 2021-07-12T15:14:08,365 During handling of the above exception, another exception occurred: 2021-07-12T15:14:08,365 2021-07-12T15:14:08,365 Traceback (most recent call last): 2021-07-12T15:14:08,365 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 127, in resolve 2021-07-12T15:14:08,365 result = self._result = resolver.resolve( 2021-07-12T15:14:08,365 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 473, in resolve 2021-07-12T15:14:08,365 state = resolution.resolve(requirements, max_rounds=max_rounds) 2021-07-12T15:14:08,365 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 343, in resolve 2021-07-12T15:14:08,365 raise ResolutionImpossible(e.criterion.information) 2021-07-12T15:14:08,365 pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('usb1208fs==0.2.0.post1'), parent=None)] 2021-07-12T15:14:08,365 2021-07-12T15:14:08,365 The above exception was the direct cause of the following exception: 2021-07-12T15:14:08,365 2021-07-12T15:14:08,365 Traceback (most recent call last): 2021-07-12T15:14:08,365 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-12T15:14:08,365 status = self.run(options, args) 2021-07-12T15:14:08,365 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-12T15:14:08,365 return func(self, options, args) 2021-07-12T15:14:08,365 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 142, in run 2021-07-12T15:14:08,365 requirement_set = resolver.resolve( 2021-07-12T15:14:08,365 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 136, in resolve 2021-07-12T15:14:08,365 raise error from e 2021-07-12T15:14:08,365 pip._internal.exceptions.DistributionNotFound: No matching distribution found for usb1208fs==0.2.0.post1 2021-07-12T15:14:08,369 Removed usb1208fs==0.2.0.post1 from https://files.pythonhosted.org/packages/77/75/764ae932cf1808bdd1c5d136fb5000c459d58bcb888a388b9aadd6185eba/usb1208fs-0.2.0.post1.tar.gz#sha256=5315d51485a4c5eda19509c1d1336f239dda6fe1ad1de56b9b6886c7f512cdb9 from build tracker '/tmp/pip-req-tracker-g3tjwqbi' 2021-07-12T15:14:08,370 Removed build tracker: '/tmp/pip-req-tracker-g3tjwqbi'