Blizzard / s2client-proto

StarCraft II Client - protocol definitions used to communicate with StarCraft II.
MIT License
3.78k stars 431 forks source link

error when running 4.8.3 (Linux) but fine with other versions #175

Open OrangePear opened 4 years ago

OrangePear commented 4 years ago

Hi, we have a problem when running with 4.8.3 (but it never occurs to other versions like 4.8.2, 4.8.4, etc). The OS is Ubuntu 18.04.

The error is:

I0503 13:38:18.718780 140261215434560 platforms.py:239] No GL library found, so RGB rendering will be disabled. For software rendering install libosmesa.
I0503 13:38:18.733772 140261215434560 sc_process.py:110] Launching SC2: /root/SC2/4.8.3/Versions/Base72282/SC2_x64 -listen 127.0.0.1 -port 15897 -dataDir /root/SC2/4.8.3/ -tempDir /tmp/sc-1xufj_cx/ -displayMode 0 -windowwidth 640 -windowheight 480 -windowx 50 -windowy 50 -dataVersion 0F14399BBD0BA528355FF4A8211F845B
I0503 13:38:18.953624 140261215434560 remote_controller.py:127] Connecting to: ws://127.0.0.1:15897/sc2api, attempt: 0, running: True
Version: B72282 (SC2.4.8.b)
Build: Apr  8 2020 15:59:27
Command Line: '"/root/SC2/4.8.3/Versions/Base72282/SC2_x64" -listen 127.0.0.1 -port 15897 -dataDir /root/SC2/4.8.3/ -tempDir /tmp/sc-1xufj_cx/ -displayMode 0 -windowwidth 640 -windowheight 480 -windowx 50 -windowy 50 -dataVersion 0F14399BBD0BA528355FF4A8211F845B'
Starting up...
Startup Phase 1 complete
I0503 13:38:19.985680 140261215434560 remote_controller.py:127] Connecting to: ws://127.0.0.1:15897/sc2api, attempt: 1, running: True
Fatal error encountered!
Backtrace:
/root/SC2/4.8.3/Versions/Base72282/SC2_x64[0x645f57]
/root/SC2/4.8.3/Versions/Base72282/SC2_x64[0x64692f]
/root/SC2/4.8.3/Versions/Base72282/SC2_x64[0x6463c8]
/root/SC2/4.8.3/Versions/Base72282/SC2_x64[0x5e2b43]
/root/SC2/4.8.3/Versions/Base72282/SC2_x64[0x1b61fb7]
/root/SC2/4.8.3/Versions/Base72282/SC2_x64[0x5df6ec]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f97a316e1e3]
/root/SC2/4.8.3/Versions/Base72282/SC2_x64[0x5df0ba]
Error condition code: '9'
Error suffix: 'Error'
Error preface: 'A fatal error occurred:'
Error failure: 'e_errorIdStreaming'
Error unique: '(NGDP:E_NOT_AVAILABLE)'
Error details: '"AppErrors.txt"'
Error description: 'AppErrors.txt'
I0503 13:38:21.031316 140261215434560 remote_controller.py:127] Connecting to: ws://127.0.0.1:15897/sc2api, attempt: 2, running: True
W0503 13:38:22.079250 140261215434560 remote_controller.py:124] SC2 isn't running, so bailing early on the websocket connection.
I0503 13:38:22.087680 140261215434560 sc_process.py:197] Shutdown gracefully.
I0503 13:38:22.091260 140261215434560 sc_process.py:182] Shutdown with return code: -6

where we've set the correct environment variable SC2PATH.

We tried to use precisely the glibc-2.28 and setting the --library-path for sc2, but the same error remains. We also noticed a updating on May 2. However, using that binary still sees the same error. It only shows a different build info:

...
Version: B72282 (SC2.4.8.b)
Build: Apr 15 2020 15:44:46
...

We tried to redo the unzipping as in the link: https://github.com/Blizzard/s2client-proto/issues/67 but it did not fix our problem.

Could you take a look and help on it?

OrangePear commented 4 years ago

@AustinHudelson @tewalds

douglasrizzo commented 3 years ago

I had this problem with 4.10 and I solved it by folllowing #67 too. Maybe download the zip again? Or maybe the zip they provide for that version is no good...

flyers commented 2 years ago

I also encountered this problem. How did you fix this? @OrangePear