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

BallisticaKitHeadless.exe does not find python #600

Open
TheNotEasy opened this issue Jul 9, 2023 · 3 comments
Open

BallisticaKitHeadless.exe does not find python #600

TheNotEasy opened this issue Jul 9, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@TheNotEasy
Copy link
Contributor

TheNotEasy commented Jul 9, 2023

Description

When the BallisticaKitHeadless opens in "windows_x86_server/release/dist" it works. But if we run BallisticaKitHeadless outside of the directive, error appears

Steps to reproduce

  1. Launch executable outside
  2. Bug!

Machine

Platform: Windows 11 / Ubuntu 22.04.2 LTS
BombSquad version: 1.7.21

Extra

Console logs:

Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = 'python'
  isolated = 1
  environment = 0
  user site = 0
  safe_path = 1
  import site = 0
  is in build tree = 0
  stdlib dir = 'D:\ballistica\build\prefab\full\windows_x86_server\release\dist\Lib'
  sys._base_executable = 'D:\\ballistica\\build\\prefab\\full\\windows_x86_server\\release\\dist\\BallisticaKitHeadless.exe'
  sys.base_prefix = 'D:\\ballistica\\build\\prefab\\full\\windows_x86_server\\release\\dist'
  sys.base_exec_prefix = 'D:\\ballistica\\build\\prefab\\full\\windows_x86_server\\release\\dist'
  sys.platlibdir = 'DLLs'
  sys.executable = 'D:\\ballistica\\build\\prefab\\full\\windows_x86_server\\release\\dist\\BallisticaKitHeadless.exe'
  sys.prefix = 'D:\\ballistica\\build\\prefab\\full\\windows_x86_server\\release\\dist'
  sys.exec_prefix = 'D:\\ballistica\\build\\prefab\\full\\windows_x86_server\\release\\dist'
  sys.path = [
    'lib',
    'DLLs',
  ]
FATAL ERROR: Precondition failed @ core_python.cc:115: !PyStatus_Exception(status)
CPP-STACK-TRACE-BEGIN:
0   (unknown symbol name), address 0xFFCFCC78.
1   (unknown symbol name), address 0xFFCFCC78.
2   (unknown symbol name), address 0xFFCFCC78.
3   (unknown symbol name), address 0xFFCFCC78.
4   (unknown symbol name), address 0xFFCFCC78.
5   (unknown symbol name), address 0xFFCFCC78.
6   (unknown symbol name), address 0xFFCFCC78.
7   (unknown symbol name), address 0xFFCFCC78.
8   (unknown symbol name), address 0xFFCFCC78.
9   (unknown symbol name), address 0xFFCFCC78.
10  BaseThreadInitThunk, address 0x77427D40.
11  RtlInitializeExceptionChain, address 0x7790B6E0.
12  RtlClearBits, address 0x7790B610.

CPP-STACK-TRACE-END

I think BallisticaKit finds python in PYTHONPATH, if not found then in local path

@TheNotEasy TheNotEasy added the bug Something isn't working label Jul 9, 2023
@TheNotEasy
Copy link
Contributor Author

TheNotEasy commented Oct 12, 2023

no answer even now ;((

@Loup-Garou911XD
Copy link
Contributor

Loup-Garou911XD commented Nov 20, 2023

Don't think it's a bug
The executable expects a python executable to be in the directory
If not found then it simply can't runScreenshot_2023-11-21-03-24-22-64_db51e592e420a9871f4a37915a68789b.jpg

@Loup-Garou911XD
Copy link
Contributor

Also in platform you mentioned windows 11/Ubuntu
But the Linux builds don't even have python binaries in them.

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