Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Build a Social Network with Flask Tacocat Challenge Tacocat!

Please help: Tacocat challenge error: Your code took long to run.

Please help: Tacocat challenge error: Your code took long to run.

Ken Alger
Ken Alger
Treehouse Teacher

Bryan;

Will you please post your code as it will help to see what the issue is.

Thanks,
Ken

1 Answer

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 68,441 Points

MUZ141110 Bryan Bera, after scanning these posts: Python tests all check out but getting error...., Code passes unit test but bummer your code took too long...., it seems to be related to not removing the app.run from the __name__ == '__main__', block. Specifically, the Treehouse code grader is waiting for the app to finish before evaluating the code which times out due to the run.