this might be trivial, so i apologize but i’ve been trying for many hours and going in circles and terribly lost, I didn’t find the docs very clear and LLMs make things worse the main error is
2024-09-26 11:14:28.712 :: 2024-09-26 10:14:14.329 Detailed information: 2024/09/26 10:06:18.692353 container.go:393: in snap "ogallery": path "ogallery_main.py" does not exist
snapcraft.yaml:
name: ogallery
version: '1.0.0'
summary: Open-source gallery app
description: |
OGallery is an open source gallery app with advanced search capabilities,
image viewing, and editing functionalities
grade: devel
confinement: strict
base: core22
adopt-info: ogallery
parts:
ogallery:
plugin: python
source: .
python-packages:
- numpy==1.23.5
- pandas==2.1.4
- opencv-python-headless==4.10.0.84
- Pillow==10.2.0
- rembg==2.0.56
- PyQt5==5.15.10
- qtawesome==1.2.2
- pyzbar==0.1.9
- Levenshtein==0.25.0
- tensorflow==2.12.0
- scikit-image==0.22.0
- PyYAML==6.0.1
- cryptography==42.0.2
build-packages:
- python3-dev
- build-essential
stage-packages:
- libpython3.10-stdlib
- libpython3.10-minimal
- python3-pip
- python3-setuptools
- python3-wheel
- libopencv-core4.5d
- libopencv-imgproc4.5d
- libqt5core5a
- libqt5gui5
- libqt5widgets5
- libzbar0
- libatlas3-base
- libgfortran5
- libssl3
apps:
ogallery:
command: ogallery_main.py
plugs:
- desktop
- desktop-legacy
- x11
- wayland
- home
desktop: snap/gui/ogallery.desktop
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8
layout:
/usr/lib/python3/dist-packages:
bind: $SNAP/usr/lib/python3/dist-packages
/lib/x86_64-linux-gnu/libz.so.1:
bind: $SNAP/lib/x86_64-linux-gnu/libz.so.1
/usr/share/qt5:
bind: $SNAP/usr/share/qt5
files in the debug mode:
snapcraft-ogallery-on-amd64-for-amd64-9175733 ../project# ls
config custom.py media ogallery_main.py snap vault.py
core.py gallery models requirements.txt snapcraft.yaml
snapcraft-ogallery-on-amd64-for-amd64-9175733 ../project# cd ..;ls
environment.sh parts prime project snap stage
snapcraft-ogallery-on-amd64-for-amd64-9175733 # find -name ogallery_main.py
./parts/ogallery/build/ogallery_main.py
./parts/ogallery/src/ogallery_main.py
./project/ogallery_main.py
longer error:https://pastebin.com/237PgFv7