Forum Archive

Gamma help

VIC3

Can anyone help me out with this error? Gamma Error

cvp

Of course, I don't see lines 1 to 34 but the else: of erroneous line seems to have a bad indentation!

VIC3

@cvp here's the rest Code

cvp

All the lines from the 42th must be right shifted.
The else must have the same indentation as its if.

VIC3

@cvp thanks that fixed it but now I keep getting this error

Webmaster4o

@VIC3 What steps have you taken to debug this yourself? Have you even googled for a solution? We'll also need the full traceback, not just a screenshot of the first 25 characters, to be able to help you.

(This is not a Pythonista-specific problem, either, so it would be better to ask on StackOverflow. That's a much larger community which is far more likely to be able to help you ;))

brumm

I don't know much about objc but may be there is a syntax error in line 9 (. instead of ,)?

VIC3

@Webmaster4o I'll try that website but I already posted the other lines too