error

Forum Archive error

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #19734
    sheila5
    Participant

      The code as it was at 18 min in the Video is not working for me  

       I’m getting an error.

      Only after adding the code from the provided scripts did I get the expected result . In the video we learned how to catch the ‘no camera option’, but the error I got about the string enum I don’t understand

      #93298
      Martin Bergwerf
      Participant

        HI Sheila,

        Could that be because of the missing underscore in your ‘INVOKE DEFAULT’ ?

        Sorry, I don’t know much Python and am not this far in the course yet.

        #93299
        Adrian Bellworthy
        Participant

          Yeah! I agree with Spikey,
          INVOKE_DEFAULT

          #93300
          Dwayne Savage
          Participant

            As Martin stated it is because there’s no underscore between the words. Also if you look at the error it gives all the acceptable parameters. The error is confusing in the way it’s worded. It should say that your string didn’t match the acceptable strings. Side note: python is case sensitive. You would get the same error if you type it in lowercase. 

            #93301
            sheila5
            Participant

              Thanks guys, I really didn’t see it. 

            Viewing 5 posts - 1 through 5 (of 5 total)
            • The topic ‘error’ is closed to new replies.