mmtrt / acrordrdc-snap

Unofficial snap repo for acrordrdc snap
https://snapcraft.io/acrordrdc
GNU Lesser General Public License v2.1
28 stars 5 forks source link

ubuntu 20.04 install #11

Open adammaj1 opened 4 years ago

adammaj1 commented 4 years ago
snap run acrordrdc
0016:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0016:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0016:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0016:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0016:err:ole:get_local_server_stream Failed: 80004002
0018:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0018:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0018:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0018:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0018:err:ole:get_local_server_stream Failed: 80004002
wine: configuration in '/home/a/snap/acrordrdc/common/.wine' has been updated.
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
------------------------------------------------------
GitHub nie działa? Wersja '' nie wydaje się być prawdiłową wersją
------------------------------------------------------
------------------------------------------------------
Your version of wine 3.0.4 is no longer supported upstream. You should upgrade to 4.x
------------------------------------------------------
Executing mkdir -p /home/a/snap/acrordrdc/common
Using winetricks 20200412-next - sha256sum: f34b450a051c00e13a5473ad9580ee33d1099b4b8307b25ca01ff73c159ef3c1 with wine-3.0.4 and WINEARCH=win32
Executing w_do_call mspatcha
Executing mkdir -p /home/a/snap/acrordrdc/common
Executing load_mspatcha 
Executing mkdir -p /home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Executing cd /home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Downloading https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE to /home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2020-07-28 18:25:59--  https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
Resolving ftp.gnome.org (ftp.gnome.org)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘ftp.gnome.org’
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
Executing cd /home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Downloading https://web.archive.org/web/2000/https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE to /home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2020-07-28 18:25:59--  https://web.archive.org/web/2000/https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
Resolving web.archive.org (web.archive.org)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘web.archive.org’
------------------------------------------------------
Downloading https://web.archive.org/web/2000/https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE failed
------------------------------------------------------
Gtk-Message: 18:26:00.002: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:26:00.003: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:26:03.405: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:26:03.406: Failed to load module "canberra-gtk-module"
ERROR: /tmp/AcroRdrDC1801120063_en_US.exe
/tmp/AcroRdrDC1801120063_en_US.exe
Open ERROR: Can not open the file as [PE] archive

