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

error to execute. #310

Open
cronosanubis opened this issue Nov 4, 2020 · 0 comments
Open

error to execute. #310

cronosanubis opened this issue Nov 4, 2020 · 0 comments

Comments

@cronosanubis
Copy link

hello,

i am kind of new to this thing, and after spending some hours trying to troubleshoot, im stuck with an error:

INFO:sc2.sc2process:Closing connection...
INFO:sc2.sc2process:Cleaning up...
INFO:sc2.sc2process:Cleanup complete
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp
Traceback (most recent call last):
File "jarvis.py", line 11, in
run_game(maps.get("AbyssalReefLE"), [
File "/usr/local/lib/python3.8/dist-packages/sc2/main.py", line 325, in run_game
result = asyncio.get_event_loop().run_until_complete(
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/usr/local/lib/python3.8/dist-packages/sc2/main.py", line 247, in _host_game
async with SC2Process(fullscreen=players[0].fullscreen, render=rgb_render_config is not None) as server:
File "/usr/local/lib/python3.8/dist-packages/sc2/sc2process.py", line 63, in aenter
self._process = self._launch()
File "/usr/local/lib/python3.8/dist-packages/sc2/sc2process.py", line 101, in _launch
return subprocess.Popen(
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/developer/Desktop/StarCraftII/Support64'

what are my next steps?should I edit paths.py? maybe sc2process.py?

any help is welcome.

trying to do it on Ubuntu 20.04 - Linux xxx 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I believe i could make it work with the headless linux one, but im not sure why on wine it is being so hard

thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant