OpenMarine
[SOLVED]Armbian Debian Buster.. ubuntu 18.04 - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: [SOLVED]Armbian Debian Buster.. ubuntu 18.04 (/showthread.php?tid=2036)

Pages: 1 2


[SOLVED]Armbian Debian Buster.. ubuntu 18.04 - jim321 - 2019-10-15

i could not update from op settings so i did an apt upgrade now op-settings no longer starts.
starting from terminal  shows
Code:
pi@dink:/$ openplotter-settings
Traceback (most recent call last):
 File "/usr/bin/openplotter-settings", line 11, in <module>
   load_entry_point('openplotterSettings==2.0', 'console_scripts', 'openplotter-settings')()
 File "/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py", line 754, in main
   MyFrame().Show()
 File "/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py", line 340, in __init__
   self.pageRpi()
 File "/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py", line 509, in pageRpi
   else: self.toolbar5.EnableTool(501,False)
AttributeError: 'MyFrame' object has no attribute 'toolbar5'

everything else seems to work ok opencpn signalk..


RE: Armbian Debian Buster op[2] - Sailoog - 2019-10-28

is this fixed in latest version?


RE: Armbian Debian Buster op[2] - jim321 - 2019-10-28

Yes its working again Thank you
v2.0.13


RE: [OP2 SOLVED] Armbian Debian Buster - jim321 - 2019-10-29

authentication error trying to install apps

terminal
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/apt' as the super user
Authenticating as: ,,, (pi)
Password:

inside op-settings
Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address
Cannot run program canPostInstall: No such file or directory


RE: Armbian Debian Buster - jim321 - 2019-11-04

same in v2.0.14


RE: Armbian Debian Buster - jim321 - 2019-12-24

there is still an authentication error on both ubuntu and armbian in latest release.
and no pop up to enter password.
ubuntu 18.04 xfce 4.12 desktop

terminal

pi@pi-P53E:~$ openplotter-settings
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/settingsSourcesInstall' as the super user
Authenticating as: pi,,, (pi)
Password:
==== AUTHENTICATION FAILED ===

openplotter terminal

polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
Error executing command as another user: Not authorized

This incident has been reported.


RE: Armbian Debian Buster.. ubuntu 18.04 - jim321 - 2019-12-24

running as sudo

terminal

pi@pi-P53E:~$ sudo openplotter-settings
[sudo] password for pi:

(openplotter-settings:1470): IBUS-WARNING **: 04:24:17.539: The owner of /home/pi/.config/ibus/bus is not root!

op-settings terminal after add sources

creating configuration directory /home/root/.openplotter
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/openplotterSettings/installSources.py", line 24, in main
conf2 = Conf()
File "/usr/lib/python3/dist-packages/openplotterSettings/conf.py", line 38, in __init__
os.mkdir(self.conf_folder)
FileNotFoundError: [Errno 2] No such file or directory: '/home/root/.openplotter'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/settingsSourcesInstall", line 11, in <module>
load_entry_point('openplotterSettings==2.0', 'console_scripts', 'settingsSourcesInstall')()
File "/usr/lib/python3/dist-packages/openplotterSettings/installSources.py", line 103, in main
except Exception as e: print(_('FAILED: ')+str(e))
NameError: name '_' is not defined

auth log

openplotter-settings
Dec 24 04:24:14 pi-P53E sudo: pam_unix(sudoConfusedession): session opened for user root by (uid=0)
Dec 24 04:24:21 pi-P53E pkexec: pam_unix(polkit-1Confusedession): session opened for user root by (uid=0)
Dec 24 04:24:21 pi-P53E pkexec[1487]: root: Executing command [USER=root] [TTY=/dev/pts/1] [CWD=/home/pi] [COMMAND=/usr/bin/settingsSourcesInstall]
Dec 24 04:29:19 pi-P53E pkexec: pam_unix(polkit-1Confusedession): session opened for user root by (uid=0)
Dec 24 04:29:19 pi-P53E pkexec[1527]: root: Executing command [USER=root] [TTY=/dev/pts/1] [CWD=/home/pi] [COMMAND=/usr/bin/settingsSourcesInstall]
Dec 24 04:29:25 pi-P53E sudo: pam_unix(sudoConfusedession): session closed for user root
Dec 24 04:30:57 pi-P53E sudo: pi : TTY=pts/1 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/openplotter-settings
Dec 24 04:30:57 pi-P53E sudo: pam_unix(sudoConfusedession): session opened for user root by (uid=0)


RE: Armbian Debian Buster.. ubuntu 18.04 - Sailoog - 2019-12-24

It seems that there is a problem with xfce environments. I have found this:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881365;msg=15

or this:

https://qiita.com/cielavenir/items/bad3a62583acc088be9e

Are you on SSH?


RE: Armbian Debian Buster.. ubuntu 18.04 - jim321 - 2019-12-24

no ubuntu is on a laptop i will have a look at the links

sudo apt-get -y install policykit-1-gnome

/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

this seems to have fixed it..

i really dont like my desktop looking like a cell phone that why i use xfce.
it did work in the ubuntu desktop environment without problems

marking solved
Thanks


RE: [SOLVED]Armbian Debian Buster.. ubuntu 18.04 - Sailoog - 2019-12-30

Great!
This will be useful for others too.