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] Inspecter crashes on reset
#1
Pi 3, recently updated with a couple of days ago..
git clone -b v0.8.0 https://github.com/sailoog/openplotter.git
Also I've been unsuccessfulyy p;laying around with mqtt..
Now when pressing the reset button in the inspector it crashes to a blank screen, terminal output below...
Did I break it Wink
Code:
pi@openplotter:~ $ python /home/pi/.config/openplotter/openplotter.py
signalk-server running at 0.0.0.0:3000

Traceback (most recent call last):
 File "/home/pi/.config/openplotter/output.py", line 186, in reset
   if self.mqtt: self.mqtt.stop()
 File "/home/pi/.config/openplotter/classes/mqtt.py", line 68, in stop
   self.client.loop_stop()
AttributeError: Mqtt instance has no attribute 'client'
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16763, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "/home/pi/.config/openplotter/output.py", line 165, in refresh_data
   if self.data: self.list.SetStringItem(self.data[0],self.data[1],self.data[2])
 File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py", line 4521, in SetStringItem
   return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "id >= 0 && (size_t)id < GetItemCount()" failed at ../src/generic/listctrl.cpp(3302) in SetItem(): invalid item index in SetItem
 
Reply
#2
Oops, my fault, panic over. I hadn't installed mqtt properly, it's in and working now and the inspector reset is working fine again.
Mqtt! That's fantastic! Openplotter is sending test data both to my Android tablet and the web. So now I can graph wind speed, engine temperature etc etc, absolutely fantastic!

Sent from my SGP511 using Tapatalk
Reply
#3
Are you sure you have all the required packages and files? you can repeat it to be sure:
http://www.sailoog.com/en/blog/test-open...r-v080beta
Reply
#4
(2016-04-20, 12:25 PM)PaddyB Wrote: Oops,  my fault,  panic over.  I hadn't installed mqtt properly,  it's in and working now and the inspector reset is working fine again.  
Mqtt!  That's fantastic!  Openplotter is sending test data both to my Android tablet and the web.  So now I can graph wind speed,  engine temperature etc etc,   absolutely fantastic!

Sent from my SGP511 using Tapatalk

opps we posted at same time Smile

Great! have you tested the MQTT Dashboard android app? It is amazing, besides graphs you will be able to set butons
Reply
#5
Another quick question, what are the client Id , server, port and user settings to connect for mqtt direct to openplotter? Ta

Sent from my SGP511 using Tapatalk
Reply
#6
client id: whatever you want
server and port: see column addresses in Wifi AP tab (MQTT local broker)
username an pass: same as remote broker

if you get an error or doesn't work create a file in /etc/mosquitto/passwd.pw
and change owner to pi:
sudo chown pi:pi /etc/mosquitto/passwd.pw

let me know
Reply
#7
OK, getting there, the tablet seems to have logged on to the local ip address of 10.10.10.1 OK, if I put a wrong password in it won't connect. N/A in the subscriptions though, they're the same as the other connection to m21.cloudmqtt.com which is displaying data..

Sent from my SGP511 using Tapatalk
Reply
#8
I think it was yesterday when I fixed that issue, download the code from github again.

Enviat des del meu fnac 5 usant Tapatalk
Reply
#9
Fantastic, works locally now. Well done!

Sent from my SGP511 using Tapatalk
Reply
#10
Another problem ....

I just rebooted , with the wifi connected but not logged on to the marina wifi, trying to open the inspector came up with this error..
Logging on to the marina wifi inspector opened OK.

pi@openplotter:~ $ python /home/pi/.config/openplotter/openplotter.py
Traceback (most recent call last):
  File "/home/pi/.config/openplotter/monitoring.py", line 137, in <module>
    mqtt=Mqtt(conf,a)
  File "/home/pi/.config/openplotter/classes/mqtt.py", line 48, in __init__
    self.client.connect(broker, port)
  File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 612, in connect
    return self.reconnect()
  File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 734, in reconnect
    sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
  File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
socket.error: [Errno 110] Connection timed out
Traceback (most recent call last):
  File "/home/pi/.config/openplotter/output.py", line 211, in <module>
    MyFrame().Show()
  File "/home/pi/.config/openplotter/output.py", line 65, in __init__
    self.reset(0)
  File "/home/pi/.config/openplotter/output.py", line 187, in reset
    self.mqtt=Mqtt(self.conf,self.a)
  File "/home/pi/.config/openplotter/classes/mqtt.py", line 48, in __init__
    self.client.connect(broker, port)
  File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 612, in connect
    return self.reconnect()
  File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 734, in reconnect
    sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
  File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
socket.error: [Errno 110] Connection timed out
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)