[BUG] Skills failing to load due to issues in setup.py do not log exceptions
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- backend, developer-experience
Research direction
Start by tracing the skill-loading path in ovos-plugin-manager and reproduce a load failure caused by an invalid setup.py. Compare this with instantiating the skill in a REPL, where the exception is visible, and identify where LOG.exception is missing. Done means setup.py-related skill-load exceptions appear in the OVOS logs.
Written by the indexing model from the issue text.
Description
When developing skills and experimenting with different packaging, or with the projen skill generator, sometimes I'll make changes to setup.py to test something and fail. When this happens my skill fails to load but doesn't give me anything in the OVOS logs as to why. I do get those logs when I pop a REPL and instantiate my skill class (or do it in my IDE).
This leads to a poor developer experience, as it's not intuitive at all for someone unfamiliar with how OVOS handles skill loading. Acceptance criteria would be logging those exceptions in OVOS when a skill fails to load properly.
[JarbasAI]
LOG.exception will print them
probably somewhere in the loading of skills isnt doing this and should
- Dominant language
- Python
- Stars
- 14
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the 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 OpenVoiceOS/ovos-plugin-manager
-
Dependency DashboardOpen
Difficulty 2/5 1-3 hours Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
OpenVoiceOS/ovos-plugin-manager#343 · 3 comments ·
-
Future feature: testing with 3.11, 3.12, and maybe 3.13 if it's out by the time we implement thisOpen
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in OpenVoiceOS/ovos-plugin-manager
Similar issues
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gke-labs/kube-agents#7441 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
open-webui/open-webui#35142 · 1 comment ·
Maintainers usually reply within 1 day