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

python error with MSYS/MSYS2 #194

Open
floooh opened this issue Jun 29, 2018 · 2 comments
Open

python error with MSYS/MSYS2 #194

floooh opened this issue Jun 29, 2018 · 2 comments
Assignees
Labels

Comments

@floooh
Copy link
Owner

floooh commented Jun 29, 2018

Mentioned in this ticket: floooh/sokol-samples#9

KeyError: 'MSYS_NT-10.0' looks suspicious and should at least provide a better error message (even if we don't support MSYS directly):

Cloning into '/c/path/fips'...
remote: Counting objects: 3859, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 3859 (delta 14), reused 21 (delta 10), pack-reused 3826
Receiving objects: 100% (3859/3859), 1.39 MiB | 395.00 KiB/s, done.
Resolving deltas: 100% (2631/2631), done.
Checking out files: 100% (270/270), done.
Traceback (most recent call last):
  File "./fips", line 17, in <module>
    fips.run(fips_path, proj_path, sys.argv)
  File "/c/path/fips/mod/fips.py", line 49, in run
    verb.verbs[verb_name].run(fips_path, proj_path, verb_args)
  File "/c/path/fips/verbs/build.py", line 18, in run
    cfg_name = settings.get(proj_dir, 'config')
  File "/c/path/fips/mod/settings.py", line 70, in get
    value = get_default(key)
  File "/c/path/fips/mod/settings.py", line 43, in get_default
    return config.get_default_config()
  File "/c/path/fips/mod/config.py", line 48, in get_default_config
    return default_config[util.get_host_platform()]
  File "/c/path/fips/mod/util.py", line 273, in get_host_platform
    return host_platforms[platform.system()]
KeyError: 'MSYS_NT-10.0'
@floooh floooh added the bug label Jun 29, 2018
@floooh floooh self-assigned this Jun 29, 2018
@fungos
Copy link
Contributor

fungos commented Jun 29, 2018

Similar to this: #128

@floooh
Copy link
Owner Author

floooh commented Jun 29, 2018

@fungos ah right, that's why it looked so familiar :)

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

No branches or pull requests

2 participants