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] Upgraded to 14 - no openplotter!
#1
Help! - turned on the pi this afternoon and was prompted to upgrade to alpha 14

Did so, and now the openplotter app ( anchor icon) wont run.

The anchor splash screen appears briefly, then nothing

Reboot says there is another upgrade available 14.1, but how do i run that without openplotter?

Steve
Reply
#2
open a terminal, type openplotter and copy here the error
Reply
#3
I have also just updated (30min ago) and the same problem:

pi@openplotter:~ $ openplotter
Traceback (most recent call last):
File "/home/pi/.config/openplotter/openplotter", line 3503, in <module>
MainFrame().Show()
File "/home/pi/.config/openplotter/openplotter", line 267, in __init__
self.read_i2c()
File "/home/pi/.config/openplotter/openplotter", line 1873, in read_i2c
self.list_i2c.Append([str©, name, address, magn_list[c], iii[0], str(iii[1]), str(iii[2])])
UnboundLocalError: local variable 'magn_list' referenced before assignment


btw. i think it would be great if you could give pointers to your build system, so people could help with the development. E.g. i see the repositories for openplotter on github, but does not know where the code on my raspberry is etc. So it is hard to debug myself & help at the moment. Thanks for the great software!
Reply
#4
Traceback (most recent call last):
File "/home/pi/.config/openplotter/openplotter", line 3519, in <module>
MainFrame().Show()
File "/home/pi/.config/openplotter/openplotter", line 267, in __init__
self.read_i2c()
File "/home/pi/.config/openplotter/openplotter", line 1889, in read_i2c
self.list_i2c.Append([str©, name, address, magn_list[c], iii[0], str(iii[1]), str(iii[2])])
IndexError: list index out of range
Reply
#5
i try to update from remote desktop it starts then disconnects when i log back in it is still 0.13.1
mare liberum
Reply
#6
one additional thing i have noticed, my imu is no longer showing up correctly in node-red dashboard
is this an i2c problem?

steve
Reply
#7
Ok, I see, sorry. You had an IMU defined.

Go to:
/home/pi/.config/openplotter/openplotter.conf
or
/home/pi/.openplotter/openplotter.conf
and edit and delete all I2C sensors:

[I2C]
sensors =

Now, this is how IMUs work: https://sailoog.gitbooks.io/openplotter-...mpass.html
Reply
#8
(2017-08-03, 06:54 PM)Sailoog Wrote: Ok, I see, sorry. You had an IMU defined.

Go to: /home/pi/.config/openplotter/openplotter.conf, edit and delete all I2C sensors:

[I2C]
sensors =

Now, this is how IMUs work: https://sailoog.gitbooks.io/openplotter-...mpass.html

The fix works! Thanks.
The first pypilot release, great!
Reply
#9
Thanks Sailoog, Openplotter now running

took a quick look at the imu config, COOL !

steve
Reply
#10
that looks sweet
i need a new imu now they sent me a QMC5883 i was trying to adapt that with an arduino ..
thanks
jim
mare liberum
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)