Cannot pack snap file: path XXX does not exist

Every time I try publishing an app on snapcraft.io, connected to my github account, the build keeps failing due to missing path… I’ve tried changing the source from git to . yet still the same result.

Here is a preview of my snapcraft.yaml file

name: glogic 
base: core22 
version: '3.1.0' 
summary: A logic gate circuit simulator 
description: |
  A logic gate simulator for linux developed with Gtk and python.
grade: stable 
confinement: strict

architectures:
  - build-on: amd64

plugs:
  gtk-3-themes:
    interface: content
    target: $SNAP/data-dir/themes
    default-provider: gtk-common-themes
  icon-themes:
    interface: content
    target: $SNAP/data-dir/icons
    default-provider: gtk-common-themes

apps:
  glogic:
    command: glogic
    plugs: [home]

parts:
  glogic:
    plugin: python
    python-version: python3
    source: .
    stage-packages:
      - python3-gi
      - python3-gi-cairo
      

Any Ideas and suggestion would be very useful.

Does the package creation work as expected if you run snapcraft locally?

I haven’t tried compiling locally before…