wine: cannot find '/tmp/dl/setup.exe'
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2020-07-28 18:26:03--  https://gist.github.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr
Resolving gist.github.com (gist.github.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘gist.github.com’
mv: cannot stat '/home/a/snap/acrordrdc/common/.wine/drive_c/Program Files/Adobe/Acrobat Reader DC/Reader/AcroCEF/RdrCEF.exe': No such file or directory
wine: cannot find '/home/a/snap/acrordrdc/common/.wine/drive_c/Program Files/Adobe/Acrobat Reader DC/Reader/AcroRd32.exe'
mmtrt commented 4 years ago

Can you post info of

snap connections acrordrdc

JorgeSquared commented 3 years ago

Hi, encountered virtually the same problem. I had my acrordrdc working but I tried to add a printer through snap connect acrordrdc:removable-media which got it broken (as it is not working any more since that moment). Here are the details:

jirka@jirka-HP-EliteBook-850-G5 ~/snap/acrordrdc/common $ acrordrdc
Installing application..
Running hook '/snap/acrordrdc/23/sommelier/hooks/pre-install'
------------------------------------------------------
winetricks latest version check update disabled
------------------------------------------------------
Executing mkdir -p /home/jirka/snap/acrordrdc/common
Using winetricks 20200412-next - sha256sum: a9b29ba26439b2193ae8144d629a97d3501104081510088ab0e7a3bbd9f222af with wine-5.0.3 and WINEARCH=win32
Executing w_do_call mspatcha
Executing mkdir -p /home/jirka/snap/acrordrdc/common
mspatcha already installed, skipping

(yad:31909): Gtk-WARNING **: 13:24:58.997: Theme parsing error: gtk.css:1566:23: 'font-feature-settings' is not a valid property name

(yad:31909): Gtk-WARNING **: 13:24:59.000: Theme parsing error: gtk.css:3616:25: 'font-feature-settings' is not a valid property name

(yad:31909): Gtk-WARNING **: 13:24:59.001: Theme parsing error: gtk.css:4078:23: 'font-feature-settings' is not a valid property name

(yad:31921): Gtk-WARNING **: 13:25:26.474: Theme parsing error: gtk.css:1566:23: 'font-feature-settings' is not a valid property name

(yad:31921): Gtk-WARNING **: 13:25:26.477: Theme parsing error: gtk.css:3616:25: 'font-feature-settings' is not a valid property name

(yad:31921): Gtk-WARNING **: 13:25:26.479: Theme parsing error: gtk.css:4078:23: 'font-feature-settings' is not a valid property name
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2020-12-07 13:28:16--  https://gist.github.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr
Resolving gist.github.com (gist.github.com)... 140.82.121.4
Connecting to gist.github.com (gist.github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gist.githubusercontent.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr [following]
--2020-12-07 13:28:16--  https://gist.githubusercontent.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 151.101.12.133
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|151.101.12.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 943 [text/plain]
Saving to: ‘/tmp/acrordr’

acrordr                            100%[===============================================================>]     943  --.-KB/s    in 0s      

2020-12-07 13:28:17 (15,0 MB/s) - ‘/tmp/acrordr’ saved [943/943]

Starting application..
/snap/acrordrdc/23/bin/sommelier: line 186: cd: /home/jirka/snap/acrordrdc/common/.wine/dosdevices/c:/Program Files/Adobe/Acrobat Reader DC/Reader: No such file or directory

The snap connections acrordrdc command gives

Rozhraní Zásuvka Slot Poznámky
content[gnome-3-28-1804] acrordrdc:gnome-3-28-1804 gnome-3-28-1804:gnome-3-28-1804 -
content[gtk-3-themes] acrordrdc:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] acrordrdc:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] acrordrdc:sound-themes gtk-common-themes:sound-themes -
content[wine-5-stable] acrordrdc:wine-5-stable wine-platform-5-stable:wine-5-stable -
content[wine-runtime] acrordrdc:wine-runtime wine-platform-runtime:wine-runtime -
cups-control acrordrdc:cups-control - -
desktop acrordrdc:desktop :desktop -
desktop-legacy acrordrdc:desktop-legacy :desktop-legacy -
gsettings acrordrdc:gsettings :gsettings -
home acrordrdc:home :home -
network acrordrdc:network :network manual
opengl acrordrdc:opengl :opengl -
removable-media acrordrdc:removable-media - -
wayland acrordrdc:wayland :wayland -
x11 acrordrdc:x11 :x11 -

Could you please give any hint? Thank you.

mmtrt commented 3 years ago

can you try purge remove snap then try again,

snap remove --purge acrordrdc

For printing you need to connect cups control though its not tested,

snap connect acrordrdc:cups-control

adammaj1 commented 3 years ago

snap connections acrordrdc

a@zalman:~$ snap connections acrordrdc
Interface                 Plug                       Slot                                  Notes
content[gnome-3-28-1804]  acrordrdc:gnome-3-28-1804  gnome-3-28-1804:gnome-3-28-1804       -
content[gtk-3-themes]     acrordrdc:gtk-3-themes     gtk-common-themes:gtk-3-themes        -
content[icon-themes]      acrordrdc:icon-themes      gtk-common-themes:icon-themes         -
content[sound-themes]     acrordrdc:sound-themes     gtk-common-themes:sound-themes        -
content[wine-5-stable]    acrordrdc:wine-5-stable    wine-platform-5-stable:wine-5-stable  -
content[wine-runtime]     acrordrdc:wine-runtime     wine-platform-runtime:wine-runtime    -
cups-control              acrordrdc:cups-control     -                                     -
desktop                   acrordrdc:desktop          :desktop                              -
desktop-legacy            acrordrdc:desktop-legacy   :desktop-legacy                       -
gsettings                 acrordrdc:gsettings        :gsettings                            -
home                      acrordrdc:home             :home                                 -
network                   acrordrdc:network          -                                     -
opengl                    acrordrdc:opengl           :opengl                               -
removable-media           acrordrdc:removable-media  :removable-media                      manual
wayland                   acrordrdc:wayland          :wayland                              -
x11                       acrordrdc:x11              :x11                                  -
mmtrt commented 3 years ago

@adammaj1 connect network connection make snap use internet to download data needed to install.

snap connect acrordrdc:network

