OpenMarine
[SOLVED] Openplotter won't start after upgrade - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] Openplotter won't start after upgrade (/showthread.php?tid=780)



[SOLVED] Openplotter won't start after upgrade - abarrow - 2017-09-28

I just upgraded my OP version 12 system after being away for a couple of months. It upgraded to version 15.

Now, Openplotter won't start. 

When I try running openplotter in a terminal window, I get this:

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



RE: Openplotter won't start after upgrade - abarrow - 2017-09-29

Anyone have any thoughts on this?


RE: Openplotter won't start after upgrade - jim321 - 2017-09-29

might be bad update try this open a terminal and type:

/home/pi/.config/openplotter/update/update_OpenPlotter.sh


RE: Openplotter won't start after upgrade - abarrow - 2017-09-30

Thanks. I gave it a try, but was unsuccessful. I've rebuilt from scratch now, and it seems to be working fine. I was reluctant to do that before as I'm booting from an SSD, and moving the files from the SD card can be a pain. I guess you have to look at these things as opportunities to clean things up!

Sent from my P027 using Tapatalk


RE: Openplotter won't start after upgrade - Sailoog - 2017-10-08

This was the solution: http://forum.openmarine.net/showthread.php?tid=660&pid=2501#pid2501


RE: [SOLVED] Openplotter won't start after upgrade - abarrow - 2017-10-08

Thanks! I wish I'd seen this, but it's okay. I ended up rebuilding, and stupid me, didn't backup my node-red stuff (I backed up .config but forgot that node-red is in a different folder). Oh well, perhaps they will be better when I do them a second time!

BTW, I finally went through and stripped out the BOOT and ROOT partitions and installed them directly on an SD card (BOOT) and an SSD (for ROOT). Performance has improved dramatically, and since it isn't going through the prompt for restore, boot time is a lot better now too.

Thanks for the support. I hope you being back means that things have calmed down at home?