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

James J. McCombie
Python Web Development Techdegree Graduate 21,199 PointsPython web development tech degree project 9 - Is the database corrupted?
I am having trouble with the database supplied. Using Prefetch, throwing ValueError, stating the Item object must be an instance of Item.
Sorry for the curtness of this, but I am sick to death of this project in particular, and most of the projects where a lot of the build is supplied - and if someone comments that part of a developers job is working with other people code, I am never going to do that, not ever, for I fear I would do myself harm!
Thanks in advance
James
3 Answers

Kenneth Love
Treehouse Guest TeacherWell, most of a developer's job is working with someone else's code. I mean, someone else wrote Python. Someone else wrote Django and Flask. And if you're working on a team, you'll always be looking at code written by someone else. So...hate to break it to you, but you can't get away from other people's code :D.
Can you share your code and the exact error message?

Jennifer Nordell
Treehouse TeacherHi there! In all likelihood the best way to get help on this sort of question is from the Techdegree #slack channel you were given access to when starting your Techdegree as only other Python Techdegree students and Staff can view the project files and confirm suspicions of database corruption.
I hope you get it sorted out!

James J. McCombie
Python Web Development Techdegree Graduate 21,199 PointsHello Jennifer,
I don't have access to a #slack channel?
Thanks for responding so quickly

Jennifer Nordell
Treehouse TeacherThat's really odd James McCombie ! If I look on this informational page under the "We're in this together" section it explicitly mentions the exclusive slack community for your Techdegree. I was sent an invitation to the iOS slack team immediately after joining the program. Is it possible that the invitation is in your spam folder somewhere? If you can't locate it, you might need to contact Support as the Slack community mentioned is likely to give you better answers more quickly!

Jennifer Nordell
Treehouse TeacherHi there! Sorry! I've been informed that the #slack team is not available for all pricing plans of the Techdegree and you may very well be on a plan that doesn't cover that particular feature. So please ignore this answer.
That being said, I sincerely wish you the best of luck!

James J. McCombie
Python Web Development Techdegree Graduate 21,199 PointsThank you both for your responses. I started a new project again with a fresh download, and everything is running ok now.
James