notepad-plus-plus snap does not start on Ubuntu

I created this question on stackoverflow and it was downvoted. I hope this is right comunity to ask.

I installed notepad-plus-plus on Ubuntu 16.04 machine. It was working fine. With no evident reason it stopped to work. Icon disappeared from application list. When I launch shell script /snap/notepad-plus-plus/current/bin/notepad-plus-plus I get error message:

You need to connect this snap to the wine-platform-i386 snap.

snap connect :wine-platform-plug wine-platform-i386:wine-base-stable

I removed snapd (sudo apt autoremove --purge snapd) and installed it again. Same behavior. I installed notepad-plus-plus snap on another Ubuntu system and it works fine.

How to 'connect' notepad-plus-plus snap to the wine-platform-i386 snap?

System info:

~$ snap --version snap 2.35.4 snapd 2.35.4 series 16 ubuntu 16.04 kernel 4.10.0-14-lowlatency

~$ snap list Name Version Rev Tracking Publisher Notes core 16-2.35.4 5662 stable canonical✓ core notepad-plus-plus 7.5.9 124 stable mmtrt - wine-platform-i386 1.0 23 stable mmtrt -

Update:

snap interfaces | grep notepad-plus-plus :desktop notepad-plus-plus :desktop-legacy notepad-plus-plus :home notepad-plus-plus :network notepad-plus-plus :opengl notepad-plus-plus :wayland notepad-plus-plus :x11 notepad-plus-plus wine-platform-i386:wine-base-stable notepad-plus-plus:wine-platform-plug - notepad-plus-plus:cups-control - notepad-plus-plus:hardware-observe - notepad-plus-plus:process-control - notepad-plus-plus:removable-media

Update 2:

snap interfaces wine-platform-i386 Slot Plug wine-platform-i386:wine-base-devel - wine-platform-i386:wine-base-stable notepad-plus-plus:wine-platform-plug wine-platform-i386:wine-base-staging -


Solution 1:

According to your command-output the plug notepad-plus-plus:wine-platform-plug is connected to the slot wine-platform-i386:wine-base-stable already. But the mandatory plug notepad-plus-plus:process-control is not connected.

You need to run

sudo snap connect notepad-plus-plus:process-control

Source: https://forum.snapcraft.io/t/call-for-testing-notepad-plus-plus/4498