OpenMarine

Full Version: [SOLVED] Update 0.15.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

Since update 0.15.1, i can't acces to Openplotter :

pi@openplotter:~ $ openplotter debug

Traceback (most recent call last):
  File "/home/pi/.config/openplotter/openplotter", line 3511, in <module>
    MainFrame().Show()
  File "/home/pi/.config/openplotter/openplotter", line 249, in __init__
    self.read_gpio()
  File "/home/pi/.config/openplotter/openplotter", line 2067, in read_gpio
    self.list_gpio.Append([ii[0], io, ii[2], ii[3], 'sensors.'+ii[0],'GPIO.'+source+'.'+ii[2]])
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4816, in Append
    self.SetStringItem(pos, i, cvtfunc(entry[i]))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)

The logo appears and the application does not start.

Laurent

[/i]
yes this is a typical internationalization error, sorry. I will fix it on Monday. If you want to recover your system edit the file /home/pi/.openplotter/openplotter.conf and change the option:

[GPIO]
sensors =

Delete any special character (French?) like ç, é ... and use only english characters
Thank you.

It work.
After this update all of my OCPN settings had disappeared including the connections normally defined for Openplotter. Any ideas?

I think I did an OCPN update and then the OP update followed by the restart when requested by the script.

Chris
(2017-09-09, 12:33 PM)Sailoog Wrote: [ -> ]yes this is a typical internationalization error, sorry. I will fix it on Monday. If you want to recover your system edit the file /home/pi/.openplotter/openplotter.conf and change the option:

[GPIO]
sensors =

Delete any special character (French?) like ç, é ... and use only english characters


Same problem .... but not strange character [Image: 7fc0921b61417bff874b536cf06d2ab0.jpg]


Trident 80
Hobiecat 16

Op 11.11
Rpi3
Gps bt amtec
Imu MPU 9250
Pressure BMP180
Temperature HTU21D
Humidity HTU21D
dAISy
callmecalanca could you paste here the error in the terminal when you type "openplotter"
(2017-09-10, 01:13 AM)Littlechay Wrote: [ -> ]After this update all of my OCPN settings had disappeared including the connections normally defined for Openplotter. Any ideas?

I think I did an OCPN update and then the OP update followed by the restart when requested by the script.

Chris

Really strange, never seen before. Any error message?

The opencpn.ini could have been damaged, corrupted SD?
(2017-09-10, 05:37 PM)Sailoog Wrote: [ -> ]callmecalanca could you paste here the error in the terminal when you type "openplotter"


pi@openplotter:~ $ openplotter
Traceback (most recent call last):
File "/home/pi/.config/openplotter/openplotter", line 3511, in <module>
MainFrame().Show()
File "/home/pi/.config/openplotter/openplotter", line 252, in __init__
self.read_i2c()
File "/home/pi/.config/openplotter/openplotter", line 1868, 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



Pardon!!!


Trident 80
Hobiecat 16

Op 11.11
Rpi3
Gps bt amtec
Imu MPU 9250
Pressure BMP180
Temperature HTU21D
Humidity HTU21D
dAISy
(2017-09-10, 05:39 PM)Sailoog Wrote: [ -> ]
(2017-09-10, 01:13 AM)Littlechay Wrote: [ -> ]After this update all of my OCPN settings had disappeared including the connections normally defined for Openplotter. Any ideas?

I think I did an OCPN update and then the OP update followed by the restart when requested by the script.

Chris

Really strange, never seen before. Any error message?

The opencpn.ini could have been damaged, corrupted SD?

I don't think that the SD is corrupted, no other evidence of that.
(2017-09-10, 05:37 PM)Sailoog Wrote: [ -> ]callmecalanca could you paste here the error in the terminal when you type "openplotter"


Any idea?


Trident 80
Hobiecat 16

Op 11.11
Rpi3
Gps bt amtec
Imu MPU 9250
Pressure BMP180
Temperature HTU21D
Humidity HTU21D
dAISy
Pages: 1 2