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

Windows fatal exception: access violation #113

Open
npfoss opened this issue Apr 19, 2020 · 0 comments
Open

Windows fatal exception: access violation #113

npfoss opened this issue Apr 19, 2020 · 0 comments
Labels
bug Something isn't working engine

Comments

@npfoss
Copy link
Contributor

npfoss commented Apr 19, 2020

from SteamBlizzard on Discord:

I'm getting strange errors when I try to see if an integer "i" is in an array "finished_cols":

for i in range(board_size - 1):
    if not check_space_wrapper(index, i) and i not in finished_cols:
        spawn(index, i)
        break

I get "Windows fatal exception: access violation"
idk if this is an error on my end or the engine, but when I did this in a separate, isolated test:

test_arr = [1, 5, 7, 10, 2, 2, 17]

for i in range(16):
    if i not in test_arr:
        print(str(i) + " is not in the array.")

it works just fine

@npfoss npfoss added bug Something isn't working engine labels Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine
Projects
None yet
Development

No branches or pull requests

1 participant