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