Studio page says "exercise open in another tab" for any loading error
Maintainers usually reply within 1 day
@Pranav-Singh-Devloper is already working on this.
Since Nov 7, 2026.
- #4111 by @Pranav-Singh-Devloper — open
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 79/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python, react, typescript
- Domain
- backend-api-design, frontend
Research direction
Start by reading react_frontend/src/routes/Project.tsx and academy/views.py, the two entry points named in the issue. Compare how the server returns errors for a missing exercise and an already open session with how the studio page handles loading failures. Done when the page shows the other-tab message only for that session error and communicates other errors; use the listed URLs to reproduce both cases.
Written by the indexing model from the issue text.
Description
When an exercise fails to load, the studio page always says "You have open a Robotics Academy exercise in another tab or window", whatever the actual error is.
For example, opening an exercise URL that doesn't exist (a typo, or an old link) shows that message even when no other exercise is open. Opening the correct exercise right after works, so there was no other session.
The server does return the real reason, but the page doesn't show it:
GET /academy/enter_exercise/?project_id=follow_lin
500 {"error": "An error occurred: Exercise matching query does not exist."}
GET /academy/enter_exercise/?project_id=follow_line (second tab open)
500 {"error": "An error occurred: Alredy open session"}
Both cases return the same response shape, so the page can't tell them apart.
Steps to reproduce
- Start Robotics Academy (
jderobot/robotics-academy:latest, 6.1.13) and don't open any exercise. - Open
http://localhost:7164/academy/studio/follow_lin. - The page says an exercise is open in another tab.
- Open
http://localhost:7164/academy/studio/follow_line: it loads normally.
Expected: the "another tab" message only appears when another exercise is open. For other errors (exercise not found, server error), the page says what went wrong.
Environment: macOS (Apple Silicon), Docker Desktop, Chrome, jderobot/robotics-academy:latest (6.1.13). The same code is on humble-devel (react_frontend/src/routes/Project.tsx, academy/views.py).
https://github.com/user-attachments/assets/31f00df3-5de4-4408-8a8a-fb6a2d4f79bc
I'd like to work on this.
- Dominant language
- Python
- Stars
- 516
- Forks
- 380
- Avg merge
- 10h 53m
- Merged PRs (30d)
- 42
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JdeRobot/RoboticsAcademy
-
Exercise components never remove their document event listeners on unmountPossibly taken @Priyanshu-rgbb claimed this 9 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JdeRobot/RoboticsAcademy#4117 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 8/100
JdeRobot/RoboticsAcademy#4125 · 1 comment ·
Maintainers usually reply within 1 day
-
Exercises stay blocked with "another tab" message after the browser crashesPossibly taken @victrvondoom claimed this 4 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 68/100
JdeRobot/RoboticsAcademy#4121 · 2 comments ·
Maintainers usually reply within 1 day
-
Add agents.mdMay be free again @Tanishka874 claimed this 8 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
JdeRobot/RoboticsAcademy#4119 · 2 comments ·
Maintainers usually reply within 1 day
-
docs/database.md is outdatedMay be free again A pull request for this issue was closed without being merged. Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
JdeRobot/RoboticsAcademy#4114 · 1 comment ·
Maintainers usually reply within 1 day
All issues in JdeRobot/RoboticsAcademy
Similar issues
-
bug game: 0100FF500E34A000 game: 0400FF500E34A001 mac packing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
jxxghp/MoviePilot#7576 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
jbaruch/software-factory#266 ·
Maintainers usually reply within 1 day
-
cron: raise a distinct error when next_fire finds no match in its search bound (from #813 item 5)Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day