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 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,328 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,164 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."