TypeError: ‘tuple’ object is not callable

Check the line in which the log says the error is at. You are missing a comma!
For me the error was this:

 
Needs a comma between (MainPage) and (‘/fizzbuzz’, FizzBuzzHandler)

app = webapp2.WSGIApplication([('/', MainPage)
                              ('/fizzbuzz', FizzBuzzHandler),
                               ],
                              debug=True)

CORRECTED:

app = webapp2.WSGIApplication([('/', MainPage),
                              ('/fizzbuzz', FizzBuzzHandler),
                               ],
                              debug=True)
Advertisements

Author: ajoannaproject

Studying Udacity's Full Stack Web Developer program and passing on my improvements, hints, hacks, and updates to other students via ajoannaproject.wordpress.com.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s