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] Update 0.15.1
#1
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]
Reply
#2
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
Reply
#3
Thank you.

It work.
Reply
#4
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
Reply
#5
(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
Reply
#6
callmecalanca could you paste here the error in the terminal when you type "openplotter"
Reply
#7
(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?
Reply
#8
(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
Reply
#9
(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.
Reply
#10
(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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)