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.

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having an issue with pypilot and openplotter
#1
Hi
I am using openplotter 1.2.0 alpha
I keep getting this error on Openplotter debug


Code:
Traceback (most recent call last):
 File "/usr/local/bin/pypilot_calibration", line 11, in <module>
   load_entry_point('pypilot==0.2', 'console_scripts', 'pypilot_calibration')()
 File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point
   return get_distribution(dist).load_entry_point(group, name)
 File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
   return ep.load()
 File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2291, in load
   return self.resolve()
 File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
   module = __import__(self.module_name, fromlist=['__name__'], level=0)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/ui/autopilot_calibration.py", line 13, in <module>
   import calibration_plot, pypilot.quaternion, boatplot
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/ui/boatplot.py", line 17, in <module>
   import pywavefront
 File "/home/pi/.local/lib/python2.7/site-packages/pywavefront/__init__.py", line 37, in <module>
   from pywavefront.obj import ObjParser
 File "/home/pi/.local/lib/python2.7/site-packages/pywavefront/obj.py", line 403
   yield from emit_vertex(vcurrent)
            ^
SyntaxError: invalid syntax

this is the content of my Config
Code:
[GENERAL]
version = 1.2.0
state = alpha
lang = en
op_folder = /home/pi/.config/openplotter
sk_folder = /usr/lib/node_modules/signalk-server

[UPDATE]
master_github_repositories = openplotter
beta_github_repositories = sailoog
stable_branch = master
beta_branch = beta

[AIS-SDR]
enable = 0
gain =
ppm =
channel = a
band =
gsm_channel =

[NMEA0183]
sentences = [['XDR', ['A', ['navigation.attitude.roll', 'x.x|deg', '+', 0.0], 'D', 'ROLL'], 1.0], ['XDR', ['A', ['navigation.attitude.pitch', 'x.x|deg', '+', 0.0], 'D', 'PTCH'], 1.0], ['XDR', ['P', ['environment.outside.pressure', 'x.xxxx', '/', 100000.0], 'B', 'Barometer'], 5.0], ['XDR', ['C', ['environment.outside.temperature', 'x.x|C', '+', 0.0], 'C', 'ENV_OUTAIR_T'], 5.0]]

[STARTUP]
delay = 0
opencpn = 0
opencpn_no_opengl = 0
opencpn_fullscreen = 1
maximize =
play = 1
sound = /home/pi/.config/openplotter/sounds/Store_Door_Chime.mp3
node_red = 0
800x480 =

[CALCULATE]
mag_var = 1
mag_var_rate = 1
mag_var_accuracy = 1
hdt = 1
hdt_dev = 0
hdt_rate = 0.25
hdt_accuracy = 0.5
rot = 0
rot_rate =
rot_accuracy =
tw_stw = 0
tw_sog = 0
tw_rate = 0.5
tw_accuracy = 1

[N2K]
pgn_generate =
output = 0

[GPIO]
sensors = [['anchorLight', 'out', '25', '']]

[TWITTER]
enable = 0
apikey =
apisecret =
accesstoken =
accesstokensecret =

[GMAIL]
enable = 0
gmail =
password =
recipient =

[ACTIONS]
triggers = [[1, 'navigation.lights.value', 2, '"off"', [['ACT17', 'Anchor test', 0.0, 0]]]]

[1W]
ds18b20 = [['wttemp', 'environment.inside.refrigerator.temperature', '00000774f4cf', '0.0']]

[UDEV]
serialinst = {u'servo': {'product': u'ea60', 'vendor': u'10c4', 'remember': u'dev', 'device': u'/dev/ttyUSB1', 'assignment': u'pypilot', 'bauds': u'', 'serial': u'0001', 'port': u'1-1.3:1.0'}, u'gps': {'product': u'2303', 'vendor': u'067b', 'assignment': u'Kplex', 'bauds': u'115200', 'device': u'/dev/ttyUSB1', 'serial': u'', 'port': u'1-1.4:1.0', 'remember': u'dev'}}

[SMS]
enable = 0
serial =
bluetooth =
connection =
enable_sending = 0
phone =

[MQTT]
broker =
port =
username = pi
password = XXXXXX
topics = [[u'lights', 1, u'navigation.lights']]

[I2C]
sensors = [['BME280', '0x76', [['environment.outside.pressure', 1.0, 2771.0], ['environment.inside.temperature', 30.0, 0.0], ['environment.inside.humidity', 30.0, 0.0]]]]

[PYPILOT]
mode = imu
translation_rate = 0.5
translation_magnetic_h = 1
translation_attitude = 1
webapp = 0
webapp_port = 8080
deviation = [[0, 0], [10, 10], [20, 20], [30, 30], [40, 40], [50, 50], [60, 60], [70, 70], [80, 80], [90, 90], [100, 100], [110, 110], [120, 120], [130, 130], [140, 140], [150, 150], [160, 160], [170, 170], [180, 180], [190, 190], [200, 200], [210, 210], [220, 220], [230, 230], [240, 240], [250, 250], [260, 260], [270, 270], [280, 280], [290, 290], [300, 300], [310, 310], [320, 320], [330, 330], [340, 340], [350, 350], [360, 360]]
variation =

[SPI]
mcp = [[0, 0, '', '', 0], [0, 1, '', '', 0], [0, 2, '', '', 0], [0, 3, '', '', 0], [0, 4, '', '', 0], [0, 5, '', '', 0], [0, 6, '', '', 0], [0, 7, '', '', 0]]

[TOOLS]
py = [['Demo Tool', 'Tool example', 'demo_tool', '0'],['Analog ads1115', 'put analog values to SignalK', 'analog_ads1115', '0'], ['Analog Firmata', 'put analog values to SignalK', 'oppymata', '0'], ['Moitessier HAT', 'configure Moitessier HAT settings', 'moitessier_hat', '0']]
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)