adammaj1 commented 3 years ago
snap remove --purge acrordrdc
acrordrdc removed
snap install acrordrdc
acrordrdc 2020.013.20064 from Taqi Raza (mmtrt) installed
snap connect acrordrdc:removable-media
snap connect acrordrdc:network
adammaj1 commented 3 years ago
a@zalman:~$ acrordrdc
Installing application..
Running hook '/snap/acrordrdc/23/sommelier/hooks/pre-install'
------------------------------------------------------
winetricks latest version check update disabled
------------------------------------------------------
Executing mkdir -p /home/a/snap/acrordrdc/common
Using winetricks 20200412-next - sha256sum: a9b29ba26439b2193ae8144d629a97d3501104081510088ab0e7a3bbd9f222af with wine-5.0.3 and WINEARCH=win32
Executing w_do_call mspatcha
Executing mkdir -p /home/a/snap/acrordrdc/common
Executing load_mspatcha 
Executing mkdir -p /home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Executing cd /home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Downloading https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE to /home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2020-12-08 15:39:22--  https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
Resolving ftp.gnome.org (ftp.gnome.org)... failed: Connection timed out.
wget: unable to resolve host address ‘ftp.gnome.org’
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
^C
(yad:6310): Gtk-WARNING **: 15:39:53.281: Theme parsing error: gtk.css:1566:23: 'font-feature-settings' is not a valid property name

(yad:6310): Gtk-WARNING **: 15:39:53.284: Theme parsing error: gtk.css:3616:25: 'font-feature-settings' is not a valid property name

