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
PAN PAN : Compass and I2C are gone CLOSED
#1
Heading, pitch and roll and outside air pressure have disappeared from the dashboard.

In OP tabs Compas is detected OK (MPU 9250) and can be calibrated,  I2C is detected OK too (BME 280),  but the related diagnostic windows stay empty, and are hard to close : msg from OS proposing to kill the process...
Config  : 3B+, OP 1.2.0 alpha, no power issue indication ...
Any assistance welcomed...
Cordialement
Didier B
Pi4, SSD USB3, OP 3.0 Touch SK 3.2.1 OpenCPN  5.8.4 :  Thank you  Thank you  Thank you


Reply
#2
It could be corrupted file?
try top to find what app is using all the system resources
Start openplotter in a terminal to get some debug output.
Is node red running? This was an issue for me.
What updates have you done recently?
Force openplottter to do an update.
I had issue using the calculate tab causing issues too...
Reply
#3
  • Here below the outputs of top, while the window "diagnostic Signal k is opened, but not populated, 
  • the output  of launching OP from the terminal ;
  • OP will not do an update, only display a message windows saying OP is up to date. Is there a way to force it other than SHIFT + F1 ? (affraid to loose my o-charts) ;
  • I get in  the OCPN dashboard the values of IMU (heading, roll & pitch) after re-starting the sensors (but always nothing in signal K diagnostic;
  • I didn't start node red (box unticked in start tab) ;
Code:
top - 17:48:27 up  1:10,  1 user,  load average: 0,46, 0,87, 0,94
Tasks: 153 total,   1 running, 106 sleeping,   0 stopped,   1 zombie
%Cpu(s):  1,7 us,  1,2 sy,  0,0 ni, 97,1 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st
KiB Mem :   949444 total,    44772 free,   414300 used,   490372 buff/cache
KiB Swap:   102396 total,    98036 free,     4360 used.   414840 avail Mem

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND    
877 pi        20   0  215132  59112  43004 S   2,6  6,2   0:26.75 solaar      
509 root      20   0  241732  86300  40568 S   2,0  9,1   5:12.35 Xorg        
4130 pi        20   0   46120  18316  15200 S   2,0  1,9   0:00.55 lxterminal  
3304 pi        20   0  845376 158748 112056 S   1,3 16,7   0:25.81 chromium-b+
4141 pi        20   0    8108   3208   2724 R   1,3  0,3   0:00.25 top        
4055 pi        20   0   71764  46848  30652 S   0,7  4,9   0:01.95 python      
369 nobody    20   0    5296   2388   2148 S   0,3  0,3   0:01.82 thd        
834 pi        20   0  145676  28152  22456 S   0,3  3,0   0:19.98 lxpanel    
1201 pi        20   0   52976  29112  11480 S   0,3  3,1   0:14.68 python      
3210 pi        20   0  142232  49312  22672 S   0,3  5,2   0:08.41 node        
3593 pi        20   0  395696  82140  52940 S   0,3  8,7   0:07.80 chromium-b+
  1 root      20   0   27176   6192   4852 S   0,0  0,7   0:05.68 systemd    
  2 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kthreadd    
  4 root       0 -20      

pi@openplotter:~ $ openplotter
No humidity sensor detected
Settings file RTIMULib.ini loaded
Using fusion algorithm Kalman STATE4
launched pypilot pidread_sensors_d waiting for signal to exit  
2944
Settings file RTIMULib.ini loaded
Using settings file RTIMULib.ini
Detected MPU9250/MPU9255 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
MPU-925x init complete
connect failed to localhost:21311
connected
read sensors got signal 15 cleaning up
waiting for threads
stopping pypilot pid: 2944
got signal 15 cleaning up
Traceback (most recent call last):
got signal 15 cleaning up
File "/usr/local/bin/pypilot_boatimu", line 11, in <module>
  load_entry_point('pypilot==0.2', 'console_scripts', 'pypilot_boatimu')()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 507, in main
  boatimu.iteration()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 499, in iteration
Process Process-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  time.sleep(dt)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 129, in imu_process
got signal atexit cleaning up
  time.sleep(t)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 15 cleaning up
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 159, in pipe_server_process
  time.sleep(.1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 15 cleaning up
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 583, in CalibrationProcess
  p = points.recv(1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 35, in recv
  if self.pollin.poll(1000.0*timeout):
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 17 cleaning up
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  func(*targs, **kargs)
File "/usr/lib/python2.7/multiprocessing/util.py", line 325, in _exit_function
  p.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
  res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
  return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
  pid, sts = os.waitpid(self.pid, flag)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  func(*targs, **kargs)
File "/usr/lib/python2.7/multiprocessing/util.py", line 325, in _exit_function
  p.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
  res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
  return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
  pid, sts = os.waitpid(self.pid, flag)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
pypilot stopped: ok
pypilot thread exiting
read_sensors_d finished
read_sensors_d waiting for signal to exit Settings file RTIMULib.ini loaded
Using fusion algorithm Kalman STATE4
launched pypilot pid
2977
Settings file RTIMULib.ini loaded
Using settings file RTIMULib.ini
Detected MPU9250/MPU9255 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
MPU-925x init complete
No humidity sensor detected
connect failed to localhost:21311
connect failed to localhost:21311
connected
No humidity sensor detected
read sensors got signal 15 cleaning up
waiting for threads
stopping pypilot pid: 2977
got signal 15 cleaning up
Traceback (most recent call last):
got signal 15 cleaning up
File "/usr/local/bin/pypilot_boatimu", line 11, in <module>
  load_entry_point('pypilot==0.2', 'console_scripts', 'pypilot_boatimu')()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 507, in main
  boatimu.iteration()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 499, in iteration
Process Process-3:
Traceback (most recent call last):
    File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
time.sleep(dt)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
KeyboardInterrupt    self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 129, in imu_process

got signal atexit cleaning up
  time.sleep(t)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 15 cleaning up
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 159, in pipe_server_process
  time.sleep(.1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 17 cleaning up
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  func(*targs, **kargs)
got signal 17 cleaning up
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 30, in _run_exitfuncs
  traceback.print_exc()
File "/usr/lib/python2.7/traceback.py", line 233, in print_exc
  print_exception(etype, value, tb, limit, file)
File "/usr/lib/python2.7/traceback.py", line 125, in print_exception
  print_tb(tb, limit, file)
File "/usr/lib/python2.7/traceback.py", line 70, in print_tb
  if line: _print(file, '    ' + line.strip())
File "/usr/lib/python2.7/traceback.py", line 13, in _print
  file.write(str+terminator)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 15 cleaning up
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 583, in CalibrationProcess
  p = points.recv(1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 35, in recv
  if self.pollin.poll(1000.0*timeout):
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
terminate imu process
Exception OSError: OSError(3, 'No such process') in <bound method BoatIMU.__del__ of <pypilot.boatimu.BoatIMU object at 0x755d9c30>> ignored
terminate calibration process
pypilot stopped: ok
pypilot thread exiting
read_sensors_d finished
Settings file RTIMULib.ini loaded
Using fusion algorithm Kalman STATE4
launched pypilot pidread_sensors_d waiting for signal to exit  
3030
Settings file RTIMULib.ini loaded
Using settings file RTIMULib.ini
Detected MPU9250/MPU9255 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
MPU-925x init complete
connect failed to localhost:21311
connect failed to localhost:21311
connected
read sensors got signal 15 cleaning up
waiting for threads
stopping pypilot pid: 3030
got signal 15 cleaning up
Traceback (most recent call last):
File "/usr/local/bin/pypilot_boatimu", line 11, in <module>
  load_entry_point('pypilot==0.2', 'console_scripts', 'pypilot_boatimu')()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 507, in main
  boatimu.iteration()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 499, in iteration
got signal 15 cleaning up
  time.sleep(dt)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
Process Process-1:
KeyboardInterrupt
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
got signal atexit cleaning up
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
got signal 15 cleaning up
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 159, in pipe_server_process
  time.sleep(.1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 583, in CalibrationProcess
  p = points.recv(1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 35, in recv
  if self.pollin.poll(1000.0*timeout):
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 17 cleaning up
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  func(*targs, **kargs)
File "/usr/lib/python2.7/multiprocessing/util.py", line 325, in _exit_function
  p.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
  res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
got signal 15 cleaning up
  return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
Process Process-3:
Traceback (most recent call last):
  pid, sts = os.waitpid(self.pid, flag)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  raise KeyboardInterrupt # to get backtrace on all processes
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 101, in imu_process
KeyboardInterrupt
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  func(*targs, **kargs)
File "/usr/lib/python2.7/multiprocessing/util.py", line 325, in _exit_function
  p.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
  if rtimu.IMURead():
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
  return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
  pid, sts = os.waitpid(self.pid, flag)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
Settings file RTIMULib.ini loaded
Using fusion algorithm Kalman STATE4
launched pypilot pidread_sensors_d waiting for signal to exit  
3075
pypilot stopped: ok
pypilot thread exiting
read_sensors_d finished
No humidity sensor detected
Settings file RTIMULib.ini loaded
Using settings file RTIMULib.ini
Detected MPU9250/MPU9255 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
MPU-925x init complete
connect failed to localhost:21311
connect failed to localhost:21311
connected
read sensors got signal 15 cleaning up
waiting for threads
stopping pypilot pid: 3075
got signal 15 cleaning up
got signal 15 cleaning up
got signal 15 cleaning up
Traceback (most recent call last):
File "/usr/local/bin/pypilot_boatimu", line 11, in <module>
  load_entry_point('pypilot==0.2', 'console_scripts', 'pypilot_boatimu')()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 507, in main
Process Process-1:
Process Process-3:
  boatimu.iteration()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 499, in iteration
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  time.sleep(dt)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 129, in imu_process
  self.run()
got signal atexit cleaning up
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 159, in pipe_server_process
  time.sleep(t)
  time.sleep(.1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 17 cleaning up
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  func(*targs, **kargs)
File "/usr/lib/python2.7/multiprocessing/util.py", line 325, in _exit_function
  p.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
  res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
  return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
  pid, sts = os.waitpid(self.pid, flag)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  func(*targs, **kargs)
File "/usr/lib/python2.7/multiprocessing/util.py", line 325, in _exit_function
  p.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
  res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
  return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
  pid, sts = os.waitpid(self.pid, flag)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 15 cleaning up
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 583, in CalibrationProcess
  p = points.recv(1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 35, in recv
  if self.pollin.poll(1000.0*timeout):
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
pypilot stopped: ok
pypilot thread exiting
read_sensors_d finished
Settings file RTIMULib.ini loaded
Using fusion algorithm Kalman STATE4
launched pypilot pidread_sensors_d waiting for signal to exit  
3107
Settings file RTIMULib.ini loaded
Using settings file RTIMULib.ini
Detected MPU9250/MPU9255 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
MPU-925x init complete
connect failed to localhost:21311
connected
ws://localhost:3000/signalk/v1/stream?subscribe=self
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 494, in run
  self.run()
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 484, in run
  self.ws = websocket.WebSocketApp(self.ws_name,
AttributeError: 'module' object has no attribute 'WebSocketApp'

ws://localhost:3000/signalk/v1/stream?subscribe=self
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 494, in run
  self.run()
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 484, in run
  self.ws = websocket.WebSocketApp(self.ws_name,
AttributeError: 'module' object has no attribute 'WebSocketApp'

ws://localhost:3000/signalk/v1/stream?subscribe=self
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 494, in run
  self.run()
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 484, in run
  self.ws = websocket.WebSocketApp(self.ws_name,
AttributeError: 'module' object has no attribute 'WebSocketApp'

ws://localhost:3000/signalk/v1/stream?subscribe=self
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 494, in run
  self.run()
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 484, in run
  self.ws = websocket.WebSocketApp(self.ws_name,
AttributeError: 'module' object has no attribute 'WebSocketApp'

ws://localhost:3000/signalk/v1/stream?subscribe=self
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 494, in run
  self.run()
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 484, in run
  self.ws = websocket.WebSocketApp(self.ws_name,
AttributeError: 'module' object has no attribute 'WebSocketApp'

ws://localhost:3000/signalk/v1/stream?subscribe=self
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 494, in run
  self.run()
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 484, in run
  self.ws = websocket.WebSocketApp(self.ws_name,
AttributeError: 'module' object has no attribute 'WebSocketApp'

ws://localhost:3000/signalk/v1/stream?subscribe=self
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 494, in run
  self.run()
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 484, in run
  self.ws = websocket.WebSocketApp(self.ws_name,
AttributeError: 'module' object has no attribute 'WebSocketApp'

read sensors got signal 15 cleaning up
waiting for threads
stopping pypilot pid: 3107
got signal 15 cleaning up
got signal 15 cleaning up
Traceback (most recent call last):
File "/usr/local/bin/pypilot_boatimu", line 11, in <module>
  load_entry_point('pypilot==0.2', 'console_scripts', 'pypilot_boatimu')()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 507, in main
Process Process-3:
  boatimu.iteration()
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 499, in iteration
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  time.sleep(dt)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  raise KeyboardInterrupt # to get backtrace on all processes
  self._target(*self._args, **self._kwargs)
KeyboardInterrupt  File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 129, in imu_process

got signal atexit cleaning up
  time.sleep(t)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 15 cleaning up
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 583, in CalibrationProcess
got signal 17 cleaning up
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  func(*targs, **kargs)
File "/usr/lib/python2.7/multiprocessing/util.py", line 325, in _exit_function
  p.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
  res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
  return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
  pid, sts = os.waitpid(self.pid, flag)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  func(*targs, **kargs)
File "/usr/lib/python2.7/multiprocessing/util.py", line 325, in _exit_function
  p.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
got signal 15 cleaning up
  res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
  return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
  pid, sts = os.waitpid(self.pid, flag)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
Process Process-1:
Traceback (most recent call last):
  raise KeyboardInterrupt # to get backtrace on all processes
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
KeyboardInterrupt
  self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 159, in pipe_server_process
  time.sleep(.1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
  p = points.recv(1)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 35, in recv
  if self.pollin.poll(1000.0*timeout):
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/pypilot/boatimu.py", line 464, in cleanup
  raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
pypilot stopped: ok
pypilot thread exiting
read_sensors_d finished
No humidity sensor detected
Warning: Stopping signalk.service, but it can still be activated by:
signalk.socket
read_sensors_d waiting for signal to exit Settings file RTIMULib.ini loaded
Using fusion algorithm Kalman STATE4
launched pypilot pid
3224
ws://localhost:3000/signalk/v1/stream?subscribe=self
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 494, in run
  self.run()
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 484, in run
  self.ws = websocket.WebSocketApp(self.ws_name,
AttributeError: 'module' object has no attribute 'WebSocketApp'

Settings file RTIMULib.ini loaded
Using settings file RTIMULib.ini
Detected MPU9250/MPU9255 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
MPU-925x init complete
connect failed to localhost:21311
connect failed to localhost:21311
connected
ws://localhost:3000/signalk/v1/stream?subscribe=self
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 494, in run
  self.run()
File "/home/pi/.config/openplotter/diagnostic-SK-input.py", line 484, in run
  self.ws = websocket.WebSocketApp(self.ws_name,
AttributeError: 'module' object has no attribute 'WebSocketApp'
Reply
#4
sudo nano /home/pi/.openplotter/openplotter.conf
change the version to 1.0.0 ctrl x y reboot it should update then
Reply
#5
(2019-02-05, 07:24 PM)jim321 Wrote: sudo nano /home/pi/.openplotter/openplotter.conf
change the version to 1.0 ctrl x y reboot it should update then
Hi Jim !
unfortunately it didn't ! Only change : the msg saying OP is up to date doen't show ...
I rolled back to original version of openplotter.conf ...
Cordialement
Didier B
Pi4, SSD USB3, OP 3.0 Touch SK 3.2.1 OpenCPN  5.8.4 :  Thank you  Thank you  Thank you


Reply
#6
LOL jim is right .. I am lost
Back up 1 step or 2 and do what Jim said... I give poor directions be warned!!!!

hey how do you take away stars?

nano ./.openplotter/openplotter.conf
change version = 1.2.0 to a lesser value ie 1.0.0
change state = alpha

for alpha branch

i hope this helps
this will trick openplotter into a update.... use at own risk

it would be nice if we had a refresh install option hint hint
Reply
#7
(2019-02-05, 09:25 PM)ddelorme Wrote: LOL jim is right .. I am lost
Back up 1 step or 2 and do what Jim said... I give poor directions be warned!!!!

hey how do you take away stars?

nano ./.openplotter/openplotter.conf
change version = 1.2.0 to a lesser value ie 1.0.0
change state = alpha

for alpha branch

i hope this helps
this will trick openplotter into a update.... use at own risk

it would be nice if we had a refresh install option hint hint
YES it did help (... though "state = alpha" was the original text) ! ?
may be a clerical mistake in my 1st attempt ?

Fully agree with the nice and cleaner aspect of the re-install option ! And my o-charts set survived to the operation !

Now its working, I ll try to restrain a little bit my "monkey testing instinct" !
Cordialement
Didier B
Pi4, SSD USB3, OP 3.0 Touch SK 3.2.1 OpenCPN  5.8.4 :  Thank you  Thank you  Thank you


Reply
#8
LOL i i do the same all the time fiddle till it breaks. Then during sailing season i don't touch a thing. if you don't break it you ant trying and you are not learning.
Glad it is all working for you.

Has any one tried version 2.x.x yet
Reply
#9
Where do I need to go to get that kind of undisclosed info ? only read rumors about ...
Cordialement
Didier B
Pi4, SSD USB3, OP 3.0 Touch SK 3.2.1 OpenCPN  5.8.4 :  Thank you  Thank you  Thank you


Reply
#10
i dont know what undisclosed info you want, but i follow on github and try to figure out what the changes are-do.
the latest newest branch.
https://github.com/sailoog/openplotter/tree/v2.x.x
i dont think it's ready for prime time yet..its a new branch so it might not even be released or updated to that version number "1.2.1" "1,3.0" ??
here is a comparison scroll to bottom
https://github.com/sailoog/openplotter/compare/v2.x.x

when i break something i call it testing... Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)