Skip to content

fix: repair invalid JSON in projects_registry.json so launcher loads projects#1324

Merged
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Ashvin-KS:fix/registry-json-syntax
Jun 22, 2026
Merged

fix: repair invalid JSON in projects_registry.json so launcher loads projects#1324
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Ashvin-KS:fix/registry-json-syntax

Conversation

@Ashvin-KS

Copy link
Copy Markdown
Contributor

📝 Description

projects_registry.json was invalid JSON. The separator between the "Sudoku Game" and
"Fourier Series Visualizer" entries was missing — the }, that closes the first object and
the { that opens the next — which fused two entries into one malformed object (a merge
artifact).

Because the file failed to parse, both main.py and search_projects.py fell into their
except branch and set PROJECTS = [], so the interactive launcher showed an empty menu
with no projects to browse, search, or run.

This PR restores the missing separator. It touches only those 2 lines — no data or formatting
elsewhere is changed.

Verified locally:

  • python -c "import json; json.load(open('projects_registry.json', encoding='utf-8'))" now exits 0.
  • The registry parses to 43 entries, and every path value resolves to an existing file.
  • python main.py now lists all categories/projects instead of an empty menu.

🔗 Linked Issue

Closes #1322

Note: I filed #1322 and this fix together because it's a one-line data correction that
unbreaks the launcher. I haven't been formally assigned yet — glad to wait for assignment if
you prefer that order.


📋 Contribution Checklist

  • My code strictly adheres to the project guidelines (Standard library only, procedural code, clean spacing).
  • I have verified that my files are placed in the correct directory.
  • I have tested my changes thoroughly on my local machine.
  • I have included interactive emojis and clean console/UI outputs.
  • GSSoC 2026: I have been formally assigned to this issue and noted it above.

…projects

The separator between the "Sudoku Game" and "Fourier Series Visualizer"
entries was missing (the closing "}," and opening "{"), making the file
invalid JSON. main.py and search_projects.py caught the parse error and
fell back to PROJECTS = [], so the interactive launcher showed an empty
menu. Restoring the separator makes the registry parse to 43 entries,
all with valid paths.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

@Ashvin-KS is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@steam-bell-92 steam-bell-92 merged commit 03c9c5c into steam-bell-92:main Jun 22, 2026
10 of 11 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.
Thanks again for your support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 [Bug]: projects_registry.json is invalid JSON — interactive launcher loads 0 projects

2 participants