(yad:6310): Gtk-WARNING **: 15:39:53.285: Theme parsing error: gtk.css:4078:23: 'font-feature-settings' is not a valid property name
a@zalman:~$ snap interfaces
Slot                                                                  Plug
chromium:mpris                                                        -
gimp:dbus-gimp                                                        -
gnome-3-28-1804:gnome-3-28-1804                                       acrordrdc,gimp
gnome-3-34-1804:gnome-3-34-1804                                       snap-store
gtk-common-themes:gtk-2-themes                                        -
gtk-common-themes:gtk-3-themes                                        acrordrdc,chromium,gimp,krita,snap-store
gtk-common-themes:icon-themes                                         acrordrdc,chromium,gimp,krita,snap-store
gtk-common-themes:sound-themes                                        acrordrdc,chromium,gimp,krita,snap-store
kde-frameworks-5-core18:kde-frameworks-5-61-qt-5-12-core18            -
kde-frameworks-5-core18:kde-frameworks-5-core18-slot                  gimp:kde-frameworks-5-plug,krita:kde-frameworks-5-plug
kde-frameworks-5-qt-5-14-core18:kde-frameworks-5-68-qt-5-14-core18    -
kde-frameworks-5-qt-5-14-core18:kde-frameworks-5-qt-5-14-core18-slot  okular:kde-frameworks-5-plug
okular:session-dbus-interface                                         -
snap-store:packagekit-svc                                             -
snap-store:snap-store                                                 -
:account-control                                                      -
:accounts-service                                                     -
:adb-support                                                          -
:alsa                                                                 -
:appstream-metadata                                                   snap-store
:audio-playback                                                       chromium,krita,vlc
:audio-record                                                         chromium
:autopilot-introspection                                              -
:avahi-control                                                        -
:avahi-observe                                                        -
:block-devices                                                        -
:bluetooth-control                                                    -
:bluez                                                                chromium
:broadcom-asic-control                                                -
:browser-support                                                      chromium:browser-sandbox
:calendar-service                                                     -
:camera                                                               chromium
:can-bus                                                              -
:cifs-mount                                                           -
:classic-support                                                      -
:contacts-service                                                     -
:core-support                                                         -
:cpu-control                                                          -
:cups-control                                                         chromium,okular
:daemon-notify                                                        -
:dcdbas-control                                                       -
:desktop                                                              acrordrdc,chromium,gimp,krita,okular,snap-store,vlc
:desktop-legacy                                                       acrordrdc,gimp,krita,okular,snap-store,vlc
:device-buttons                                                       -
:display-control                                                      -
:docker-support                                                       -
:dvb                                                                  -
:firewall-control                                                     -
:framebuffer                                                          -
:fuse-support                                                         -
:fwupd                                                                snap-store
:gconf                                                                -
:gpg-keys                                                             -
:gpg-public-keys                                                      -
:gpio-control                                                         -
:gpio-memory-control                                                  -
:greengrass-support                                                   -
:gsettings                                                            acrordrdc,chromium,gimp,snap-store
:hardware-observe                                                     canonical-livepatch
:hardware-random-control                                              -
:hardware-random-observe                                              -
:home                                                                 acrordrdc,chromium,gimp,krita,okular,vlc,wxmaxima
:hostname-control                                                     -
:hugepages-control                                                    -
:intel-mei                                                            -
:io-ports-control                                                     -
:jack1                                                                -
:joystick                                                             chromium
:juju-client-observe                                                  -
:kernel-crypto-api                                                    -
:kernel-module-control                                                canonical-livepatch
:kernel-module-observe                                                -
:kubernetes-support                                                   -
:kvm                                                                  -
:libvirt                                                              -
:locale-control                                                       -
:log-observe                                                          -
:login-session-control                                                -
:login-session-observe                                                -
:lxd-support                                                          -
:modem-manager                                                        -
:mount-observe                                                        -
:multipass-support                                                    -
:netlink-audit                                                        -
:netlink-connector                                                    -
:network                                                              acrordrdc,chromium,gimp,krita,okular,snap-store,vlc,wxmaxima
:network-bind                                                         canonical-livepatch,chromium,krita,okular,vlc,wxmaxima
:network-control                                                      canonical-livepatch
:network-manager                                                      canonical-livepatch
:network-manager-observe                                              -
:network-observe                                                      -
:network-setup-control                                                -
:network-setup-observe                                                -
:network-status                                                       -
:ofono                                                                -
:opengl                                                               acrordrdc,chromium,gimp,krita,okular,snap-store,vlc
:openvswitch                                                          -
:openvswitch-support                                                  -
:optical-drive                                                        vlc,wxmaxima
:packagekit-control                                                   snap-store
:password-manager-service                                             chromium,snap-store
:personal-files                                                       chromium:chromium-config
:physical-memory-control                                              -
:physical-memory-observe                                              -
:power-control                                                        -
:ppp                                                                  -
:process-control                                                      -
:ptp                                                                  -
:pulseaudio                                                           okular,vlc
:raw-usb                                                              -
:removable-media                                                      acrordrdc,chromium,krita,okular,vlc
:screen-inhibit-control                                               chromium,vlc
:screencast-legacy                                                    -
:shutdown                                                             -
:snapd-control                                                        snap-store
:ssh-keys                                                             -
:ssh-public-keys                                                      -
:system-backup                                                        -
:system-files                                                         chromium:etc-chromium-browser-policies,snap-store:hostfs-usr-share-applications
:system-observe                                                       canonical-livepatch,snap-store
:system-packages-doc                                                  chromium
:system-source-code                                                   -
:system-trace                                                         -
:time-control                                                         -
:timeserver-control                                                   -
:timezone-control                                                     -
:tpm                                                                  -
:u2f-devices                                                          chromium
:udisks2                                                              -
:uhid                                                                 -
:uinput                                                               -
:unity7                                                               chromium,gimp,okular,vlc
:upower-observe                                                       chromium,snap-store
:vcio                                                                 -
:wayland                                                              acrordrdc,gimp,krita,snap-store
:x11                                                                  acrordrdc,chromium,gimp,krita,okular,snap-store,vlc
vlc:mpris                                                             -
wine-platform-3-stable:wine-3-stable                                  -
wine-platform-5-stable:wine-5-stable                                  acrordrdc
wine-platform-runtime:wine-runtime                                    acrordrdc
-                                                                     acrordrdc:cups-control
-                                                                     chromium:mount-observe
-                                                                     chromium:network-manager
-                                                                     chromium:pulseaudio
-                                                                     chromium:raw-usb
-                                                                     gimp:cups-control
-                                                                     gimp:removable-media
-                                                                     snap-store:dot-snap-auth-json
-                                                                     snap-store:network-manager
-                                                                     vlc:audio-record
-                                                                     vlc:avahi-control
-                                                                     vlc:camera
-                                                                     vlc:dvb
-                                                                     vlc:jack1
-                                                                     vlc:mount-observe
-                                                                     wxmaxima:process-control
-                                                                     wxmaxima:removable-media

