2023-09-08T05:22:24,271 Created temporary directory: /tmp/pip-build-tracker-bskxbp01 2023-09-08T05:22:24,272 Initialized build tracking at /tmp/pip-build-tracker-bskxbp01 2023-09-08T05:22:24,272 Created build tracker: /tmp/pip-build-tracker-bskxbp01 2023-09-08T05:22:24,273 Entered build tracker: /tmp/pip-build-tracker-bskxbp01 2023-09-08T05:22:24,273 Created temporary directory: /tmp/pip-wheel-hfm6dwqj 2023-09-08T05:22:24,276 Created temporary directory: /tmp/pip-ephem-wheel-cache-9ypwd_nr 2023-09-08T05:22:24,298 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T05:22:24,302 2 location(s) to search for versions of smc-freeimage: 2023-09-08T05:22:24,302 * https://pypi.org/simple/smc-freeimage/ 2023-09-08T05:22:24,302 * https://www.piwheels.org/simple/smc-freeimage/ 2023-09-08T05:22:24,303 Fetching project page and analyzing links: https://pypi.org/simple/smc-freeimage/ 2023-09-08T05:22:24,304 Getting page https://pypi.org/simple/smc-freeimage/ 2023-09-08T05:22:24,305 Found index url https://pypi.org/simple/ 2023-09-08T05:22:24,562 Fetched page https://pypi.org/simple/smc-freeimage/ as application/vnd.pypi.simple.v1+json 2023-09-08T05:22:24,567 Found link https://files.pythonhosted.org/packages/bd/cd/1d1f377e50ac5f9d4d74f862cd380c94f35dc3109415c8804cdd9f047c27/smc.freeimage-0.1.tar.gz (from https://pypi.org/simple/smc-freeimage/), version: 0.1 2023-09-08T05:22:24,568 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/02/0e/cade521f3966c00a56078584453ff9cf19022ac5936949eb0fdddc70eb1c/smc.freeimage-0.1.win-amd64-py2.6.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,568 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/7b/d3/fcdca15e55a531d37fff38616c0625d6eddd6db9b985b375444207408c2b/smc.freeimage-0.1.win-amd64-py2.7.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,569 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/cd/18/bc08948319aea6a7608c291b778f78678ba15f38350e794837ca871b1d0c/smc.freeimage-0.1.win-amd64-py3.2.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,569 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/d2/6f/3230be8d30b8108559317754a566ea333179185ca23cc2d70154623b5408/smc.freeimage-0.1.win32-py2.6.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,570 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/dc/97/7636f6cc8f7d05cd7021746c0ef82b63cca2ca80cbddf50c4aa968731a1d/smc.freeimage-0.1.win32-py2.7.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,571 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/ff/a3/1737219dff91b1bb5a5946acbab0eb7c363df69d6a395d1e696175e036ee/smc.freeimage-0.1.win32-py3.2.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,571 Found link https://files.pythonhosted.org/packages/a2/13/976f8643d86bbc31edebded0ebad2a4c789ea2f1c7ab8a560976205b4e80/smc.freeimage-0.1.zip (from https://pypi.org/simple/smc-freeimage/), version: 0.1 2023-09-08T05:22:24,572 Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/22/3c/09ed567d004c276421f24b679ba3cffe37086c55878bff2994f95fa27d60/smc.freeimage-0.2-py2.6-win-amd64.egg (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,573 Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/e9/89/4dc76cccbb892418075cabf8606b7e170d9265e004104f752b9ff2475ad1/smc.freeimage-0.2-py2.6-win32.egg (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,573 Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/cc/a6/08db0428553ce9da2c96e93ba8b6613d4a639f078675cb9b7e22c93209da/smc.freeimage-0.2-py2.7-win-amd64.egg (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,574 Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/07/53/7192a5dc954366f0015b93adfaf0816b77468fe46b7f24174d6cf235c82f/smc.freeimage-0.2-py2.7-win32.egg (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,574 Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/e6/d2/8bc7394aaa48e3a1e5d6db9a4b91d5f16b6046942ef169506bee236001bb/smc.freeimage-0.2-py3.2-win-amd64.egg (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,575 Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/ff/0a/c037c8ab32b8dd38ca24a8ff3e4ed88a7aa401904e091d6b9e813d7d3222/smc.freeimage-0.2-py3.2-win32.egg (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,576 Found link https://files.pythonhosted.org/packages/43/df/f9bf8bbfad53c98ee275f9b02408f19e56fd3d8e55d7457ee44a903366ba/smc.freeimage-0.2.full.tar.gz (from https://pypi.org/simple/smc-freeimage/), version: 0.2.full 2023-09-08T05:22:24,576 Found link https://files.pythonhosted.org/packages/f6/d4/d9117c8addcdda66b84a04dd5ac6caaf5bae062e2bae6f65f8f4e23c845d/smc.freeimage-0.2.tar.gz (from https://pypi.org/simple/smc-freeimage/), version: 0.2 2023-09-08T05:22:24,577 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/3b/96/8492dc54d0b834477265037e479ac195ef1e187e29b4a61f4d3897893f39/smc.freeimage-0.2.win-amd64-py2.6.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,577 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/25/05/c74a0523164ef1eb1a44e6fe8bf12757ec327c0a07439e5fd8c57f47af15/smc.freeimage-0.2.win-amd64-py2.7.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,578 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/d0/a2/4428a5bc4e35cb248e24802db74d6c04a5bd9aee832fedb11d0a527f0cf5/smc.freeimage-0.2.win-amd64-py3.2.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,578 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/36/78/3ca38cfdcf8cd278f870929de3130acbeb08d1e2ae4c8da52bd766b07d9d/smc.freeimage-0.2.win32-py2.6.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,579 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/79/8a/0a6b1512c0ad4c53175a5521d691db8e840a921ecbea049d98d0a41017d7/smc.freeimage-0.2.win32-py2.7.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,579 Skipping link: unsupported archive format: .exe: https://files.pythonhosted.org/packages/83/83/1e76ec9f28ea81551fedb342ea960424f7b5da2a033abf50a8059e0b2c94/smc.freeimage-0.2.win32-py3.2.exe (from https://pypi.org/simple/smc-freeimage/) 2023-09-08T05:22:24,580 Found link https://files.pythonhosted.org/packages/4b/04/d1126db9325038d968bd6bfcd024a12302ec7093e7747a0f2212ece90148/smc.freeimage-0.2.zip (from https://pypi.org/simple/smc-freeimage/), version: 0.2 2023-09-08T05:22:24,581 Fetching project page and analyzing links: https://www.piwheels.org/simple/smc-freeimage/ 2023-09-08T05:22:24,582 Getting page https://www.piwheels.org/simple/smc-freeimage/ 2023-09-08T05:22:24,583 Found index url https://www.piwheels.org/simple/ 2023-09-08T05:22:24,859 Fetched page https://www.piwheels.org/simple/smc-freeimage/ as text/html 2023-09-08T05:22:24,860 Skipping link: not a file: https://www.piwheels.org/simple/smc-freeimage/ 2023-09-08T05:22:24,861 Skipping link: not a file: https://pypi.org/simple/smc-freeimage/ 2023-09-08T05:22:24,879 Given no hashes to check 2 links for project 'smc-freeimage': discarding no candidates 2023-09-08T05:22:24,897 Collecting smc-freeimage==0.1 2023-09-08T05:22:24,900 Created temporary directory: /tmp/pip-unpack-93f7bunl 2023-09-08T05:22:25,269 Downloading smc.freeimage-0.1.zip (264 kB) 2023-09-08T05:22:25,508 Added smc-freeimage==0.1 from https://files.pythonhosted.org/packages/a2/13/976f8643d86bbc31edebded0ebad2a4c789ea2f1c7ab8a560976205b4e80/smc.freeimage-0.1.zip to build tracker '/tmp/pip-build-tracker-bskxbp01' 2023-09-08T05:22:25,510 Running setup.py (path:/tmp/pip-wheel-hfm6dwqj/smc-freeimage_7c1613e2d2454f3c8847ef40bd745ec4/setup.py) egg_info for package smc-freeimage 2023-09-08T05:22:25,511 Created temporary directory: /tmp/pip-pip-egg-info-6_dx5a2s 2023-09-08T05:22:25,512 Preparing metadata (setup.py): started 2023-09-08T05:22:25,513 Running command python setup.py egg_info 2023-09-08T05:22:26,245 /usr/local/lib/python3.11/dist-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 2023-09-08T05:22:26,246 !! 2023-09-08T05:22:26,246 ******************************************************************************** 2023-09-08T05:22:26,247 Requirements should be satisfied by a PEP 517 installer. 2023-09-08T05:22:26,247 If you are using pip, you can try `pip install --use-pep517`. 2023-09-08T05:22:26,248 ******************************************************************************** 2023-09-08T05:22:26,249 !! 2023-09-08T05:22:26,249 dist.fetch_build_eggs(dist.setup_requires) 2023-09-08T05:22:26,306 Warning: 'classifiers' should be a list, got type 'tuple' 2023-09-08T05:22:26,571 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:712: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. 2023-09-08T05:22:26,572 !! 2023-09-08T05:22:26,573 ******************************************************************************** 2023-09-08T05:22:26,574 Please replace its usage with implicit namespaces (PEP 420). 2023-09-08T05:22:26,575 See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details. 2023-09-08T05:22:26,575 ******************************************************************************** 2023-09-08T05:22:26,576 !! 2023-09-08T05:22:26,577 ep.load()(self, ep.name, value) 2023-09-08T05:22:26,611 *** FreeImage with libjpeg-turbo not found 2023-09-08T05:22:26,611 running egg_info 2023-09-08T05:22:26,612 creating /tmp/pip-pip-egg-info-6_dx5a2s/smc.freeimage.egg-info 2023-09-08T05:22:26,636 writing /tmp/pip-pip-egg-info-6_dx5a2s/smc.freeimage.egg-info/PKG-INFO 2023-09-08T05:22:26,640 writing dependency_links to /tmp/pip-pip-egg-info-6_dx5a2s/smc.freeimage.egg-info/dependency_links.txt 2023-09-08T05:22:26,642 writing namespace_packages to /tmp/pip-pip-egg-info-6_dx5a2s/smc.freeimage.egg-info/namespace_packages.txt 2023-09-08T05:22:26,643 writing top-level names to /tmp/pip-pip-egg-info-6_dx5a2s/smc.freeimage.egg-info/top_level.txt 2023-09-08T05:22:26,645 writing manifest file '/tmp/pip-pip-egg-info-6_dx5a2s/smc.freeimage.egg-info/SOURCES.txt' 2023-09-08T05:22:26,720 reading manifest file '/tmp/pip-pip-egg-info-6_dx5a2s/smc.freeimage.egg-info/SOURCES.txt' 2023-09-08T05:22:26,722 reading manifest template 'MANIFEST.in' 2023-09-08T05:22:26,817 adding license file 'LICENSE.txt' 2023-09-08T05:22:26,820 writing manifest file '/tmp/pip-pip-egg-info-6_dx5a2s/smc.freeimage.egg-info/SOURCES.txt' 2023-09-08T05:22:26,936 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T05:22:26,940 Source in /tmp/pip-wheel-hfm6dwqj/smc-freeimage_7c1613e2d2454f3c8847ef40bd745ec4 has version 0.1, which satisfies requirement smc-freeimage==0.1 from https://files.pythonhosted.org/packages/a2/13/976f8643d86bbc31edebded0ebad2a4c789ea2f1c7ab8a560976205b4e80/smc.freeimage-0.1.zip 2023-09-08T05:22:26,941 Removed smc-freeimage==0.1 from https://files.pythonhosted.org/packages/a2/13/976f8643d86bbc31edebded0ebad2a4c789ea2f1c7ab8a560976205b4e80/smc.freeimage-0.1.zip from build tracker '/tmp/pip-build-tracker-bskxbp01' 2023-09-08T05:22:26,945 Created temporary directory: /tmp/pip-unpack-x6nctpfn 2023-09-08T05:22:26,946 Created temporary directory: /tmp/pip-unpack-rgdyyskz 2023-09-08T05:22:26,950 Building wheels for collected packages: smc-freeimage 2023-09-08T05:22:26,954 Created temporary directory: /tmp/pip-wheel-64j3d793 2023-09-08T05:22:26,955 Building wheel for smc-freeimage (setup.py): started 2023-09-08T05:22:26,956 Destination directory: /tmp/pip-wheel-64j3d793 2023-09-08T05:22:26,957 Running command python setup.py bdist_wheel 2023-09-08T05:22:27,382 *** FreeImage with libjpeg-turbo not found 2023-09-08T05:22:27,683 /usr/local/lib/python3.11/dist-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 2023-09-08T05:22:27,684 !! 2023-09-08T05:22:27,685 ******************************************************************************** 2023-09-08T05:22:27,686 Requirements should be satisfied by a PEP 517 installer. 2023-09-08T05:22:27,687 If you are using pip, you can try `pip install --use-pep517`. 2023-09-08T05:22:27,687 ******************************************************************************** 2023-09-08T05:22:27,689 !! 2023-09-08T05:22:27,689 dist.fetch_build_eggs(dist.setup_requires) 2023-09-08T05:22:27,753 Warning: 'classifiers' should be a list, got type 'tuple' 2023-09-08T05:22:28,002 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:712: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. 2023-09-08T05:22:28,003 !! 2023-09-08T05:22:28,004 ******************************************************************************** 2023-09-08T05:22:28,004 Please replace its usage with implicit namespaces (PEP 420). 2023-09-08T05:22:28,005 See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details. 2023-09-08T05:22:28,006 ******************************************************************************** 2023-09-08T05:22:28,007 !! 2023-09-08T05:22:28,007 ep.load()(self, ep.name, value) 2023-09-08T05:22:28,041 running bdist_wheel 2023-09-08T05:22:28,111 running build 2023-09-08T05:22:28,111 running build_py 2023-09-08T05:22:28,138 creating build 2023-09-08T05:22:28,138 creating build/lib.linux-armv7l-cpython-311 2023-09-08T05:22:28,139 creating build/lib.linux-armv7l-cpython-311/smc 2023-09-08T05:22:28,140 creating build/lib.linux-armv7l-cpython-311/smc/freeimage 2023-09-08T05:22:28,141 copying smc/freeimage/enums.py -> build/lib.linux-armv7l-cpython-311/smc/freeimage 2023-09-08T05:22:28,144 copying smc/freeimage/__init__.py -> build/lib.linux-armv7l-cpython-311/smc/freeimage 2023-09-08T05:22:28,148 running build_ext 2023-09-08T05:22:29,170 Compiling smc/freeimage/_freeimage.pyx because it changed. 2023-09-08T05:22:29,171 [1/1] Cythonizing smc/freeimage/_freeimage.pyx 2023-09-08T05:22:30,222 /usr/local/lib/python3.11/dist-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-wheel-hfm6dwqj/smc-freeimage_7c1613e2d2454f3c8847ef40bd745ec4/smc/freeimage/_freeimage.pyx 2023-09-08T05:22:30,223 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-08T05:22:30,237 warning: smc/freeimage/_freeimage.pyx:101:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 2023-09-08T05:22:30,240 warning: smc/freeimage/_lcms.pxi:33:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-08T05:22:30,417 warning: smc/freeimage/_freeimage.pyx:135:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-08T05:22:30,417 warning: smc/freeimage/_freeimage.pyx:136:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-08T05:22:30,418 warning: smc/freeimage/_freeimage.pyx:138:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-08T05:22:30,419 warning: smc/freeimage/_freeimage.pyx:139:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-08T05:22:30,419 warning: smc/freeimage/_freeimage.pyx:140:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-08T05:22:31,090 warning: smc/freeimage/_lcms.pxi:110:12: Unreachable code 2023-09-08T05:22:31,091 warning: smc/freeimage/_lcms.pxi:117:12: Unreachable code 2023-09-08T05:22:31,091 warning: smc/freeimage/_lcms.pxi:123:12: Unreachable code 2023-09-08T05:22:31,092 warning: smc/freeimage/_lcms.pxi:174:16: Unreachable code 2023-09-08T05:22:31,093 warning: smc/freeimage/_lcms.pxi:181:16: Unreachable code 2023-09-08T05:22:31,093 warning: smc/freeimage/_lcms.pxi:187:16: Unreachable code 2023-09-08T05:22:31,093 warning: smc/freeimage/_lcms.pxi:198:12: Unreachable code 2023-09-08T05:22:32,822 Error compiling Cython file: 2023-09-08T05:22:32,823 ------------------------------------------------------------ 2023-09-08T05:22:32,823 ... 2023-09-08T05:22:32,824 #--- imports 2023-09-08T05:22:32,825 #include "freeimage.pxi" 2023-09-08T05:22:32,825 cimport cpython 2023-09-08T05:22:32,826 cimport freeimage as fi 2023-09-08T05:22:32,826 cimport smc_fi 2023-09-08T05:22:32,827 ^ 2023-09-08T05:22:32,827 ------------------------------------------------------------ 2023-09-08T05:22:32,828 smc/freeimage/_freeimage.pyx:30:8: 'smc_fi.pxd' not found 2023-09-08T05:22:32,885 Error compiling Cython file: 2023-09-08T05:22:32,885 ------------------------------------------------------------ 2023-09-08T05:22:32,886 ... 2023-09-08T05:22:32,886 # WITH GIL! 2023-09-08T05:22:32,887 ctypedef void (*FreeImage_OutputMessageFunction)(fi.FREE_IMAGE_FORMAT, smc_fi.const_char_ptr ) 2023-09-08T05:22:32,887 cdef void FreeImage_SetOutputMessage(void (*)(fi.FREE_IMAGE_FORMAT, smc_fi.const_char_ptr )) 2023-09-08T05:22:32,888 cdef extern from "smc_fi.h" nogil: 2023-09-08T05:22:32,889 ctypedef fi.FIBITMAP* (*FI_ConvertFunction)(fi.FIBITMAP *dib) 2023-09-08T05:22:32,889 ^ 2023-09-08T05:22:32,890 ------------------------------------------------------------ 2023-09-08T05:22:32,891 smc/freeimage/_freeimage.pyx:63:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:32,892 Error compiling Cython file: 2023-09-08T05:22:32,892 ------------------------------------------------------------ 2023-09-08T05:22:32,893 ... 2023-09-08T05:22:32,893 # WITH GIL! 2023-09-08T05:22:32,894 ctypedef void (*FreeImage_OutputMessageFunction)(fi.FREE_IMAGE_FORMAT, smc_fi.const_char_ptr ) 2023-09-08T05:22:32,894 cdef void FreeImage_SetOutputMessage(void (*)(fi.FREE_IMAGE_FORMAT, smc_fi.const_char_ptr )) 2023-09-08T05:22:32,895 cdef extern from "smc_fi.h" nogil: 2023-09-08T05:22:32,896 ctypedef fi.FIBITMAP* (*FI_ConvertFunction)(fi.FIBITMAP *dib) 2023-09-08T05:22:32,896 ^ 2023-09-08T05:22:32,897 ------------------------------------------------------------ 2023-09-08T05:22:32,898 smc/freeimage/_freeimage.pyx:63:48: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:32,898 Error compiling Cython file: 2023-09-08T05:22:32,899 ------------------------------------------------------------ 2023-09-08T05:22:32,900 ... 2023-09-08T05:22:32,901 cdef extern from "smc_fi.h" nogil: 2023-09-08T05:22:32,901 ctypedef fi.FIBITMAP* (*FI_ConvertFunction)(fi.FIBITMAP *dib) 2023-09-08T05:22:32,902 int FREEIMAGE_TURBO 2023-09-08T05:22:32,903 cdef object funicode(smc_fi.const_char_ptr s): 2023-09-08T05:22:32,903 ^ 2023-09-08T05:22:32,904 ------------------------------------------------------------ 2023-09-08T05:22:32,904 smc/freeimage/_freeimage.pyx:66:21: 'const_char_ptr' is not a type identifier 2023-09-08T05:22:32,906 Error compiling Cython file: 2023-09-08T05:22:32,907 ------------------------------------------------------------ 2023-09-08T05:22:32,907 ... 2023-09-08T05:22:32,908 # *************************************************************************** 2023-09-08T05:22:32,908 # LCMS Integration 2023-09-08T05:22:32,909 # 2023-09-08T05:22:32,909 DEF BUFFER_SIZE = 8192 2023-09-08T05:22:32,910 cimport lcms 2023-09-08T05:22:32,910 ^ 2023-09-08T05:22:32,911 ------------------------------------------------------------ 2023-09-08T05:22:32,912 smc/freeimage/_lcms.pxi:34:8: 'lcms.pxd' not found 2023-09-08T05:22:32,921 Error compiling Cython file: 2023-09-08T05:22:32,921 ------------------------------------------------------------ 2023-09-08T05:22:32,922 ... 2023-09-08T05:22:32,923 loggername = "smc.freeimage.lcms" 2023-09-08T05:22:32,924 cdef object _logger = getLogger(loggername) 2023-09-08T05:22:32,925 cdef void errorHandler(lcms.cmsContext ContextID, 2023-09-08T05:22:32,925 ^ 2023-09-08T05:22:32,926 ------------------------------------------------------------ 2023-09-08T05:22:32,927 smc/freeimage/_lcms.pxi:44:23: 'cmsContext' is not a type identifier 2023-09-08T05:22:32,928 Error compiling Cython file: 2023-09-08T05:22:32,928 ------------------------------------------------------------ 2023-09-08T05:22:32,929 ... 2023-09-08T05:22:32,930 loggername = "smc.freeimage.lcms" 2023-09-08T05:22:32,930 cdef object _logger = getLogger(loggername) 2023-09-08T05:22:32,931 cdef void errorHandler(lcms.cmsContext ContextID, 2023-09-08T05:22:32,932 lcms.cmsUInt32Number ErrorCode, 2023-09-08T05:22:32,933 ^ 2023-09-08T05:22:32,933 ------------------------------------------------------------ 2023-09-08T05:22:32,934 smc/freeimage/_lcms.pxi:45:23: 'cmsUInt32Number' is not a type identifier 2023-09-08T05:22:32,935 Error compiling Cython file: 2023-09-08T05:22:32,936 ------------------------------------------------------------ 2023-09-08T05:22:32,936 ... 2023-09-08T05:22:32,937 loggername = "smc.freeimage.lcms" 2023-09-08T05:22:32,937 cdef object _logger = getLogger(loggername) 2023-09-08T05:22:32,938 cdef void errorHandler(lcms.cmsContext ContextID, 2023-09-08T05:22:32,939 lcms.cmsUInt32Number ErrorCode, 2023-09-08T05:22:32,939 smc_fi.const_char_ptr * text) with gil: 2023-09-08T05:22:32,940 ^ 2023-09-08T05:22:32,940 ------------------------------------------------------------ 2023-09-08T05:22:32,941 smc/freeimage/_lcms.pxi:46:23: 'const_char_ptr' is not a type identifier 2023-09-08T05:22:32,943 Error compiling Cython file: 2023-09-08T05:22:32,943 ------------------------------------------------------------ 2023-09-08T05:22:32,944 ... 2023-09-08T05:22:32,944 return result 2023-09-08T05:22:32,945 class LCMSException(Exception): 2023-09-08T05:22:32,946 pass 2023-09-08T05:22:32,947 cdef lcms.cmsHPROFILE createHProfile(char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:32,947 ^ 2023-09-08T05:22:32,948 ------------------------------------------------------------ 2023-09-08T05:22:32,949 smc/freeimage/_lcms.pxi:98:5: 'cmsHPROFILE' is not a type identifier 2023-09-08T05:22:32,950 Error compiling Cython file: 2023-09-08T05:22:32,951 ------------------------------------------------------------ 2023-09-08T05:22:32,951 ... 2023-09-08T05:22:32,952 return hProfile 2023-09-08T05:22:32,954 cdef class LCMSTransformation(object): 2023-09-08T05:22:32,955 cdef lcms.cmsHPROFILE hInProfile 2023-09-08T05:22:32,955 ^ 2023-09-08T05:22:32,956 ------------------------------------------------------------ 2023-09-08T05:22:32,957 smc/freeimage/_lcms.pxi:129:9: 'cmsHPROFILE' is not a type identifier 2023-09-08T05:22:32,958 Error compiling Cython file: 2023-09-08T05:22:32,958 ------------------------------------------------------------ 2023-09-08T05:22:32,959 ... 2023-09-08T05:22:32,959 return hProfile 2023-09-08T05:22:32,961 cdef class LCMSTransformation(object): 2023-09-08T05:22:32,961 cdef lcms.cmsHPROFILE hInProfile 2023-09-08T05:22:32,962 cdef lcms.cmsHPROFILE hOutProfile 2023-09-08T05:22:32,962 ^ 2023-09-08T05:22:32,963 ------------------------------------------------------------ 2023-09-08T05:22:32,963 smc/freeimage/_lcms.pxi:130:9: 'cmsHPROFILE' is not a type identifier 2023-09-08T05:22:32,964 Error compiling Cython file: 2023-09-08T05:22:32,965 ------------------------------------------------------------ 2023-09-08T05:22:32,965 ... 2023-09-08T05:22:32,967 cdef class LCMSTransformation(object): 2023-09-08T05:22:32,967 cdef lcms.cmsHPROFILE hInProfile 2023-09-08T05:22:32,968 cdef lcms.cmsHPROFILE hOutProfile 2023-09-08T05:22:32,968 cdef lcms.cmsHTRANSFORM hTransform 2023-09-08T05:22:32,969 ^ 2023-09-08T05:22:32,969 ------------------------------------------------------------ 2023-09-08T05:22:32,970 smc/freeimage/_lcms.pxi:131:9: 'cmsHTRANSFORM' is not a type identifier 2023-09-08T05:22:32,971 Error compiling Cython file: 2023-09-08T05:22:32,972 ------------------------------------------------------------ 2023-09-08T05:22:32,972 ... 2023-09-08T05:22:32,973 self.hInProfile = createHProfile(iccprofile, size, "in") 2023-09-08T05:22:32,974 cdef setOutProfile(self, char * iccprofile, unsigned int size=0): 2023-09-08T05:22:32,974 self.hOutProfile = createHProfile(iccprofile, size, "out") 2023-09-08T05:22:32,976 cdef lcms.cmsHPROFILE _createProfile(self, char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:32,977 ^ 2023-09-08T05:22:32,977 ------------------------------------------------------------ 2023-09-08T05:22:32,978 smc/freeimage/_lcms.pxi:162:9: 'cmsHPROFILE' is not a type identifier 2023-09-08T05:22:32,979 Error compiling Cython file: 2023-09-08T05:22:32,980 ------------------------------------------------------------ 2023-09-08T05:22:32,981 ... 2023-09-08T05:22:32,981 out[2] = < char > (i >> 8) 2023-09-08T05:22:32,982 out[3] = < char > i 2023-09-08T05:22:32,982 out[4] = 0 2023-09-08T05:22:32,983 return out 2023-09-08T05:22:32,984 cdef xyz_py(lcms.cmsCIEXYZ * XYZ): 2023-09-08T05:22:32,984 ^ 2023-09-08T05:22:32,985 ------------------------------------------------------------ 2023-09-08T05:22:32,986 smc/freeimage/_lcms.pxi:397:12: 'cmsCIEXYZ' is not a type identifier 2023-09-08T05:22:32,987 Error compiling Cython file: 2023-09-08T05:22:32,987 ------------------------------------------------------------ 2023-09-08T05:22:32,988 ... 2023-09-08T05:22:32,988 cdef xyz_py(lcms.cmsCIEXYZ * XYZ): 2023-09-08T05:22:32,989 cdef lcms.cmsCIExyY xyY[1] 2023-09-08T05:22:32,989 lcms.cmsXYZ2xyY(xyY, XYZ) 2023-09-08T05:22:32,990 return (XYZ.X, XYZ.Y, XYZ.Z), (xyY.x, xyY.y, xyY.Y) 2023-09-08T05:22:32,991 cdef xyztrip_py(lcms.cmsCIEXYZTRIPLE * trip): 2023-09-08T05:22:32,992 ^ 2023-09-08T05:22:32,992 ------------------------------------------------------------ 2023-09-08T05:22:32,993 smc/freeimage/_lcms.pxi:402:16: 'cmsCIEXYZTRIPLE' is not a type identifier 2023-09-08T05:22:32,994 Error compiling Cython file: 2023-09-08T05:22:32,995 ------------------------------------------------------------ 2023-09-08T05:22:32,995 ... 2023-09-08T05:22:32,996 red = xyz_py(& trip.Red) 2023-09-08T05:22:32,997 green = xyz_py(& trip.Green) 2023-09-08T05:22:32,998 blue = xyz_py(& trip.Blue) 2023-09-08T05:22:32,998 return {'red': red, 'green': green, 'blue': blue} 2023-09-08T05:22:33,000 cdef xyz3_py(lcms.cmsCIEXYZ * XYZ3): 2023-09-08T05:22:33,000 ^ 2023-09-08T05:22:33,000 ------------------------------------------------------------ 2023-09-08T05:22:33,001 smc/freeimage/_lcms.pxi:408:13: 'cmsCIEXYZ' is not a type identifier 2023-09-08T05:22:33,002 Error compiling Cython file: 2023-09-08T05:22:33,003 ------------------------------------------------------------ 2023-09-08T05:22:33,003 ... 2023-09-08T05:22:33,003 return (t1[0], t2[0], t3[0]), (t1[1], t2[1], t3[1]) 2023-09-08T05:22:33,004 _illu_map = {0: "unknown", 1: "D50", 2: "D65", 3: "D93", 4: "F2", 5: "D55", 6: "A", 7: "E", 8: "F8"} 2023-09-08T05:22:33,005 cdef class LCMSProfileInfo(object): 2023-09-08T05:22:33,006 cdef lcms.cmsHPROFILE hProfile 2023-09-08T05:22:33,006 ^ 2023-09-08T05:22:33,007 ------------------------------------------------------------ 2023-09-08T05:22:33,008 smc/freeimage/_lcms.pxi:417:9: 'cmsHPROFILE' is not a type identifier 2023-09-08T05:22:33,009 Error compiling Cython file: 2023-09-08T05:22:33,009 ------------------------------------------------------------ 2023-09-08T05:22:33,010 ... 2023-09-08T05:22:33,011 def __dealloc__(self): 2023-09-08T05:22:33,011 if self.hProfile != NULL: 2023-09-08T05:22:33,012 lcms.cmsCloseProfile(self.hProfile) 2023-09-08T05:22:33,013 cdef _readMLU(self, lcms.cmsTagSignature info, char * language="en", char * country=lcms.cmsNoCountry): 2023-09-08T05:22:33,013 ^ 2023-09-08T05:22:33,014 ------------------------------------------------------------ 2023-09-08T05:22:33,014 smc/freeimage/_lcms.pxi:443:24: 'cmsTagSignature' is not a type identifier 2023-09-08T05:22:33,015 Error compiling Cython file: 2023-09-08T05:22:33,016 ------------------------------------------------------------ 2023-09-08T05:22:33,017 ... 2023-09-08T05:22:33,017 # buf contains additional \0 junk 2023-09-08T05:22:33,018 uni = smc_fi.PyUnicode_FromWideChar(buf, smc_fi.wcslen(buf)) 2023-09-08T05:22:33,018 stdlib.free(buf) 2023-09-08T05:22:33,019 return uni 2023-09-08T05:22:33,020 cdef _readCIEXYZ(self, lcms.cmsTagSignature info, multi=False): 2023-09-08T05:22:33,020 ^ 2023-09-08T05:22:33,021 ------------------------------------------------------------ 2023-09-08T05:22:33,022 smc/freeimage/_lcms.pxi:464:27: 'cmsTagSignature' is not a type identifier 2023-09-08T05:22:33,023 Error compiling Cython file: 2023-09-08T05:22:33,023 ------------------------------------------------------------ 2023-09-08T05:22:33,024 ... 2023-09-08T05:22:33,024 lcms.cmsXYZ2xyY(& xyY, XYZ) 2023-09-08T05:22:33,025 if not lcms.cmsTempFromWhitePoint(& tempK, & xyY): 2023-09-08T05:22:33,025 return None 2023-09-08T05:22:33,026 return tempK 2023-09-08T05:22:33,027 cdef _readCIExyYTriple(self, lcms.cmsTagSignature info): 2023-09-08T05:22:33,027 ^ 2023-09-08T05:22:33,028 ------------------------------------------------------------ 2023-09-08T05:22:33,029 smc/freeimage/_lcms.pxi:521:33: 'cmsTagSignature' is not a type identifier 2023-09-08T05:22:33,030 Error compiling Cython file: 2023-09-08T05:22:33,031 ------------------------------------------------------------ 2023-09-08T05:22:33,031 ... 2023-09-08T05:22:33,032 return None 2023-09-08T05:22:33,032 return ((trip.Red.x, trip.Red.y, trip.Red.Y), 2023-09-08T05:22:33,033 (trip.Green.x, trip.Green.y, trip.Green.Y), 2023-09-08T05:22:33,033 (trip.Blue.x, trip.Blue.y, trip.Blue.Y)) 2023-09-08T05:22:33,034 cdef _readSignature(self, lcms.cmsTagSignature info): 2023-09-08T05:22:33,035 ^ 2023-09-08T05:22:33,036 ------------------------------------------------------------ 2023-09-08T05:22:33,037 smc/freeimage/_lcms.pxi:532:30: 'cmsTagSignature' is not a type identifier 2023-09-08T05:22:33,038 Error compiling Cython file: 2023-09-08T05:22:33,038 ------------------------------------------------------------ 2023-09-08T05:22:33,039 ... 2023-09-08T05:22:33,039 return None 2023-09-08T05:22:33,040 return dict(illuminant=(vc.IlluminantXYZ.X, vc.IlluminantXYZ.Y, vc.IlluminantXYZ.Z), 2023-09-08T05:22:33,040 surround=(vc.SurroundXYZ.X, vc.SurroundXYZ.Y, vc.SurroundXYZ.Z), 2023-09-08T05:22:33,040 illuminantType=_illu_map.get(vc.IlluminantType, None)) 2023-09-08T05:22:33,041 def _readNamedColorList(self, lcms.cmsTagSignature info): 2023-09-08T05:22:33,042 ^ 2023-09-08T05:22:33,042 ------------------------------------------------------------ 2023-09-08T05:22:33,043 smc/freeimage/_lcms.pxi:572:34: 'cmsTagSignature' is not a type identifier 2023-09-08T05:22:33,044 Error compiling Cython file: 2023-09-08T05:22:33,044 ------------------------------------------------------------ 2023-09-08T05:22:33,045 ... 2023-09-08T05:22:33,045 # lost. 2023-09-08T05:22:33,046 cdef int tls_key = -1 2023-09-08T05:22:33,047 cdef struct SmcFiError: 2023-09-08T05:22:33,047 fi.FREE_IMAGE_FORMAT format 2023-09-08T05:22:33,048 ^ 2023-09-08T05:22:33,048 ------------------------------------------------------------ 2023-09-08T05:22:33,049 smc/freeimage/_freeimage.pyx:181:4: 'FREE_IMAGE_FORMAT' is not a type identifier 2023-09-08T05:22:33,050 Error compiling Cython file: 2023-09-08T05:22:33,051 ------------------------------------------------------------ 2023-09-08T05:22:33,051 ... 2023-09-08T05:22:33,051 stdlib.free(old.msg) 2023-09-08T05:22:33,052 stdlib.free(old) 2023-09-08T05:22:33,052 cpython.PyThread_delete_key_value(tls_key) 2023-09-08T05:22:33,054 cdef void setError(fi.FREE_IMAGE_FORMAT format, smc_fi.const_char_ptr msg): 2023-09-08T05:22:33,054 ^ 2023-09-08T05:22:33,055 ------------------------------------------------------------ 2023-09-08T05:22:33,056 smc/freeimage/_freeimage.pyx:199:19: 'FREE_IMAGE_FORMAT' is not a type identifier 2023-09-08T05:22:33,057 Error compiling Cython file: 2023-09-08T05:22:33,058 ------------------------------------------------------------ 2023-09-08T05:22:33,058 ... 2023-09-08T05:22:33,059 stdlib.free(old.msg) 2023-09-08T05:22:33,059 stdlib.free(old) 2023-09-08T05:22:33,060 cpython.PyThread_delete_key_value(tls_key) 2023-09-08T05:22:33,061 cdef void setError(fi.FREE_IMAGE_FORMAT format, smc_fi.const_char_ptr msg): 2023-09-08T05:22:33,062 ^ 2023-09-08T05:22:33,062 ------------------------------------------------------------ 2023-09-08T05:22:33,063 smc/freeimage/_freeimage.pyx:199:48: 'const_char_ptr' is not a type identifier 2023-09-08T05:22:33,065 Error compiling Cython file: 2023-09-08T05:22:33,065 ------------------------------------------------------------ 2023-09-08T05:22:33,066 ... 2023-09-08T05:22:33,066 # return rgb 2023-09-08T05:22:33,067 cdef class _DibWrapper: 2023-09-08T05:22:33,068 """Wrapper for bitmaps 2023-09-08T05:22:33,068 """ 2023-09-08T05:22:33,069 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,069 ^ 2023-09-08T05:22:33,070 ------------------------------------------------------------ 2023-09-08T05:22:33,071 smc/freeimage/_freeimage.pyx:358:9: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,072 Error compiling Cython file: 2023-09-08T05:22:33,072 ------------------------------------------------------------ 2023-09-08T05:22:33,073 ... 2023-09-08T05:22:33,074 """ 2023-09-08T05:22:33,074 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,075 cdef Image oldimg 2023-09-08T05:22:33,076 cdef _DibWrapper DibWrapper(fi.FIBITMAP* dib, oldimg): 2023-09-08T05:22:33,077 ^ 2023-09-08T05:22:33,077 ------------------------------------------------------------ 2023-09-08T05:22:33,079 smc/freeimage/_freeimage.pyx:362:28: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,080 Error compiling Cython file: 2023-09-08T05:22:33,080 ------------------------------------------------------------ 2023-09-08T05:22:33,081 ... 2023-09-08T05:22:33,082 cdef class _BitmapInfo: 2023-09-08T05:22:33,082 """Wrapper for bitmap info header 2023-09-08T05:22:33,083 """ 2023-09-08T05:22:33,083 cdef readonly fi.DWORD size 2023-09-08T05:22:33,084 ^ 2023-09-08T05:22:33,084 ------------------------------------------------------------ 2023-09-08T05:22:33,085 smc/freeimage/_freeimage.pyx:375:18: 'DWORD' is not a type identifier 2023-09-08T05:22:33,086 Error compiling Cython file: 2023-09-08T05:22:33,087 ------------------------------------------------------------ 2023-09-08T05:22:33,087 ... 2023-09-08T05:22:33,088 cdef class _BitmapInfo: 2023-09-08T05:22:33,089 """Wrapper for bitmap info header 2023-09-08T05:22:33,089 """ 2023-09-08T05:22:33,090 cdef readonly fi.DWORD size 2023-09-08T05:22:33,090 ^ 2023-09-08T05:22:33,091 ------------------------------------------------------------ 2023-09-08T05:22:33,091 smc/freeimage/_freeimage.pyx:375:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,093 Error compiling Cython file: 2023-09-08T05:22:33,093 ------------------------------------------------------------ 2023-09-08T05:22:33,094 ... 2023-09-08T05:22:33,094 cdef class _BitmapInfo: 2023-09-08T05:22:33,095 """Wrapper for bitmap info header 2023-09-08T05:22:33,095 """ 2023-09-08T05:22:33,096 cdef readonly fi.DWORD size 2023-09-08T05:22:33,096 cdef readonly fi.LONG width 2023-09-08T05:22:33,097 ^ 2023-09-08T05:22:33,097 ------------------------------------------------------------ 2023-09-08T05:22:33,098 smc/freeimage/_freeimage.pyx:376:18: 'LONG' is not a type identifier 2023-09-08T05:22:33,099 Error compiling Cython file: 2023-09-08T05:22:33,099 ------------------------------------------------------------ 2023-09-08T05:22:33,100 ... 2023-09-08T05:22:33,101 cdef class _BitmapInfo: 2023-09-08T05:22:33,102 """Wrapper for bitmap info header 2023-09-08T05:22:33,102 """ 2023-09-08T05:22:33,103 cdef readonly fi.DWORD size 2023-09-08T05:22:33,103 cdef readonly fi.LONG width 2023-09-08T05:22:33,104 ^ 2023-09-08T05:22:33,104 ------------------------------------------------------------ 2023-09-08T05:22:33,105 smc/freeimage/_freeimage.pyx:376:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,107 Error compiling Cython file: 2023-09-08T05:22:33,107 ------------------------------------------------------------ 2023-09-08T05:22:33,108 ... 2023-09-08T05:22:33,108 cdef class _BitmapInfo: 2023-09-08T05:22:33,109 """Wrapper for bitmap info header 2023-09-08T05:22:33,109 """ 2023-09-08T05:22:33,110 cdef readonly fi.DWORD size 2023-09-08T05:22:33,110 cdef readonly fi.LONG width 2023-09-08T05:22:33,111 cdef readonly fi.LONG height 2023-09-08T05:22:33,111 ^ 2023-09-08T05:22:33,112 ------------------------------------------------------------ 2023-09-08T05:22:33,113 smc/freeimage/_freeimage.pyx:377:18: 'LONG' is not a type identifier 2023-09-08T05:22:33,114 Error compiling Cython file: 2023-09-08T05:22:33,114 ------------------------------------------------------------ 2023-09-08T05:22:33,115 ... 2023-09-08T05:22:33,116 cdef class _BitmapInfo: 2023-09-08T05:22:33,116 """Wrapper for bitmap info header 2023-09-08T05:22:33,117 """ 2023-09-08T05:22:33,117 cdef readonly fi.DWORD size 2023-09-08T05:22:33,118 cdef readonly fi.LONG width 2023-09-08T05:22:33,118 cdef readonly fi.LONG height 2023-09-08T05:22:33,119 ^ 2023-09-08T05:22:33,119 ------------------------------------------------------------ 2023-09-08T05:22:33,120 smc/freeimage/_freeimage.pyx:377:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,122 Error compiling Cython file: 2023-09-08T05:22:33,122 ------------------------------------------------------------ 2023-09-08T05:22:33,122 ... 2023-09-08T05:22:33,123 """Wrapper for bitmap info header 2023-09-08T05:22:33,123 """ 2023-09-08T05:22:33,124 cdef readonly fi.DWORD size 2023-09-08T05:22:33,124 cdef readonly fi.LONG width 2023-09-08T05:22:33,125 cdef readonly fi.LONG height 2023-09-08T05:22:33,125 cdef readonly fi.WORD planes 2023-09-08T05:22:33,125 ^ 2023-09-08T05:22:33,126 ------------------------------------------------------------ 2023-09-08T05:22:33,127 smc/freeimage/_freeimage.pyx:378:18: 'WORD' is not a type identifier 2023-09-08T05:22:33,128 Error compiling Cython file: 2023-09-08T05:22:33,129 ------------------------------------------------------------ 2023-09-08T05:22:33,129 ... 2023-09-08T05:22:33,130 """Wrapper for bitmap info header 2023-09-08T05:22:33,131 """ 2023-09-08T05:22:33,131 cdef readonly fi.DWORD size 2023-09-08T05:22:33,132 cdef readonly fi.LONG width 2023-09-08T05:22:33,133 cdef readonly fi.LONG height 2023-09-08T05:22:33,133 cdef readonly fi.WORD planes 2023-09-08T05:22:33,134 ^ 2023-09-08T05:22:33,134 ------------------------------------------------------------ 2023-09-08T05:22:33,135 smc/freeimage/_freeimage.pyx:378:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,136 Error compiling Cython file: 2023-09-08T05:22:33,137 ------------------------------------------------------------ 2023-09-08T05:22:33,137 ... 2023-09-08T05:22:33,138 """ 2023-09-08T05:22:33,138 cdef readonly fi.DWORD size 2023-09-08T05:22:33,139 cdef readonly fi.LONG width 2023-09-08T05:22:33,139 cdef readonly fi.LONG height 2023-09-08T05:22:33,140 cdef readonly fi.WORD planes 2023-09-08T05:22:33,140 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,141 ^ 2023-09-08T05:22:33,141 ------------------------------------------------------------ 2023-09-08T05:22:33,142 smc/freeimage/_freeimage.pyx:379:18: 'WORD' is not a type identifier 2023-09-08T05:22:33,143 Error compiling Cython file: 2023-09-08T05:22:33,143 ------------------------------------------------------------ 2023-09-08T05:22:33,144 ... 2023-09-08T05:22:33,145 """ 2023-09-08T05:22:33,145 cdef readonly fi.DWORD size 2023-09-08T05:22:33,146 cdef readonly fi.LONG width 2023-09-08T05:22:33,146 cdef readonly fi.LONG height 2023-09-08T05:22:33,147 cdef readonly fi.WORD planes 2023-09-08T05:22:33,147 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,148 ^ 2023-09-08T05:22:33,149 ------------------------------------------------------------ 2023-09-08T05:22:33,150 smc/freeimage/_freeimage.pyx:379:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,151 Error compiling Cython file: 2023-09-08T05:22:33,151 ------------------------------------------------------------ 2023-09-08T05:22:33,152 ... 2023-09-08T05:22:33,152 cdef readonly fi.DWORD size 2023-09-08T05:22:33,153 cdef readonly fi.LONG width 2023-09-08T05:22:33,153 cdef readonly fi.LONG height 2023-09-08T05:22:33,154 cdef readonly fi.WORD planes 2023-09-08T05:22:33,154 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,155 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,155 ^ 2023-09-08T05:22:33,156 ------------------------------------------------------------ 2023-09-08T05:22:33,157 smc/freeimage/_freeimage.pyx:380:18: 'DWORD' is not a type identifier 2023-09-08T05:22:33,158 Error compiling Cython file: 2023-09-08T05:22:33,159 ------------------------------------------------------------ 2023-09-08T05:22:33,159 ... 2023-09-08T05:22:33,160 cdef readonly fi.DWORD size 2023-09-08T05:22:33,160 cdef readonly fi.LONG width 2023-09-08T05:22:33,161 cdef readonly fi.LONG height 2023-09-08T05:22:33,162 cdef readonly fi.WORD planes 2023-09-08T05:22:33,162 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,163 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,163 ^ 2023-09-08T05:22:33,163 ------------------------------------------------------------ 2023-09-08T05:22:33,164 smc/freeimage/_freeimage.pyx:380:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,165 Error compiling Cython file: 2023-09-08T05:22:33,165 ------------------------------------------------------------ 2023-09-08T05:22:33,166 ... 2023-09-08T05:22:33,166 cdef readonly fi.LONG width 2023-09-08T05:22:33,167 cdef readonly fi.LONG height 2023-09-08T05:22:33,167 cdef readonly fi.WORD planes 2023-09-08T05:22:33,168 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,168 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,169 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,169 ^ 2023-09-08T05:22:33,169 ------------------------------------------------------------ 2023-09-08T05:22:33,170 smc/freeimage/_freeimage.pyx:381:18: 'DWORD' is not a type identifier 2023-09-08T05:22:33,171 Error compiling Cython file: 2023-09-08T05:22:33,172 ------------------------------------------------------------ 2023-09-08T05:22:33,172 ... 2023-09-08T05:22:33,173 cdef readonly fi.LONG width 2023-09-08T05:22:33,173 cdef readonly fi.LONG height 2023-09-08T05:22:33,174 cdef readonly fi.WORD planes 2023-09-08T05:22:33,174 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,175 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,175 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,176 ^ 2023-09-08T05:22:33,176 ------------------------------------------------------------ 2023-09-08T05:22:33,177 smc/freeimage/_freeimage.pyx:381:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,178 Error compiling Cython file: 2023-09-08T05:22:33,179 ------------------------------------------------------------ 2023-09-08T05:22:33,179 ... 2023-09-08T05:22:33,180 cdef readonly fi.LONG height 2023-09-08T05:22:33,180 cdef readonly fi.WORD planes 2023-09-08T05:22:33,181 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,181 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,182 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,182 cdef readonly fi.LONG xppm 2023-09-08T05:22:33,183 ^ 2023-09-08T05:22:33,183 ------------------------------------------------------------ 2023-09-08T05:22:33,185 smc/freeimage/_freeimage.pyx:382:18: 'LONG' is not a type identifier 2023-09-08T05:22:33,186 Error compiling Cython file: 2023-09-08T05:22:33,186 ------------------------------------------------------------ 2023-09-08T05:22:33,187 ... 2023-09-08T05:22:33,187 cdef readonly fi.LONG height 2023-09-08T05:22:33,188 cdef readonly fi.WORD planes 2023-09-08T05:22:33,188 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,189 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,189 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,190 cdef readonly fi.LONG xppm 2023-09-08T05:22:33,190 ^ 2023-09-08T05:22:33,191 ------------------------------------------------------------ 2023-09-08T05:22:33,192 smc/freeimage/_freeimage.pyx:382:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,193 Error compiling Cython file: 2023-09-08T05:22:33,194 ------------------------------------------------------------ 2023-09-08T05:22:33,194 ... 2023-09-08T05:22:33,195 cdef readonly fi.WORD planes 2023-09-08T05:22:33,195 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,196 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,196 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,197 cdef readonly fi.LONG xppm 2023-09-08T05:22:33,198 cdef readonly fi.LONG yppm 2023-09-08T05:22:33,198 ^ 2023-09-08T05:22:33,198 ------------------------------------------------------------ 2023-09-08T05:22:33,199 smc/freeimage/_freeimage.pyx:383:18: 'LONG' is not a type identifier 2023-09-08T05:22:33,200 Error compiling Cython file: 2023-09-08T05:22:33,200 ------------------------------------------------------------ 2023-09-08T05:22:33,201 ... 2023-09-08T05:22:33,201 cdef readonly fi.WORD planes 2023-09-08T05:22:33,202 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,202 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,203 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,203 cdef readonly fi.LONG xppm 2023-09-08T05:22:33,204 cdef readonly fi.LONG yppm 2023-09-08T05:22:33,204 ^ 2023-09-08T05:22:33,205 ------------------------------------------------------------ 2023-09-08T05:22:33,206 smc/freeimage/_freeimage.pyx:383:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,207 Error compiling Cython file: 2023-09-08T05:22:33,207 ------------------------------------------------------------ 2023-09-08T05:22:33,208 ... 2023-09-08T05:22:33,208 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,209 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,209 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,210 cdef readonly fi.LONG xppm 2023-09-08T05:22:33,210 cdef readonly fi.LONG yppm 2023-09-08T05:22:33,211 cdef readonly fi.DWORD colors_used 2023-09-08T05:22:33,211 ^ 2023-09-08T05:22:33,212 ------------------------------------------------------------ 2023-09-08T05:22:33,213 smc/freeimage/_freeimage.pyx:384:18: 'DWORD' is not a type identifier 2023-09-08T05:22:33,214 Error compiling Cython file: 2023-09-08T05:22:33,214 ------------------------------------------------------------ 2023-09-08T05:22:33,214 ... 2023-09-08T05:22:33,215 cdef readonly fi.WORD bit_count 2023-09-08T05:22:33,215 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,216 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,217 cdef readonly fi.LONG xppm 2023-09-08T05:22:33,217 cdef readonly fi.LONG yppm 2023-09-08T05:22:33,218 cdef readonly fi.DWORD colors_used 2023-09-08T05:22:33,218 ^ 2023-09-08T05:22:33,219 ------------------------------------------------------------ 2023-09-08T05:22:33,220 smc/freeimage/_freeimage.pyx:384:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,221 Error compiling Cython file: 2023-09-08T05:22:33,221 ------------------------------------------------------------ 2023-09-08T05:22:33,222 ... 2023-09-08T05:22:33,222 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,223 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,223 cdef readonly fi.LONG xppm 2023-09-08T05:22:33,224 cdef readonly fi.LONG yppm 2023-09-08T05:22:33,225 cdef readonly fi.DWORD colors_used 2023-09-08T05:22:33,225 cdef readonly fi.DWORD colors_important 2023-09-08T05:22:33,226 ^ 2023-09-08T05:22:33,226 ------------------------------------------------------------ 2023-09-08T05:22:33,227 smc/freeimage/_freeimage.pyx:385:18: 'DWORD' is not a type identifier 2023-09-08T05:22:33,228 Error compiling Cython file: 2023-09-08T05:22:33,229 ------------------------------------------------------------ 2023-09-08T05:22:33,230 ... 2023-09-08T05:22:33,230 cdef readonly fi.DWORD compression 2023-09-08T05:22:33,231 cdef readonly fi.DWORD size_image 2023-09-08T05:22:33,231 cdef readonly fi.LONG xppm 2023-09-08T05:22:33,232 cdef readonly fi.LONG yppm 2023-09-08T05:22:33,232 cdef readonly fi.DWORD colors_used 2023-09-08T05:22:33,233 cdef readonly fi.DWORD colors_important 2023-09-08T05:22:33,234 ^ 2023-09-08T05:22:33,234 ------------------------------------------------------------ 2023-09-08T05:22:33,235 smc/freeimage/_freeimage.pyx:385:27: C attribute of type '' cannot be accessed from Python 2023-09-08T05:22:33,236 Error compiling Cython file: 2023-09-08T05:22:33,236 ------------------------------------------------------------ 2023-09-08T05:22:33,237 ... 2023-09-08T05:22:33,237 self.compression, self.size_image, self.xppm, self.yppm, 2023-09-08T05:22:33,237 self.colors_used, self.colors_important 2023-09-08T05:22:33,238 )) 2023-09-08T05:22:33,239 cdef _BitmapInfo BitmapInfo(fi.BITMAPINFOHEADER *header): 2023-09-08T05:22:33,239 ^ 2023-09-08T05:22:33,240 ------------------------------------------------------------ 2023-09-08T05:22:33,240 smc/freeimage/_freeimage.pyx:397:28: 'BITMAPINFOHEADER' is not a type identifier 2023-09-08T05:22:33,241 Error compiling Cython file: 2023-09-08T05:22:33,242 ------------------------------------------------------------ 2023-09-08T05:22:33,242 ... 2023-09-08T05:22:33,243 A memory IO object is the preferred way to access a loaded image from 2023-09-08T05:22:33,243 Python. It provides a high-performance interface to the FreeImage memory 2023-09-08T05:22:33,243 subsystem. The image is available through a read only buffer, a file like 2023-09-08T05:22:33,244 object as well as as a string. 2023-09-08T05:22:33,245 """ 2023-09-08T05:22:33,245 cdef fi.FIMEMORY *_mem 2023-09-08T05:22:33,246 ^ 2023-09-08T05:22:33,246 ------------------------------------------------------------ 2023-09-08T05:22:33,247 smc/freeimage/_freeimage.pyx:439:9: 'FIMEMORY' is not a type identifier 2023-09-08T05:22:33,248 Error compiling Cython file: 2023-09-08T05:22:33,248 ------------------------------------------------------------ 2023-09-08T05:22:33,249 ... 2023-09-08T05:22:33,249 subsystem. The image is available through a read only buffer, a file like 2023-09-08T05:22:33,250 object as well as as a string. 2023-09-08T05:22:33,250 """ 2023-09-08T05:22:33,251 cdef fi.FIMEMORY *_mem 2023-09-08T05:22:33,251 cdef readonly int size 2023-09-08T05:22:33,252 cdef fi.FREE_IMAGE_FORMAT _format 2023-09-08T05:22:33,252 ^ 2023-09-08T05:22:33,253 ------------------------------------------------------------ 2023-09-08T05:22:33,253 smc/freeimage/_freeimage.pyx:441:9: 'FREE_IMAGE_FORMAT' is not a type identifier 2023-09-08T05:22:33,254 Error compiling Cython file: 2023-09-08T05:22:33,255 ------------------------------------------------------------ 2023-09-08T05:22:33,256 ... 2023-09-08T05:22:33,256 raise IOError("Failed to read %i bytes (requested %i)" % 2023-09-08T05:22:33,257 (rsize, size)) 2023-09-08T05:22:33,257 return result 2023-09-08T05:22:33,258 ### 2023-09-08T05:22:33,258 cdef int floodfill(fi.FIBITMAP* dib, unsigned red, unsigned green, unsigned blue, unsigned alpha) nogil: 2023-09-08T05:22:33,259 ^ 2023-09-08T05:22:33,259 ------------------------------------------------------------ 2023-09-08T05:22:33,260 smc/freeimage/_freeimage.pyx:575:19: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,261 Error compiling Cython file: 2023-09-08T05:22:33,262 ------------------------------------------------------------ 2023-09-08T05:22:33,262 ... 2023-09-08T05:22:33,263 return 0 2023-09-08T05:22:33,264 return ERR_UNSUP 2023-09-08T05:22:33,264 #--- Image 2023-09-08T05:22:33,265 cdef void removeAllMetadata(fi.FIBITMAP *dib): 2023-09-08T05:22:33,266 ^ 2023-09-08T05:22:33,266 ------------------------------------------------------------ 2023-09-08T05:22:33,267 smc/freeimage/_freeimage.pyx:615:28: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,268 Error compiling Cython file: 2023-09-08T05:22:33,269 ------------------------------------------------------------ 2023-09-08T05:22:33,269 ... 2023-09-08T05:22:33,269 """ 2023-09-08T05:22:33,270 fi.FreeImage_DestroyICCProfile(dib) 2023-09-08T05:22:33,270 for model in _META_MODELS.values(): 2023-09-08T05:22:33,270 fi.FreeImage_SetMetadata(model, dib, NULL, NULL) 2023-09-08T05:22:33,271 cdef int cloneICCProfile(fi.FIBITMAP *src, fi.FIBITMAP *dst): 2023-09-08T05:22:33,272 ^ 2023-09-08T05:22:33,272 ------------------------------------------------------------ 2023-09-08T05:22:33,273 smc/freeimage/_freeimage.pyx:622:25: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,274 Error compiling Cython file: 2023-09-08T05:22:33,274 ------------------------------------------------------------ 2023-09-08T05:22:33,274 ... 2023-09-08T05:22:33,275 """ 2023-09-08T05:22:33,275 fi.FreeImage_DestroyICCProfile(dib) 2023-09-08T05:22:33,276 for model in _META_MODELS.values(): 2023-09-08T05:22:33,276 fi.FreeImage_SetMetadata(model, dib, NULL, NULL) 2023-09-08T05:22:33,277 cdef int cloneICCProfile(fi.FIBITMAP *src, fi.FIBITMAP *dst): 2023-09-08T05:22:33,278 ^ 2023-09-08T05:22:33,278 ------------------------------------------------------------ 2023-09-08T05:22:33,279 smc/freeimage/_freeimage.pyx:622:43: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,279 Error compiling Cython file: 2023-09-08T05:22:33,280 ------------------------------------------------------------ 2023-09-08T05:22:33,280 ... 2023-09-08T05:22:33,281 Create a new Image. Either filename or buffer must applied. 2023-09-08T05:22:33,282 """ 2023-09-08T05:22:33,282 cdef readonly unsigned int width 2023-09-08T05:22:33,282 cdef readonly unsigned int height 2023-09-08T05:22:33,283 cdef fi.FREE_IMAGE_FORMAT _format 2023-09-08T05:22:33,283 ^ 2023-09-08T05:22:33,284 ------------------------------------------------------------ 2023-09-08T05:22:33,285 smc/freeimage/_freeimage.pyx:654:9: 'FREE_IMAGE_FORMAT' is not a type identifier 2023-09-08T05:22:33,286 Error compiling Cython file: 2023-09-08T05:22:33,286 ------------------------------------------------------------ 2023-09-08T05:22:33,286 ... 2023-09-08T05:22:33,287 cdef readonly unsigned int width 2023-09-08T05:22:33,287 cdef readonly unsigned int height 2023-09-08T05:22:33,288 cdef fi.FREE_IMAGE_FORMAT _format 2023-09-08T05:22:33,288 cdef char* _filename 2023-09-08T05:22:33,289 cdef unsigned int buffers 2023-09-08T05:22:33,289 cdef fi.FIBITMAP* _dib 2023-09-08T05:22:33,290 ^ 2023-09-08T05:22:33,290 ------------------------------------------------------------ 2023-09-08T05:22:33,291 smc/freeimage/_freeimage.pyx:657:9: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,292 Error compiling Cython file: 2023-09-08T05:22:33,293 ------------------------------------------------------------ 2023-09-08T05:22:33,293 ... 2023-09-08T05:22:33,294 cdef readonly unsigned int height 2023-09-08T05:22:33,294 cdef fi.FREE_IMAGE_FORMAT _format 2023-09-08T05:22:33,295 cdef char* _filename 2023-09-08T05:22:33,295 cdef unsigned int buffers 2023-09-08T05:22:33,296 cdef fi.FIBITMAP* _dib 2023-09-08T05:22:33,296 cdef fi.FIICCPROFILE* _icc 2023-09-08T05:22:33,297 ^ 2023-09-08T05:22:33,297 ------------------------------------------------------------ 2023-09-08T05:22:33,298 smc/freeimage/_freeimage.pyx:658:9: 'FIICCPROFILE' is not a type identifier 2023-09-08T05:22:33,299 Error compiling Cython file: 2023-09-08T05:22:33,299 ------------------------------------------------------------ 2023-09-08T05:22:33,300 ... 2023-09-08T05:22:33,300 self.hline_mono(red & 0xff, linewidth, ys, xstart, xend) 2023-09-08T05:22:33,301 else: 2023-09-08T05:22:33,302 raise NotImplementedError("hline for type: %i, bpp: %i" % 2023-09-08T05:22:33,302 (fi.FreeImage_GetImageType(self._dib), self.bpp)) 2023-09-08T05:22:33,303 cdef int hline_rgb24(self, fi.RGBQUAD *color, unsigned linewidth, 2023-09-08T05:22:33,304 ^ 2023-09-08T05:22:33,304 ------------------------------------------------------------ 2023-09-08T05:22:33,305 smc/freeimage/_freeimage.pyx:1547:31: 'RGBQUAD' is not a type identifier 2023-09-08T05:22:33,305 Error compiling Cython file: 2023-09-08T05:22:33,306 ------------------------------------------------------------ 2023-09-08T05:22:33,306 ... 2023-09-08T05:22:33,307 pixel[fi.FI_RGBA_GREEN] = color.rgbGreen 2023-09-08T05:22:33,307 pixel[fi.FI_RGBA_RED] = color.rgbRed 2023-09-08T05:22:33,307 pixel += 3 2023-09-08T05:22:33,308 return 0 2023-09-08T05:22:33,309 cdef int hline_mono(self, fi.BYTE color, unsigned linewidth, 2023-09-08T05:22:33,309 ^ 2023-09-08T05:22:33,309 ------------------------------------------------------------ 2023-09-08T05:22:33,310 smc/freeimage/_freeimage.pyx:1567:30: 'BYTE' is not a type identifier 2023-09-08T05:22:33,311 Error compiling Cython file: 2023-09-08T05:22:33,312 ------------------------------------------------------------ 2023-09-08T05:22:33,312 ... 2023-09-08T05:22:33,312 else: 2023-09-08T05:22:33,313 raise NotImplementedError("vline for type: %i, bpp: %i" % 2023-09-08T05:22:33,313 (image_type, bpp)) 2023-09-08T05:22:33,314 cdef int vline_rgb24(self, fi.RGBQUAD *color, unsigned linewidth, 2023-09-08T05:22:33,315 ^ 2023-09-08T05:22:33,315 ------------------------------------------------------------ 2023-09-08T05:22:33,316 smc/freeimage/_freeimage.pyx:1660:31: 'RGBQUAD' is not a type identifier 2023-09-08T05:22:33,317 Error compiling Cython file: 2023-09-08T05:22:33,318 ------------------------------------------------------------ 2023-09-08T05:22:33,318 ... 2023-09-08T05:22:33,318 pixel[fi.FI_RGBA_GREEN] = color.rgbGreen 2023-09-08T05:22:33,319 pixel[fi.FI_RGBA_RED] = color.rgbRed 2023-09-08T05:22:33,319 pixel += 3 2023-09-08T05:22:33,320 return 0 2023-09-08T05:22:33,321 cdef int vline_mono(self, fi.BYTE color, unsigned linewidth, 2023-09-08T05:22:33,321 ^ 2023-09-08T05:22:33,321 ------------------------------------------------------------ 2023-09-08T05:22:33,322 smc/freeimage/_freeimage.pyx:1681:30: 'BYTE' is not a type identifier 2023-09-08T05:22:33,323 Error compiling Cython file: 2023-09-08T05:22:33,324 ------------------------------------------------------------ 2023-09-08T05:22:33,324 ... 2023-09-08T05:22:33,325 mime = _decodeFilename(mime) 2023-09-08T05:22:33,325 format = fi.FreeImage_GetFIFFromMime(mime) 2023-09-08T05:22:33,325 return cls(format) 2023-09-08T05:22:33,326 cdef class FormatInfo: 2023-09-08T05:22:33,327 cdef fi.FREE_IMAGE_FORMAT _format 2023-09-08T05:22:33,327 ^ 2023-09-08T05:22:33,328 ------------------------------------------------------------ 2023-09-08T05:22:33,329 smc/freeimage/_freeimage.pyx:1752:9: 'FREE_IMAGE_FORMAT' is not a type identifier 2023-09-08T05:22:33,330 Error compiling Cython file: 2023-09-08T05:22:33,330 ------------------------------------------------------------ 2023-09-08T05:22:33,331 ... 2023-09-08T05:22:33,332 def getLCMSVersion(): 2023-09-08T05:22:33,332 return lcms.LCMS_VERSION 2023-09-08T05:22:33,333 def XYZ2xyY(float X, float Y, float Z): 2023-09-08T05:22:33,334 cdef lcms.cmsCIEXYZ XYZ 2023-09-08T05:22:33,334 ^ 2023-09-08T05:22:33,334 ------------------------------------------------------------ 2023-09-08T05:22:33,335 smc/freeimage/_lcms.pxi:55:9: 'cmsCIEXYZ' is not a type identifier 2023-09-08T05:22:33,337 Error compiling Cython file: 2023-09-08T05:22:33,337 ------------------------------------------------------------ 2023-09-08T05:22:33,338 ... 2023-09-08T05:22:33,338 def getLCMSVersion(): 2023-09-08T05:22:33,338 return lcms.LCMS_VERSION 2023-09-08T05:22:33,339 def XYZ2xyY(float X, float Y, float Z): 2023-09-08T05:22:33,339 cdef lcms.cmsCIEXYZ XYZ 2023-09-08T05:22:33,340 cdef lcms.cmsCIExyY xyY 2023-09-08T05:22:33,340 ^ 2023-09-08T05:22:33,341 ------------------------------------------------------------ 2023-09-08T05:22:33,341 smc/freeimage/_lcms.pxi:56:9: 'cmsCIExyY' is not a type identifier 2023-09-08T05:22:33,342 Error compiling Cython file: 2023-09-08T05:22:33,343 ------------------------------------------------------------ 2023-09-08T05:22:33,343 ... 2023-09-08T05:22:33,344 XYZ.Z = Z 2023-09-08T05:22:33,344 lcms.cmsXYZ2xyY(& xyY, & XYZ) 2023-09-08T05:22:33,344 return xyY.x, xyY.y, xyY.Y 2023-09-08T05:22:33,345 def xyY2XYZ(float x, float y, float Y): 2023-09-08T05:22:33,346 cdef lcms.cmsCIEXYZ XYZ 2023-09-08T05:22:33,346 ^ 2023-09-08T05:22:33,346 ------------------------------------------------------------ 2023-09-08T05:22:33,347 smc/freeimage/_lcms.pxi:64:9: 'cmsCIEXYZ' is not a type identifier 2023-09-08T05:22:33,348 Error compiling Cython file: 2023-09-08T05:22:33,349 ------------------------------------------------------------ 2023-09-08T05:22:33,349 ... 2023-09-08T05:22:33,350 lcms.cmsXYZ2xyY(& xyY, & XYZ) 2023-09-08T05:22:33,350 return xyY.x, xyY.y, xyY.Y 2023-09-08T05:22:33,351 def xyY2XYZ(float x, float y, float Y): 2023-09-08T05:22:33,351 cdef lcms.cmsCIEXYZ XYZ 2023-09-08T05:22:33,352 cdef lcms.cmsCIExyY xyY 2023-09-08T05:22:33,352 ^ 2023-09-08T05:22:33,352 ------------------------------------------------------------ 2023-09-08T05:22:33,354 smc/freeimage/_lcms.pxi:65:9: 'cmsCIExyY' is not a type identifier 2023-09-08T05:22:33,355 Error compiling Cython file: 2023-09-08T05:22:33,355 ------------------------------------------------------------ 2023-09-08T05:22:33,356 ... 2023-09-08T05:22:33,356 xyY.Y = Y 2023-09-08T05:22:33,357 lcms.cmsxyY2XYZ(& XYZ, & xyY) 2023-09-08T05:22:33,357 return XYZ.X, XYZ.Y, XYZ.Z 2023-09-08T05:22:33,358 def tempFromWhitePoint(float x, float y, float Y): 2023-09-08T05:22:33,359 cdef lcms.cmsFloat64Number tempK 2023-09-08T05:22:33,360 ^ 2023-09-08T05:22:33,360 ------------------------------------------------------------ 2023-09-08T05:22:33,362 smc/freeimage/_lcms.pxi:73:9: 'cmsFloat64Number' is not a type identifier 2023-09-08T05:22:33,363 Error compiling Cython file: 2023-09-08T05:22:33,363 ------------------------------------------------------------ 2023-09-08T05:22:33,364 ... 2023-09-08T05:22:33,364 lcms.cmsxyY2XYZ(& XYZ, & xyY) 2023-09-08T05:22:33,365 return XYZ.X, XYZ.Y, XYZ.Z 2023-09-08T05:22:33,366 def tempFromWhitePoint(float x, float y, float Y): 2023-09-08T05:22:33,366 cdef lcms.cmsFloat64Number tempK 2023-09-08T05:22:33,367 cdef lcms.cmsCIExyY xyY 2023-09-08T05:22:33,367 ^ 2023-09-08T05:22:33,368 ------------------------------------------------------------ 2023-09-08T05:22:33,369 smc/freeimage/_lcms.pxi:74:9: 'cmsCIExyY' is not a type identifier 2023-09-08T05:22:33,370 Error compiling Cython file: 2023-09-08T05:22:33,370 ------------------------------------------------------------ 2023-09-08T05:22:33,371 ... 2023-09-08T05:22:33,372 class LCMSException(Exception): 2023-09-08T05:22:33,372 pass 2023-09-08T05:22:33,373 cdef lcms.cmsHPROFILE createHProfile(char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:33,374 cdef lcms.cmsHPROFILE hProfile = NULL 2023-09-08T05:22:33,374 ^ 2023-09-08T05:22:33,375 ------------------------------------------------------------ 2023-09-08T05:22:33,376 smc/freeimage/_lcms.pxi:99:9: 'cmsHPROFILE' is not a type identifier 2023-09-08T05:22:33,377 Error compiling Cython file: 2023-09-08T05:22:33,378 ------------------------------------------------------------ 2023-09-08T05:22:33,378 ... 2023-09-08T05:22:33,379 class LCMSException(Exception): 2023-09-08T05:22:33,379 pass 2023-09-08T05:22:33,380 cdef lcms.cmsHPROFILE createHProfile(char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:33,380 cdef lcms.cmsHPROFILE hProfile = NULL 2023-09-08T05:22:33,380 cdef lcms.cmsToneCurve * curve 2023-09-08T05:22:33,381 ^ 2023-09-08T05:22:33,381 ------------------------------------------------------------ 2023-09-08T05:22:33,382 smc/freeimage/_lcms.pxi:100:9: 'cmsToneCurve' is not a type identifier 2023-09-08T05:22:33,383 Error compiling Cython file: 2023-09-08T05:22:33,383 ------------------------------------------------------------ 2023-09-08T05:22:33,383 ... 2023-09-08T05:22:33,384 pass 2023-09-08T05:22:33,385 cdef lcms.cmsHPROFILE createHProfile(char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:33,385 cdef lcms.cmsHPROFILE hProfile = NULL 2023-09-08T05:22:33,385 cdef lcms.cmsToneCurve * curve 2023-09-08T05:22:33,386 cdef lcms.cmsContext context 2023-09-08T05:22:33,386 ^ 2023-09-08T05:22:33,387 ------------------------------------------------------------ 2023-09-08T05:22:33,387 smc/freeimage/_lcms.pxi:101:9: 'cmsContext' is not a type identifier 2023-09-08T05:22:33,388 Error compiling Cython file: 2023-09-08T05:22:33,389 ------------------------------------------------------------ 2023-09-08T05:22:33,389 ... 2023-09-08T05:22:33,390 cdef setOutProfile(self, char * iccprofile, unsigned int size=0): 2023-09-08T05:22:33,391 self.hOutProfile = createHProfile(iccprofile, size, "out") 2023-09-08T05:22:33,392 cdef lcms.cmsHPROFILE _createProfile(self, char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:33,392 cdef lcms.cmsHPROFILE hProfile = NULL 2023-09-08T05:22:33,393 ^ 2023-09-08T05:22:33,393 ------------------------------------------------------------ 2023-09-08T05:22:33,395 smc/freeimage/_lcms.pxi:163:13: 'cmsHPROFILE' is not a type identifier 2023-09-08T05:22:33,396 Error compiling Cython file: 2023-09-08T05:22:33,396 ------------------------------------------------------------ 2023-09-08T05:22:33,397 ... 2023-09-08T05:22:33,397 cdef setOutProfile(self, char * iccprofile, unsigned int size=0): 2023-09-08T05:22:33,398 self.hOutProfile = createHProfile(iccprofile, size, "out") 2023-09-08T05:22:33,399 cdef lcms.cmsHPROFILE _createProfile(self, char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:33,399 cdef lcms.cmsHPROFILE hProfile = NULL 2023-09-08T05:22:33,400 cdef lcms.cmsToneCurve * curve 2023-09-08T05:22:33,400 ^ 2023-09-08T05:22:33,401 ------------------------------------------------------------ 2023-09-08T05:22:33,402 smc/freeimage/_lcms.pxi:164:13: 'cmsToneCurve' is not a type identifier 2023-09-08T05:22:33,403 Error compiling Cython file: 2023-09-08T05:22:33,403 ------------------------------------------------------------ 2023-09-08T05:22:33,404 ... 2023-09-08T05:22:33,404 self.hOutProfile = createHProfile(iccprofile, size, "out") 2023-09-08T05:22:33,405 cdef lcms.cmsHPROFILE _createProfile(self, char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:33,406 cdef lcms.cmsHPROFILE hProfile = NULL 2023-09-08T05:22:33,406 cdef lcms.cmsToneCurve * curve 2023-09-08T05:22:33,407 cdef lcms.cmsContext context 2023-09-08T05:22:33,407 ^ 2023-09-08T05:22:33,408 ------------------------------------------------------------ 2023-09-08T05:22:33,409 smc/freeimage/_lcms.pxi:165:13: 'cmsContext' is not a type identifier 2023-09-08T05:22:33,410 Error compiling Cython file: 2023-09-08T05:22:33,411 ------------------------------------------------------------ 2023-09-08T05:22:33,411 ... 2023-09-08T05:22:33,412 bytes inprofile=None, 2023-09-08T05:22:33,413 bytes outprofile=b"sRGB", 2023-09-08T05:22:33,413 int intent=lcms.INTENT_PERCEPTUAL, 2023-09-08T05:22:33,413 unsigned long flags=0): 2023-09-08T05:22:33,414 cdef fi.FIBITMAP * dib 2023-09-08T05:22:33,414 ^ 2023-09-08T05:22:33,415 ------------------------------------------------------------ 2023-09-08T05:22:33,415 smc/freeimage/_lcms.pxi:300:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,416 Error compiling Cython file: 2023-09-08T05:22:33,417 ------------------------------------------------------------ 2023-09-08T05:22:33,417 ... 2023-09-08T05:22:33,417 bytes outprofile=b"sRGB", 2023-09-08T05:22:33,418 int intent=lcms.INTENT_PERCEPTUAL, 2023-09-08T05:22:33,418 unsigned long flags=0): 2023-09-08T05:22:33,419 cdef fi.FIBITMAP * dib 2023-09-08T05:22:33,420 cdef fi.BYTE * bits 2023-09-08T05:22:33,420 ^ 2023-09-08T05:22:33,421 ------------------------------------------------------------ 2023-09-08T05:22:33,421 smc/freeimage/_lcms.pxi:301:13: 'BYTE' is not a type identifier 2023-09-08T05:22:33,422 Error compiling Cython file: 2023-09-08T05:22:33,423 ------------------------------------------------------------ 2023-09-08T05:22:33,423 ... 2023-09-08T05:22:33,424 cdef fi.FIBITMAP * dib 2023-09-08T05:22:33,424 cdef fi.BYTE * bits 2023-09-08T05:22:33,425 cdef unsigned width, height, pitch, bpp 2023-09-08T05:22:33,425 cdef unsigned x, y 2023-09-08T05:22:33,425 cdef fi.FREE_IMAGE_TYPE image_type 2023-09-08T05:22:33,426 ^ 2023-09-08T05:22:33,426 ------------------------------------------------------------ 2023-09-08T05:22:33,427 smc/freeimage/_lcms.pxi:304:13: 'FREE_IMAGE_TYPE' is not a type identifier 2023-09-08T05:22:33,429 Error compiling Cython file: 2023-09-08T05:22:33,429 ------------------------------------------------------------ 2023-09-08T05:22:33,430 ... 2023-09-08T05:22:33,430 cdef fi.FIBITMAP * dib 2023-09-08T05:22:33,431 cdef fi.BYTE * bits 2023-09-08T05:22:33,432 cdef unsigned width, height, pitch, bpp 2023-09-08T05:22:33,432 cdef unsigned x, y 2023-09-08T05:22:33,433 cdef fi.FREE_IMAGE_TYPE image_type 2023-09-08T05:22:33,433 cdef lcms.cmsHTRANSFORM hTransform 2023-09-08T05:22:33,434 ^ 2023-09-08T05:22:33,434 ------------------------------------------------------------ 2023-09-08T05:22:33,435 smc/freeimage/_lcms.pxi:305:13: 'cmsHTRANSFORM' is not a type identifier 2023-09-08T05:22:33,437 Error compiling Cython file: 2023-09-08T05:22:33,437 ------------------------------------------------------------ 2023-09-08T05:22:33,438 ... 2023-09-08T05:22:33,438 bits += pitch 2023-09-08T05:22:33,439 cdef int lcmsFI(Image img, LCMSTransformation trafo) except * : 2023-09-08T05:22:33,439 """Apply transformation from a LCMS Transformation object upon a FreeImage object 2023-09-08T05:22:33,440 """ 2023-09-08T05:22:33,440 cdef fi.FIBITMAP * dib 2023-09-08T05:22:33,441 ^ 2023-09-08T05:22:33,441 ------------------------------------------------------------ 2023-09-08T05:22:33,442 smc/freeimage/_lcms.pxi:355:9: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,443 Error compiling Cython file: 2023-09-08T05:22:33,444 ------------------------------------------------------------ 2023-09-08T05:22:33,444 ... 2023-09-08T05:22:33,445 cdef int lcmsFI(Image img, LCMSTransformation trafo) except * : 2023-09-08T05:22:33,446 """Apply transformation from a LCMS Transformation object upon a FreeImage object 2023-09-08T05:22:33,447 """ 2023-09-08T05:22:33,447 cdef fi.FIBITMAP * dib 2023-09-08T05:22:33,448 cdef fi.BYTE * bits 2023-09-08T05:22:33,448 ^ 2023-09-08T05:22:33,449 ------------------------------------------------------------ 2023-09-08T05:22:33,450 smc/freeimage/_lcms.pxi:356:9: 'BYTE' is not a type identifier 2023-09-08T05:22:33,451 Error compiling Cython file: 2023-09-08T05:22:33,451 ------------------------------------------------------------ 2023-09-08T05:22:33,451 ... 2023-09-08T05:22:33,452 """ 2023-09-08T05:22:33,452 cdef fi.FIBITMAP * dib 2023-09-08T05:22:33,453 cdef fi.BYTE * bits 2023-09-08T05:22:33,453 cdef unsigned width, height, pitch, bpp 2023-09-08T05:22:33,453 cdef unsigned x, y 2023-09-08T05:22:33,454 cdef fi.FREE_IMAGE_TYPE image_type 2023-09-08T05:22:33,454 ^ 2023-09-08T05:22:33,454 ------------------------------------------------------------ 2023-09-08T05:22:33,455 smc/freeimage/_lcms.pxi:359:9: 'FREE_IMAGE_TYPE' is not a type identifier 2023-09-08T05:22:33,456 Error compiling Cython file: 2023-09-08T05:22:33,456 ------------------------------------------------------------ 2023-09-08T05:22:33,457 ... 2023-09-08T05:22:33,457 cdef fi.FIBITMAP * dib 2023-09-08T05:22:33,458 cdef fi.BYTE * bits 2023-09-08T05:22:33,458 cdef unsigned width, height, pitch, bpp 2023-09-08T05:22:33,458 cdef unsigned x, y 2023-09-08T05:22:33,459 cdef fi.FREE_IMAGE_TYPE image_type 2023-09-08T05:22:33,459 cdef lcms.cmsHTRANSFORM hTransform 2023-09-08T05:22:33,460 ^ 2023-09-08T05:22:33,460 ------------------------------------------------------------ 2023-09-08T05:22:33,461 smc/freeimage/_lcms.pxi:360:9: 'cmsHTRANSFORM' is not a type identifier 2023-09-08T05:22:33,462 Error compiling Cython file: 2023-09-08T05:22:33,463 ------------------------------------------------------------ 2023-09-08T05:22:33,464 ... 2023-09-08T05:22:33,464 out[3] = < char > i 2023-09-08T05:22:33,465 out[4] = 0 2023-09-08T05:22:33,465 return out 2023-09-08T05:22:33,466 cdef xyz_py(lcms.cmsCIEXYZ * XYZ): 2023-09-08T05:22:33,467 cdef lcms.cmsCIExyY xyY[1] 2023-09-08T05:22:33,467 ^ 2023-09-08T05:22:33,468 ------------------------------------------------------------ 2023-09-08T05:22:33,469 smc/freeimage/_lcms.pxi:398:9: 'cmsCIExyY' is not a type identifier 2023-09-08T05:22:33,470 Error compiling Cython file: 2023-09-08T05:22:33,471 ------------------------------------------------------------ 2023-09-08T05:22:33,471 ... 2023-09-08T05:22:33,472 cdef lcms.cmsHPROFILE hProfile 2023-09-08T05:22:33,472 cdef public dict info 2023-09-08T05:22:33,473 def __init__(self, bytes data=None, filename=None): 2023-09-08T05:22:33,474 self.hProfile = NULL 2023-09-08T05:22:33,475 cdef lcms.cmsContext context 2023-09-08T05:22:33,475 ^ 2023-09-08T05:22:33,476 ------------------------------------------------------------ 2023-09-08T05:22:33,477 smc/freeimage/_lcms.pxi:422:13: 'cmsContext' is not a type identifier 2023-09-08T05:22:33,478 Error compiling Cython file: 2023-09-08T05:22:33,479 ------------------------------------------------------------ 2023-09-08T05:22:33,479 ... 2023-09-08T05:22:33,480 if self.hProfile != NULL: 2023-09-08T05:22:33,480 lcms.cmsCloseProfile(self.hProfile) 2023-09-08T05:22:33,481 cdef _readMLU(self, lcms.cmsTagSignature info, char * language="en", char * country=lcms.cmsNoCountry): 2023-09-08T05:22:33,482 cdef int read 2023-09-08T05:22:33,482 cdef lcms.const_cmsMLU * mlu 2023-09-08T05:22:33,483 ^ 2023-09-08T05:22:33,483 ------------------------------------------------------------ 2023-09-08T05:22:33,485 smc/freeimage/_lcms.pxi:445:13: 'const_cmsMLU' is not a type identifier 2023-09-08T05:22:33,486 Error compiling Cython file: 2023-09-08T05:22:33,486 ------------------------------------------------------------ 2023-09-08T05:22:33,487 ... 2023-09-08T05:22:33,487 uni = smc_fi.PyUnicode_FromWideChar(buf, smc_fi.wcslen(buf)) 2023-09-08T05:22:33,488 stdlib.free(buf) 2023-09-08T05:22:33,489 return uni 2023-09-08T05:22:33,490 cdef _readCIEXYZ(self, lcms.cmsTagSignature info, multi=False): 2023-09-08T05:22:33,491 cdef lcms.cmsCIEXYZ * XYZ 2023-09-08T05:22:33,491 ^ 2023-09-08T05:22:33,491 ------------------------------------------------------------ 2023-09-08T05:22:33,492 smc/freeimage/_lcms.pxi:465:13: 'cmsCIEXYZ' is not a type identifier 2023-09-08T05:22:33,493 Error compiling Cython file: 2023-09-08T05:22:33,493 ------------------------------------------------------------ 2023-09-08T05:22:33,494 ... 2023-09-08T05:22:33,494 return xyz_py(XYZ) 2023-09-08T05:22:33,495 else: 2023-09-08T05:22:33,495 return xyz3_py(XYZ) 2023-09-08T05:22:33,496 cdef _calculateRGBPrimaries(self): 2023-09-08T05:22:33,496 cdef lcms.cmsCIEXYZTRIPLE result 2023-09-08T05:22:33,497 ^ 2023-09-08T05:22:33,497 ------------------------------------------------------------ 2023-09-08T05:22:33,498 smc/freeimage/_lcms.pxi:477:13: 'cmsCIEXYZTRIPLE' is not a type identifier 2023-09-08T05:22:33,499 Error compiling Cython file: 2023-09-08T05:22:33,500 ------------------------------------------------------------ 2023-09-08T05:22:33,501 ... 2023-09-08T05:22:33,501 return xyz3_py(XYZ) 2023-09-08T05:22:33,503 cdef _calculateRGBPrimaries(self): 2023-09-08T05:22:33,503 cdef lcms.cmsCIEXYZTRIPLE result 2023-09-08T05:22:33,504 cdef double input[3][3] 2023-09-08T05:22:33,505 cdef lcms.cmsHPROFILE hXYZ 2023-09-08T05:22:33,505 ^ 2023-09-08T05:22:33,506 ------------------------------------------------------------ 2023-09-08T05:22:33,507 smc/freeimage/_lcms.pxi:479:13: 'cmsHPROFILE' is not a type identifier 2023-09-08T05:22:33,508 Error compiling Cython file: 2023-09-08T05:22:33,508 ------------------------------------------------------------ 2023-09-08T05:22:33,509 ... 2023-09-08T05:22:33,510 cdef _calculateRGBPrimaries(self): 2023-09-08T05:22:33,511 cdef lcms.cmsCIEXYZTRIPLE result 2023-09-08T05:22:33,511 cdef double input[3][3] 2023-09-08T05:22:33,512 cdef lcms.cmsHPROFILE hXYZ 2023-09-08T05:22:33,512 cdef lcms.cmsHTRANSFORM hTransform 2023-09-08T05:22:33,513 ^ 2023-09-08T05:22:33,513 ------------------------------------------------------------ 2023-09-08T05:22:33,514 smc/freeimage/_lcms.pxi:480:13: 'cmsHTRANSFORM' is not a type identifier 2023-09-08T05:22:33,515 Error compiling Cython file: 2023-09-08T05:22:33,516 ------------------------------------------------------------ 2023-09-08T05:22:33,517 ... 2023-09-08T05:22:33,517 lcms.cmsDeleteTransform(hTransform) 2023-09-08T05:22:33,518 return xyztrip_py(& result) 2023-09-08T05:22:33,519 cdef _readCIEXYZWhitePointTemp(self): 2023-09-08T05:22:33,520 cdef lcms.cmsCIEXYZ * XYZ 2023-09-08T05:22:33,520 ^ 2023-09-08T05:22:33,521 ------------------------------------------------------------ 2023-09-08T05:22:33,522 smc/freeimage/_lcms.pxi:507:13: 'cmsCIEXYZ' is not a type identifier 2023-09-08T05:22:33,523 Error compiling Cython file: 2023-09-08T05:22:33,524 ------------------------------------------------------------ 2023-09-08T05:22:33,524 ... 2023-09-08T05:22:33,525 return xyztrip_py(& result) 2023-09-08T05:22:33,526 cdef _readCIEXYZWhitePointTemp(self): 2023-09-08T05:22:33,527 cdef lcms.cmsCIEXYZ * XYZ 2023-09-08T05:22:33,527 cdef lcms.cmsCIExyY xyY 2023-09-08T05:22:33,528 ^ 2023-09-08T05:22:33,529 ------------------------------------------------------------ 2023-09-08T05:22:33,530 smc/freeimage/_lcms.pxi:508:13: 'cmsCIExyY' is not a type identifier 2023-09-08T05:22:33,531 Error compiling Cython file: 2023-09-08T05:22:33,532 ------------------------------------------------------------ 2023-09-08T05:22:33,532 ... 2023-09-08T05:22:33,533 return xyztrip_py(& result) 2023-09-08T05:22:33,534 cdef _readCIEXYZWhitePointTemp(self): 2023-09-08T05:22:33,535 cdef lcms.cmsCIEXYZ * XYZ 2023-09-08T05:22:33,535 cdef lcms.cmsCIExyY xyY 2023-09-08T05:22:33,535 cdef lcms.cmsFloat64Number tempK 2023-09-08T05:22:33,536 ^ 2023-09-08T05:22:33,536 ------------------------------------------------------------ 2023-09-08T05:22:33,537 smc/freeimage/_lcms.pxi:509:13: 'cmsFloat64Number' is not a type identifier 2023-09-08T05:22:33,538 Error compiling Cython file: 2023-09-08T05:22:33,538 ------------------------------------------------------------ 2023-09-08T05:22:33,539 ... 2023-09-08T05:22:33,540 cdef _readCIEXYZWhitePointTemp(self): 2023-09-08T05:22:33,540 cdef lcms.cmsCIEXYZ * XYZ 2023-09-08T05:22:33,540 cdef lcms.cmsCIExyY xyY 2023-09-08T05:22:33,541 cdef lcms.cmsFloat64Number tempK 2023-09-08T05:22:33,541 cdef lcms.cmsTagSignature info = lcms.cmsSigMediaWhitePointTag 2023-09-08T05:22:33,542 ^ 2023-09-08T05:22:33,542 ------------------------------------------------------------ 2023-09-08T05:22:33,543 smc/freeimage/_lcms.pxi:510:13: 'cmsTagSignature' is not a type identifier 2023-09-08T05:22:33,544 Error compiling Cython file: 2023-09-08T05:22:33,544 ------------------------------------------------------------ 2023-09-08T05:22:33,545 ... 2023-09-08T05:22:33,545 if not lcms.cmsTempFromWhitePoint(& tempK, & xyY): 2023-09-08T05:22:33,546 return None 2023-09-08T05:22:33,546 return tempK 2023-09-08T05:22:33,547 cdef _readCIExyYTriple(self, lcms.cmsTagSignature info): 2023-09-08T05:22:33,548 cdef lcms.cmsCIExyYTRIPLE * trip 2023-09-08T05:22:33,549 ^ 2023-09-08T05:22:33,549 ------------------------------------------------------------ 2023-09-08T05:22:33,550 smc/freeimage/_lcms.pxi:522:13: 'cmsCIExyYTRIPLE' is not a type identifier 2023-09-08T05:22:33,551 Error compiling Cython file: 2023-09-08T05:22:33,552 ------------------------------------------------------------ 2023-09-08T05:22:33,552 ... 2023-09-08T05:22:33,553 if sig is NULL: 2023-09-08T05:22:33,553 return None 2023-09-08T05:22:33,554 return int2str(sig[0]) 2023-09-08T05:22:33,555 cdef _readICCMeasurementCond(self): 2023-09-08T05:22:33,556 cdef lcms.cmsICCMeasurementConditions * mc 2023-09-08T05:22:33,556 ^ 2023-09-08T05:22:33,557 ------------------------------------------------------------ 2023-09-08T05:22:33,558 smc/freeimage/_lcms.pxi:542:13: 'cmsICCMeasurementConditions' is not a type identifier 2023-09-08T05:22:33,559 Error compiling Cython file: 2023-09-08T05:22:33,560 ------------------------------------------------------------ 2023-09-08T05:22:33,561 ... 2023-09-08T05:22:33,561 return None 2023-09-08T05:22:33,562 return int2str(sig[0]) 2023-09-08T05:22:33,563 cdef _readICCMeasurementCond(self): 2023-09-08T05:22:33,564 cdef lcms.cmsICCMeasurementConditions * mc 2023-09-08T05:22:33,564 cdef lcms.cmsTagSignature info = lcms.cmsSigMeasurementTag 2023-09-08T05:22:33,565 ^ 2023-09-08T05:22:33,566 ------------------------------------------------------------ 2023-09-08T05:22:33,568 smc/freeimage/_lcms.pxi:543:13: 'cmsTagSignature' is not a type identifier 2023-09-08T05:22:33,570 Error compiling Cython file: 2023-09-08T05:22:33,571 ------------------------------------------------------------ 2023-09-08T05:22:33,572 ... 2023-09-08T05:22:33,573 return dict(observer=mc.Observer, backing=(mc.Backing.X, mc.Backing.Y, mc.Backing.Z), 2023-09-08T05:22:33,573 geometry=geo, flare=mc.Flare, illuminantType=_illu_map.get(mc.IlluminantType, None)) 2023-09-08T05:22:33,575 cdef _readICCViewingCond(self): 2023-09-08T05:22:33,575 cdef lcms.cmsICCViewingConditions * vc 2023-09-08T05:22:33,576 ^ 2023-09-08T05:22:33,577 ------------------------------------------------------------ 2023-09-08T05:22:33,578 smc/freeimage/_lcms.pxi:561:13: 'cmsICCViewingConditions' is not a type identifier 2023-09-08T05:22:33,579 Error compiling Cython file: 2023-09-08T05:22:33,579 ------------------------------------------------------------ 2023-09-08T05:22:33,580 ... 2023-09-08T05:22:33,580 return dict(observer=mc.Observer, backing=(mc.Backing.X, mc.Backing.Y, mc.Backing.Z), 2023-09-08T05:22:33,581 geometry=geo, flare=mc.Flare, illuminantType=_illu_map.get(mc.IlluminantType, None)) 2023-09-08T05:22:33,583 cdef _readICCViewingCond(self): 2023-09-08T05:22:33,583 cdef lcms.cmsICCViewingConditions * vc 2023-09-08T05:22:33,584 cdef lcms.cmsTagSignature info = lcms.cmsSigViewingConditionsTag 2023-09-08T05:22:33,584 ^ 2023-09-08T05:22:33,585 ------------------------------------------------------------ 2023-09-08T05:22:33,585 smc/freeimage/_lcms.pxi:562:13: 'cmsTagSignature' is not a type identifier 2023-09-08T05:22:33,586 Error compiling Cython file: 2023-09-08T05:22:33,587 ------------------------------------------------------------ 2023-09-08T05:22:33,587 ... 2023-09-08T05:22:33,588 return dict(illuminant=(vc.IlluminantXYZ.X, vc.IlluminantXYZ.Y, vc.IlluminantXYZ.Z), 2023-09-08T05:22:33,588 surround=(vc.SurroundXYZ.X, vc.SurroundXYZ.Y, vc.SurroundXYZ.Z), 2023-09-08T05:22:33,589 illuminantType=_illu_map.get(vc.IlluminantType, None)) 2023-09-08T05:22:33,589 def _readNamedColorList(self, lcms.cmsTagSignature info): 2023-09-08T05:22:33,590 cdef lcms.cmsNAMEDCOLORLIST * ncl 2023-09-08T05:22:33,590 ^ 2023-09-08T05:22:33,591 ------------------------------------------------------------ 2023-09-08T05:22:33,592 smc/freeimage/_lcms.pxi:573:13: 'cmsNAMEDCOLORLIST' is not a type identifier 2023-09-08T05:22:33,593 Error compiling Cython file: 2023-09-08T05:22:33,594 ------------------------------------------------------------ 2023-09-08T05:22:33,594 ... 2023-09-08T05:22:33,595 illuminantType=_illu_map.get(vc.IlluminantType, None)) 2023-09-08T05:22:33,596 def _readNamedColorList(self, lcms.cmsTagSignature info): 2023-09-08T05:22:33,597 cdef lcms.cmsNAMEDCOLORLIST * ncl 2023-09-08T05:22:33,597 cdef int i, n 2023-09-08T05:22:33,598 cdef char name[lcms.cmsMAX_PATH] 2023-09-08T05:22:33,599 ^ 2023-09-08T05:22:33,599 ------------------------------------------------------------ 2023-09-08T05:22:33,601 smc/freeimage/_lcms.pxi:575:27: cimported module has no attribute 'cmsMAX_PATH' 2023-09-08T05:22:33,602 Error compiling Cython file: 2023-09-08T05:22:33,602 ------------------------------------------------------------ 2023-09-08T05:22:33,603 ... 2023-09-08T05:22:33,604 illuminantType=_illu_map.get(vc.IlluminantType, None)) 2023-09-08T05:22:33,605 def _readNamedColorList(self, lcms.cmsTagSignature info): 2023-09-08T05:22:33,605 cdef lcms.cmsNAMEDCOLORLIST * ncl 2023-09-08T05:22:33,606 cdef int i, n 2023-09-08T05:22:33,606 cdef char name[lcms.cmsMAX_PATH] 2023-09-08T05:22:33,607 ^ 2023-09-08T05:22:33,607 ------------------------------------------------------------ 2023-09-08T05:22:33,609 smc/freeimage/_lcms.pxi:575:27: Not allowed in a constant expression 2023-09-08T05:22:33,610 Error compiling Cython file: 2023-09-08T05:22:33,610 ------------------------------------------------------------ 2023-09-08T05:22:33,611 ... 2023-09-08T05:22:33,611 illuminantType=_illu_map.get(vc.IlluminantType, None)) 2023-09-08T05:22:33,613 def _readNamedColorList(self, lcms.cmsTagSignature info): 2023-09-08T05:22:33,613 cdef lcms.cmsNAMEDCOLORLIST * ncl 2023-09-08T05:22:33,614 cdef int i, n 2023-09-08T05:22:33,614 cdef char name[lcms.cmsMAX_PATH] 2023-09-08T05:22:33,615 ^ 2023-09-08T05:22:33,616 ------------------------------------------------------------ 2023-09-08T05:22:33,617 smc/freeimage/_lcms.pxi:575:27: Array dimension not integer 2023-09-08T05:22:33,618 Error compiling Cython file: 2023-09-08T05:22:33,618 ------------------------------------------------------------ 2023-09-08T05:22:33,619 ... 2023-09-08T05:22:33,619 illuminantType=_illu_map.get(vc.IlluminantType, None)) 2023-09-08T05:22:33,620 def _readNamedColorList(self, lcms.cmsTagSignature info): 2023-09-08T05:22:33,620 cdef lcms.cmsNAMEDCOLORLIST * ncl 2023-09-08T05:22:33,621 cdef int i, n 2023-09-08T05:22:33,621 cdef char name[lcms.cmsMAX_PATH] 2023-09-08T05:22:33,622 ^ 2023-09-08T05:22:33,622 ------------------------------------------------------------ 2023-09-08T05:22:33,623 smc/freeimage/_lcms.pxi:575:22: Variable type 'char []' is incomplete 2023-09-08T05:22:33,624 Error compiling Cython file: 2023-09-08T05:22:33,624 ------------------------------------------------------------ 2023-09-08T05:22:33,625 ... 2023-09-08T05:22:33,625 lcms.cmsNamedColorInfo(ncl, i, name, NULL, NULL, NULL, NULL) 2023-09-08T05:22:33,626 result.append(name) 2023-09-08T05:22:33,626 return result 2023-09-08T05:22:33,627 cdef _parse(self): 2023-09-08T05:22:33,628 cdef smc_fi.tm ct 2023-09-08T05:22:33,628 ^ 2023-09-08T05:22:33,629 ------------------------------------------------------------ 2023-09-08T05:22:33,629 smc/freeimage/_lcms.pxi:591:13: 'tm' is not a type identifier 2023-09-08T05:22:33,630 Error compiling Cython file: 2023-09-08T05:22:33,631 ------------------------------------------------------------ 2023-09-08T05:22:33,631 ... 2023-09-08T05:22:33,632 result.append(name) 2023-09-08T05:22:33,632 return result 2023-09-08T05:22:33,633 cdef _parse(self): 2023-09-08T05:22:33,634 cdef smc_fi.tm ct 2023-09-08T05:22:33,634 cdef lcms.cmsUInt64Number attr = 0 2023-09-08T05:22:33,635 ^ 2023-09-08T05:22:33,635 ------------------------------------------------------------ 2023-09-08T05:22:33,636 smc/freeimage/_lcms.pxi:592:13: 'cmsUInt64Number' is not a type identifier 2023-09-08T05:22:33,637 Error compiling Cython file: 2023-09-08T05:22:33,638 ------------------------------------------------------------ 2023-09-08T05:22:33,638 ... 2023-09-08T05:22:33,639 return result 2023-09-08T05:22:33,640 cdef _parse(self): 2023-09-08T05:22:33,640 cdef smc_fi.tm ct 2023-09-08T05:22:33,641 cdef lcms.cmsUInt64Number attr = 0 2023-09-08T05:22:33,641 cdef lcms.cmsUInt8Number hid[16] 2023-09-08T05:22:33,642 ^ 2023-09-08T05:22:33,643 ------------------------------------------------------------ 2023-09-08T05:22:33,644 smc/freeimage/_lcms.pxi:593:13: 'cmsUInt8Number' is not a type identifier 2023-09-08T05:22:33,644 Error compiling Cython file: 2023-09-08T05:22:33,645 ------------------------------------------------------------ 2023-09-08T05:22:33,646 ... 2023-09-08T05:22:33,646 cdef readonly int size 2023-09-08T05:22:33,646 cdef fi.FREE_IMAGE_FORMAT _format 2023-09-08T05:22:33,647 cdef Image _img 2023-09-08T05:22:33,648 def __init__(self, Image img not None, int format=-1, int flags=0): 2023-09-08T05:22:33,649 cdef fi.FIMEMORY *mem = NULL 2023-09-08T05:22:33,649 ^ 2023-09-08T05:22:33,650 ------------------------------------------------------------ 2023-09-08T05:22:33,651 smc/freeimage/_freeimage.pyx:445:13: 'FIMEMORY' is not a type identifier 2023-09-08T05:22:33,652 Error compiling Cython file: 2023-09-08T05:22:33,652 ------------------------------------------------------------ 2023-09-08T05:22:33,653 ... 2023-09-08T05:22:33,654 fi.FreeImage_CloseMemory(self._mem) 2023-09-08T05:22:33,654 self._mem = NULL 2023-09-08T05:22:33,655 self._img.buffers -= 1 2023-09-08T05:22:33,656 def __getreadbuffer__(self, int index, void **ptr): 2023-09-08T05:22:33,657 cdef fi.DWORD size 2023-09-08T05:22:33,657 ^ 2023-09-08T05:22:33,657 ------------------------------------------------------------ 2023-09-08T05:22:33,658 smc/freeimage/_freeimage.pyx:489:13: 'DWORD' is not a type identifier 2023-09-08T05:22:33,659 Error compiling Cython file: 2023-09-08T05:22:33,659 ------------------------------------------------------------ 2023-09-08T05:22:33,659 ... 2023-09-08T05:22:33,660 cdef int floodfill(fi.FIBITMAP* dib, unsigned red, unsigned green, unsigned blue, unsigned alpha) nogil: 2023-09-08T05:22:33,660 """fill bitmap with the given colors 2023-09-08T05:22:33,661 only implemented for 24bit RGB images atm 2023-09-08T05:22:33,661 """ 2023-09-08T05:22:33,662 cdef fi.BYTE *bits 2023-09-08T05:22:33,662 ^ 2023-09-08T05:22:33,662 ------------------------------------------------------------ 2023-09-08T05:22:33,663 smc/freeimage/_freeimage.pyx:580:9: 'BYTE' is not a type identifier 2023-09-08T05:22:33,664 Error compiling Cython file: 2023-09-08T05:22:33,664 ------------------------------------------------------------ 2023-09-08T05:22:33,664 ... 2023-09-08T05:22:33,665 """fill bitmap with the given colors 2023-09-08T05:22:33,666 only implemented for 24bit RGB images atm 2023-09-08T05:22:33,666 """ 2023-09-08T05:22:33,667 cdef fi.BYTE *bits 2023-09-08T05:22:33,667 cdef fi.BYTE *pixel 2023-09-08T05:22:33,667 ^ 2023-09-08T05:22:33,668 ------------------------------------------------------------ 2023-09-08T05:22:33,669 smc/freeimage/_freeimage.pyx:581:9: 'BYTE' is not a type identifier 2023-09-08T05:22:33,670 Error compiling Cython file: 2023-09-08T05:22:33,670 ------------------------------------------------------------ 2023-09-08T05:22:33,671 ... 2023-09-08T05:22:33,671 """ 2023-09-08T05:22:33,672 cdef fi.BYTE *bits 2023-09-08T05:22:33,673 cdef fi.BYTE *pixel 2023-09-08T05:22:33,673 cdef unsigned width, height, pitch, bpp 2023-09-08T05:22:33,674 cdef unsigned x, y 2023-09-08T05:22:33,674 cdef fi.FREE_IMAGE_TYPE image_type 2023-09-08T05:22:33,675 ^ 2023-09-08T05:22:33,675 ------------------------------------------------------------ 2023-09-08T05:22:33,677 smc/freeimage/_freeimage.pyx:584:9: 'FREE_IMAGE_TYPE' is not a type identifier 2023-09-08T05:22:33,678 Error compiling Cython file: 2023-09-08T05:22:33,678 ------------------------------------------------------------ 2023-09-08T05:22:33,679 ... 2023-09-08T05:22:33,679 fi.FreeImage_SetMetadata(model, dib, NULL, NULL) 2023-09-08T05:22:33,681 cdef int cloneICCProfile(fi.FIBITMAP *src, fi.FIBITMAP *dst): 2023-09-08T05:22:33,681 """Clone ICC profile from src to dst 2023-09-08T05:22:33,682 """ 2023-09-08T05:22:33,682 cdef fi.FIICCPROFILE* icc 2023-09-08T05:22:33,683 ^ 2023-09-08T05:22:33,683 ------------------------------------------------------------ 2023-09-08T05:22:33,684 smc/freeimage/_freeimage.pyx:625:9: 'FIICCPROFILE' is not a type identifier 2023-09-08T05:22:33,685 Error compiling Cython file: 2023-09-08T05:22:33,686 ------------------------------------------------------------ 2023-09-08T05:22:33,686 ... 2023-09-08T05:22:33,687 fi.FreeImage_DestroyICCProfile(dst) 2023-09-08T05:22:33,687 return 0 2023-09-08T05:22:33,688 def _new_image(unsigned width, unsigned height, unsigned bpp, 2023-09-08T05:22:33,689 unsigned red_mask = 0, unsigned green_mask = 0, unsigned blue_mask = 0): 2023-09-08T05:22:33,689 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,690 ^ 2023-09-08T05:22:33,690 ------------------------------------------------------------ 2023-09-08T05:22:33,692 smc/freeimage/_freeimage.pyx:636:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,693 Error compiling Cython file: 2023-09-08T05:22:33,693 ------------------------------------------------------------ 2023-09-08T05:22:33,694 ... 2023-09-08T05:22:33,694 self._format = fi.FIF_PNG 2023-09-08T05:22:33,695 self._init_infos() 2023-09-08T05:22:33,696 cdef from_buffer(self, object obj, int flags): 2023-09-08T05:22:33,696 cdef Py_ssize_t size 2023-09-08T05:22:33,696 cdef fi.BYTE *buffer 2023-09-08T05:22:33,697 ^ 2023-09-08T05:22:33,697 ------------------------------------------------------------ 2023-09-08T05:22:33,698 smc/freeimage/_freeimage.pyx:718:13: 'BYTE' is not a type identifier 2023-09-08T05:22:33,698 Error compiling Cython file: 2023-09-08T05:22:33,699 ------------------------------------------------------------ 2023-09-08T05:22:33,699 ... 2023-09-08T05:22:33,700 self._init_infos() 2023-09-08T05:22:33,700 cdef from_buffer(self, object obj, int flags): 2023-09-08T05:22:33,701 cdef Py_ssize_t size 2023-09-08T05:22:33,701 cdef fi.BYTE *buffer 2023-09-08T05:22:33,701 cdef fi.FIMEMORY *mem 2023-09-08T05:22:33,702 ^ 2023-09-08T05:22:33,702 ------------------------------------------------------------ 2023-09-08T05:22:33,703 smc/freeimage/_freeimage.pyx:719:13: 'FIMEMORY' is not a type identifier 2023-09-08T05:22:33,704 Error compiling Cython file: 2023-09-08T05:22:33,704 ------------------------------------------------------------ 2023-09-08T05:22:33,705 ... 2023-09-08T05:22:33,706 property color_type_name: 2023-09-08T05:22:33,706 """color_type_name -> str 2023-09-08T05:22:33,706 """ 2023-09-08T05:22:33,707 def __get__(self): 2023-09-08T05:22:33,707 cdef fi.FREE_IMAGE_COLOR_TYPE ct 2023-09-08T05:22:33,708 ^ 2023-09-08T05:22:33,708 ------------------------------------------------------------ 2023-09-08T05:22:33,709 smc/freeimage/_freeimage.pyx:953:17: 'FREE_IMAGE_COLOR_TYPE' is not a type identifier 2023-09-08T05:22:33,710 Error compiling Cython file: 2023-09-08T05:22:33,711 ------------------------------------------------------------ 2023-09-08T05:22:33,712 ... 2023-09-08T05:22:33,712 def save(self, filename, int format=-1, int flags=0): 2023-09-08T05:22:33,713 """save(filename[, format=-1[, flags=0]]) 2023-09-08T05:22:33,714 Save image to file 2023-09-08T05:22:33,714 """ 2023-09-08T05:22:33,715 cdef fi.BOOL result 2023-09-08T05:22:33,715 ^ 2023-09-08T05:22:33,716 ------------------------------------------------------------ 2023-09-08T05:22:33,717 smc/freeimage/_freeimage.pyx:1031:13: 'BOOL' is not a type identifier 2023-09-08T05:22:33,718 Error compiling Cython file: 2023-09-08T05:22:33,719 ------------------------------------------------------------ 2023-09-08T05:22:33,719 ... 2023-09-08T05:22:33,720 # ********************************************************************** 2023-09-08T05:22:33,720 # scale 2023-09-08T05:22:33,721 def resize(self, int width, int height, int filter=fi.FILTER_BOX): 2023-09-08T05:22:33,721 """resize(width: int, height: int[, filter=FILTER_BOX]) -> new image 2023-09-08T05:22:33,722 """ 2023-09-08T05:22:33,722 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,723 ^ 2023-09-08T05:22:33,723 ------------------------------------------------------------ 2023-09-08T05:22:33,724 smc/freeimage/_freeimage.pyx:1068:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,725 Error compiling Cython file: 2023-09-08T05:22:33,726 ------------------------------------------------------------ 2023-09-08T05:22:33,726 ... 2023-09-08T05:22:33,727 def clone(self): 2023-09-08T05:22:33,727 """clone() -> new image 2023-09-08T05:22:33,729 @note: clone uses low level FI functions to clone metadata and ICC, too. 2023-09-08T05:22:33,729 """ 2023-09-08T05:22:33,730 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,730 ^ 2023-09-08T05:22:33,731 ------------------------------------------------------------ 2023-09-08T05:22:33,733 smc/freeimage/_freeimage.pyx:1103:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,733 Error compiling Cython file: 2023-09-08T05:22:33,734 ------------------------------------------------------------ 2023-09-08T05:22:33,734 ... 2023-09-08T05:22:33,734 return clone 2023-09-08T05:22:33,735 def crop(self, int left, int top, int right, int bottom): 2023-09-08T05:22:33,736 """crop(left: int, top: int, right: int, bottom: int) -> new image 2023-09-08T05:22:33,736 """ 2023-09-08T05:22:33,736 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,737 ^ 2023-09-08T05:22:33,737 ------------------------------------------------------------ 2023-09-08T05:22:33,738 smc/freeimage/_freeimage.pyx:1117:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,739 Error compiling Cython file: 2023-09-08T05:22:33,739 ------------------------------------------------------------ 2023-09-08T05:22:33,739 ... 2023-09-08T05:22:33,740 # ********************************************************************** 2023-09-08T05:22:33,741 # convert 2023-09-08T05:22:33,741 cdef Image convert_helper(self, FI_ConvertFunction conv): 2023-09-08T05:22:33,742 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,742 ^ 2023-09-08T05:22:33,743 ------------------------------------------------------------ 2023-09-08T05:22:33,743 smc/freeimage/_freeimage.pyx:1139:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,744 Error compiling Cython file: 2023-09-08T05:22:33,745 ------------------------------------------------------------ 2023-09-08T05:22:33,745 ... 2023-09-08T05:22:33,746 return self.convert_helper(fi.FreeImage_ConvertToRGBF) 2023-09-08T05:22:33,747 def to_standard(self, bint scale_linear=True): 2023-09-08T05:22:33,747 """to_standard([scale_linear=True]) -> new image 2023-09-08T05:22:33,748 """ 2023-09-08T05:22:33,749 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,749 ^ 2023-09-08T05:22:33,749 ------------------------------------------------------------ 2023-09-08T05:22:33,750 smc/freeimage/_freeimage.pyx:1192:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,751 Error compiling Cython file: 2023-09-08T05:22:33,752 ------------------------------------------------------------ 2023-09-08T05:22:33,752 ... 2023-09-08T05:22:33,753 return Image(_bitmap=DibWrapper(dib, self)) 2023-09-08T05:22:33,754 def to_type(self, unsigned dst_type, bint scale_linear=True): 2023-09-08T05:22:33,755 """to_type(dst_type[, scale_linear=True]) -> new image 2023-09-08T05:22:33,755 """ 2023-09-08T05:22:33,756 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,756 ^ 2023-09-08T05:22:33,757 ------------------------------------------------------------ 2023-09-08T05:22:33,758 smc/freeimage/_freeimage.pyx:1205:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,759 Error compiling Cython file: 2023-09-08T05:22:33,759 ------------------------------------------------------------ 2023-09-08T05:22:33,760 ... 2023-09-08T05:22:33,760 def dither(self, unsigned dither_alg): 2023-09-08T05:22:33,761 """dither(dither_alg) -> new image 2023-09-08T05:22:33,762 Converts a bitmap to 1-bit monochrome bitmap using a dithering algorithm. 2023-09-08T05:22:33,762 """ 2023-09-08T05:22:33,762 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,763 ^ 2023-09-08T05:22:33,764 ------------------------------------------------------------ 2023-09-08T05:22:33,765 smc/freeimage/_freeimage.pyx:1220:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,766 Error compiling Cython file: 2023-09-08T05:22:33,766 ------------------------------------------------------------ 2023-09-08T05:22:33,767 ... 2023-09-08T05:22:33,768 Converts a bitmap to 1-bit monochrome bitmap 2023-09-08T05:22:33,770 @param threshold: 0 to 255 2023-09-08T05:22:33,770 """ 2023-09-08T05:22:33,770 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,771 ^ 2023-09-08T05:22:33,771 ------------------------------------------------------------ 2023-09-08T05:22:33,772 smc/freeimage/_freeimage.pyx:1237:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,773 Error compiling Cython file: 2023-09-08T05:22:33,773 ------------------------------------------------------------ 2023-09-08T05:22:33,773 ... 2023-09-08T05:22:33,774 Only angles 90, 180 and 270 degrees are supported 2023-09-08T05:22:33,775 Warning: rotation will result in loose of metadata 2023-09-08T05:22:33,775 """ 2023-09-08T05:22:33,776 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,776 ^ 2023-09-08T05:22:33,776 ------------------------------------------------------------ 2023-09-08T05:22:33,777 smc/freeimage/_freeimage.pyx:1277:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,778 Error compiling Cython file: 2023-09-08T05:22:33,779 ------------------------------------------------------------ 2023-09-08T05:22:33,779 ... 2023-09-08T05:22:33,780 wrapper around fi.FreeImage_RotateEx 2023-09-08T05:22:33,781 angle: angle in degree 2023-09-08T05:22:33,781 """ 2023-09-08T05:22:33,781 cdef fi.FIBITMAP* dib 2023-09-08T05:22:33,782 ^ 2023-09-08T05:22:33,782 ------------------------------------------------------------ 2023-09-08T05:22:33,783 smc/freeimage/_freeimage.pyx:1306:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,784 Error compiling Cython file: 2023-09-08T05:22:33,784 ------------------------------------------------------------ 2023-09-08T05:22:33,785 ... 2023-09-08T05:22:33,785 def getICC(self): 2023-09-08T05:22:33,786 """getICC() -> str 2023-09-08T05:22:33,787 Return ICC profile a byte string 2023-09-08T05:22:33,788 """ 2023-09-08T05:22:33,788 cdef fi.FIICCPROFILE* icc 2023-09-08T05:22:33,788 ^ 2023-09-08T05:22:33,789 ------------------------------------------------------------ 2023-09-08T05:22:33,790 smc/freeimage/_freeimage.pyx:1327:13: 'FIICCPROFILE' is not a type identifier 2023-09-08T05:22:33,791 Error compiling Cython file: 2023-09-08T05:22:33,792 ------------------------------------------------------------ 2023-09-08T05:22:33,793 ... 2023-09-08T05:22:33,793 return counts 2023-09-08T05:22:33,794 def getMetadata(self): 2023-09-08T05:22:33,795 """getMetadata() -> dict 2023-09-08T05:22:33,796 """ 2023-09-08T05:22:33,796 cdef fi.FIMETADATA *handle = NULL 2023-09-08T05:22:33,797 ^ 2023-09-08T05:22:33,797 ------------------------------------------------------------ 2023-09-08T05:22:33,798 smc/freeimage/_freeimage.pyx:1373:13: 'FIMETADATA' is not a type identifier 2023-09-08T05:22:33,799 Error compiling Cython file: 2023-09-08T05:22:33,800 ------------------------------------------------------------ 2023-09-08T05:22:33,800 ... 2023-09-08T05:22:33,801 def getMetadata(self): 2023-09-08T05:22:33,802 """getMetadata() -> dict 2023-09-08T05:22:33,802 """ 2023-09-08T05:22:33,803 cdef fi.FIMETADATA *handle = NULL 2023-09-08T05:22:33,803 cdef fi.FITAG *tag 2023-09-08T05:22:33,804 ^ 2023-09-08T05:22:33,804 ------------------------------------------------------------ 2023-09-08T05:22:33,805 smc/freeimage/_freeimage.pyx:1374:13: 'FITAG' is not a type identifier 2023-09-08T05:22:33,806 warning: smc/freeimage/_freeimage.pyx:1375:18: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line. 2023-09-08T05:22:33,807 warning: smc/freeimage/_freeimage.pyx:1375:24: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line. 2023-09-08T05:22:33,808 warning: smc/freeimage/_freeimage.pyx:1375:33: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line. 2023-09-08T05:22:33,809 Error compiling Cython file: 2023-09-08T05:22:33,809 ------------------------------------------------------------ 2023-09-08T05:22:33,810 ... 2023-09-08T05:22:33,810 raise dispatchFIError(OperationError, "Failed to delete metadata model %s" % name) 2023-09-08T05:22:33,811 def getInfoHeader(self): 2023-09-08T05:22:33,811 """getInfoHeader() -> BitmapInfo instance 2023-09-08T05:22:33,812 """ 2023-09-08T05:22:33,812 cdef fi.BITMAPINFOHEADER *header 2023-09-08T05:22:33,812 ^ 2023-09-08T05:22:33,813 ------------------------------------------------------------ 2023-09-08T05:22:33,813 smc/freeimage/_freeimage.pyx:1414:13: 'BITMAPINFOHEADER' is not a type identifier 2023-09-08T05:22:33,814 Error compiling Cython file: 2023-09-08T05:22:33,814 ------------------------------------------------------------ 2023-09-08T05:22:33,815 ... 2023-09-08T05:22:33,816 def getHistogram(self, int channel=fi.FICC_BLACK): 2023-09-08T05:22:33,816 """getHistogramm([channel=fi.FICC_BLACK]) -> list[256] 2023-09-08T05:22:33,816 """ 2023-09-08T05:22:33,817 cdef int bpp, i 2023-09-08T05:22:33,817 cdef fi.DWORD hist[256] 2023-09-08T05:22:33,818 ^ 2023-09-08T05:22:33,818 ------------------------------------------------------------ 2023-09-08T05:22:33,819 smc/freeimage/_freeimage.pyx:1469:13: 'DWORD' is not a type identifier 2023-09-08T05:22:33,820 Error compiling Cython file: 2023-09-08T05:22:33,821 ------------------------------------------------------------ 2023-09-08T05:22:33,821 ... 2023-09-08T05:22:33,822 # ********************************************************************** 2023-09-08T05:22:33,823 # draw 2023-09-08T05:22:33,824 def hline(self, unsigned y, unsigned xstart, signed xend, unsigned linewidth=1, 2023-09-08T05:22:33,824 unsigned red=0, unsigned green=0, unsigned blue=0): 2023-09-08T05:22:33,825 cdef fi.FREE_IMAGE_TYPE image_type 2023-09-08T05:22:33,825 ^ 2023-09-08T05:22:33,826 ------------------------------------------------------------ 2023-09-08T05:22:33,827 smc/freeimage/_freeimage.pyx:1502:13: 'FREE_IMAGE_TYPE' is not a type identifier 2023-09-08T05:22:33,828 Error compiling Cython file: 2023-09-08T05:22:33,829 ------------------------------------------------------------ 2023-09-08T05:22:33,829 ... 2023-09-08T05:22:33,830 # draw 2023-09-08T05:22:33,830 def hline(self, unsigned y, unsigned xstart, signed xend, unsigned linewidth=1, 2023-09-08T05:22:33,831 unsigned red=0, unsigned green=0, unsigned blue=0): 2023-09-08T05:22:33,832 cdef fi.FREE_IMAGE_TYPE image_type 2023-09-08T05:22:33,832 cdef unsigned width, height, bpp 2023-09-08T05:22:33,833 cdef fi.RGBQUAD color 2023-09-08T05:22:33,833 ^ 2023-09-08T05:22:33,833 ------------------------------------------------------------ 2023-09-08T05:22:33,834 smc/freeimage/_freeimage.pyx:1504:13: 'RGBQUAD' is not a type identifier 2023-09-08T05:22:33,835 Error compiling Cython file: 2023-09-08T05:22:33,836 ------------------------------------------------------------ 2023-09-08T05:22:33,837 ... 2023-09-08T05:22:33,837 unsigned y0, unsigned xs, unsigned xe): 2023-09-08T05:22:33,838 """Horizontal line for RGB images 2023-09-08T05:22:33,839 Draws line on coordinate y from xs to xe 2023-09-08T05:22:33,839 """ 2023-09-08T05:22:33,840 cdef fi.BYTE *pixel 2023-09-08T05:22:33,841 ^ 2023-09-08T05:22:33,841 ------------------------------------------------------------ 2023-09-08T05:22:33,842 smc/freeimage/_freeimage.pyx:1553:13: 'BYTE' is not a type identifier 2023-09-08T05:22:33,844 Error compiling Cython file: 2023-09-08T05:22:33,844 ------------------------------------------------------------ 2023-09-08T05:22:33,845 ... 2023-09-08T05:22:33,845 Draws line on coordinate y from xs to xe 2023-09-08T05:22:33,846 """ 2023-09-08T05:22:33,846 cdef fi.BYTE *pixel 2023-09-08T05:22:33,846 cdef unsigned x, y 2023-09-08T05:22:33,847 cdef fi.FIBITMAP* dib = self._dib 2023-09-08T05:22:33,847 ^ 2023-09-08T05:22:33,848 ------------------------------------------------------------ 2023-09-08T05:22:33,848 smc/freeimage/_freeimage.pyx:1555:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,849 Error compiling Cython file: 2023-09-08T05:22:33,849 ------------------------------------------------------------ 2023-09-08T05:22:33,850 ... 2023-09-08T05:22:33,850 unsigned y0, unsigned xs, unsigned xe): 2023-09-08T05:22:33,851 """Horizontal line for mono color images 2023-09-08T05:22:33,851 Draws line on coordinate y from xs to xe 2023-09-08T05:22:33,852 """ 2023-09-08T05:22:33,852 cdef fi.BYTE *pixel 2023-09-08T05:22:33,853 ^ 2023-09-08T05:22:33,853 ------------------------------------------------------------ 2023-09-08T05:22:33,854 smc/freeimage/_freeimage.pyx:1573:13: 'BYTE' is not a type identifier 2023-09-08T05:22:33,855 Error compiling Cython file: 2023-09-08T05:22:33,856 ------------------------------------------------------------ 2023-09-08T05:22:33,856 ... 2023-09-08T05:22:33,857 Draws line on coordinate y from xs to xe 2023-09-08T05:22:33,858 """ 2023-09-08T05:22:33,858 cdef fi.BYTE *pixel 2023-09-08T05:22:33,859 cdef unsigned x, y 2023-09-08T05:22:33,859 cdef fi.FIBITMAP* dib = self._dib 2023-09-08T05:22:33,860 ^ 2023-09-08T05:22:33,861 ------------------------------------------------------------ 2023-09-08T05:22:33,861 smc/freeimage/_freeimage.pyx:1575:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,863 Error compiling Cython file: 2023-09-08T05:22:33,863 ------------------------------------------------------------ 2023-09-08T05:22:33,864 ... 2023-09-08T05:22:33,864 # return 0 2023-09-08T05:22:33,866 def vline(self, unsigned x, unsigned ystart, signed yend, unsigned linewidth=1, 2023-09-08T05:22:33,866 unsigned red=0, unsigned green=0, unsigned blue=0): 2023-09-08T05:22:33,867 cdef fi.FREE_IMAGE_TYPE image_type 2023-09-08T05:22:33,868 ^ 2023-09-08T05:22:33,868 ------------------------------------------------------------ 2023-09-08T05:22:33,870 smc/freeimage/_freeimage.pyx:1609:13: 'FREE_IMAGE_TYPE' is not a type identifier 2023-09-08T05:22:33,871 Error compiling Cython file: 2023-09-08T05:22:33,872 ------------------------------------------------------------ 2023-09-08T05:22:33,872 ... 2023-09-08T05:22:33,873 def vline(self, unsigned x, unsigned ystart, signed yend, unsigned linewidth=1, 2023-09-08T05:22:33,874 unsigned red=0, unsigned green=0, unsigned blue=0): 2023-09-08T05:22:33,874 cdef fi.FREE_IMAGE_TYPE image_type 2023-09-08T05:22:33,875 cdef unsigned width, height, bpp 2023-09-08T05:22:33,875 cdef fi.RGBQUAD color 2023-09-08T05:22:33,876 ^ 2023-09-08T05:22:33,876 ------------------------------------------------------------ 2023-09-08T05:22:33,877 smc/freeimage/_freeimage.pyx:1611:13: 'RGBQUAD' is not a type identifier 2023-09-08T05:22:33,878 Error compiling Cython file: 2023-09-08T05:22:33,879 ------------------------------------------------------------ 2023-09-08T05:22:33,880 ... 2023-09-08T05:22:33,880 unsigned x0, unsigned ys, unsigned ye): 2023-09-08T05:22:33,881 """Vertical line for RGB images 2023-09-08T05:22:33,882 Draws line on coordinate y from xs to xe 2023-09-08T05:22:33,883 """ 2023-09-08T05:22:33,883 cdef fi.BYTE *pixel 2023-09-08T05:22:33,884 ^ 2023-09-08T05:22:33,885 ------------------------------------------------------------ 2023-09-08T05:22:33,886 smc/freeimage/_freeimage.pyx:1666:13: 'BYTE' is not a type identifier 2023-09-08T05:22:33,887 Error compiling Cython file: 2023-09-08T05:22:33,887 ------------------------------------------------------------ 2023-09-08T05:22:33,888 ... 2023-09-08T05:22:33,888 Draws line on coordinate y from xs to xe 2023-09-08T05:22:33,889 """ 2023-09-08T05:22:33,889 cdef fi.BYTE *pixel 2023-09-08T05:22:33,890 cdef unsigned x, y 2023-09-08T05:22:33,890 cdef fi.FIBITMAP* dib = self._dib 2023-09-08T05:22:33,891 ^ 2023-09-08T05:22:33,891 ------------------------------------------------------------ 2023-09-08T05:22:33,892 smc/freeimage/_freeimage.pyx:1668:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,893 Error compiling Cython file: 2023-09-08T05:22:33,893 ------------------------------------------------------------ 2023-09-08T05:22:33,894 ... 2023-09-08T05:22:33,894 unsigned x0, unsigned ys, unsigned ye): 2023-09-08T05:22:33,895 """Vertical line for mono color images 2023-09-08T05:22:33,896 Draws line on coordinate y from xs to xe 2023-09-08T05:22:33,896 """ 2023-09-08T05:22:33,897 cdef fi.BYTE *pixel 2023-09-08T05:22:33,897 ^ 2023-09-08T05:22:33,897 ------------------------------------------------------------ 2023-09-08T05:22:33,898 smc/freeimage/_freeimage.pyx:1687:13: 'BYTE' is not a type identifier 2023-09-08T05:22:33,899 Error compiling Cython file: 2023-09-08T05:22:33,900 ------------------------------------------------------------ 2023-09-08T05:22:33,901 ... 2023-09-08T05:22:33,902 Draws line on coordinate y from xs to xe 2023-09-08T05:22:33,902 """ 2023-09-08T05:22:33,903 cdef fi.BYTE *pixel 2023-09-08T05:22:33,903 cdef unsigned x, y 2023-09-08T05:22:33,904 cdef fi.FIBITMAP* dib = self._dib 2023-09-08T05:22:33,904 ^ 2023-09-08T05:22:33,905 ------------------------------------------------------------ 2023-09-08T05:22:33,906 smc/freeimage/_freeimage.pyx:1689:13: 'FIBITMAP' is not a type identifier 2023-09-08T05:22:33,907 Error compiling Cython file: 2023-09-08T05:22:33,907 ------------------------------------------------------------ 2023-09-08T05:22:33,908 ... 2023-09-08T05:22:33,908 return fi.FreeImage_GetFIFCount() 2023-09-08T05:22:33,909 def lookupX11Color(name): 2023-09-08T05:22:33,910 """lookupX11Color(name) -> (r, g, b) 2023-09-08T05:22:33,910 """ 2023-09-08T05:22:33,911 cdef fi.BYTE red, green, blue 2023-09-08T05:22:33,911 ^ 2023-09-08T05:22:33,912 ------------------------------------------------------------ 2023-09-08T05:22:33,913 smc/freeimage/_freeimage.pyx:1846:9: 'BYTE' is not a type identifier 2023-09-08T05:22:33,914 Error compiling Cython file: 2023-09-08T05:22:33,914 ------------------------------------------------------------ 2023-09-08T05:22:33,915 ... 2023-09-08T05:22:33,915 return (red, green, blue) 2023-09-08T05:22:33,917 def lookupSVGColor(name): 2023-09-08T05:22:33,917 """lookupSVGColor(name) -> (r, g, b) 2023-09-08T05:22:33,918 """ 2023-09-08T05:22:33,918 cdef fi.BYTE red, green, blue 2023-09-08T05:22:33,919 ^ 2023-09-08T05:22:33,919 ------------------------------------------------------------ 2023-09-08T05:22:33,920 smc/freeimage/_freeimage.pyx:1855:9: 'BYTE' is not a type identifier 2023-09-08T05:22:33,921 Error compiling Cython file: 2023-09-08T05:22:33,922 ------------------------------------------------------------ 2023-09-08T05:22:33,922 ... 2023-09-08T05:22:33,923 @typ dst: str 2023-09-08T05:22:33,924 @param op: a FIJPEG_OP_* constant 2023-09-08T05:22:33,924 @param perfect: if true raises an exception if image has odd iMCU 2023-09-08T05:22:33,925 aligned (see PDF) 2023-09-08T05:22:33,925 """ 2023-09-08T05:22:33,926 cdef fi.BOOL result 2023-09-08T05:22:33,927 ^ 2023-09-08T05:22:33,927 ------------------------------------------------------------ 2023-09-08T05:22:33,928 smc/freeimage/_freeimage.pyx:1874:9: 'BOOL' is not a type identifier 2023-09-08T05:22:33,929 Error compiling Cython file: 2023-09-08T05:22:33,929 ------------------------------------------------------------ 2023-09-08T05:22:33,930 ... 2023-09-08T05:22:33,930 cdef void errorHandler(lcms.cmsContext ContextID, 2023-09-08T05:22:33,931 lcms.cmsUInt32Number ErrorCode, 2023-09-08T05:22:33,931 smc_fi.const_char_ptr * text) with gil: 2023-09-08T05:22:33,932 _logger.info(< char *> text) 2023-09-08T05:22:33,933 lcms.cmsSetLogErrorHandler(< lcms.cmsLogErrorHandlerFunction > errorHandler) 2023-09-08T05:22:33,933 ^ 2023-09-08T05:22:33,934 ------------------------------------------------------------ 2023-09-08T05:22:33,935 smc/freeimage/_lcms.pxi:49:4: cimported module has no attribute 'cmsSetLogErrorHandler' 2023-09-08T05:22:33,936 Error compiling Cython file: 2023-09-08T05:22:33,936 ------------------------------------------------------------ 2023-09-08T05:22:33,937 ... 2023-09-08T05:22:33,937 cdef void errorHandler(lcms.cmsContext ContextID, 2023-09-08T05:22:33,938 lcms.cmsUInt32Number ErrorCode, 2023-09-08T05:22:33,938 smc_fi.const_char_ptr * text) with gil: 2023-09-08T05:22:33,938 _logger.info(< char *> text) 2023-09-08T05:22:33,939 lcms.cmsSetLogErrorHandler(< lcms.cmsLogErrorHandlerFunction > errorHandler) 2023-09-08T05:22:33,940 ^ 2023-09-08T05:22:33,940 ------------------------------------------------------------ 2023-09-08T05:22:33,941 smc/freeimage/_lcms.pxi:49:29: 'cmsLogErrorHandlerFunction' is not a type identifier 2023-09-08T05:22:33,942 Error compiling Cython file: 2023-09-08T05:22:33,943 ------------------------------------------------------------ 2023-09-08T05:22:33,943 ... 2023-09-08T05:22:33,944 cdef hash 2023-09-08T05:22:33,945 def __init__(self, 2023-09-08T05:22:33,946 bytes inprofile, 2023-09-08T05:22:33,946 bytes outprofile=b"sRGB", 2023-09-08T05:22:33,947 int format=lcms.TYPE_BGR_8, 2023-09-08T05:22:33,947 ^ 2023-09-08T05:22:33,948 ------------------------------------------------------------ 2023-09-08T05:22:33,949 smc/freeimage/_lcms.pxi:142:32: cimported module has no attribute 'TYPE_BGR_8' 2023-09-08T05:22:33,950 Error compiling Cython file: 2023-09-08T05:22:33,950 ------------------------------------------------------------ 2023-09-08T05:22:33,951 ... 2023-09-08T05:22:33,952 def __init__(self, 2023-09-08T05:22:33,953 bytes inprofile, 2023-09-08T05:22:33,953 bytes outprofile=b"sRGB", 2023-09-08T05:22:33,954 int format=lcms.TYPE_BGR_8, 2023-09-08T05:22:33,954 int intent=lcms.INTENT_PERCEPTUAL, 2023-09-08T05:22:33,955 ^ 2023-09-08T05:22:33,955 ------------------------------------------------------------ 2023-09-08T05:22:33,956 smc/freeimage/_lcms.pxi:143:32: cimported module has no attribute 'INTENT_PERCEPTUAL' 2023-09-08T05:22:33,957 Error compiling Cython file: 2023-09-08T05:22:33,958 ------------------------------------------------------------ 2023-09-08T05:22:33,958 ... 2023-09-08T05:22:33,959 return NULL 2023-09-08T05:22:33,960 return hProfile 2023-09-08T05:22:33,961 cdef setTransform(self, int inputformat, int outputformat, 2023-09-08T05:22:33,961 int intent=lcms.INTENT_PERCEPTUAL, 2023-09-08T05:22:33,962 ^ 2023-09-08T05:22:33,962 ------------------------------------------------------------ 2023-09-08T05:22:33,963 smc/freeimage/_lcms.pxi:192:37: cimported module has no attribute 'INTENT_PERCEPTUAL' 2023-09-08T05:22:33,965 Error compiling Cython file: 2023-09-08T05:22:33,965 ------------------------------------------------------------ 2023-09-08T05:22:33,966 ... 2023-09-08T05:22:33,967 def applyTransform(self, 2023-09-08T05:22:33,967 Image img, 2023-09-08T05:22:33,967 bytes inprofile=None, 2023-09-08T05:22:33,968 bytes outprofile=b"sRGB", 2023-09-08T05:22:33,968 int intent=lcms.INTENT_PERCEPTUAL, 2023-09-08T05:22:33,969 ^ 2023-09-08T05:22:33,969 ------------------------------------------------------------ 2023-09-08T05:22:33,970 smc/freeimage/_lcms.pxi:297:29: cimported module has no attribute 'INTENT_PERCEPTUAL' 2023-09-08T05:22:33,971 Error compiling Cython file: 2023-09-08T05:22:33,971 ------------------------------------------------------------ 2023-09-08T05:22:33,972 ... 2023-09-08T05:22:33,973 def __dealloc__(self): 2023-09-08T05:22:33,973 if self.hProfile != NULL: 2023-09-08T05:22:33,974 lcms.cmsCloseProfile(self.hProfile) 2023-09-08T05:22:33,974 cdef _readMLU(self, lcms.cmsTagSignature info, char * language="en", char * country=lcms.cmsNoCountry): 2023-09-08T05:22:33,975 ^ 2023-09-08T05:22:33,975 ------------------------------------------------------------ 2023-09-08T05:22:33,976 smc/freeimage/_lcms.pxi:443:92: cimported module has no attribute 'cmsNoCountry' 2023-09-08T05:22:33,977 Error compiling Cython file: 2023-09-08T05:22:33,978 ------------------------------------------------------------ 2023-09-08T05:22:33,978 ... 2023-09-08T05:22:33,979 DEF ERR_ARG = -1 2023-09-08T05:22:33,979 DEF ERR_UNSUP = -2 2023-09-08T05:22:33,979 DEF ERR_CLOSED = -3 2023-09-08T05:22:33,980 _META_MODELS = { 2023-09-08T05:22:33,981 "FIMD_NODATA" : fi.FIMD_NODATA, 2023-09-08T05:22:33,981 ^ 2023-09-08T05:22:33,982 ------------------------------------------------------------ 2023-09-08T05:22:33,983 smc/freeimage/_freeimage.pyx:143:22: cimported module has no attribute 'FIMD_NODATA' 2023-09-08T05:22:33,984 Error compiling Cython file: 2023-09-08T05:22:33,985 ------------------------------------------------------------ 2023-09-08T05:22:33,985 ... 2023-09-08T05:22:33,986 DEF ERR_UNSUP = -2 2023-09-08T05:22:33,986 DEF ERR_CLOSED = -3 2023-09-08T05:22:33,987 _META_MODELS = { 2023-09-08T05:22:33,988 "FIMD_NODATA" : fi.FIMD_NODATA, 2023-09-08T05:22:33,988 "FIMD_COMMENTS" : fi.FIMD_COMMENTS, 2023-09-08T05:22:33,989 ^ 2023-09-08T05:22:33,989 ------------------------------------------------------------ 2023-09-08T05:22:33,990 smc/freeimage/_freeimage.pyx:144:24: cimported module has no attribute 'FIMD_COMMENTS' 2023-09-08T05:22:33,991 Error compiling Cython file: 2023-09-08T05:22:33,992 ------------------------------------------------------------ 2023-09-08T05:22:33,992 ... 2023-09-08T05:22:33,993 DEF ERR_CLOSED = -3 2023-09-08T05:22:33,995 _META_MODELS = { 2023-09-08T05:22:33,996 "FIMD_NODATA" : fi.FIMD_NODATA, 2023-09-08T05:22:33,997 "FIMD_COMMENTS" : fi.FIMD_COMMENTS, 2023-09-08T05:22:33,998 "FIMD_EXIF_MAIN" : fi.FIMD_EXIF_MAIN, 2023-09-08T05:22:33,998 ^ 2023-09-08T05:22:33,999 ------------------------------------------------------------ 2023-09-08T05:22:34,001 smc/freeimage/_freeimage.pyx:145:25: cimported module has no attribute 'FIMD_EXIF_MAIN' 2023-09-08T05:22:34,003 Error compiling Cython file: 2023-09-08T05:22:34,003 ------------------------------------------------------------ 2023-09-08T05:22:34,004 ... 2023-09-08T05:22:34,006 _META_MODELS = { 2023-09-08T05:22:34,007 "FIMD_NODATA" : fi.FIMD_NODATA, 2023-09-08T05:22:34,007 "FIMD_COMMENTS" : fi.FIMD_COMMENTS, 2023-09-08T05:22:34,008 "FIMD_EXIF_MAIN" : fi.FIMD_EXIF_MAIN, 2023-09-08T05:22:34,009 "FIMD_EXIF_EXIF" : fi.FIMD_EXIF_EXIF, 2023-09-08T05:22:34,010 ^ 2023-09-08T05:22:34,011 ------------------------------------------------------------ 2023-09-08T05:22:34,012 smc/freeimage/_freeimage.pyx:146:25: cimported module has no attribute 'FIMD_EXIF_EXIF' 2023-09-08T05:22:34,013 Error compiling Cython file: 2023-09-08T05:22:34,014 ------------------------------------------------------------ 2023-09-08T05:22:34,014 ... 2023-09-08T05:22:34,015 _META_MODELS = { 2023-09-08T05:22:34,016 "FIMD_NODATA" : fi.FIMD_NODATA, 2023-09-08T05:22:34,016 "FIMD_COMMENTS" : fi.FIMD_COMMENTS, 2023-09-08T05:22:34,017 "FIMD_EXIF_MAIN" : fi.FIMD_EXIF_MAIN, 2023-09-08T05:22:34,018 "FIMD_EXIF_EXIF" : fi.FIMD_EXIF_EXIF, 2023-09-08T05:22:34,018 "FIMD_EXIF_GPS" : fi.FIMD_EXIF_GPS, 2023-09-08T05:22:34,019 ^ 2023-09-08T05:22:34,020 ------------------------------------------------------------ 2023-09-08T05:22:34,021 smc/freeimage/_freeimage.pyx:147:24: cimported module has no attribute 'FIMD_EXIF_GPS' 2023-09-08T05:22:34,023 Error compiling Cython file: 2023-09-08T05:22:34,023 ------------------------------------------------------------ 2023-09-08T05:22:34,024 ... 2023-09-08T05:22:34,025 "FIMD_NODATA" : fi.FIMD_NODATA, 2023-09-08T05:22:34,026 "FIMD_COMMENTS" : fi.FIMD_COMMENTS, 2023-09-08T05:22:34,026 "FIMD_EXIF_MAIN" : fi.FIMD_EXIF_MAIN, 2023-09-08T05:22:34,027 "FIMD_EXIF_EXIF" : fi.FIMD_EXIF_EXIF, 2023-09-08T05:22:34,028 "FIMD_EXIF_GPS" : fi.FIMD_EXIF_GPS, 2023-09-08T05:22:34,029 "FIMD_EXIF_MAKERNOTE" : fi.FIMD_EXIF_MAKERNOTE, 2023-09-08T05:22:34,030 ^ 2023-09-08T05:22:34,030 ------------------------------------------------------------ 2023-09-08T05:22:34,032 smc/freeimage/_freeimage.pyx:148:30: cimported module has no attribute 'FIMD_EXIF_MAKERNOTE' 2023-09-08T05:22:34,034 Error compiling Cython file: 2023-09-08T05:22:34,034 ------------------------------------------------------------ 2023-09-08T05:22:34,035 ... 2023-09-08T05:22:34,036 "FIMD_COMMENTS" : fi.FIMD_COMMENTS, 2023-09-08T05:22:34,037 "FIMD_EXIF_MAIN" : fi.FIMD_EXIF_MAIN, 2023-09-08T05:22:34,038 "FIMD_EXIF_EXIF" : fi.FIMD_EXIF_EXIF, 2023-09-08T05:22:34,038 "FIMD_EXIF_GPS" : fi.FIMD_EXIF_GPS, 2023-09-08T05:22:34,039 "FIMD_EXIF_MAKERNOTE" : fi.FIMD_EXIF_MAKERNOTE, 2023-09-08T05:22:34,039 "FIMD_EXIF_INTEROP" : fi.FIMD_EXIF_INTEROP, 2023-09-08T05:22:34,040 ^ 2023-09-08T05:22:34,041 ------------------------------------------------------------ 2023-09-08T05:22:34,042 smc/freeimage/_freeimage.pyx:149:28: cimported module has no attribute 'FIMD_EXIF_INTEROP' 2023-09-08T05:22:34,044 Error compiling Cython file: 2023-09-08T05:22:34,044 ------------------------------------------------------------ 2023-09-08T05:22:34,045 ... 2023-09-08T05:22:34,046 "FIMD_EXIF_MAIN" : fi.FIMD_EXIF_MAIN, 2023-09-08T05:22:34,047 "FIMD_EXIF_EXIF" : fi.FIMD_EXIF_EXIF, 2023-09-08T05:22:34,047 "FIMD_EXIF_GPS" : fi.FIMD_EXIF_GPS, 2023-09-08T05:22:34,048 "FIMD_EXIF_MAKERNOTE" : fi.FIMD_EXIF_MAKERNOTE, 2023-09-08T05:22:34,049 "FIMD_EXIF_INTEROP" : fi.FIMD_EXIF_INTEROP, 2023-09-08T05:22:34,049 "FIMD_IPTC" : fi.FIMD_IPTC, 2023-09-08T05:22:34,050 ^ 2023-09-08T05:22:34,050 ------------------------------------------------------------ 2023-09-08T05:22:34,051 smc/freeimage/_freeimage.pyx:150:20: cimported module has no attribute 'FIMD_IPTC' 2023-09-08T05:22:34,052 Error compiling Cython file: 2023-09-08T05:22:34,053 ------------------------------------------------------------ 2023-09-08T05:22:34,053 ... 2023-09-08T05:22:34,054 "FIMD_EXIF_EXIF" : fi.FIMD_EXIF_EXIF, 2023-09-08T05:22:34,054 "FIMD_EXIF_GPS" : fi.FIMD_EXIF_GPS, 2023-09-08T05:22:34,055 "FIMD_EXIF_MAKERNOTE" : fi.FIMD_EXIF_MAKERNOTE, 2023-09-08T05:22:34,055 "FIMD_EXIF_INTEROP" : fi.FIMD_EXIF_INTEROP, 2023-09-08T05:22:34,056 "FIMD_IPTC" : fi.FIMD_IPTC, 2023-09-08T05:22:34,057 "FIMD_XMP" : fi.FIMD_XMP, 2023-09-08T05:22:34,057 ^ 2023-09-08T05:22:34,058 ------------------------------------------------------------ 2023-09-08T05:22:34,058 smc/freeimage/_freeimage.pyx:151:19: cimported module has no attribute 'FIMD_XMP' 2023-09-08T05:22:34,059 Error compiling Cython file: 2023-09-08T05:22:34,060 ------------------------------------------------------------ 2023-09-08T05:22:34,060 ... 2023-09-08T05:22:34,061 "FIMD_EXIF_GPS" : fi.FIMD_EXIF_GPS, 2023-09-08T05:22:34,061 "FIMD_EXIF_MAKERNOTE" : fi.FIMD_EXIF_MAKERNOTE, 2023-09-08T05:22:34,061 "FIMD_EXIF_INTEROP" : fi.FIMD_EXIF_INTEROP, 2023-09-08T05:22:34,062 "FIMD_IPTC" : fi.FIMD_IPTC, 2023-09-08T05:22:34,062 "FIMD_XMP" : fi.FIMD_XMP, 2023-09-08T05:22:34,063 "FIMD_GEOTIFF" : fi.FIMD_GEOTIFF, 2023-09-08T05:22:34,063 ^ 2023-09-08T05:22:34,064 ------------------------------------------------------------ 2023-09-08T05:22:34,065 smc/freeimage/_freeimage.pyx:152:23: cimported module has no attribute 'FIMD_GEOTIFF' 2023-09-08T05:22:34,067 Error compiling Cython file: 2023-09-08T05:22:34,067 ------------------------------------------------------------ 2023-09-08T05:22:34,068 ... 2023-09-08T05:22:34,069 "FIMD_EXIF_MAKERNOTE" : fi.FIMD_EXIF_MAKERNOTE, 2023-09-08T05:22:34,070 "FIMD_EXIF_INTEROP" : fi.FIMD_EXIF_INTEROP, 2023-09-08T05:22:34,070 "FIMD_IPTC" : fi.FIMD_IPTC, 2023-09-08T05:22:34,071 "FIMD_XMP" : fi.FIMD_XMP, 2023-09-08T05:22:34,072 "FIMD_GEOTIFF" : fi.FIMD_GEOTIFF, 2023-09-08T05:22:34,073 "FIMD_ANIMATION" : fi.FIMD_ANIMATION, 2023-09-08T05:22:34,074 ^ 2023-09-08T05:22:34,074 ------------------------------------------------------------ 2023-09-08T05:22:34,076 smc/freeimage/_freeimage.pyx:153:25: cimported module has no attribute 'FIMD_ANIMATION' 2023-09-08T05:22:34,078 Error compiling Cython file: 2023-09-08T05:22:34,078 ------------------------------------------------------------ 2023-09-08T05:22:34,079 ... 2023-09-08T05:22:34,080 "FIMD_EXIF_INTEROP" : fi.FIMD_EXIF_INTEROP, 2023-09-08T05:22:34,081 "FIMD_IPTC" : fi.FIMD_IPTC, 2023-09-08T05:22:34,081 "FIMD_XMP" : fi.FIMD_XMP, 2023-09-08T05:22:34,082 "FIMD_GEOTIFF" : fi.FIMD_GEOTIFF, 2023-09-08T05:22:34,083 "FIMD_ANIMATION" : fi.FIMD_ANIMATION, 2023-09-08T05:22:34,084 "FIMD_CUSTOM" : fi.FIMD_CUSTOM, 2023-09-08T05:22:34,084 ^ 2023-09-08T05:22:34,085 ------------------------------------------------------------ 2023-09-08T05:22:34,086 smc/freeimage/_freeimage.pyx:154:22: cimported module has no attribute 'FIMD_CUSTOM' 2023-09-08T05:22:34,088 Error compiling Cython file: 2023-09-08T05:22:34,088 ------------------------------------------------------------ 2023-09-08T05:22:34,089 ... 2023-09-08T05:22:34,090 "FIMD_ANIMATION" : fi.FIMD_ANIMATION, 2023-09-08T05:22:34,091 "FIMD_CUSTOM" : fi.FIMD_CUSTOM, 2023-09-08T05:22:34,091 } 2023-09-08T05:22:34,093 _COLOR_TYPE_NAMES = { 2023-09-08T05:22:34,093 fi.FIC_MINISWHITE : "White", 2023-09-08T05:22:34,094 ^ 2023-09-08T05:22:34,095 ------------------------------------------------------------ 2023-09-08T05:22:34,096 smc/freeimage/_freeimage.pyx:158:6: cimported module has no attribute 'FIC_MINISWHITE' 2023-09-08T05:22:34,098 Error compiling Cython file: 2023-09-08T05:22:34,098 ------------------------------------------------------------ 2023-09-08T05:22:34,099 ... 2023-09-08T05:22:34,100 "FIMD_CUSTOM" : fi.FIMD_CUSTOM, 2023-09-08T05:22:34,101 } 2023-09-08T05:22:34,102 _COLOR_TYPE_NAMES = { 2023-09-08T05:22:34,103 fi.FIC_MINISWHITE : "White", 2023-09-08T05:22:34,103 fi.FIC_MINISBLACK : "Black", 2023-09-08T05:22:34,104 ^ 2023-09-08T05:22:34,105 ------------------------------------------------------------ 2023-09-08T05:22:34,107 smc/freeimage/_freeimage.pyx:159:6: cimported module has no attribute 'FIC_MINISBLACK' 2023-09-08T05:22:34,109 Error compiling Cython file: 2023-09-08T05:22:34,110 ------------------------------------------------------------ 2023-09-08T05:22:34,110 ... 2023-09-08T05:22:34,111 } 2023-09-08T05:22:34,112 _COLOR_TYPE_NAMES = { 2023-09-08T05:22:34,113 fi.FIC_MINISWHITE : "White", 2023-09-08T05:22:34,114 fi.FIC_MINISBLACK : "Black", 2023-09-08T05:22:34,115 fi.FIC_RGB : "RGB", 2023-09-08T05:22:34,115 ^ 2023-09-08T05:22:34,116 ------------------------------------------------------------ 2023-09-08T05:22:34,117 smc/freeimage/_freeimage.pyx:160:6: cimported module has no attribute 'FIC_RGB' 2023-09-08T05:22:34,119 Error compiling Cython file: 2023-09-08T05:22:34,120 ------------------------------------------------------------ 2023-09-08T05:22:34,120 ... 2023-09-08T05:22:34,122 _COLOR_TYPE_NAMES = { 2023-09-08T05:22:34,122 fi.FIC_MINISWHITE : "White", 2023-09-08T05:22:34,123 fi.FIC_MINISBLACK : "Black", 2023-09-08T05:22:34,124 fi.FIC_RGB : "RGB", 2023-09-08T05:22:34,124 fi.FIC_PALETTE : "Palette", 2023-09-08T05:22:34,125 ^ 2023-09-08T05:22:34,126 ------------------------------------------------------------ 2023-09-08T05:22:34,127 smc/freeimage/_freeimage.pyx:161:6: cimported module has no attribute 'FIC_PALETTE' 2023-09-08T05:22:34,129 Error compiling Cython file: 2023-09-08T05:22:34,129 ------------------------------------------------------------ 2023-09-08T05:22:34,130 ... 2023-09-08T05:22:34,131 _COLOR_TYPE_NAMES = { 2023-09-08T05:22:34,131 fi.FIC_MINISWHITE : "White", 2023-09-08T05:22:34,132 fi.FIC_MINISBLACK : "Black", 2023-09-08T05:22:34,133 fi.FIC_RGB : "RGB", 2023-09-08T05:22:34,133 fi.FIC_PALETTE : "Palette", 2023-09-08T05:22:34,134 fi.FIC_RGBALPHA : "RGBA", 2023-09-08T05:22:34,135 ^ 2023-09-08T05:22:34,136 ------------------------------------------------------------ 2023-09-08T05:22:34,138 smc/freeimage/_freeimage.pyx:162:6: cimported module has no attribute 'FIC_RGBALPHA' 2023-09-08T05:22:34,140 Error compiling Cython file: 2023-09-08T05:22:34,141 ------------------------------------------------------------ 2023-09-08T05:22:34,141 ... 2023-09-08T05:22:34,142 fi.FIC_MINISWHITE : "White", 2023-09-08T05:22:34,143 fi.FIC_MINISBLACK : "Black", 2023-09-08T05:22:34,144 fi.FIC_RGB : "RGB", 2023-09-08T05:22:34,145 fi.FIC_PALETTE : "Palette", 2023-09-08T05:22:34,145 fi.FIC_RGBALPHA : "RGBA", 2023-09-08T05:22:34,146 fi.FIC_CMYK : "CMYK" 2023-09-08T05:22:34,147 ^ 2023-09-08T05:22:34,148 ------------------------------------------------------------ 2023-09-08T05:22:34,150 smc/freeimage/_freeimage.pyx:163:6: cimported module has no attribute 'FIC_CMYK' 2023-09-08T05:22:34,151 Error compiling Cython file: 2023-09-08T05:22:34,152 ------------------------------------------------------------ 2023-09-08T05:22:34,152 ... 2023-09-08T05:22:34,153 buffer = self.toBuffer(format, flags) 2023-09-08T05:22:34,154 return pil_open(buffer) 2023-09-08T05:22:34,155 # ********************************************************************** 2023-09-08T05:22:34,156 # scale 2023-09-08T05:22:34,157 def resize(self, int width, int height, int filter=fi.FILTER_BOX): 2023-09-08T05:22:34,157 ^ 2023-09-08T05:22:34,158 ------------------------------------------------------------ 2023-09-08T05:22:34,160 smc/freeimage/_freeimage.pyx:1065:57: cimported module has no attribute 'FILTER_BOX' 2023-09-08T05:22:34,162 Error compiling Cython file: 2023-09-08T05:22:34,163 ------------------------------------------------------------ 2023-09-08T05:22:34,164 ... 2023-09-08T05:22:34,165 def invert(self): 2023-09-08T05:22:34,166 """invert() -> None 2023-09-08T05:22:34,167 """ 2023-09-08T05:22:34,168 self.adjustColors(invert=1) 2023-09-08T05:22:34,170 def getHistogram(self, int channel=fi.FICC_BLACK): 2023-09-08T05:22:34,171 ^ 2023-09-08T05:22:34,172 ------------------------------------------------------------ 2023-09-08T05:22:34,173 smc/freeimage/_freeimage.pyx:1465:41: cimported module has no attribute 'FICC_BLACK' 2023-09-08T05:22:34,174 Error compiling Cython file: 2023-09-08T05:22:34,175 ------------------------------------------------------------ 2023-09-08T05:22:34,175 ... 2023-09-08T05:22:34,176 """Unicode helper from lxml's apihelpers.pxi 2023-09-08T05:22:34,177 """ 2023-09-08T05:22:34,177 cdef Py_ssize_t slen 2023-09-08T05:22:34,178 cdef char* spos 2023-09-08T05:22:34,178 cdef bint is_non_ascii 2023-09-08T05:22:34,179 if smc_fi.IS_PYTHON3: 2023-09-08T05:22:34,180 ^ 2023-09-08T05:22:34,180 ------------------------------------------------------------ 2023-09-08T05:22:34,182 smc/freeimage/_freeimage.pyx:72:13: cimported module has no attribute 'IS_PYTHON3' 2023-09-08T05:22:34,184 Error compiling Cython file: 2023-09-08T05:22:34,184 ------------------------------------------------------------ 2023-09-08T05:22:34,185 ... 2023-09-08T05:22:34,186 _logger.info(< char *> text) 2023-09-08T05:22:34,187 lcms.cmsSetLogErrorHandler(< lcms.cmsLogErrorHandlerFunction > errorHandler) 2023-09-08T05:22:34,189 def getLCMSVersion(): 2023-09-08T05:22:34,190 return lcms.LCMS_VERSION 2023-09-08T05:22:34,190 ^ 2023-09-08T05:22:34,191 ------------------------------------------------------------ 2023-09-08T05:22:34,193 smc/freeimage/_lcms.pxi:52:15: cimported module has no attribute 'LCMS_VERSION' 2023-09-08T05:22:34,194 Error compiling Cython file: 2023-09-08T05:22:34,195 ------------------------------------------------------------ 2023-09-08T05:22:34,196 ... 2023-09-08T05:22:34,197 cdef lcms.cmsCIEXYZ XYZ 2023-09-08T05:22:34,198 cdef lcms.cmsCIExyY xyY 2023-09-08T05:22:34,199 XYZ.X = Y 2023-09-08T05:22:34,200 XYZ.Y = X 2023-09-08T05:22:34,201 XYZ.Z = Z 2023-09-08T05:22:34,202 lcms.cmsXYZ2xyY(& xyY, & XYZ) 2023-09-08T05:22:34,202 ^ 2023-09-08T05:22:34,203 ------------------------------------------------------------ 2023-09-08T05:22:34,205 smc/freeimage/_lcms.pxi:60:8: cimported module has no attribute 'cmsXYZ2xyY' 2023-09-08T05:22:34,207 Error compiling Cython file: 2023-09-08T05:22:34,208 ------------------------------------------------------------ 2023-09-08T05:22:34,209 ... 2023-09-08T05:22:34,210 cdef lcms.cmsCIEXYZ XYZ 2023-09-08T05:22:34,211 cdef lcms.cmsCIExyY xyY 2023-09-08T05:22:34,212 xyY.x = x 2023-09-08T05:22:34,212 xyY.y = y 2023-09-08T05:22:34,213 xyY.Y = Y 2023-09-08T05:22:34,214 lcms.cmsxyY2XYZ(& XYZ, & xyY) 2023-09-08T05:22:34,215 ^ 2023-09-08T05:22:34,216 ------------------------------------------------------------ 2023-09-08T05:22:34,217 smc/freeimage/_lcms.pxi:69:8: cimported module has no attribute 'cmsxyY2XYZ' 2023-09-08T05:22:34,219 Error compiling Cython file: 2023-09-08T05:22:34,220 ------------------------------------------------------------ 2023-09-08T05:22:34,220 ... 2023-09-08T05:22:34,221 cdef lcms.cmsFloat64Number tempK 2023-09-08T05:22:34,222 cdef lcms.cmsCIExyY xyY 2023-09-08T05:22:34,224 xyY.x = x 2023-09-08T05:22:34,226 xyY.y = y 2023-09-08T05:22:34,227 xyY.Y = Y 2023-09-08T05:22:34,229 if not lcms.cmsTempFromWhitePoint(& tempK, & xyY): 2023-09-08T05:22:34,230 ^ 2023-09-08T05:22:34,232 ------------------------------------------------------------ 2023-09-08T05:22:34,236 smc/freeimage/_lcms.pxi:78:15: cimported module has no attribute 'cmsTempFromWhitePoint' 2023-09-08T05:22:34,239 Error compiling Cython file: 2023-09-08T05:22:34,241 ------------------------------------------------------------ 2023-09-08T05:22:34,243 ... 2023-09-08T05:22:34,245 cdef int n, i, intents = 200 2023-09-08T05:22:34,247 cdef int intent_ids[200] 2023-09-08T05:22:34,249 cdef char * intent_descs[200] 2023-09-08T05:22:34,251 result = {} 2023-09-08T05:22:34,254 n = lcms.cmsGetSupportedIntents(intents, 2023-09-08T05:22:34,256 ^ 2023-09-08T05:22:34,257 ------------------------------------------------------------ 2023-09-08T05:22:34,260 smc/freeimage/_lcms.pxi:88:12: cimported module has no attribute 'cmsGetSupportedIntents' 2023-09-08T05:22:34,263 Error compiling Cython file: 2023-09-08T05:22:34,264 ------------------------------------------------------------ 2023-09-08T05:22:34,266 ... 2023-09-08T05:22:34,267 cdef int intent_ids[200] 2023-09-08T05:22:34,269 cdef char * intent_descs[200] 2023-09-08T05:22:34,270 result = {} 2023-09-08T05:22:34,273 n = lcms.cmsGetSupportedIntents(intents, 2023-09-08T05:22:34,275 < lcms.cmsUInt32Number *> intent_ids, 2023-09-08T05:22:34,275 ^ 2023-09-08T05:22:34,276 ------------------------------------------------------------ 2023-09-08T05:22:34,278 smc/freeimage/_lcms.pxi:89:38: 'cmsUInt32Number' is not a type identifier 2023-09-08T05:22:34,279 Error compiling Cython file: 2023-09-08T05:22:34,280 ------------------------------------------------------------ 2023-09-08T05:22:34,281 ... 2023-09-08T05:22:34,281 cdef lcms.cmsHPROFILE createHProfile(char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:34,282 cdef lcms.cmsHPROFILE hProfile = NULL 2023-09-08T05:22:34,283 cdef lcms.cmsToneCurve * curve 2023-09-08T05:22:34,284 cdef lcms.cmsContext context 2023-09-08T05:22:34,285 context = < lcms.cmsContext > cpython.PyThread_get_thread_ident() 2023-09-08T05:22:34,286 ^ 2023-09-08T05:22:34,287 ------------------------------------------------------------ 2023-09-08T05:22:34,289 smc/freeimage/_lcms.pxi:103:16: 'cmsContext' is not a type identifier 2023-09-08T05:22:34,291 Error compiling Cython file: 2023-09-08T05:22:34,292 ------------------------------------------------------------ 2023-09-08T05:22:34,293 ... 2023-09-08T05:22:34,295 context = < lcms.cmsContext > cpython.PyThread_get_thread_ident() 2023-09-08T05:22:34,297 if size == 4 and string.strcmp(iccprofile, b"sRGB") == 0: 2023-09-08T05:22:34,298 with nogil: 2023-09-08T05:22:34,299 hProfile = lcms.cmsCreate_sRGBProfileTHR(context) 2023-09-08T05:22:34,300 ^ 2023-09-08T05:22:34,301 ------------------------------------------------------------ 2023-09-08T05:22:34,303 smc/freeimage/_lcms.pxi:107:27: cimported module has no attribute 'cmsCreate_sRGBProfileTHR' 2023-09-08T05:22:34,305 Error compiling Cython file: 2023-09-08T05:22:34,306 ------------------------------------------------------------ 2023-09-08T05:22:34,306 ... 2023-09-08T05:22:34,307 if hProfile == NULL: 2023-09-08T05:22:34,308 raise LCMSException("Failed to create sRGB %s profile" % mode) 2023-09-08T05:22:34,309 return NULL 2023-09-08T05:22:34,309 elif size == 4 and string.strcmp(iccprofile, b"gray") == 0: 2023-09-08T05:22:34,310 with nogil: 2023-09-08T05:22:34,311 curve = lcms.cmsBuildGamma(context, 1.0) 2023-09-08T05:22:34,312 ^ 2023-09-08T05:22:34,312 ------------------------------------------------------------ 2023-09-08T05:22:34,314 smc/freeimage/_lcms.pxi:113:24: cimported module has no attribute 'cmsBuildGamma' 2023-09-08T05:22:34,315 Error compiling Cython file: 2023-09-08T05:22:34,316 ------------------------------------------------------------ 2023-09-08T05:22:34,317 ... 2023-09-08T05:22:34,318 raise LCMSException("Failed to create sRGB %s profile" % mode) 2023-09-08T05:22:34,319 return NULL 2023-09-08T05:22:34,319 elif size == 4 and string.strcmp(iccprofile, b"gray") == 0: 2023-09-08T05:22:34,320 with nogil: 2023-09-08T05:22:34,321 curve = lcms.cmsBuildGamma(context, 1.0) 2023-09-08T05:22:34,322 hProfile = lcms.cmsCreateGrayProfileTHR(context, lcms.cmsD50_xyY(), curve) 2023-09-08T05:22:34,323 ^ 2023-09-08T05:22:34,323 ------------------------------------------------------------ 2023-09-08T05:22:34,324 smc/freeimage/_lcms.pxi:114:27: cimported module has no attribute 'cmsCreateGrayProfileTHR' 2023-09-08T05:22:34,325 Error compiling Cython file: 2023-09-08T05:22:34,326 ------------------------------------------------------------ 2023-09-08T05:22:34,326 ... 2023-09-08T05:22:34,327 raise LCMSException("Failed to create sRGB %s profile" % mode) 2023-09-08T05:22:34,327 return NULL 2023-09-08T05:22:34,328 elif size == 4 and string.strcmp(iccprofile, b"gray") == 0: 2023-09-08T05:22:34,329 with nogil: 2023-09-08T05:22:34,329 curve = lcms.cmsBuildGamma(context, 1.0) 2023-09-08T05:22:34,330 hProfile = lcms.cmsCreateGrayProfileTHR(context, lcms.cmsD50_xyY(), curve) 2023-09-08T05:22:34,331 ^ 2023-09-08T05:22:34,331 ------------------------------------------------------------ 2023-09-08T05:22:34,332 smc/freeimage/_lcms.pxi:114:65: cimported module has no attribute 'cmsD50_xyY' 2023-09-08T05:22:34,334 Error compiling Cython file: 2023-09-08T05:22:34,334 ------------------------------------------------------------ 2023-09-08T05:22:34,335 ... 2023-09-08T05:22:34,335 if hProfile == NULL: 2023-09-08T05:22:34,336 raise LCMSException("Failed to create gray %s profile" % mode) 2023-09-08T05:22:34,337 return NULL 2023-09-08T05:22:34,337 else: 2023-09-08T05:22:34,338 with nogil: 2023-09-08T05:22:34,339 hProfile = lcms.cmsOpenProfileFromMemTHR(context, iccprofile, size) 2023-09-08T05:22:34,339 ^ 2023-09-08T05:22:34,340 ------------------------------------------------------------ 2023-09-08T05:22:34,341 smc/freeimage/_lcms.pxi:120:27: cimported module has no attribute 'cmsOpenProfileFromMemTHR' 2023-09-08T05:22:34,343 Error compiling Cython file: 2023-09-08T05:22:34,344 ------------------------------------------------------------ 2023-09-08T05:22:34,345 ... 2023-09-08T05:22:34,346 cdef lcms.cmsHPROFILE _createProfile(self, char * iccprofile, unsigned int size, mode="in") except * : 2023-09-08T05:22:34,347 cdef lcms.cmsHPROFILE hProfile = NULL 2023-09-08T05:22:34,348 cdef lcms.cmsToneCurve * curve 2023-09-08T05:22:34,349 cdef lcms.cmsContext context 2023-09-08T05:22:34,351 context = < lcms.cmsContext > cpython.PyThread_get_thread_ident() 2023-09-08T05:22:34,351 ^ 2023-09-08T05:22:34,352 ------------------------------------------------------------ 2023-09-08T05:22:34,354 smc/freeimage/_lcms.pxi:167:20: 'cmsContext' is not a type identifier 2023-09-08T05:22:34,356 Error compiling Cython file: 2023-09-08T05:22:34,357 ------------------------------------------------------------ 2023-09-08T05:22:34,358 ... 2023-09-08T05:22:34,359 context = < lcms.cmsContext > cpython.PyThread_get_thread_ident() 2023-09-08T05:22:34,361 if size == 4 and string.strcmp(iccprofile, b"sRGB") == 0: 2023-09-08T05:22:34,361 with nogil: 2023-09-08T05:22:34,362 hProfile = lcms.cmsCreate_sRGBProfileTHR(context) 2023-09-08T05:22:34,363 ^ 2023-09-08T05:22:34,364 ------------------------------------------------------------ 2023-09-08T05:22:34,366 smc/freeimage/_lcms.pxi:171:31: cimported module has no attribute 'cmsCreate_sRGBProfileTHR' 2023-09-08T05:22:34,367 Error compiling Cython file: 2023-09-08T05:22:34,368 ------------------------------------------------------------ 2023-09-08T05:22:34,369 ... 2023-09-08T05:22:34,370 if hProfile == NULL: 2023-09-08T05:22:34,371 raise LCMSException("Failed to create sRGB %s profile" % mode) 2023-09-08T05:22:34,372 return NULL 2023-09-08T05:22:34,374 elif size == 4 and string.strcmp(iccprofile, b"gray") == 0: 2023-09-08T05:22:34,374 with nogil: 2023-09-08T05:22:34,375 curve = lcms.cmsBuildGamma(context, 1.0) 2023-09-08T05:22:34,376 ^ 2023-09-08T05:22:34,376 ------------------------------------------------------------ 2023-09-08T05:22:34,378 smc/freeimage/_lcms.pxi:177:28: cimported module has no attribute 'cmsBuildGamma' 2023-09-08T05:22:34,379 Error compiling Cython file: 2023-09-08T05:22:34,380 ------------------------------------------------------------ 2023-09-08T05:22:34,380 ... 2023-09-08T05:22:34,381 raise LCMSException("Failed to create sRGB %s profile" % mode) 2023-09-08T05:22:34,382 return NULL 2023-09-08T05:22:34,382 elif size == 4 and string.strcmp(iccprofile, b"gray") == 0: 2023-09-08T05:22:34,383 with nogil: 2023-09-08T05:22:34,383 curve = lcms.cmsBuildGamma(context, 1.0) 2023-09-08T05:22:34,384 hProfile = lcms.cmsCreateGrayProfileTHR(context, lcms.cmsD50_xyY(), curve) 2023-09-08T05:22:34,384 ^ 2023-09-08T05:22:34,385 ------------------------------------------------------------ 2023-09-08T05:22:34,386 smc/freeimage/_lcms.pxi:178:31: cimported module has no attribute 'cmsCreateGrayProfileTHR' 2023-09-08T05:22:34,387 Error compiling Cython file: 2023-09-08T05:22:34,388 ------------------------------------------------------------ 2023-09-08T05:22:34,388 ... 2023-09-08T05:22:34,389 raise LCMSException("Failed to create sRGB %s profile" % mode) 2023-09-08T05:22:34,390 return NULL 2023-09-08T05:22:34,391 elif size == 4 and string.strcmp(iccprofile, b"gray") == 0: 2023-09-08T05:22:34,391 with nogil: 2023-09-08T05:22:34,392 curve = lcms.cmsBuildGamma(context, 1.0) 2023-09-08T05:22:34,393 hProfile = lcms.cmsCreateGrayProfileTHR(context, lcms.cmsD50_xyY(), curve) 2023-09-08T05:22:34,394 ^ 2023-09-08T05:22:34,395 ------------------------------------------------------------ 2023-09-08T05:22:34,396 smc/freeimage/_lcms.pxi:178:69: cimported module has no attribute 'cmsD50_xyY' 2023-09-08T05:22:34,398 Error compiling Cython file: 2023-09-08T05:22:34,399 ------------------------------------------------------------ 2023-09-08T05:22:34,399 ... 2023-09-08T05:22:34,400 if hProfile == NULL: 2023-09-08T05:22:34,401 raise LCMSException("Failed to create gray %s profile" % mode) 2023-09-08T05:22:34,402 return NULL 2023-09-08T05:22:34,403 else: 2023-09-08T05:22:34,403 with nogil: 2023-09-08T05:22:34,404 hProfile = lcms.cmsOpenProfileFromMemTHR(context, iccprofile, size) 2023-09-08T05:22:34,405 ^ 2023-09-08T05:22:34,406 ------------------------------------------------------------ 2023-09-08T05:22:34,407 smc/freeimage/_lcms.pxi:184:31: cimported module has no attribute 'cmsOpenProfileFromMemTHR' 2023-09-08T05:22:34,409 Error compiling Cython file: 2023-09-08T05:22:34,409 ------------------------------------------------------------ 2023-09-08T05:22:34,410 ... 2023-09-08T05:22:34,411 if self.hInProfile == NULL: 2023-09-08T05:22:34,411 raise LCMSException("No in profile") 2023-09-08T05:22:34,412 if self.hOutProfile == NULL: 2023-09-08T05:22:34,413 raise LCMSException("No out profile") 2023-09-08T05:22:34,413 return -1 2023-09-08T05:22:34,414 self.hTransform = lcms.cmsCreateTransformTHR(< lcms.cmsContext > cpython.PyThread_get_thread_ident(), 2023-09-08T05:22:34,415 ^ 2023-09-08T05:22:34,416 ------------------------------------------------------------ 2023-09-08T05:22:34,417 smc/freeimage/_lcms.pxi:199:30: cimported module has no attribute 'cmsCreateTransformTHR' 2023-09-08T05:22:34,418 Error compiling Cython file: 2023-09-08T05:22:34,418 ------------------------------------------------------------ 2023-09-08T05:22:34,419 ... 2023-09-08T05:22:34,419 if self.hInProfile == NULL: 2023-09-08T05:22:34,419 raise LCMSException("No in profile") 2023-09-08T05:22:34,420 if self.hOutProfile == NULL: 2023-09-08T05:22:34,420 raise LCMSException("No out profile") 2023-09-08T05:22:34,420 return -1 2023-09-08T05:22:34,421 self.hTransform = lcms.cmsCreateTransformTHR(< lcms.cmsContext > cpython.PyThread_get_thread_ident(), 2023-09-08T05:22:34,421 ^ 2023-09-08T05:22:34,421 ------------------------------------------------------------ 2023-09-08T05:22:34,422 smc/freeimage/_lcms.pxi:199:55: 'cmsContext' is not a type identifier 2023-09-08T05:22:34,423 Error compiling Cython file: 2023-09-08T05:22:34,423 ------------------------------------------------------------ 2023-09-08T05:22:34,424 ... 2023-09-08T05:22:34,424 if self.hTransform == NULL: 2023-09-08T05:22:34,424 raise LCMSException("Failed to create transformation") 2023-09-08T05:22:34,425 with nogil: 2023-09-08T05:22:34,425 # with LCMS2 we can close the profiles after the 2023-09-08T05:22:34,425 # transformation has been created 2023-09-08T05:22:34,426 lcms.cmsCloseProfile(self.hInProfile) 2023-09-08T05:22:34,426 ^ 2023-09-08T05:22:34,427 ------------------------------------------------------------ 2023-09-08T05:22:34,428 smc/freeimage/_lcms.pxi:208:16: cimported module has no attribute 'cmsCloseProfile' 2023-09-08T05:22:34,429 Error compiling Cython file: 2023-09-08T05:22:34,429 ------------------------------------------------------------ 2023-09-08T05:22:34,430 ... 2023-09-08T05:22:34,430 with nogil: 2023-09-08T05:22:34,431 # with LCMS2 we can close the profiles after the 2023-09-08T05:22:34,432 # transformation has been created 2023-09-08T05:22:34,432 lcms.cmsCloseProfile(self.hInProfile) 2023-09-08T05:22:34,433 self.hInProfile = NULL 2023-09-08T05:22:34,433 lcms.cmsCloseProfile(self.hOutProfile) 2023-09-08T05:22:34,434 ^ 2023-09-08T05:22:34,434 ------------------------------------------------------------ 2023-09-08T05:22:34,435 smc/freeimage/_lcms.pxi:210:16: cimported module has no attribute 'cmsCloseProfile' 2023-09-08T05:22:34,437 Error compiling Cython file: 2023-09-08T05:22:34,437 ------------------------------------------------------------ 2023-09-08T05:22:34,438 ... 2023-09-08T05:22:34,438 return self.hash 2023-09-08T05:22:34,439 def __dealloc__(self): 2023-09-08T05:22:34,440 if self.hTransform != NULL: 2023-09-08T05:22:34,440 with nogil: 2023-09-08T05:22:34,441 lcms.cmsDeleteTransform(self.hTransform) 2023-09-08T05:22:34,441 ^ 2023-09-08T05:22:34,441 ------------------------------------------------------------ 2023-09-08T05:22:34,442 smc/freeimage/_lcms.pxi:223:20: cimported module has no attribute 'cmsDeleteTransform' 2023-09-08T05:22:34,443 Error compiling Cython file: 2023-09-08T05:22:34,444 ------------------------------------------------------------ 2023-09-08T05:22:34,444 ... 2023-09-08T05:22:34,445 if self.hTransform != NULL: 2023-09-08T05:22:34,445 with nogil: 2023-09-08T05:22:34,445 lcms.cmsDeleteTransform(self.hTransform) 2023-09-08T05:22:34,446 if self.hInProfile != NULL: 2023-09-08T05:22:34,447 with nogil: 2023-09-08T05:22:34,447 lcms.cmsCloseProfile(self.hInProfile) 2023-09-08T05:22:34,448 ^ 2023-09-08T05:22:34,448 ------------------------------------------------------------ 2023-09-08T05:22:34,449 smc/freeimage/_lcms.pxi:226:20: cimported module has no attribute 'cmsCloseProfile' 2023-09-08T05:22:34,450 Error compiling Cython file: 2023-09-08T05:22:34,450 ------------------------------------------------------------ 2023-09-08T05:22:34,450 ... 2023-09-08T05:22:34,451 if self.hInProfile != NULL: 2023-09-08T05:22:34,451 with nogil: 2023-09-08T05:22:34,451 lcms.cmsCloseProfile(self.hInProfile) 2023-09-08T05:22:34,452 if self.hOutProfile != NULL: 2023-09-08T05:22:34,452 with nogil: 2023-09-08T05:22:34,452 lcms.cmsCloseProfile(self.hOutProfile) 2023-09-08T05:22:34,453 ^ 2023-09-08T05:22:34,453 ------------------------------------------------------------ 2023-09-08T05:22:34,454 smc/freeimage/_lcms.pxi:229:20: cimported module has no attribute 'cmsCloseProfile' 2023-09-08T05:22:34,454 Error compiling Cython file: 2023-09-08T05:22:34,455 ------------------------------------------------------------ 2023-09-08T05:22:34,455 ... 2023-09-08T05:22:34,456 if bpp == 24: 2023-09-08T05:22:34,456 format = lcms.TYPE_BGR_8 if isBGR else lcms.TYPE_RGB_8 2023-09-08T05:22:34,456 elif bpp == 32: 2023-09-08T05:22:34,457 format = lcms.TYPE_ABGR_8 if isBGR else lcms.TYPE_RGBA_8 2023-09-08T05:22:34,457 elif bpp == 8: 2023-09-08T05:22:34,457 format = lcms.TYPE_GRAY_8 2023-09-08T05:22:34,458 ^ 2023-09-08T05:22:34,458 ------------------------------------------------------------ 2023-09-08T05:22:34,459 smc/freeimage/_lcms.pxi:330:30: cimported module has no attribute 'TYPE_GRAY_8' 2023-09-08T05:22:34,460 Error compiling Cython file: 2023-09-08T05:22:34,460 ------------------------------------------------------------ 2023-09-08T05:22:34,461 ... 2023-09-08T05:22:34,461 if bpp == 24: 2023-09-08T05:22:34,462 format = lcms.TYPE_BGR_8 if isBGR else lcms.TYPE_RGB_8 2023-09-08T05:22:34,462 elif bpp == 32: 2023-09-08T05:22:34,463 format = lcms.TYPE_ABGR_8 if isBGR else lcms.TYPE_RGBA_8 2023-09-08T05:22:34,464 elif bpp == 8: 2023-09-08T05:22:34,464 format = lcms.TYPE_GRAY_8 2023-09-08T05:22:34,465 ^ 2023-09-08T05:22:34,465 ------------------------------------------------------------ 2023-09-08T05:22:34,466 smc/freeimage/_lcms.pxi:330:30: Compiler crash in AnalyseExpressionsTransform 2023-09-08T05:22:34,467 ModuleNode.body = StatListNode(_freeimage.pyx:28:0) 2023-09-08T05:22:34,468 StatListNode.stats[16] = StatListNode(_lcms.pxi:27:0) 2023-09-08T05:22:34,468 StatListNode.stats[19] = StatListNode(_lcms.pxi:235:5) 2023-09-08T05:22:34,469 StatListNode.stats[0] = CClassDefNode(_lcms.pxi:235:5, 2023-09-08T05:22:34,469 as_name = 'LCMSIccCache', 2023-09-08T05:22:34,470 class_name = 'LCMSIccCache', 2023-09-08T05:22:34,470 module_name = '', 2023-09-08T05:22:34,471 punycode_class_name = 'LCMSIccCache', 2023-09-08T05:22:34,471 visibility = 'private') 2023-09-08T05:22:34,472 CClassDefNode.body = StatListNode(_lcms.pxi:236:4) 2023-09-08T05:22:34,472 StatListNode.stats[12] = DefNode(_lcms.pxi:293:4, 2023-09-08T05:22:34,472 is_cyfunction = True, 2023-09-08T05:22:34,473 modifiers = [...]/0, 2023-09-08T05:22:34,473 name = 'applyTransform', 2023-09-08T05:22:34,474 np_args_idx = [...]/0, 2023-09-08T05:22:34,474 num_required_args = 2, 2023-09-08T05:22:34,475 outer_attrs = [...]/2, 2023-09-08T05:22:34,475 py_wrapper_required = True, 2023-09-08T05:22:34,476 reqd_kw_flags_cname = '0', 2023-09-08T05:22:34,476 used = True) 2023-09-08T05:22:34,477 File 'ExprNodes.py', line 7322, in infer_type: AttributeNode(_lcms.pxi:330:30, 2023-09-08T05:22:34,478 attribute = 'TYPE_GRAY_8', 2023-09-08T05:22:34,478 is_attribute = 1, 2023-09-08T05:22:34,479 needs_none_check = True, 2023-09-08T05:22:34,479 result_is_used = True, 2023-09-08T05:22:34,479 use_managed_ref = True) 2023-09-08T05:22:34,480 Compiler crash traceback from this point on: 2023-09-08T05:22:34,480 File "/usr/local/lib/python3.11/dist-packages/Cython/Compiler/ExprNodes.py", line 7322, in infer_type 2023-09-08T05:22:34,481 if node.entry.type and node.entry.type.is_cfunction: 2023-09-08T05:22:34,481 ^^^^^^^^^^^^^^^ 2023-09-08T05:22:34,481 AttributeError: 'NoneType' object has no attribute 'type' 2023-09-08T05:22:34,482 Traceback (most recent call last): 2023-09-08T05:22:34,482 File "", line 2, in 2023-09-08T05:22:34,482 File "", line 34, in 2023-09-08T05:22:34,483 File "/tmp/pip-wheel-hfm6dwqj/smc-freeimage_7c1613e2d2454f3c8847ef40bd745ec4/setup.py", line 192, in 2023-09-08T05:22:34,483 setup(**setup_info) 2023-09-08T05:22:34,483 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-08T05:22:34,484 return distutils.core.setup(**attrs) 2023-09-08T05:22:34,484 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T05:22:34,484 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-08T05:22:34,485 return run_commands(dist) 2023-09-08T05:22:34,485 ^^^^^^^^^^^^^^^^^^ 2023-09-08T05:22:34,485 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-08T05:22:34,486 dist.run_commands() 2023-09-08T05:22:34,486 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-08T05:22:34,487 self.run_command(cmd) 2023-09-08T05:22:34,487 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T05:22:34,488 super().run_command(command) 2023-09-08T05:22:34,488 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T05:22:34,489 cmd_obj.run() 2023-09-08T05:22:34,489 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 325, in run 2023-09-08T05:22:34,490 self.run_command("build") 2023-09-08T05:22:34,490 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-08T05:22:34,491 self.distribution.run_command(command) 2023-09-08T05:22:34,491 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T05:22:34,492 super().run_command(command) 2023-09-08T05:22:34,493 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T05:22:34,493 cmd_obj.run() 2023-09-08T05:22:34,494 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build.py", line 131, in run 2023-09-08T05:22:34,494 self.run_command(cmd_name) 2023-09-08T05:22:34,494 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-08T05:22:34,495 self.distribution.run_command(command) 2023-09-08T05:22:34,495 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T05:22:34,496 super().run_command(command) 2023-09-08T05:22:34,496 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T05:22:34,497 cmd_obj.run() 2023-09-08T05:22:34,497 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 345, in run 2023-09-08T05:22:34,498 self.build_extensions() 2023-09-08T05:22:34,498 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions 2023-09-08T05:22:34,499 self._build_extensions_serial() 2023-09-08T05:22:34,499 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial 2023-09-08T05:22:34,500 self.build_extension(ext) 2023-09-08T05:22:34,501 File "/usr/local/lib/python3.11/dist-packages/Cython/Distutils/build_ext.py", line 122, in build_extension 2023-09-08T05:22:34,501 new_ext = cythonize( 2023-09-08T05:22:34,501 ^^^^^^^^^^ 2023-09-08T05:22:34,502 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1134, in cythonize 2023-09-08T05:22:34,502 cythonize_one(*args) 2023-09-08T05:22:34,502 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one 2023-09-08T05:22:34,503 raise CompileError(None, pyx_file) 2023-09-08T05:22:34,503 Cython.Compiler.Errors.CompileError: smc/freeimage/_freeimage.pyx 2023-09-08T05:22:34,504 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T05:22:34,518 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T05:22:34,518 exec(compile('"'"''"'"''"'"' 2023-09-08T05:22:34,518 # This is -- a caller that pip uses to run setup.py 2023-09-08T05:22:34,518 # 2023-09-08T05:22:34,518 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T05:22:34,518 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T05:22:34,518 # - It provides a clear error message when setuptools is not installed. 2023-09-08T05:22:34,518 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T05:22:34,518 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T05:22:34,518 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T05:22:34,518 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T05:22:34,518 import os, sys, tokenize 2023-09-08T05:22:34,518 2023-09-08T05:22:34,518 try: 2023-09-08T05:22:34,518 import setuptools 2023-09-08T05:22:34,518 except ImportError as error: 2023-09-08T05:22:34,518 print( 2023-09-08T05:22:34,518 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T05:22:34,518 "the build environment.", 2023-09-08T05:22:34,518 file=sys.stderr, 2023-09-08T05:22:34,518 ) 2023-09-08T05:22:34,518 sys.exit(1) 2023-09-08T05:22:34,518 2023-09-08T05:22:34,518 __file__ = %r 2023-09-08T05:22:34,518 sys.argv[0] = __file__ 2023-09-08T05:22:34,518 2023-09-08T05:22:34,518 if os.path.exists(__file__): 2023-09-08T05:22:34,518 filename = __file__ 2023-09-08T05:22:34,518 with tokenize.open(__file__) as f: 2023-09-08T05:22:34,518 setup_py_code = f.read() 2023-09-08T05:22:34,518 else: 2023-09-08T05:22:34,518 filename = "" 2023-09-08T05:22:34,518 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T05:22:34,518 2023-09-08T05:22:34,518 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T05:22:34,518 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-hfm6dwqj/smc-freeimage_7c1613e2d2454f3c8847ef40bd745ec4/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-64j3d793[/] 2023-09-08T05:22:34,518 [bold magenta]cwd[/]: /tmp/pip-wheel-hfm6dwqj/smc-freeimage_7c1613e2d2454f3c8847ef40bd745ec4/ 2023-09-08T05:22:34,519 Building wheel for smc-freeimage (setup.py): finished with status 'error' 2023-09-08T05:22:34,520 ERROR: Failed building wheel for smc-freeimage 2023-09-08T05:22:34,521 Running setup.py clean for smc-freeimage 2023-09-08T05:22:34,523 Running command python setup.py clean 2023-09-08T05:22:34,970 *** FreeImage with libjpeg-turbo not found 2023-09-08T05:22:34,972 unlink smc/freeimage/_freeimage.c 2023-09-08T05:22:35,253 /usr/local/lib/python3.11/dist-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 2023-09-08T05:22:35,253 !! 2023-09-08T05:22:35,255 ******************************************************************************** 2023-09-08T05:22:35,255 Requirements should be satisfied by a PEP 517 installer. 2023-09-08T05:22:35,256 If you are using pip, you can try `pip install --use-pep517`. 2023-09-08T05:22:35,256 ******************************************************************************** 2023-09-08T05:22:35,257 !! 2023-09-08T05:22:35,258 dist.fetch_build_eggs(dist.setup_requires) 2023-09-08T05:22:35,313 Warning: 'classifiers' should be a list, got type 'tuple' 2023-09-08T05:22:35,566 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:712: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. 2023-09-08T05:22:35,567 !! 2023-09-08T05:22:35,568 ******************************************************************************** 2023-09-08T05:22:35,568 Please replace its usage with implicit namespaces (PEP 420). 2023-09-08T05:22:35,569 See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details. 2023-09-08T05:22:35,570 ******************************************************************************** 2023-09-08T05:22:35,571 !! 2023-09-08T05:22:35,571 ep.load()(self, ep.name, value) 2023-09-08T05:22:35,605 running clean 2023-09-08T05:22:35,652 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T05:22:35,655 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T05:22:35,655 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T05:22:35,656 removing 'build' 2023-09-08T05:22:35,770 Failed to build smc-freeimage 2023-09-08T05:22:35,771 ERROR: Failed to build one or more wheels 2023-09-08T05:22:35,772 Exception information: 2023-09-08T05:22:35,772 Traceback (most recent call last): 2023-09-08T05:22:35,772 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T05:22:35,772 status = run_func(*args) 2023-09-08T05:22:35,772 ^^^^^^^^^^^^^^^ 2023-09-08T05:22:35,772 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T05:22:35,772 return func(self, options, args) 2023-09-08T05:22:35,772 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T05:22:35,772 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T05:22:35,772 raise CommandError("Failed to build one or more wheels") 2023-09-08T05:22:35,772 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T05:22:35,776 Removed build tracker: '/tmp/pip-build-tracker-bskxbp01'