PewCount
8 things went wrong recently — see what

Problemslast 60 days

  1. Thu 27 Aug, 4:06pm ERROR

    Bulletin poll failed: Environment variable PEWCOUNT_OAUTH_CLIENT_ID is not set (OAuth2 client id). Add it to /Users/oostinr/Documents/GitHub/PewCount/.env - see .env.example.

    pewcount.ingest.inbox

  2. Thu 27 Aug, 12:19pm ERROR

    2026-08-16 sunday_am: the save failed and nothing was written. The form was returned with the entered values intact.

    pewcount.web.routes.entry

    What the code said
    Traceback (most recent call last):
      File "/Users/oostinr/Documents/GitHub/PewCount/src/pewcount/web/routes/entry.py", line 350, in save_entry
        db.set_occasion_total(
        ~~~~~~~~~~~~~~~~~~~~~^
            occasion_id,
            ^^^^^^^^^^^^
        ...<3 lines>...
            note=_block_note(recorded_note, values[block.note_field]),
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        )
        ^
      File "/Users/oostinr/Documents/GitHub/PewCount/tests/test_web_entry.py", line 725, in boom
        raise sqlite3.OperationalError("disk I/O error")
    sqlite3.OperationalError: disk I/O error
  3. Thu 27 Aug, 12:19pm ERROR

    2026-08-16 sunday_am: the save failed and nothing was written. The form was returned with the entered values intact.

    pewcount.web.routes.entry

    What the code said
    Traceback (most recent call last):
      File "/Users/oostinr/Documents/GitHub/PewCount/src/pewcount/web/routes/entry.py", line 350, in save_entry
        db.set_occasion_total(
        ~~~~~~~~~~~~~~~~~~~~~^
            occasion_id,
            ^^^^^^^^^^^^
        ...<3 lines>...
            note=_block_note(recorded_note, values[block.note_field]),
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        )
        ^
      File "/Users/oostinr/Documents/GitHub/PewCount/tests/test_web_entry.py", line 749, in boom
        raise sqlite3.OperationalError("attempt to write a readonly database")
    sqlite3.OperationalError: attempt to write a readonly database
  4. Thu 27 Aug, 12:19pm ERROR

    Migration 3 (broken) failed and was rolled back

    pewcount.storage.database

  5. Thu 27 Aug, 12:19pm ERROR

    Migration 3 (broken) failed and was rolled back

    pewcount.storage.database

  6. Thu 27 Aug, 12:12pm ERROR

    Migration 3 (broken) failed and was rolled back

    pewcount.storage.database

  7. Thu 27 Aug, 10:57am ERROR

    Migration 3 (broken) failed and was rolled back

    pewcount.storage.database

  8. Thu 27 Aug, 10:56am ERROR

    Migration 3 (broken) failed and was rolled back

    pewcount.storage.database

Read from /Users/oostinr/Documents/GitHub/PewCount/data/pewcount.log. Older entries roll off as it rotates.