-
Notifications
You must be signed in to change notification settings - Fork 36
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
IndexError #32
Comments
looks like an error in the work part of your config, could i see it |
Got something similar:
Happens only on spawn.py for me. config.json:
|
@jatinhariani that bug is from an older version and is fixed now @KJFreakish most likely issue is that your entries in work are not 4 values, (for a rectangle) so when it asks for value 3, it cant get it because it doesnt exist |
I'm on my phone right now, but managed to get my configuration. {
} --edit-- I got it working by looking at the users config above. Turns out I misunderstood the config file, and had brackets that I didn't need. |
your work consists of two points, what the code is looking for is a rectange, change it to
|
I can't seem to get past this IndexError, or find a solution for it. It happens if I run check.py or spawn.py.
$ python spawn.py Traceback (most recent call last): File "spawn.py", line 250, in <module> main() File "spawn.py", line 150, in main tscans = genwork() File "spawn.py", line 104, in genwork dlng = dlat / math.cos(math.radians((rect[0]+rect[2])*0.5)) IndexError: list index out of range
--edit--
I should add that I'm also running the latest version.
The text was updated successfully, but these errors were encountered: