OpenMarine

Full Version: [SOLVED] OP not starting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using RPi 3 and OP V1. Starting OP from Terminal

$ openplotter
Traceback (most recent call last):
  File "/home/pi/.config/openplotter/openplotter", line 3940, in <module>
    MainFrame().Show()
  File "/home/pi/.config/openplotter/openplotter", line 228, in __init__
    self.read_wifi_conf()
  File "/home/pi/.config/openplotter/openplotter", line 749, in read_wifi_conf
    wififile = open(self.conf_network+'/'+self.bak_net_sys+'/hostapd/hostapd.conf', 'r', 2000)
IOError: [Errno 20] Not a directory: '/home/pi/.openplotter/Network/._.DS_Store/hostapd/hostapd.conf'

I have changed "Network mode" to "client" avoiding starting wifi, and upgraded RPi OS.
Any ideas ? 
Thanks /Mats
Look at this:
IOError: [Errno 20] Not a directory: '/home/pi/.openplotter/Network/._.DS_Store/hostapd/hostapd.conf'

Why is "._.DS_Store" folder there? Have you copied something from MAC? Why?
(2018-06-06, 10:04 AM)Sailoog Wrote: [ -> ]Look at this:
IOError: [Errno 20] Not a directory: '/home/pi/.openplotter/Network/._.DS_Store/hostapd/hostapd.conf'

Why is "._.DS_Store" folder there? Have you copied something from MAC? Why?

Hi and thanks for Your response!
Aha a Mac thing... god problem analys !

I haven't copied anything BUT.....
In all my RPi installations I add the Samba package, to the RPi, so the RPi acts as an MS file server. It is very convenient, via Mac Finder, to move an edit files from the Mac. Especially since I always use the Raspbian Lite version without the GUI. Checked a little and it seems that Mac, and Windows, are adding some hidden files in every folder You 'visit',  LINK . So this explains how the the folder appeared on the RPi.

$ ls -a .openplotter/Network
.  ..  default  ._.DS_Store  .DS_Store


I have always used this approach without any problems, also in former installations of OpenPlotter.
Sorry that this caused a malfunction in Your setup! 

Is it possible to solve ? (Probably I want be the last one use this approach ?)

/Mats
The quick one was just deleting the none wished folders, then OP started again.

$ ls -a .openplotter/Network
.  ..  default  ._.DS_Store  .DS_Store
$ rm -rf .openplotter/Network/._.DS_Store
$ rm -rf .openplotter/Network/.DS_Store
$ ls -a .openplotter/Network
.  ..  default
I have no idea how to solve this, maybe some samba settings to prevent this?