snapping a dir with old snapcraft files shows: File exists: '/home/elopio/workspace/canonical/snapcraft/ex amples/py2-project/snap/meta/gui'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Sergio Schvezov |
Bug Description
I have a directory that I snapped with an old snapcraft version (pre 2.6). When I try to snap it again, it errors with:
[Errno 17] File exists: '/home/
elopio@
Skipping pull spongeshaker (already ran)
Skipping pull make-project (already ran)
Skipping build spongeshaker (already ran)
Skipping build make-project (already ran)
Skipping stage spongeshaker (already ran)
Skipping stage make-project (already ran)
Skipping strip spongeshaker (already ran)
Skipping strip make-project (already ran)
DEPRECATED: 'icon' defined in snapcraft.yaml
[Errno 17] File exists: '/home/
amples/
Changed in snapcraft: | |
milestone: | none → 2.7 |
assignee: | nobody → Sergio Schvezov (sergiusens) |
summary: |
- snapping an dir with old snapcraft files shows: File exists: + snapping a dir with old snapcraft files shows: File exists: '/home/elopio/workspace/canonical/snapcraft/ex amples/py2-project/snap/meta/gui' |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
setting priority to low because the fix is easy: run snapcraft clean.
The error doesn't make it clear about what's happening though.