This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

"Whatsdesk" wants to start blank ... ?? [ RESOLVED ]

jarkky

Mon Aug 10, 2020 11:23:49 am

I could not see anything on the Whatsdesk window:
Screenshot from 2020-08-10 19-21-20.png
whats1
Screenshot from 2020-08-10 19-21-20.png (8.09 KiB)


It looks like starting "blank", but for what reason?

Below message is available, if I start it from command line:
/bin/sh: 1: update-alternatives: Permission denied
Error in load script [events.js]: Error: An object could not be cloned.
at EventEmitter.t.ipcRendererInternal.send.t.ipcRendererInternal.send (electron/js2c/renderer_init.js:126:332)
at EventEmitter.<anonymous> (electron/js2c/renderer_init.js:122:328)
Error in load script [menucontextual.js]: Error: An object could not be cloned.
at EventEmitter.t.ipcRendererInternal.send.t.ipcRendererInternal.send (electron/js2c/renderer_init.js:126:332)
at EventEmitter.<anonymous> (electron/js2c/renderer_init.js:122:328)

But as this Whatsdesk snap packages (not from apt), it could be even harder to find out...

1.) update-alternatives can refer to directory or binary, not sure which one in the below list:
/snap/core/9436/usr/bin/update-alternatives
/snap/core/9436/usr/sbin/update-alternatives
/snap/core/9436/usr/share/bash-completion/completions/update-alternatives
/snap/core/9665/usr/bin/update-alternatives
/snap/core/9665/usr/sbin/update-alternatives
/snap/core/9665/usr/share/bash-completion/completions/update-alternatives
/snap/core18/1880/usr/bin/update-alternatives
/snap/core18/1880/usr/share/bash-completion/completions/update-alternatives
/snap/core18/1880/usr/share/polkit-1/actions/org.dpkg.pkexec.update-alternatives.policy
/snap/core18/1885/usr/bin/update-alternatives
/snap/core18/1885/usr/share/bash-completion/completions/update-alternatives
/snap/core18/1885/usr/share/polkit-1/actions/org.dpkg.pkexec.update-alternatives.policy
/usr/bin/update-alternatives
/usr/share/bash-completion/completions/update-alternatives
/usr/share/man/de/man1/update-alternatives.1.gz
/usr/share/man/es/man1/update-alternatives.1.gz
/usr/share/man/fr/man1/update-alternatives.1.gz
/usr/share/man/it/man1/update-alternatives.1.gz
/usr/share/man/ja/man1/update-alternatives.1.gz
/usr/share/man/man1/update-alternatives.1.gz
/usr/share/man/nl/man1/update-alternatives.1.gz
/usr/share/man/pl/man1/update-alternatives.1.gz
/usr/share/man/sv/man1/update-alternatives.1.gz

2.) The java-version is the openjdk that come with the ZorinOS:
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)

Aravisian

Mon Aug 10, 2020 11:30:47 am

EDIT: I just saw this part:
jarkky wrote:/bin/sh: 1: update-alternatives: Permission denied

You may try chmod to give the app the elevated permissions to access needed components in Root.
It seems it may need to use Java or Python3.


Original Post:
You may need to contact the developer on this one...
https://gitlab.com/zerkc


You may try killing it, then restarting:
Code:
kill `pidof WhatsDesk`



I found a very uninformative post that said that Gnome desktop has a lib file that is buggy that affects Whatsdesk.
You may try removing the package and then installing it in a different way- Such as if you installed from the .deb file, install with snap instead.

jarkky

Wed Aug 19, 2020 5:07:17 am

It seems to work now...
Maybe after ZorinOS release 15.3 it started to work again.