gradient_pattern_resolver.py cannot be imported — UnsupportedFillError missing from pipeline_api.py #100
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The untracked file
src/svg_parser/gradient_pattern_resolver.py(309 lines) contains a completeGradientPatternResolverclass for linear/radial gradient flattening and pattern tiling, but cannot be imported or used because it references a non-existent exception.Reproduction steps
Mark/easystitchand check outmaincd src && python3 -c "from src.pipeline_api import UnsupportedFillError"→
ImportError: cannot import name UnsupportedFillErrorcd src && python3 -c "from svg_parser.gradient_pattern_resolver import GradientPatternResolver"→
ImportError: cannot import name UnsupportedFillError(same root cause, line 9 of resolver)Actual behavior
src/svg_parser/gradient_pattern_resolver.pyline 9:from src.pipeline_api import UnsupportedFillErrorUnsupportedFillErroris not defined anywhere insrc/ortests/src/ortests/— grep forgradient_pattern_resolverorGradientPatternResolverreturns only the file itselftests/test_gradient_pattern_fills.pydoes not exist)This was found during a post-deploy probe (kanban task
t_8c8167c8) for parent fixitt_20642cccwhich was supposed to implement issue #96.Expected behavior
Either:
UnsupportedFillErroris defined inpipeline_api.pyand the resolver is properly integrated into the parser pipeline, ORAdditional context
fill_resolver) and exception (UnsupportedSVGFeatureError) — naming inconsistency vs current untracked file.pycartifacts confirmfill_resolver.pyexisted previously but was deleted/renamed.kilo/plans/easystitch-96-gradient-pattern-fills.md(122 lines, 5 slices)Linking
Filed from kanban task
t_8c8167c8. Relates to Mark/easystitch#96 and Mark/easystitch#99.