Issue: Running "python worker.py" from command prompt, terminates with SQL error: "no such table: jobs"

Start api_gateway.py service first

(base) PS C:\Users\saad0\Documents\source\echo> python worker.py
Traceback (most recent call last):
  File "C:\Users\saad0\Documents\source\echo\worker.py", line 50, in <module>
    job = conn.execute(
          ~~~~~~~~~~~~^
        "SELECT id, filename FROM jobs WHERE status='queued' ORDER BY created_at LIMIT 1"
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ).fetchone()
    ^
sqlite3.OperationalError: no such table: jobs

Comments

Popular posts from this blog

Feature: Audit log for one login, and identity service

Getting started - Build your data science lab environment

QA - Run #1 - Results