ObjectNotExecutableError: Not an executable object: 'SELECT 1' File "/usr/local/lib/python3.11/site-packages/check50/runner.py", line 148, in wrapper state = check(*args) ^^^^^^^^^^^^ File "/home/ubuntu/.local/share/check50/cs50/problems/finance/init.py", line 22, in startup Finance().get("/").status(200) ^^^^^^^^^ File "/home/ubuntu/.local/share/check50/cs50/problems/finance/init.py", line 160, in init super().init(self.APP_NAME) File "/usr/local/lib/python3.11/site-packages/check50/flask.py", line 34, in init mod = internal.import_file(path.stem, path.name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/check50/internal.py", line 185, in import_file spec.loader.exec_module(mod) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/tmp/tmprv98pwo9/startup/app.py", line 23, in db = SQL("sqlite:///finance.db") ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/cs50/sql.py", line 103, in init connection.execute("SELECT 1") File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1410, in execute raise exc.ObjectNotExecutableError(statement) from err

  • I'm having the same issue today, but check50 wasn't giving me that error yesterday night. It also happens with a fresh copy of finance, and the error references the files already existing in the finance folder. Maybe it is related to CS50 and not our fault, somehow? I'd appreciate some info as well, as I'm a bit lost. Commented Sep 13, 2023 at 10:24
  • yes for me to it suddenly pop out of no where today i ran 2 check50 first was fine second one showed this error Commented Sep 13, 2023 at 10:40
  • please format your code and errors as code and provide a minimal reproduceable example of code that yields this behavior, the output and the expected behavior.
    – UpAndAdam
    Commented Sep 13, 2023 at 14:58

1 Answer 1


Its ok , now try to remove the pane that shows the check50 error. Sometimes the app tends to think(because of its neural pathways) that the performance of the said app is an Outlier , i.e., either inconsistent or working beyond average.Just try to remove the panel and you are good to go.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .