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

Diego Salas Polar
Diego Salas Polar
21,431 Points

Kenneth Love or Chris Freeman, I need help with the Taco Cat Challenge.

Kenneth Love or Chris Freeman, I need help with the Taco Cat Challenge. The error is called peewee.OperationalError: no such column: t1.cheese. It happens when you run the website. Please HELP me. Here is the link to my code: https://w.trhou.se/snc0wvetlp.

4 Answers

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Can you provide the whole traceback that you're getting?

Diego Salas Polar
Diego Salas Polar
21,431 Points

The traceback is most recent call last, but when you run the website you should be able to get the whole traceback error.

Kenneth Love

Diego Salas Polar
Diego Salas Polar
21,431 Points

The traceback is most recent call last, but when you run the website you should be able to get the whole traceback error.

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Did you add the cheese column after you created the original Taco model? I deleted the database and restarted the app and everything worked.

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

Or, at least, I didn't have the error you had.

Diego Salas Polar
Diego Salas Polar
21,431 Points

I delete the database just like you did and restarted the app. And it worked. Thanks!