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] OP not starting
#1
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
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply
#2
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?
Reply
#3
(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
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply
#4
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
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply
#5
I have no idea how to solve this, maybe some samba settings to prevent this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)