mmtrt / notepad-plus-plus-snap

Unofficial snap repo for notepad-plus-plus snap
https://snapcraft.io/notepad-plus-plus
MIT License
64 stars 7 forks source link

error after last dist-upgrade ubuntu 16.04 #12

Closed gwarah closed 6 years ago

gwarah commented 6 years ago

Description

After last ubuntu dist-upgrade, notepad-plus-plus doesn't run anymore

Expected behavior

# run on terminal terminal
luis@cygnusx1:~$ notepad-plus-plus
... Run ok this snapped app

Steps to reproduce the problem

luis@cygnusx1:~$ notepad-plus-plus
grep: /home/luis/snap/notepad-plus-plus/common/.wine/*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 12
drwxrwxr-x 3 luis luis 4096 Nov 11 10:06 .
drwxrwxr-x 4 luis luis 4096 Nov 11 10:06 ..
drwxrwxr-x 3 luis luis 4096 Nov 11 10:06 windows

Registry info:
/home/luis/snap/notepad-plus-plus/common/.wine/*.reg:
------------------------------------------------------
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message "wine: WINEARCH set to win64 but '/home/luis/snap/notepad-plus-plus/common/.wine' is a 32-bit installation." 
------------------------------------------------------
wine: WINEARCH set to win64 but '/home/luis/snap/notepad-plus-plus/common/.wine' is a 32-bit installation.

Specs

mmtrt commented 6 years ago

can you post output from this command

snap interfaces notepad-plus-plus

gwarah commented 6 years ago
Slot                                 Plug
:desktop                             chromium,foobar2000,gimp,gnome-system-monitor,inkscape,notepad-plus-plus,opera,polarr,tusk,vlc,xnviewmp
:desktop-legacy                      foobar2000,gimp,gnome-system-monitor,inkscape,notepad-plus-plus,opera,polarr,tusk,vlc,xnviewmp
:home                                chromium,drive,foobar2000,gimp,inkscape,notepad-plus-plus,opera,pencilsheep,polarr,rclone,rclone-dev,simplescreenrecorder,tusk,vlc,xnviewmp
:network                             chromium,drive,foobar2000,gimp,notepad-plus-plus,opera,pencilsheep,polarr,rclone,rclone-dev,simplescreenrecorder,tusk,vlc,xnviewmp
:opengl                              chromium,foobar2000,gimp,notepad-plus-plus,opera,pencilsheep,polarr,simplescreenrecorder,tusk,vlc,xnviewmp
:removable-media                     notepad-plus-plus,vlc
:wayland                             foobar2000,gimp,gnome-system-monitor,notepad-plus-plus,xnviewmp
:x11                                 chromium,foobar2000,gimp,notepad-plus-plus,opera,pencilsheep,polarr,simplescreenrecorder,tusk,vlc,xnviewmp
wine-platform-i386:wine-base-stable  foobar2000:wine-platform-plug,notepad-plus-plus:wine-platform-plug
-                                    notepad-plus-plus:cups-control
-                                    notepad-plus-plus:hardware-observe
-                                    notepad-plus-plus:process-control
mmtrt commented 6 years ago

Run these commands will fix your issue.

snap disconnect notepad-plus-plus:wine-platform-plug

snap install wine-platform

snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable

gwarah commented 6 years ago

It seems really fix this issue, but I've lost all my npp configurations. I'll make more tests and then post the results here.

mmtrt commented 6 years ago

closing this as the issue resolved.