Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] #443

Open
monohuman opened this issue Mar 5, 2024 · 0 comments
Open

[BUG] #443

monohuman opened this issue Mar 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@monohuman
Copy link

Describe the bug
Doesn't work

To Reproduce
Steps to reproduce the behavior:

  1. Open build.bat
  2. Enter discord webhook
  3. Enter "N" "Y" "N" "N" "N" "N"

Expected behavior
Exe should be found in dist folder

Additional context
Traceback (most recent call last): File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\Scripts\pyinstaller.exe\__main__.py", line 7, in <module> File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\__main__.py", line 178, in run run_build(pyi_config, spec_file, **vars(args)) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\__main__.py", line 59, in run_build PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\building\build_main.py", line 842, in main build(specfile, distpath, workpath, clean_build) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\building\build_main.py", line 764, in build exec(code, spec_namespace) File "C:\Users\letsg\Desktop\empyrean-main\build/spec\main.spec", line 7, in <module> a = Analysis( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\building\build_main.py", line 319, in __init__ self.__postinit__() File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\building\datastruct.py", line 173, in __postinit__ self.assemble() File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\building\build_main.py", line 481, in assemble priority_scripts.append(self.graph.add_script(script)) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 265, in add_script self._top_script_node = super().add_script(pathname) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1433, in add_script self._process_imports(n) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2850, in _process_imports target_module = self._safe_import_hook(*import_info, **kwargs)[0] File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2301, in _safe_import_hook target_modules = self.import_hook( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1505, in import_hook target_package, target_module_partname = self._find_head_package( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1684, in _find_head_package target_package = self._safe_import_module( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 387, in _safe_import_module return super()._safe_import_module(module_basename, module_name, parent_package) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module self._process_imports(n) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2850, in _process_imports target_module = self._safe_import_hook(*import_info, **kwargs)[0] File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2301, in _safe_import_hook target_modules = self.import_hook( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1505, in import_hook target_package, target_module_partname = self._find_head_package( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1684, in _find_head_package target_package = self._safe_import_module( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 387, in _safe_import_module return super()._safe_import_module(module_basename, module_name, parent_package) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module self._process_imports(n) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2850, in _process_imports target_module = self._safe_import_hook(*import_info, **kwargs)[0] File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2301, in _safe_import_hook target_modules = self.import_hook( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1518, in import_hook submodule = self._safe_import_module(head, mname, submodule) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 387, in _safe_import_module return super()._safe_import_module(module_basename, module_name, parent_package) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module self._process_imports(n) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2850, in _process_imports target_module = self._safe_import_hook(*import_info, **kwargs)[0] File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2301, in _safe_import_hook target_modules = self.import_hook( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1518, in import_hook submodule = self._safe_import_module(head, mname, submodule) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 387, in _safe_import_module return super()._safe_import_module(module_basename, module_name, parent_package) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module self._process_imports(n) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2850, in _process_imports target_module = self._safe_import_hook(*import_info, **kwargs)[0] File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2301, in _safe_import_hook target_modules = self.import_hook( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1518, in import_hook submodule = self._safe_import_module(head, mname, submodule) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 387, in _safe_import_module return super()._safe_import_module(module_basename, module_name, parent_package) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module self._process_imports(n) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2850, in _process_imports target_module = self._safe_import_hook(*import_info, **kwargs)[0] File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2510, in _safe_import_hook self.import_hook( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1544, in import_hook for target_submodule in self._import_importable_package_submodules( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1794, in _import_importable_package_submodules submodule = self._safe_import_module( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 387, in _safe_import_module return super()._safe_import_module(module_basename, module_name, parent_package) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module self._process_imports(n) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2850, in _process_imports target_module = self._safe_import_hook(*import_info, **kwargs)[0] File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2301, in _safe_import_hook target_modules = self.import_hook( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1505, in import_hook target_package, target_module_partname = self._find_head_package( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1684, in _find_head_package target_package = self._safe_import_module( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 387, in _safe_import_module return super()._safe_import_module(module_basename, module_name, parent_package) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module self._process_imports(n) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2850, in _process_imports target_module = self._safe_import_hook(*import_info, **kwargs)[0] File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2301, in _safe_import_hook target_modules = self.import_hook( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1505, in import_hook target_package, target_module_partname = self._find_head_package( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1684, in _find_head_package target_package = self._safe_import_module( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 387, in _safe_import_module return super()._safe_import_module(module_basename, module_name, parent_package) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module self._process_imports(n) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2850, in _process_imports target_module = self._safe_import_hook(*import_info, **kwargs)[0] File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2301, in _safe_import_hook target_modules = self.import_hook( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1505, in import_hook target_package, target_module_partname = self._find_head_package( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1684, in _find_head_package target_package = self._safe_import_module( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\depend\analysis.py", line 387, in _safe_import_module return super()._safe_import_module(module_basename, module_name, parent_package) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2061, in _safe_import_module n = self._scan_code(module, co, co_ast) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2645, in _scan_code self._scan_bytecode( File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2749, in _scan_bytecode for inst in util.iterate_instructions(module_code_object): File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\util.py", line 139, in iterate_instructions yield from get_instructions(code_object) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\dis.py", line 338, in _get_instructions_bytes argval, argrepr = _get_const_info(arg, constants) File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\dis.py", line 292, in _get_const_info argval = const_list[const_index] IndexError: tuple index out of range Traceback (most recent call last): File "C:\Users\letsg\Desktop\empyrean-main\builder\main.py", line 58, in <module> main() File "C:\Users\letsg\Desktop\empyrean-main\builder\main.py", line 54, in main build.build() File "C:\Users\letsg\Desktop\empyrean-main\builder\util\build.py", line 56, in build subprocess.run([ File "C:\Users\letsg\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['pyinstaller', '--onefile', '--noconsole', '--clean', '--distpath', 'C:\\Users\\letsg\\Desktop\\empyrean-main\\build\\..\\dist', '--workpath', 'C:\\Users\\letsg\\Desktop\\empyrean-main\\build/work', '--specpath', 'C:\\Users\\letsg\\Desktop\\empyrean-main\\build/spec', '--upx-dir', 'C:\\Users\\letsg\\Desktop\\empyrean-main\\build/upx-3.96-win64', 'C:\\Users\\letsg\\Desktop\\empyrean-main\\build/src/main.py']' returned non-zero exit status 1.

@monohuman monohuman added the bug Something isn't working label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants