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?
~$ snap --version
~$ 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 -
snap interfaces | grep notepad-plus-plus
snap interfaces wine-platform-i386