'snap interfaces' is deprecated; use 'snap connections'.
a@zalman:~$ snap list
Name                             Version                     Rev    Tracking         Publisher           Notes
acrordrdc                        2020.013.20064              23     latest/stable    mmtrt               -
blender                          2.91.0                      51     latest/stable    blenderfoundation✓  classic
canonical-livepatch              9.5.5                       95     latest/stable    canonical✓          -
chromium                         87.0.4280.88                1421   latest/stable    canonical✓          -
core                             16-2.48                     10444  latest/stable    canonical✓          core
core18                           20200929                    1932   latest/stable    canonical✓          base
core20                           20                          634    latest/stable    canonical✓          base
emacs                            27.1                        966    latest/stable    alexmurray          classic
gimp                             2.10.22                     322    latest/stable    snapcrafters        -
gnome-3-28-1804                  3.28.0-19-g98f9e67.98f9e67  145    latest/stable    canonical✓          -
gnome-3-34-1804                  0+git.3556cb3               60     latest/stable/…  canonical✓          -
gtk-common-themes                0.1-50-gf7627e4             1514   latest/stable/…  canonical✓          -
kde-frameworks-5-core18          5.61.0                      32     latest/stable    kde✓                -
kde-frameworks-5-qt-5-14-core18  5.68.0                      4      latest/stable    kde✓                -
krita                            4.4.1                       61     latest/stable    krita✓              -
okular                           20.04.0                     98     latest/stable    kde✓                -
snap-store                       3.38.0-55-geb45541          498    latest/stable/…  canonical✓          -
snapd                            2.48.1                      10492  latest/stable    canonical✓          snapd
vlc                              3.0.11                      1700   latest/stable    videolan✓           -
wine-platform-3-stable           3.0.4                       10     latest/stable    mmtrt               -
wine-platform-5-stable           5.0.3                       13     latest/stable    mmtrt               -
wine-platform-runtime            v1.0                        198    latest/stable    mmtrt               -
wxmaxima                         17.07.0~git                 164    latest/edge      peterpall           -
a@zalman:~$ wine acrordrdc
0009:err:module:__wine_process_init L"C:\\windows\\system32\\acrordrdc.exe" not found
mmtrt commented 3 years ago

wget is failing to resolve connection to some download urls which makes installing failure, maybe change dns server or use vpn to fix this issue.

adammaj1 commented 3 years ago

I have tried manyually, naybe ther is no such file ?

wget "https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE" -P "$HOME/snap/acrordrdc/common/.cache/winetricks/win2ksp4/"
--2020-12-08 17:51:14--  https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
Resolving ftp.gnome.org (ftp.gnome.org)... 8.43.85.29, 8.43.85.14, 8.43.85.13
Connecting to ftp.gnome.org (ftp.gnome.org)|8.43.85.29|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-12-08 17:51:30 ERROR 404: Not Found.
mmtrt commented 3 years ago

Yes it does fail on first link but then it tries to use other link which also seems to fail on your side but it downloads fine here.

Location: https://web.archive.org/web/20180613014937/https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE [following]
--2020-12-08 22:45:07--  https://web.archive.org/web/20180613014937/https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
Reusing existing connection to web.archive.org:443.
HTTP request sent, awaiting response... 302 FOUND
Location: https://web.archive.org/web/20180613014941/https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE [following]
--2020-12-08 22:45:08--  https://web.archive.org/web/20180613014941/https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
Reusing existing connection to web.archive.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-msdownload]
Saving to: ‘W2KSP4_EN.EXE’
adammaj1 commented 3 years ago
a@zalman:/$ wget "https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE" -P "$HOME/snap/acrordrdc/common/.cache/winetricks/win2ksp4/"
--2020-12-08 18:57:31--  https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
Resolving saimei.ftp.acc.umu.se (saimei.ftp.acc.umu.se)... 194.71.11.138
Connecting to saimei.ftp.acc.umu.se (saimei.ftp.acc.umu.se)|194.71.11.138|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 135477136 (129M) [application/x-msdownload]
Saving to: ‘/home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE’

W2KSP4_EN.EXE                                                          100%[==========================================================================================================================================================================>] 129,20M  1,73MB/s    in 78s     

2020-12-08 18:59:05 (1,65 MB/s) - ‘/home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE’ saved [135477136/135477136]
a@zalman:/$ snap run acrordrdc
Installing application..
Running hook '/snap/acrordrdc/23/sommelier/hooks/pre-install'
------------------------------------------------------
winetricks latest version check update disabled
------------------------------------------------------
Executing mkdir -p /home/a/snap/acrordrdc/common
Using winetricks 20200412-next - sha256sum: a9b29ba26439b2193ae8144d629a97d3501104081510088ab0e7a3bbd9f222af with wine-5.0.3 and WINEARCH=win32
Executing w_do_call mspatcha
Executing mkdir -p /home/a/snap/acrordrdc/common
Executing load_mspatcha 
Executing cabextract -q -d /home/a/snap/acrordrdc/common/.wine/dosdevices/c:/windows/temp -L -F i386/mspatcha.dl_ /home/a/snap/acrordrdc/common/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
Executing cabextract -q --directory=/home/a/snap/acrordrdc/common/.wine/dosdevices/c:/windows/system32 /home/a/snap/acrordrdc/common/.wine/dosdevices/c:/windows/temp/i386/mspatcha.dl_
Using native,builtin override for following DLLs: mspatcha
Executing wine regedit /S C:\windows\Temp\override-dll.reg

