7079 INFO: Analyzing C:\Users\username\OneDrive\Documenten\sptracker\sptracker\stracker\stracker.py
7379 INFO: Processing pre-find module path hook site from 'c:\\users\\username\\appdata\\local\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-site.py'.
7381 INFO: site: retargeting to fake-dir 'c:\\users\\username\\appdata\\local\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\fake-modules'
8485 INFO: Processing pre-safe import module hook setuptools.extern.six.moves from 'c:\\users\\username\\appdata\\local\\programs\\python\\python38\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-setuptools.extern.six.moves.py'.
Traceback (most recent call last):
File "c:\users\username\appdata\local\programs\python\python38\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\username\appdata\local\programs\python\python38\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\username\AppData\Local\Programs\Python\Python38\Scripts\pyinstaller.exe\__main__.py", line 7, in <module>
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\__main__.py", line 114, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\__main__.py", line 65, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 725, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 672, in build
exec(code, spec_namespace)
File "C:\Users\username\OneDrive\Documenten\sptracker\sptracker\stracker\stracker.spec", line 6, in <module>
a = Analysis(['stracker.py'],
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 242, in __init__
self.__postinit__()
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\datastruct.py", line 160, in __postinit__
self.assemble()
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 414, in assemble
priority_scripts.append(self.graph.run_script(script))
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\depend\analysis.py", line 303, in run_script
self._top_script_node = super(PyiModuleGraph, self).run_script(
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1424, in run_script
self._scan_code(m, co, co_ast)
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2661, in _scan_code
self._process_imports(module)
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2860, in _process_imports
target_module = self._safe_import_hook(*import_info, **kwargs)[0]
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2313, in _safe_import_hook
target_modules = self.import_hook(
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1496, in import_hook
target_package, target_module_partname = self._find_head_package(
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1654, in _find_head_package
target_package = self._safe_import_module(
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\depend\analysis.py", line 441, in _safe_import_module
return super(PyiModuleGraph, self)._safe_import_module(
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2067, in _safe_import_module
module = self._load_module(module_name, pathname, loader)
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2176, in _load_module
self._scan_code(m, co, co_ast)
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2661, in _scan_code
self._process_imports(module)
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2860, in _process_imports
target_module = self._safe_import_hook(*import_info, **kwargs)[0]
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2522, in _safe_import_hook
self.import_hook(
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1514, in import_hook
for target_submodule in self._import_importable_package_submodules(
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1808, in _import_importable_package_submodules
submodule = self._safe_import_module(
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\depend\analysis.py", line 441, in _safe_import_module
return super(PyiModuleGraph, self)._safe_import_module(
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2067, in _safe_import_module
module = self._load_module(module_name, pathname, loader)
File "c:\users\username\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2138, in _load_module
src = loader.get_source(partname)
File "<frozen importlib._bootstrap_external>", line 839, in get_source
File "<frozen importlib._bootstrap_external>", line 621, in decode_source
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa9 in position 109: invalid start byte
Traceback (most recent call last):
File ".\create_release.py", line 250, in <module>
assert 0 == os.system("pyinstaller --name stracker --clean -y --onefile --exclude-module http_templates --hidden-import cherrypy.wsgiserver.wsgiserver3 --hidden-import psycopg2 --additional-hooks-dir=pyinstaller-hooks\ --path .. --path externals stracker.py")
AssertionError