exception

Resolved 💬 2 comments Opened Mar 13, 2026 by messpy Closed Mar 13, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.114.0

What subscription do you have?

plus

Which model were you using?

etc

What platform is your computer?

Linux

What terminal emulator and version are you using (if applicable)?

Terminal

What issue are you seeing?

~/work (main)$ codex
Error loading rules: /home/kennypi/.codex/rules/default.rules:121: starlark error: error: Parse error: unfinished string literal (problem is on or around line 121)

This error is not handled by a try-catch block.

What steps can reproduce the bug?

An error occurs when launching the Codex twice using tmux.

What is the expected behavior?

The exception should be caught by a try-catch block and handled properly.

Additional information

None

View original on GitHub ↗

2 Comments

etraut-openai contributor · 5 months ago

This isn't an exception being thrown. It's a parse error that is reported as such. You can eliminate the error by fixing the contents of your rules file.

messpy · 5 months ago

I apologize, I misunderstood because the launch didn't occur twice. I've fixed it and it's now working. CLOSED.