(yad:24802): Gtk-WARNING **: 19:01:11.030: Theme parsing error: gtk.css:1566:23: 'font-feature-settings' is not a valid property name

(yad:24802): Gtk-WARNING **: 19:01:11.034: Theme parsing error: gtk.css:3616:25: 'font-feature-settings' is not a valid property name

(yad:24802): Gtk-WARNING **: 19:01:11.035: Theme parsing error: gtk.css:4078:23: 'font-feature-settings' is not a valid property name

(yad:24814): Gtk-WARNING **: 19:01:25.988: Theme parsing error: gtk.css:1566:23: 'font-feature-settings' is not a valid property name

(yad:24814): Gtk-WARNING **: 19:01:25.991: Theme parsing error: gtk.css:3616:25: 'font-feature-settings' is not a valid property name

(yad:24814): Gtk-WARNING **: 19:01:25.992: Theme parsing error: gtk.css:4078:23: 'font-feature-settings' is not a valid property name
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2020-12-08 19:03:41--  https://gist.github.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr
Resolving gist.github.com (gist.github.com)... 140.82.121.3
Connecting to gist.github.com (gist.github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gist.githubusercontent.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr [following]
--2020-12-08 19:03:56--  https://gist.githubusercontent.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 199.232.40.133
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|199.232.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 943 [text/plain]
Saving to: ‘/tmp/acrordr’

acrordr                                                                100%[==========================================================================================================================================================================>]     943  --.-KB/s    in 0s      

2020-12-08 19:04:01 (5,41 MB/s) - ‘/tmp/acrordr’ saved [943/943]

Starting application..
adammaj1 commented 3 years ago
snap info  acrordrdc
name:      acrordrdc
summary:   Adobe Acrobat Reader is a pdf reader & Web services developed by Adobe Inc.
publisher: Taqi Raza (mmtrt)
store-url: https://snapcraft.io/acrordrdc
license:   unset
description: |
  Adobe Acrobat Reader DC software is the free global standard for reliably viewing, printing, and
  commenting on PDF documents.

  And now, it's connected to the Adobe Document Cloud − making it easier than ever to work across
  computers and mobile devices.

  It's the only PDF viewer that can open and interact with all types of PDF content, including forms
  and multimedia.
commands:
  - acrordrdc
  - acrordrdc.wine
  - acrordrdc.winetricks
snap-id:      lYBsRNKt8hbfBquj1jg0lemzwolh4nOD
tracking:     latest/stable
refresh-date: yesterday at 18:45 CET
channels:
  latest/stable:    2020.013.20064 2020-12-04 (23) 163kB -
  latest/candidate: ↑                                    
  latest/beta:      ↑                                    
  latest/edge:      2020.013.20064 2020-12-08 (24) 159kB -
installed:          2020.013.20064            (23) 163kB -
adammaj1 commented 3 years ago
snap interfaces  acrordrdc
Slot                                  Plug
gnome-3-28-1804:gnome-3-28-1804       acrordrdc
gtk-common-themes:gtk-3-themes        acrordrdc
gtk-common-themes:icon-themes         acrordrdc
gtk-common-themes:sound-themes        acrordrdc
:desktop                              acrordrdc
:desktop-legacy                       acrordrdc
:gsettings                            acrordrdc
:home                                 acrordrdc
:network                              acrordrdc
:opengl                               acrordrdc
:removable-media                      acrordrdc
:wayland                              acrordrdc
:x11                                  acrordrdc
wine-platform-5-stable:wine-5-stable  acrordrdc
wine-platform-runtime:wine-runtime    acrordrdc
-                                     acrordrdc:cups-control
mmtrt commented 3 years ago

interfaces and info looks fine it should show menu to select language of installer then select install to download installer.

adammaj1 commented 3 years ago

it does. but after installation the application does not start.

JorgeSquared commented 3 years ago

Hi, it seems I get the very same errors as @adammaj1 after running acrordrdc command as a regular user, although everythin seems fine otherwise. The last two lines from the terminal are the following:

Starting application..
/snap/acrordrdc/23/bin/sommelier: line 186: cd: /home/jirka/snap/acrordrdc/common/.wine/dosdevices/c:/Program Files/Adobe/Acrobat Reader DC/Reader: No such file or directory

The sommelier folder obviously exists, but searching the system for a string "cd: /home/jirka/snap/acrordrdc/common/.wine/dosdevices/c:/Program Files/Adobe/Acrobat Reader DC/Reader" or a part of it seems to suggest that there is no such script. Can this be the problem? The other fact is that my ~/snap/acrordrdc/common/.wine/dosdevices/c:/Program Files folder does not contain the folder Acrobat which also suggests something is missing here

donalhunt commented 3 years ago

I've run into a similar issue and at least part of the problem is this part of the install:

--2021-07-02 11:50:21--  https://gist.githubusercontent.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/e1710bbb91d8ef1da8bae5c8e2a7fe23f2e8a215/acrordr
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.110.133|:443... connected.
ERROR: cannot verify gist.githubusercontent.com's certificate, issued by ‘CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US’:
  Unable to locally verify the issuer's authority.
To connect to gist.githubusercontent.com insecurely, use `--no-check-certificate'.

The relevant CA certificate doesn't seem to be installed on all distros but can be added by downloading the certs from https://www.digicert.com/kb/digicert-root-certificates.htm (h/t to Kevin).

On debian:

sudo cp ~/Downloads/DigiCertSHA2HighAssuranceServerCA.crt /usr/share/ca-certificates/mozilla/
echo /usr/share/ca-certificates/mozilla/DigiCertSHA2HighAssuranceServerCA.crt | sudo tee -a /etc/ca-certificates.conf
sudo update-ca-certificates

Note: I found I had to remove the acrordrdc snap and reinstall it before it would pick up the new certificates.

ghost commented 3 years ago

I also have problems with the installation on Ubuntu 20.04. At the end of the installation process An error message appears :

image

In the terminal window, the following messages are displayed :

Initialising Wine..
Installing application..
Running hook '/snap/acrordrdc/48/sommelier/hooks/pre-install'
------------------------------------------------------
winetricks latest version check update disabled
------------------------------------------------------
Executing mkdir -p /home/nysten/snap/acrordrdc/common
Using winetricks 20210206-next - sha256sum: dbcb01e57092118f2e142799ae2b66c18e71537df294820a8210f4d65bf43557 with wine-5.0.3 and WINEARCH=win32
Executing w_do_call mspatcha
Executing mkdir -p /home/nysten/snap/acrordrdc/common
Executing load_mspatcha 
Executing mkdir -p /home/nysten/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Executing cd /home/nysten/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Downloading http://x3270.bgp.nu/download/specials/W2KSP4_EN.EXE to /home/nysten/snap/acrordrdc/common/.cache/winetricks/win2ksp4
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2021-09-08 11:26:39--  http://x3270.bgp.nu/download/specials/W2KSP4_EN.EXE
Resolving x3270.bgp.nu (x3270.bgp.nu)... 147.28.0.53
Connecting to x3270.bgp.nu (x3270.bgp.nu)|147.28.0.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 135477136 (129M) [application/octet-stream]
Saving to: ‘W2KSP4_EN.EXE’

W2KSP4_EN.EXE                                       100%[=================================================================================================================>] 129,20M  2,10MB/s    in 68s     

2021-09-08 11:27:50 (1,90 MB/s) - ‘W2KSP4_EN.EXE’ saved [135477136/135477136]

Executing cd /home/nysten
Executing cabextract -q -d /home/nysten/snap/acrordrdc/common/.wine/dosdevices/c:/windows/temp -L -F i386/mspatcha.dl_ /home/nysten/snap/acrordrdc/common/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
Executing cabextract -q --directory=/home/nysten/snap/acrordrdc/common/.wine/dosdevices/c:/windows/system32 /home/nysten/snap/acrordrdc/common/.wine/dosdevices/c:/windows/temp/i386/mspatcha.dl_
Using native,builtin override for following DLLs: mspatcha
Executing wine regedit /S C:\windows\Temp\override-dll.reg
Executing w_do_call riched20
Executing mkdir -p /home/nysten/snap/acrordrdc/common
Executing load_riched20 
Executing cabextract -q -d /home/nysten/snap/acrordrdc/common/.wine/dosdevices/c:/windows/temp -L -F i386/riched20.dl_ /home/nysten/snap/acrordrdc/common/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
Executing cabextract -q --directory=/home/nysten/snap/acrordrdc/common/.wine/dosdevices/c:/windows/system32 /home/nysten/snap/acrordrdc/common/.wine/dosdevices/c:/windows/temp/i386/riched20.dl_
Using native,builtin override for following DLLs: riched20
Executing wine regedit /S C:\windows\Temp\override-dll.reg
Executing w_do_call msls31
Executing mkdir -p /home/nysten/snap/acrordrdc/common
Executing load_msls31 
Executing mkdir -p /home/nysten/snap/acrordrdc/common/.cache/winetricks/msls31
Executing cd /home/nysten/snap/acrordrdc/common/.cache/winetricks/msls31
Downloading https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe to /home/nysten/snap/acrordrdc/common/.cache/winetricks/msls31
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2021-09-08 11:27:55--  https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe
Resolving web.archive.org (web.archive.org)... 207.241.237.3
Connecting to web.archive.org (web.archive.org)|207.241.237.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘InstMsiW.exe’

InstMsiW.exe                                            [                               <=>                                                                                ]   1,74M   198KB/s    in 9,2s    

2021-09-08 11:28:06 (193 KB/s) - ‘InstMsiW.exe’ saved [1822848]

Executing cd /home/nysten
Executing cabextract -q --directory=/home/nysten/snap/acrordrdc/common/.wine/dosdevices/c:/windows/temp /home/nysten/snap/acrordrdc/common/.cache/winetricks/msls31/InstMsiW.exe
Executing cp -f /home/nysten/snap/acrordrdc/common/.wine/dosdevices/c:/windows/temp/msls31.dll /home/nysten/snap/acrordrdc/common/.wine/dosdevices/c:/windows/system32
Executing w_do_call win7
Executing mkdir -p /home/nysten/snap/acrordrdc/common
Executing load_win7 
L'opération s'est terminée avec succès
Setting Windows version to win7
Executing wine regedit /S C:\windows\Temp\set-winver.reg
------------------------------------------------------
warning: Running /snap/acrordrdc/48/wine-platform/wine-stable/bin/wineserver -w. This will hang until all wine processes in prefix=/home/nysten/snap/acrordrdc/common/.wine terminate
------------------------------------------------------
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2021-09-08 11:30:22--  https://gist.githubusercontent.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/e1710bbb91d8ef1da8bae5c8e2a7fe23f2e8a215/acrordr
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.108.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3185 (3,1K) [text/plain]
Saving to: ‘/tmp/acrordr’

acrordr                                             100%[=================================================================================================================>]   3,11K  --.-KB/s    in 0s      

2021-09-08 11:30:24 (6,67 MB/s) - ‘/tmp/acrordr’ saved [3185/3185]

Starting application..
wine: Unhandled page fault on read access to 00000064 at address 004425E9 (thread 00d8), starting debugger...
Can't attach process 00d0: error 5
mmtrt commented 3 years ago

@bnysten is this fresh install if not then do fresh install after purging snap snap remove --purge acrordrdc. That app crash happens in new version on first start second time app runs.

ghost commented 3 years ago

@mmtrt Yes, it was a fresh installation.

I tried again a fresh installation today and I got the same results. After purging the files as suggested by mmtrt the installation worked. Strange ???

But there remain several issues:

etlam commented 3 years ago

@mmtrt snap remove --purge acrordrdc does not help for me.
Snap always crashes with:

Starting application..
wine: Unhandled page fault on execute access to 00340000 at address 0033FFFF (thread 0103), starting debugger....
Can't attach process 00fb: error 5
etlam commented 3 years ago

Installation failed with the same error as bnysten https://github.com/mmtrt/acrordrdc/issues/11#issuecomment-915095944

mmtrt commented 3 years ago

@etlam it should be working now I've change snap use of wine version to 6.

etlam commented 3 years ago

@mmtrt Works well, thank you for your fantastic work!!
Our problem was mainly, that the snap was disconnected from the network, so the snap fails to install properly after an update. For example this tutorial claims, that you should disconnect it from the network: https://linuxconfig.org/how-to-install-adobe-acrobat-reader-dc-wine-on-ubuntu-20-04-focal-fossa-linux