snapcrafters / sommelier-core

Package a Windows application for Linux using a Snap with Wine.
MIT License
30 stars 10 forks source link

[Bug]: Extension 'gnome-3-28' does not exist #37

Open Iceforgedmvp opened 1 year ago

Iceforgedmvp commented 1 year ago

What happened?

When I run snapcraft it returns the following error:

Extension 'gnome-3-28' does not exist

What should have happened?

The error should disappear.

It disappears when I replace all extensions: [gnome-3-28] with extensions: [gnome] (at least on my Ubuntu 22.04).

Output of snap info $snap_name

$ snap info enterprise-architect-nic
Fehler: no snap found for "enterprise-architect-nic"

Output of snap connections $snap_name

$ snap connections enterprise-architect-nic
Fehler: Snap "enterprise-architect-nic" not found

Output of snap version

$ snap version
snap    2.59.5
snapd   2.59.5
series  16
ubuntu  22.04
kernel  5.19.0-42-generic

Relevant log output

2023-08-21 12:55:26.358 Starting Snapcraft 7.5.2
2023-08-21 12:55:26.360 lifecycle command: 'pack', arguments: Namespace(bind_ssh=False, build_for=None, debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_plugins=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=False)
2023-08-21 12:55:26.360 command: pack, arguments: Namespace(bind_ssh=False, build_for=None, debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_plugins=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=False)
2023-08-21 12:55:26.379 CPU count (from process affinity): 4
2023-08-21 12:55:26.379 Invalid SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT ''
2023-08-21 12:55:26.379 Running on amd64 for amd64
2023-08-21 12:55:26.379 Extension 'gnome-3-28' does not exist
2023-08-21 12:55:26.380 Traceback (most recent call last):
2023-08-21 12:55:26.380   File "/snap/snapcraft/9542/lib/python3.8/site-packages/snapcraft/extensions/registry.py", line 57, in get_extension_class
2023-08-21 12:55:26.380     return _EXTENSIONS[extension_name]
2023-08-21 12:55:26.380 KeyError: 'gnome-3-28'
2023-08-21 12:55:26.380 Full execution log: '/home/nicolas/.local/state/snapcraft/log/snapcraft-20230821-125526.358033.log'

Teminal output of app

Extension 'gnome-3-28' does not exist
Full execution log: /home/nicolas/...
carlosbravoa commented 1 year ago

It depends on the base you are using. For Core22, the extension is just "gnome". This could help: https://snapcraft.io/docs/supported-extensions