This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]Armbian Debian Buster.. ubuntu 18.04
#1
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..
Reply
#2
is this fixed in latest version?
Reply
#3
Yes its working again Thank you
v2.0.13
Reply
#4
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
Reply
#5
same in v2.0.14
Reply
#6
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.
Reply
#7
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)
Reply
#8
It seems that there is a problem with xfce environments. I have found this:

https://bugs.debian.org/cgi-bin/bugrepor...365;msg=15

or this:

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

Are you on SSH?
Reply
#9
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
Reply
#10
Great!
This will be useful for others too.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)