Gsettings and dbus interface: Issues while validating snapcraft.yaml: found a tab character that violate intendation on line xxx, column xxx

Hello

i’ve a problem when i will use the gsettings and dbus interface.
I become an error-message output, if i will build my snap with these interfaces:

xxx@penguin:~/dailydesktopwallpaperplus$ snapcraft
Issues while validating snapcraft.yaml: found a tab character that violate intendation on line 30, column 1

my snapcraft.yaml content:

name: dailydesktopwallpaperplus
version: "1.0"
summary: Set the daily photo of Bing or of Windows Spotlight as your wallpaper
description: |
  This Application is a variant which you can automatically set the daily photo of Bing or of Windows Spotlight as your Wallpaper on your Linux machine.
confinement: strict
grade: stable
icon: icon/mainicon.png
base: core18

architectures:
  - build-on: amd64
    run-on: amd64

apps:
  dailydesktopwallpaperplus:
    command: DailyDesktopWallpaperPlus
    autostart: DailyDesktopWallpaperPlus.desktop
    desktop: usr/share/applications/DailyDesktopWallpaperPlus.desktop
    environment:
       DISABLE_WAYLAND: 1
    plugs:
        - home
        - network
        - opengl
        - x11
        - desktop
        - network-manager
        - desktop-legacy
	- dbus
	- gsettings
    extensions:
        - kde-neon

plugs:
  gsettings:
  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
  sound-themes:
    interface: content
    target: $SNAP/data-dir/sounds
    default-provider: gtk-common-themes

parts:
  gsettings:
     plugin: nil
     stage-packages:
            - libglib2.0-bin
  application:
     source-type: git
     source: https://github.com/pgc062020/DailyDesktopWallpaperPlus.git 
     plugin: qmake
     project-files: ["DailyDesktopWallpaperPlus.pro"]
     qt-version: qt5
     after: [desktop-qt5]

  desktop-qt5:
     plugin: nil
     build-packages:
       - build-essential
       - qtbase5-dev
       - dpkg-dev
       - qt5-default
     stage-packages:
       - libqt5gui5
       - libqt5core5a
       - libqt5widgets5
       - libqt5xml5

Do i have anything or done something wrong?

Thank you for your help.
Greetings

Yaml files need correct indentation like Python to work properly. dbus and gsettings are not in line with other plugs. Check they are all spaces.

thank you predr.

You’re right. I’ve used a tabulator. :smile: I didn’t know that was a problem with snap.

I thought it was another problem… :upside_down_face:

Thank you Greetings