Add logging and/or other debugging help
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start in astrodbkit/astrodb.py around line 483, where the issue reports adding a print statement in a loop exposed the failing reference table. Reproduce the db.inventory error and inspect the existing SQLAlchemy-related flow. Done means users can enable debugging information for this failure without adding temporary print statements.
Written by the indexing model from the issue text.
Description
I recently encountered an error while running db.inventory on a source. As is usual with sqlalchemy, the error message was not helpful. It would have been super helpful to have the ability to turn on logging.debug for astrodbkit to get more info. We ended up adding a print statement in this loop to see that it was crashing on a new reference table which we had neglected to add to the REFERENCE_TABLE list.
- Dominant language
- Python
- Stars
- 12
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from astrodbtoolkit/AstrodbKit
-
SQLAlchemy 2.0 cleanup: drop_all bind, dead metadata.bind, sql_query read-onlyPossibly taken @dr-rodriguez claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
astrodbtoolkit/AstrodbKit#112 ·
-
Nulls and load_tablePossibly taken @dr-rodriguez claimed this 1 day ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
astrodbtoolkit/AstrodbKit#109 · 1 comment · 1 assignee ·
-
Remove `wcs1d_multispec` reader.May be free again @dr-rodriguez claimed this 336 days ago, and no pull request is open. Open
astrodbtoolkit/AstrodbKit#105 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
astrodbtoolkit/AstrodbKit#104 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
astrodbtoolkit/AstrodbKit#101 · 1 comment ·
All issues in astrodbtoolkit/AstrodbKit
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Deltares/imod-python#1940 ·
Maintainers usually reply within 1 day
-
effort: low prio: low ready
Difficulty 1/5 Under an hour Newbie friendliness 82/100
digitalfabrik/integreat-cms#4621 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ioos/compliance-checker#1375 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day