OpenMarine
Seriell 2.2.3 New Device Problem - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Seriell 2.2.3 New Device Problem (/showthread.php?tid=4060)



Seriell 2.2.3 New Device Problem - Slin_Slin - 2022-05-22

Hi,

i have a Openplotter installed on a Pi 4. My Problem is to add a new serial rs422 device. The "accept" button didn´t work.

I post a picture in the post below. What coul´d be my fault?

Thanks
Nils


RE: Seriell 2.2.3 New Device Problem - Slin_Slin - 2022-05-23

Here is the Screenshot below:


RE: Seriell 2.2.3 New Device Problem - Sailoog - 2022-05-23

open a terminal and type this to execute the app:

Code:
openplotter-serial

Paste here any error in the terminal after trying to set your device.

EDIT: before this test go to settings - system log and click "Debugging mode".


RE: Seriell 2.2.3 New Device Problem - Slin_Slin - 2022-05-24

(2022-05-23, 06:50 PM)Sailoog Wrote: open a terminal and type this to execute the app:

Code:
openplotter-serial

Paste here any error in the terminal after trying to set your device.

EDIT: before this test go to settings - system log and click "Debugging mode".

Code:
pi@openplotter:~ $ openplotter-serial
Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/openplotterSerial/openplotterSerial.py", line 560, in on_update_Serialinst
   self.conf.set('UDEV', 'Serialinst', str(self.Serialinst))        
 File "/usr/lib/python3/dist-packages/openplotterSettings/conf.py", line 72, in set
   self.write()
 File "/usr/lib/python3/dist-packages/openplotterSettings/conf.py", line 52, in write
   with open(self.conf_file, 'w') as configfile:
PermissionError: [Errno 13] Permission denied: '/home/pi/.openplotter/openplotter.conf'

How I can fix this PermissionError?


RE: Seriell 2.2.3 New Device Problem - Sailoog - 2022-05-24

If you can not edit openplotter.conf file is because now the owner is the root user or it is corrupted. Try to make the user pi the owner again.


RE: Seriell 2.2.3 New Device Problem - Slin_Slin - 2022-05-26

(2022-05-24, 12:53 PM)Sailoog Wrote: If you can not edit openplotter.conf file is because now the owner is the root user or it is corrupted. Try to make the user pi the owner again.

Hi Sailoog, thanks for the input. Now I know the "Debugging mode". 

I fixed it with:
Code:
sudo chown -R pi:pi /home/pi


But the Settings Tool "Check System" has now this error:
Code:
The access request must be aproved with read/write permission in Signal K administrator.

Ps: I have no new Access Requests in SignalK.


RE: Seriell 2.2.3 New Device Problem - Sailoog - 2022-05-26

what app is asking for access to SK?

You have to approve the access request here: localhost:3000/admin/#/security/access/requests


RE: Seriell 2.2.3 New Device Problem - Slin_Slin - 2022-05-27

(2022-05-26, 07:50 PM)Sailoog Wrote: what app is asking for access to SK?

You have to approve the access request here: localhost:3000/admin/#/security/access/requests

I fixed it. Thank you for your support for a newbie like me.  Smile

Greedings
Nils