Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object is not subscriptable #3744

Closed
sentry-io bot opened this issue Feb 2, 2024 · 1 comment
Closed

TypeError: 'NoneType' object is not subscriptable #3744

sentry-io bot opened this issue Feb 2, 2024 · 1 comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: ingestion server Related to the ingestion/data refresh server 🐍 tech: python Involves Python 🐛 tooling: sentry Sentry issue

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 2, 2024

Sentry Issue: OPENVERSE-INGESTION_SERVER-17

TypeError: 'NoneType' object is not subscriptable
(1 additional frame(s) were not displayed)
...
  File "ingestion_server/tasks.py", line 261, in perform_task
    func()  # Run the task function if it is defined
  File "ingestion_server/tasks.py", line 250, in ingest_upstream
    indexer.reindex(model, f"temp_import_{model}", **kwargs)
  File "ingestion_server/indexer.py", line 280, in reindex
    schedule_distributed_index(
  File "ingestion_server/distributed_reindex_scheduler.py", line 34, in schedule_distributed_index
    _assign_work(db_conn, workers, model_name, table_name, target_index)
  File "ingestion_server/distributed_reindex_scheduler.py", line 43, in _assign_work
    estimated_records = cur.fetchone()[0]

'NoneType' object is not subscriptable
@sentry-io sentry-io bot added 🐍 tech: python Involves Python 💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: ingestion server Related to the ingestion/data refresh server labels Feb 2, 2024
@dhruvkb dhruvkb added the 🐛 tooling: sentry Sentry issue label Feb 3, 2024
@AetherUnbound
Copy link
Contributor

This exception occurred during local testing in an atypical scenario, closing.

@AetherUnbound AetherUnbound closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: ingestion server Related to the ingestion/data refresh server 🐍 tech: python Involves Python 🐛 tooling: sentry Sentry issue
Projects
Archived in project
Development

No branches or pull requests

2 participants