Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Flask Basics Welcome to Flask Clean URL Arguments

Naivedya Bansal
Naivedya Bansal
5,483 Points

workspace unavailable

when i preview my code on the port on the port 8000 it dosen't work and i am getting the error that workspace is unavailable. Pls help!! i tried with other ports i am getting similar errors.

3 Answers

Ben Heyman
Ben Heyman
11,327 Points

Don't forget to run the app in the console (python simple_app.py) before attempting to load the web page. I recently made that mistake and received this error message as a result.

Tommy Gebru
Tommy Gebru
30,148 Points

At some point you will notice that Workspaces is scheduled for maintenance, usually the Team @ Treehouse sends out a notice ahead of time so that students can navigate the site accordingly. Also you can check out their status page to find out what has been going on recently.

Says all systems operational with a bold section indicating Workspaces to be operational.....still cannot ever get the Workspaces to load.

Ricardo Sierra
Ricardo Sierra
14,920 Points

I have the exact same problem, I can't preview the app. I get an error that goes "This is a preview link for a Treehouse Workspace that is not currently active. If you are the workspace owner, you can launch it again via the Treehouse site."